@azure/arm-cosmosdb 16.0.1-alpha.20241023.1 → 16.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (282) hide show
  1. package/CHANGELOG.md +12 -9
  2. package/dist/index.js +161 -94
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/cassandraClustersCreateUpdateSample.js +1 -1
  7. package/dist-esm/samples-dev/cassandraClustersDeallocateSample.js +1 -1
  8. package/dist-esm/samples-dev/cassandraClustersDeleteSample.js +1 -1
  9. package/dist-esm/samples-dev/cassandraClustersGetSample.js +1 -1
  10. package/dist-esm/samples-dev/cassandraClustersInvokeCommandSample.js +1 -1
  11. package/dist-esm/samples-dev/cassandraClustersListByResourceGroupSample.js +1 -1
  12. package/dist-esm/samples-dev/cassandraClustersListBySubscriptionSample.js +1 -1
  13. package/dist-esm/samples-dev/cassandraClustersStartSample.js +1 -1
  14. package/dist-esm/samples-dev/cassandraClustersStatusSample.js +1 -1
  15. package/dist-esm/samples-dev/cassandraClustersUpdateSample.js +1 -1
  16. package/dist-esm/samples-dev/cassandraDataCentersCreateUpdateSample.js +1 -1
  17. package/dist-esm/samples-dev/cassandraDataCentersDeleteSample.js +1 -1
  18. package/dist-esm/samples-dev/cassandraDataCentersGetSample.js +1 -1
  19. package/dist-esm/samples-dev/cassandraDataCentersListSample.js +1 -1
  20. package/dist-esm/samples-dev/cassandraDataCentersUpdateSample.js +1 -1
  21. package/dist-esm/samples-dev/cassandraResourcesCreateUpdateCassandraKeyspaceSample.js +1 -1
  22. package/dist-esm/samples-dev/cassandraResourcesCreateUpdateCassandraTableSample.js +1 -1
  23. package/dist-esm/samples-dev/cassandraResourcesDeleteCassandraKeyspaceSample.js +1 -1
  24. package/dist-esm/samples-dev/cassandraResourcesDeleteCassandraTableSample.js +1 -1
  25. package/dist-esm/samples-dev/cassandraResourcesGetCassandraKeyspaceSample.js +1 -1
  26. package/dist-esm/samples-dev/cassandraResourcesGetCassandraKeyspaceThroughputSample.js +1 -1
  27. package/dist-esm/samples-dev/cassandraResourcesGetCassandraTableSample.js +1 -1
  28. package/dist-esm/samples-dev/cassandraResourcesGetCassandraTableThroughputSample.js +1 -1
  29. package/dist-esm/samples-dev/cassandraResourcesListCassandraKeyspacesSample.js +1 -1
  30. package/dist-esm/samples-dev/cassandraResourcesListCassandraTablesSample.js +1 -1
  31. package/dist-esm/samples-dev/cassandraResourcesMigrateCassandraKeyspaceToAutoscaleSample.js +1 -1
  32. package/dist-esm/samples-dev/cassandraResourcesMigrateCassandraKeyspaceToManualThroughputSample.js +1 -1
  33. package/dist-esm/samples-dev/cassandraResourcesMigrateCassandraTableToAutoscaleSample.js +1 -1
  34. package/dist-esm/samples-dev/cassandraResourcesMigrateCassandraTableToManualThroughputSample.js +1 -1
  35. package/dist-esm/samples-dev/cassandraResourcesUpdateCassandraKeyspaceThroughputSample.js +1 -1
  36. package/dist-esm/samples-dev/cassandraResourcesUpdateCassandraTableThroughputSample.js +1 -1
  37. package/dist-esm/samples-dev/collectionListMetricDefinitionsSample.js +1 -1
  38. package/dist-esm/samples-dev/collectionListMetricsSample.js +1 -1
  39. package/dist-esm/samples-dev/collectionListUsagesSample.js +1 -1
  40. package/dist-esm/samples-dev/collectionPartitionListMetricsSample.js +1 -1
  41. package/dist-esm/samples-dev/collectionPartitionListUsagesSample.js +1 -1
  42. package/dist-esm/samples-dev/collectionPartitionRegionListMetricsSample.js +1 -1
  43. package/dist-esm/samples-dev/collectionRegionListMetricsSample.js +1 -1
  44. package/dist-esm/samples-dev/databaseAccountRegionListMetricsSample.js +1 -1
  45. package/dist-esm/samples-dev/databaseAccountsCheckNameExistsSample.js +1 -1
  46. package/dist-esm/samples-dev/databaseAccountsCreateOrUpdateSample.js +4 -3
  47. package/dist-esm/samples-dev/databaseAccountsCreateOrUpdateSample.js.map +1 -1
  48. package/dist-esm/samples-dev/databaseAccountsDeleteSample.js +1 -1
  49. package/dist-esm/samples-dev/databaseAccountsFailoverPriorityChangeSample.js +1 -1
  50. package/dist-esm/samples-dev/databaseAccountsGetReadOnlyKeysSample.js +1 -1
  51. package/dist-esm/samples-dev/databaseAccountsGetSample.js +1 -1
  52. package/dist-esm/samples-dev/databaseAccountsListByResourceGroupSample.js +1 -1
  53. package/dist-esm/samples-dev/databaseAccountsListConnectionStringsSample.js +2 -2
  54. package/dist-esm/samples-dev/databaseAccountsListKeysSample.js +1 -1
  55. package/dist-esm/samples-dev/databaseAccountsListMetricDefinitionsSample.js +1 -1
  56. package/dist-esm/samples-dev/databaseAccountsListMetricsSample.js +1 -1
  57. package/dist-esm/samples-dev/databaseAccountsListReadOnlyKeysSample.js +1 -1
  58. package/dist-esm/samples-dev/databaseAccountsListSample.js +1 -1
  59. package/dist-esm/samples-dev/databaseAccountsListUsagesSample.js +1 -1
  60. package/dist-esm/samples-dev/databaseAccountsOfflineRegionSample.js +1 -1
  61. package/dist-esm/samples-dev/databaseAccountsOnlineRegionSample.js +1 -1
  62. package/dist-esm/samples-dev/databaseAccountsRegenerateKeySample.js +1 -1
  63. package/dist-esm/samples-dev/databaseAccountsUpdateSample.js +1 -1
  64. package/dist-esm/samples-dev/databaseListMetricDefinitionsSample.js +1 -1
  65. package/dist-esm/samples-dev/databaseListMetricsSample.js +1 -1
  66. package/dist-esm/samples-dev/databaseListUsagesSample.js +1 -1
  67. package/dist-esm/samples-dev/gremlinResourcesCreateUpdateGremlinDatabaseSample.js +1 -1
  68. package/dist-esm/samples-dev/gremlinResourcesCreateUpdateGremlinGraphSample.js +1 -1
  69. package/dist-esm/samples-dev/gremlinResourcesDeleteGremlinDatabaseSample.js +1 -1
  70. package/dist-esm/samples-dev/gremlinResourcesDeleteGremlinGraphSample.js +1 -1
  71. package/dist-esm/samples-dev/gremlinResourcesGetGremlinDatabaseSample.js +1 -1
  72. package/dist-esm/samples-dev/gremlinResourcesGetGremlinDatabaseThroughputSample.js +1 -1
  73. package/dist-esm/samples-dev/gremlinResourcesGetGremlinGraphSample.js +1 -1
  74. package/dist-esm/samples-dev/gremlinResourcesGetGremlinGraphThroughputSample.js +1 -1
  75. package/dist-esm/samples-dev/gremlinResourcesListGremlinDatabasesSample.js +1 -1
  76. package/dist-esm/samples-dev/gremlinResourcesListGremlinGraphsSample.js +1 -1
  77. package/dist-esm/samples-dev/gremlinResourcesMigrateGremlinDatabaseToAutoscaleSample.js +1 -1
  78. package/dist-esm/samples-dev/gremlinResourcesMigrateGremlinDatabaseToManualThroughputSample.js +1 -1
  79. package/dist-esm/samples-dev/gremlinResourcesMigrateGremlinGraphToAutoscaleSample.js +1 -1
  80. package/dist-esm/samples-dev/gremlinResourcesMigrateGremlinGraphToManualThroughputSample.js +1 -1
  81. package/dist-esm/samples-dev/gremlinResourcesRetrieveContinuousBackupInformationSample.js +1 -1
  82. package/dist-esm/samples-dev/gremlinResourcesUpdateGremlinDatabaseThroughputSample.js +1 -1
  83. package/dist-esm/samples-dev/gremlinResourcesUpdateGremlinGraphThroughputSample.js +1 -1
  84. package/dist-esm/samples-dev/locationsGetSample.js +1 -1
  85. package/dist-esm/samples-dev/locationsListSample.js +1 -1
  86. package/dist-esm/samples-dev/mongoDbResourcesCreateUpdateMongoDbcollectionSample.js +1 -1
  87. package/dist-esm/samples-dev/mongoDbResourcesCreateUpdateMongoDbdatabaseSample.js +1 -1
  88. package/dist-esm/samples-dev/mongoDbResourcesCreateUpdateMongoRoleDefinitionSample.js +1 -1
  89. package/dist-esm/samples-dev/mongoDbResourcesCreateUpdateMongoUserDefinitionSample.js +1 -1
  90. package/dist-esm/samples-dev/mongoDbResourcesDeleteMongoDbcollectionSample.js +1 -1
  91. package/dist-esm/samples-dev/mongoDbResourcesDeleteMongoDbdatabaseSample.js +1 -1
  92. package/dist-esm/samples-dev/mongoDbResourcesDeleteMongoRoleDefinitionSample.js +1 -1
  93. package/dist-esm/samples-dev/mongoDbResourcesDeleteMongoUserDefinitionSample.js +1 -1
  94. package/dist-esm/samples-dev/mongoDbResourcesGetMongoDbcollectionSample.js +1 -1
  95. package/dist-esm/samples-dev/mongoDbResourcesGetMongoDbcollectionThroughputSample.js +1 -1
  96. package/dist-esm/samples-dev/mongoDbResourcesGetMongoDbdatabaseSample.js +1 -1
  97. package/dist-esm/samples-dev/mongoDbResourcesGetMongoDbdatabaseThroughputSample.js +1 -1
  98. package/dist-esm/samples-dev/mongoDbResourcesGetMongoRoleDefinitionSample.js +1 -1
  99. package/dist-esm/samples-dev/mongoDbResourcesGetMongoUserDefinitionSample.js +1 -1
  100. package/dist-esm/samples-dev/mongoDbResourcesListMongoDbcollectionsSample.js +1 -1
  101. package/dist-esm/samples-dev/mongoDbResourcesListMongoDbdatabasesSample.js +1 -1
  102. package/dist-esm/samples-dev/mongoDbResourcesListMongoRoleDefinitionsSample.js +1 -1
  103. package/dist-esm/samples-dev/mongoDbResourcesListMongoUserDefinitionsSample.js +1 -1
  104. package/dist-esm/samples-dev/mongoDbResourcesMigrateMongoDbcollectionToAutoscaleSample.js +1 -1
  105. package/dist-esm/samples-dev/mongoDbResourcesMigrateMongoDbcollectionToManualThroughputSample.js +1 -1
  106. package/dist-esm/samples-dev/mongoDbResourcesMigrateMongoDbdatabaseToAutoscaleSample.js +1 -1
  107. package/dist-esm/samples-dev/mongoDbResourcesMigrateMongoDbdatabaseToManualThroughputSample.js +1 -1
  108. package/dist-esm/samples-dev/mongoDbResourcesRetrieveContinuousBackupInformationSample.js +1 -1
  109. package/dist-esm/samples-dev/mongoDbResourcesUpdateMongoDbcollectionThroughputSample.js +1 -1
  110. package/dist-esm/samples-dev/mongoDbResourcesUpdateMongoDbdatabaseThroughputSample.js +1 -1
  111. package/dist-esm/samples-dev/notebookWorkspacesCreateOrUpdateSample.js +1 -1
  112. package/dist-esm/samples-dev/notebookWorkspacesDeleteSample.js +1 -1
  113. package/dist-esm/samples-dev/notebookWorkspacesGetSample.js +1 -1
  114. package/dist-esm/samples-dev/notebookWorkspacesListByDatabaseAccountSample.js +1 -1
  115. package/dist-esm/samples-dev/notebookWorkspacesListConnectionInfoSample.js +1 -1
  116. package/dist-esm/samples-dev/notebookWorkspacesRegenerateAuthTokenSample.js +1 -1
  117. package/dist-esm/samples-dev/notebookWorkspacesStartSample.js +1 -1
  118. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  119. package/dist-esm/samples-dev/partitionKeyRangeIdListMetricsSample.js +1 -1
  120. package/dist-esm/samples-dev/partitionKeyRangeIdRegionListMetricsSample.js +1 -1
  121. package/dist-esm/samples-dev/percentileListMetricsSample.js +1 -1
  122. package/dist-esm/samples-dev/percentileSourceTargetListMetricsSample.js +1 -1
  123. package/dist-esm/samples-dev/percentileTargetListMetricsSample.js +1 -1
  124. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +1 -1
  125. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
  126. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
  127. package/dist-esm/samples-dev/privateEndpointConnectionsListByDatabaseAccountSample.js +1 -1
  128. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +1 -1
  129. package/dist-esm/samples-dev/privateLinkResourcesListByDatabaseAccountSample.js +1 -1
  130. package/dist-esm/samples-dev/restorableDatabaseAccountsGetByLocationSample.js +1 -1
  131. package/dist-esm/samples-dev/restorableDatabaseAccountsListByLocationSample.js +1 -1
  132. package/dist-esm/samples-dev/restorableDatabaseAccountsListSample.js +1 -1
  133. package/dist-esm/samples-dev/restorableGremlinDatabasesListSample.js +1 -1
  134. package/dist-esm/samples-dev/restorableGremlinGraphsListSample.js +1 -1
  135. package/dist-esm/samples-dev/restorableGremlinResourcesListSample.js +1 -1
  136. package/dist-esm/samples-dev/restorableMongodbCollectionsListSample.js +1 -1
  137. package/dist-esm/samples-dev/restorableMongodbDatabasesListSample.js +1 -1
  138. package/dist-esm/samples-dev/restorableMongodbResourcesListSample.js +1 -1
  139. package/dist-esm/samples-dev/restorableSqlContainersListSample.js +1 -1
  140. package/dist-esm/samples-dev/restorableSqlDatabasesListSample.js +1 -1
  141. package/dist-esm/samples-dev/restorableSqlResourcesListSample.js +1 -1
  142. package/dist-esm/samples-dev/restorableTableResourcesListSample.js +1 -1
  143. package/dist-esm/samples-dev/restorableTablesListSample.js +1 -1
  144. package/dist-esm/samples-dev/serviceCreateSample.js +4 -4
  145. package/dist-esm/samples-dev/serviceDeleteSample.js +4 -4
  146. package/dist-esm/samples-dev/serviceGetSample.js +4 -4
  147. package/dist-esm/samples-dev/serviceListSample.js +1 -1
  148. package/dist-esm/samples-dev/sqlResourcesCreateUpdateClientEncryptionKeySample.js +1 -1
  149. package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlContainerSample.js +1 -1
  150. package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlDatabaseSample.js +1 -1
  151. package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlRoleAssignmentSample.js +1 -1
  152. package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlRoleDefinitionSample.js +1 -1
  153. package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlStoredProcedureSample.js +1 -1
  154. package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlTriggerSample.js +1 -1
  155. package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlUserDefinedFunctionSample.js +1 -1
  156. package/dist-esm/samples-dev/sqlResourcesDeleteSqlContainerSample.js +1 -1
  157. package/dist-esm/samples-dev/sqlResourcesDeleteSqlDatabaseSample.js +1 -1
  158. package/dist-esm/samples-dev/sqlResourcesDeleteSqlRoleAssignmentSample.js +1 -1
  159. package/dist-esm/samples-dev/sqlResourcesDeleteSqlRoleDefinitionSample.js +1 -1
  160. package/dist-esm/samples-dev/sqlResourcesDeleteSqlStoredProcedureSample.js +1 -1
  161. package/dist-esm/samples-dev/sqlResourcesDeleteSqlTriggerSample.js +1 -1
  162. package/dist-esm/samples-dev/sqlResourcesDeleteSqlUserDefinedFunctionSample.js +1 -1
  163. package/dist-esm/samples-dev/sqlResourcesGetClientEncryptionKeySample.js +1 -1
  164. package/dist-esm/samples-dev/sqlResourcesGetSqlContainerSample.js +1 -1
  165. package/dist-esm/samples-dev/sqlResourcesGetSqlContainerThroughputSample.js +1 -1
  166. package/dist-esm/samples-dev/sqlResourcesGetSqlDatabaseSample.js +1 -1
  167. package/dist-esm/samples-dev/sqlResourcesGetSqlDatabaseThroughputSample.js +1 -1
  168. package/dist-esm/samples-dev/sqlResourcesGetSqlRoleAssignmentSample.js +1 -1
  169. package/dist-esm/samples-dev/sqlResourcesGetSqlRoleDefinitionSample.js +1 -1
  170. package/dist-esm/samples-dev/sqlResourcesGetSqlStoredProcedureSample.js +1 -1
  171. package/dist-esm/samples-dev/sqlResourcesGetSqlTriggerSample.js +1 -1
  172. package/dist-esm/samples-dev/sqlResourcesGetSqlUserDefinedFunctionSample.js +1 -1
  173. package/dist-esm/samples-dev/sqlResourcesListClientEncryptionKeysSample.js +1 -1
  174. package/dist-esm/samples-dev/sqlResourcesListSqlContainersSample.js +1 -1
  175. package/dist-esm/samples-dev/sqlResourcesListSqlDatabasesSample.js +1 -1
  176. package/dist-esm/samples-dev/sqlResourcesListSqlRoleAssignmentsSample.js +1 -1
  177. package/dist-esm/samples-dev/sqlResourcesListSqlRoleDefinitionsSample.js +1 -1
  178. package/dist-esm/samples-dev/sqlResourcesListSqlStoredProceduresSample.js +1 -1
  179. package/dist-esm/samples-dev/sqlResourcesListSqlTriggersSample.js +1 -1
  180. package/dist-esm/samples-dev/sqlResourcesListSqlUserDefinedFunctionsSample.js +1 -1
  181. package/dist-esm/samples-dev/sqlResourcesMigrateSqlContainerToAutoscaleSample.js +1 -1
  182. package/dist-esm/samples-dev/sqlResourcesMigrateSqlContainerToManualThroughputSample.js +1 -1
  183. package/dist-esm/samples-dev/sqlResourcesMigrateSqlDatabaseToAutoscaleSample.js +1 -1
  184. package/dist-esm/samples-dev/sqlResourcesMigrateSqlDatabaseToManualThroughputSample.js +1 -1
  185. package/dist-esm/samples-dev/sqlResourcesRetrieveContinuousBackupInformationSample.js +1 -1
  186. package/dist-esm/samples-dev/sqlResourcesUpdateSqlContainerThroughputSample.js +1 -1
  187. package/dist-esm/samples-dev/sqlResourcesUpdateSqlDatabaseThroughputSample.js +1 -1
  188. package/dist-esm/samples-dev/tableResourcesCreateUpdateTableSample.js +1 -1
  189. package/dist-esm/samples-dev/tableResourcesDeleteTableSample.js +1 -1
  190. package/dist-esm/samples-dev/tableResourcesGetTableSample.js +1 -1
  191. package/dist-esm/samples-dev/tableResourcesGetTableThroughputSample.js +1 -1
  192. package/dist-esm/samples-dev/tableResourcesListTablesSample.js +1 -1
  193. package/dist-esm/samples-dev/tableResourcesMigrateTableToAutoscaleSample.js +1 -1
  194. package/dist-esm/samples-dev/tableResourcesMigrateTableToManualThroughputSample.js +1 -1
  195. package/dist-esm/samples-dev/tableResourcesRetrieveContinuousBackupInformationSample.js +1 -1
  196. package/dist-esm/samples-dev/tableResourcesUpdateTableThroughputSample.js +1 -1
  197. package/dist-esm/src/cosmosDBManagementClient.js +2 -2
  198. package/dist-esm/src/models/index.d.ts +55 -16
  199. package/dist-esm/src/models/index.d.ts.map +1 -1
  200. package/dist-esm/src/models/index.js +2 -0
  201. package/dist-esm/src/models/index.js.map +1 -1
  202. package/dist-esm/src/models/mappers.d.ts +2 -1
  203. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  204. package/dist-esm/src/models/mappers.js +79 -15
  205. package/dist-esm/src/models/mappers.js.map +1 -1
  206. package/dist-esm/src/models/parameters.js +1 -1
  207. package/dist-esm/src/operations/cassandraClusters.js +10 -10
  208. package/dist-esm/src/operations/cassandraClusters.js.map +1 -1
  209. package/dist-esm/src/operations/cassandraDataCenters.js +5 -5
  210. package/dist-esm/src/operations/cassandraDataCenters.js.map +1 -1
  211. package/dist-esm/src/operations/cassandraResources.js +4 -4
  212. package/dist-esm/src/operations/cassandraResources.js.map +1 -1
  213. package/dist-esm/src/operations/gremlinResources.js +5 -5
  214. package/dist-esm/src/operations/gremlinResources.js.map +1 -1
  215. package/dist-esm/src/operations/locations.js +2 -2
  216. package/dist-esm/src/operations/locations.js.map +1 -1
  217. package/dist-esm/src/operations/mongoDBResources.js +14 -14
  218. package/dist-esm/src/operations/mongoDBResources.js.map +1 -1
  219. package/dist-esm/src/operations/restorableDatabaseAccounts.js +3 -3
  220. package/dist-esm/src/operations/restorableDatabaseAccounts.js.map +1 -1
  221. package/dist-esm/src/operations/restorableGremlinDatabases.js +1 -1
  222. package/dist-esm/src/operations/restorableGremlinDatabases.js.map +1 -1
  223. package/dist-esm/src/operations/restorableGremlinGraphs.js +1 -1
  224. package/dist-esm/src/operations/restorableGremlinGraphs.js.map +1 -1
  225. package/dist-esm/src/operations/restorableGremlinResources.js +1 -1
  226. package/dist-esm/src/operations/restorableGremlinResources.js.map +1 -1
  227. package/dist-esm/src/operations/restorableMongodbCollections.js +1 -1
  228. package/dist-esm/src/operations/restorableMongodbCollections.js.map +1 -1
  229. package/dist-esm/src/operations/restorableMongodbDatabases.js +1 -1
  230. package/dist-esm/src/operations/restorableMongodbDatabases.js.map +1 -1
  231. package/dist-esm/src/operations/restorableMongodbResources.js +1 -1
  232. package/dist-esm/src/operations/restorableMongodbResources.js.map +1 -1
  233. package/dist-esm/src/operations/restorableSqlContainers.js +1 -1
  234. package/dist-esm/src/operations/restorableSqlContainers.js.map +1 -1
  235. package/dist-esm/src/operations/restorableSqlDatabases.js +1 -1
  236. package/dist-esm/src/operations/restorableSqlDatabases.js.map +1 -1
  237. package/dist-esm/src/operations/restorableSqlResources.js +1 -1
  238. package/dist-esm/src/operations/restorableSqlResources.js.map +1 -1
  239. package/dist-esm/src/operations/restorableTableResources.js +1 -1
  240. package/dist-esm/src/operations/restorableTableResources.js.map +1 -1
  241. package/dist-esm/src/operations/restorableTables.js +1 -1
  242. package/dist-esm/src/operations/restorableTables.js.map +1 -1
  243. package/dist-esm/src/operations/service.js +4 -4
  244. package/dist-esm/src/operations/service.js.map +1 -1
  245. package/dist-esm/src/operations/sqlResources.js +14 -14
  246. package/dist-esm/src/operations/sqlResources.js.map +1 -1
  247. package/dist-esm/src/operations/tableResources.js +3 -3
  248. package/dist-esm/src/operations/tableResources.js.map +1 -1
  249. package/dist-esm/test/cosmosdb_cassandra_examples.js +1 -1
  250. package/dist-esm/test/cosmosdb_cassandra_examples.js.map +1 -1
  251. package/dist-esm/test/cosmosdb_examples.js +1 -1
  252. package/dist-esm/test/cosmosdb_examples.js.map +1 -1
  253. package/dist-esm/test/cosmosdb_mongodb_examples.js +1 -1
  254. package/dist-esm/test/cosmosdb_mongodb_examples.js.map +1 -1
  255. package/package.json +5 -8
  256. package/review/arm-cosmosdb.api.md +18 -7
  257. package/src/cosmosDBManagementClient.ts +2 -2
  258. package/src/models/index.ts +56 -16
  259. package/src/models/mappers.ts +81 -16
  260. package/src/models/parameters.ts +1 -1
  261. package/src/operations/cassandraClusters.ts +10 -10
  262. package/src/operations/cassandraDataCenters.ts +5 -5
  263. package/src/operations/cassandraResources.ts +4 -4
  264. package/src/operations/gremlinResources.ts +5 -5
  265. package/src/operations/locations.ts +2 -2
  266. package/src/operations/mongoDBResources.ts +14 -14
  267. package/src/operations/restorableDatabaseAccounts.ts +3 -3
  268. package/src/operations/restorableGremlinDatabases.ts +1 -1
  269. package/src/operations/restorableGremlinGraphs.ts +1 -1
  270. package/src/operations/restorableGremlinResources.ts +1 -1
  271. package/src/operations/restorableMongodbCollections.ts +1 -1
  272. package/src/operations/restorableMongodbDatabases.ts +1 -1
  273. package/src/operations/restorableMongodbResources.ts +1 -1
  274. package/src/operations/restorableSqlContainers.ts +1 -1
  275. package/src/operations/restorableSqlDatabases.ts +1 -1
  276. package/src/operations/restorableSqlResources.ts +1 -1
  277. package/src/operations/restorableTableResources.ts +1 -1
  278. package/src/operations/restorableTables.ts +1 -1
  279. package/src/operations/service.ts +4 -4
  280. package/src/operations/sqlResources.ts +14 -14
  281. package/src/operations/tableResources.ts +3 -3
  282. package/types/arm-cosmosdb.d.ts +57 -17
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Deletes an existing Azure Cosmos DB SQL trigger.
17
17
  *
18
18
  * @summary Deletes an existing Azure Cosmos DB SQL trigger.
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlTriggerDelete.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlTriggerDelete.json
20
20
  */
21
21
  function cosmosDbSqlTriggerDelete() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Deletes an existing Azure Cosmos DB SQL userDefinedFunction.
17
17
  *
18
18
  * @summary Deletes an existing Azure Cosmos DB SQL userDefinedFunction.
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlUserDefinedFunctionDelete.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlUserDefinedFunctionDelete.json
20
20
  */
21
21
  function cosmosDbSqlUserDefinedFunctionDelete() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets the ClientEncryptionKey under an existing Azure Cosmos DB SQL database.
17
17
  *
18
18
  * @summary Gets the ClientEncryptionKey under an existing Azure Cosmos DB SQL database.
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlClientEncryptionKeyGet.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlClientEncryptionKeyGet.json
20
20
  */
21
21
  function cosmosDbClientEncryptionKeyGet() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets the SQL container under an existing Azure Cosmos DB database account.
17
17
  *
18
18
  * @summary Gets the SQL container under an existing Azure Cosmos DB database account.
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerGet.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerGet.json
20
20
  */
21
21
  function cosmosDbSqlContainerGet() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets the RUs per second of the SQL container under an existing Azure Cosmos DB database account.
17
17
  *
18
18
  * @summary Gets the RUs per second of the SQL container under an existing Azure Cosmos DB database account.
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerThroughputGet.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerThroughputGet.json
20
20
  */
21
21
  function cosmosDbSqlContainerThroughputGet() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets the SQL database under an existing Azure Cosmos DB database account with the provided name.
17
17
  *
18
18
  * @summary Gets the SQL database under an existing Azure Cosmos DB database account with the provided name.
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlDatabaseGet.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseGet.json
20
20
  */
21
21
  function cosmosDbSqlDatabaseGet() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets the RUs per second of the SQL database under an existing Azure Cosmos DB database account with the provided name.
17
17
  *
18
18
  * @summary Gets the RUs per second of the SQL database under an existing Azure Cosmos DB database account with the provided name.
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlDatabaseThroughputGet.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseThroughputGet.json
20
20
  */
21
21
  function cosmosDbSqlDatabaseThroughputGet() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Retrieves the properties of an existing Azure Cosmos DB SQL Role Assignment with the given Id.
17
17
  *
18
18
  * @summary Retrieves the properties of an existing Azure Cosmos DB SQL Role Assignment with the given Id.
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleAssignmentGet.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleAssignmentGet.json
20
20
  */
21
21
  function cosmosDbSqlRoleAssignmentGet() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Retrieves the properties of an existing Azure Cosmos DB SQL Role Definition with the given Id.
17
17
  *
18
18
  * @summary Retrieves the properties of an existing Azure Cosmos DB SQL Role Definition with the given Id.
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleDefinitionGet.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleDefinitionGet.json
20
20
  */
21
21
  function cosmosDbSqlRoleDefinitionGet() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets the SQL storedProcedure under an existing Azure Cosmos DB database account.
17
17
  *
18
18
  * @summary Gets the SQL storedProcedure under an existing Azure Cosmos DB database account.
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlStoredProcedureGet.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlStoredProcedureGet.json
20
20
  */
21
21
  function cosmosDbSqlStoredProcedureGet() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets the SQL trigger under an existing Azure Cosmos DB database account.
17
17
  *
18
18
  * @summary Gets the SQL trigger under an existing Azure Cosmos DB database account.
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlTriggerGet.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlTriggerGet.json
20
20
  */
21
21
  function cosmosDbSqlTriggerGet() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account.
17
17
  *
18
18
  * @summary Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account.
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlUserDefinedFunctionGet.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlUserDefinedFunctionGet.json
20
20
  */
21
21
  function cosmosDbSqlUserDefinedFunctionGet() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database.
17
17
  *
18
18
  * @summary Lists the ClientEncryptionKeys under an existing Azure Cosmos DB SQL database.
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlClientEncryptionKeysList.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlClientEncryptionKeysList.json
20
20
  */
21
21
  function cosmosDbClientEncryptionKeysList() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Lists the SQL container under an existing Azure Cosmos DB database account.
17
17
  *
18
18
  * @summary Lists the SQL container under an existing Azure Cosmos DB database account.
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerList.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerList.json
20
20
  */
21
21
  function cosmosDbSqlContainerList() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Lists the SQL databases under an existing Azure Cosmos DB database account.
17
17
  *
18
18
  * @summary Lists the SQL databases under an existing Azure Cosmos DB database account.
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlDatabaseList.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseList.json
20
20
  */
21
21
  function cosmosDbSqlDatabaseList() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Retrieves the list of all Azure Cosmos DB SQL Role Assignments.
17
17
  *
18
18
  * @summary Retrieves the list of all Azure Cosmos DB SQL Role Assignments.
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleAssignmentList.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleAssignmentList.json
20
20
  */
21
21
  function cosmosDbSqlRoleAssignmentList() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Retrieves the list of all Azure Cosmos DB SQL Role Definitions.
17
17
  *
18
18
  * @summary Retrieves the list of all Azure Cosmos DB SQL Role Definitions.
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlRoleDefinitionList.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleDefinitionList.json
20
20
  */
21
21
  function cosmosDbSqlRoleDefinitionList() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Lists the SQL storedProcedure under an existing Azure Cosmos DB database account.
17
17
  *
18
18
  * @summary Lists the SQL storedProcedure under an existing Azure Cosmos DB database account.
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlStoredProcedureList.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlStoredProcedureList.json
20
20
  */
21
21
  function cosmosDbSqlStoredProcedureList() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Lists the SQL trigger under an existing Azure Cosmos DB database account.
17
17
  *
18
18
  * @summary Lists the SQL trigger under an existing Azure Cosmos DB database account.
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlTriggerList.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlTriggerList.json
20
20
  */
21
21
  function cosmosDbSqlTriggerList() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Lists the SQL userDefinedFunction under an existing Azure Cosmos DB database account.
17
17
  *
18
18
  * @summary Lists the SQL userDefinedFunction under an existing Azure Cosmos DB database account.
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlUserDefinedFunctionList.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlUserDefinedFunctionList.json
20
20
  */
21
21
  function cosmosDbSqlUserDefinedFunctionList() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Migrate an Azure Cosmos DB SQL container from manual throughput to autoscale
17
17
  *
18
18
  * @summary Migrate an Azure Cosmos DB SQL container from manual throughput to autoscale
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerMigrateToAutoscale.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerMigrateToAutoscale.json
20
20
  */
21
21
  function cosmosDbSqlContainerMigrateToAutoscale() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput
17
17
  *
18
18
  * @summary Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerMigrateToManualThroughput.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerMigrateToManualThroughput.json
20
20
  */
21
21
  function cosmosDbSqlContainerMigrateToManualThroughput() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Migrate an Azure Cosmos DB SQL database from manual throughput to autoscale
17
17
  *
18
18
  * @summary Migrate an Azure Cosmos DB SQL database from manual throughput to autoscale
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlDatabaseMigrateToAutoscale.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseMigrateToAutoscale.json
20
20
  */
21
21
  function cosmosDbSqlDatabaseMigrateToAutoscale() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Migrate an Azure Cosmos DB SQL database from autoscale to manual throughput
17
17
  *
18
18
  * @summary Migrate an Azure Cosmos DB SQL database from autoscale to manual throughput
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlDatabaseMigrateToManualThroughput.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseMigrateToManualThroughput.json
20
20
  */
21
21
  function cosmosDbSqlDatabaseMigrateToManualThroughput() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Retrieves continuous backup information for a container resource.
17
17
  *
18
18
  * @summary Retrieves continuous backup information for a container resource.
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerBackupInformation.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerBackupInformation.json
20
20
  */
21
21
  function cosmosDbSqlContainerBackupInformation() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Update RUs per second of an Azure Cosmos DB SQL container
17
17
  *
18
18
  * @summary Update RUs per second of an Azure Cosmos DB SQL container
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlContainerThroughputUpdate.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerThroughputUpdate.json
20
20
  */
21
21
  function cosmosDbSqlContainerThroughputUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Update RUs per second of an Azure Cosmos DB SQL database
17
17
  *
18
18
  * @summary Update RUs per second of an Azure Cosmos DB SQL database
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBSqlDatabaseThroughputUpdate.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseThroughputUpdate.json
20
20
  */
21
21
  function cosmosDbSqlDatabaseThroughputUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Create or update an Azure Cosmos DB Table
17
17
  *
18
18
  * @summary Create or update an Azure Cosmos DB Table
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableCreateUpdate.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableCreateUpdate.json
20
20
  */
21
21
  function cosmosDbTableReplace() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Deletes an existing Azure Cosmos DB Table.
17
17
  *
18
18
  * @summary Deletes an existing Azure Cosmos DB Table.
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableDelete.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableDelete.json
20
20
  */
21
21
  function cosmosDbTableDelete() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets the Tables under an existing Azure Cosmos DB database account with the provided name.
17
17
  *
18
18
  * @summary Gets the Tables under an existing Azure Cosmos DB database account with the provided name.
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableGet.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableGet.json
20
20
  */
21
21
  function cosmosDbTableGet() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Gets the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name.
17
17
  *
18
18
  * @summary Gets the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name.
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableThroughputGet.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableThroughputGet.json
20
20
  */
21
21
  function cosmosDbTableThroughputGet() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Lists the Tables under an existing Azure Cosmos DB database account.
17
17
  *
18
18
  * @summary Lists the Tables under an existing Azure Cosmos DB database account.
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableList.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableList.json
20
20
  */
21
21
  function cosmosDbTableList() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Migrate an Azure Cosmos DB Table from manual throughput to autoscale
17
17
  *
18
18
  * @summary Migrate an Azure Cosmos DB Table from manual throughput to autoscale
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableMigrateToAutoscale.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableMigrateToAutoscale.json
20
20
  */
21
21
  function cosmosDbTableMigrateToAutoscale() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Migrate an Azure Cosmos DB Table from autoscale to manual throughput
17
17
  *
18
18
  * @summary Migrate an Azure Cosmos DB Table from autoscale to manual throughput
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableMigrateToManualThroughput.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableMigrateToManualThroughput.json
20
20
  */
21
21
  function cosmosDbTableMigrateToManualThroughput() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Retrieves continuous backup information for a table.
17
17
  *
18
18
  * @summary Retrieves continuous backup information for a table.
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableBackupInformation.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableBackupInformation.json
20
20
  */
21
21
  function cosmosDbTableCollectionBackupInformation() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Update RUs per second of an Azure Cosmos DB Table
17
17
  *
18
18
  * @summary Update RUs per second of an Azure Cosmos DB Table
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-05-15/examples/CosmosDBTableThroughputUpdate.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBTableThroughputUpdate.json
20
20
  */
21
21
  function cosmosDbTableThroughputUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -32,7 +32,7 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {
32
32
  requestContentType: "application/json; charset=utf-8",
33
33
  credential: credentials,
34
34
  };
35
- const packageDetails = `azsdk-js-arm-cosmosdb/16.0.1`;
35
+ const packageDetails = `azsdk-js-arm-cosmosdb/16.1.0`;
36
36
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
37
37
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
38
38
  : `${packageDetails}`;
@@ -65,7 +65,7 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {
65
65
  this.subscriptionId = subscriptionId;
66
66
  // Assigning values to Constant parameters
67
67
  this.$host = options.$host || "https://management.azure.com";
68
- this.apiVersion = options.apiVersion || "2024-05-15";
68
+ this.apiVersion = options.apiVersion || "2024-08-15";
69
69
  this.databaseAccounts = new DatabaseAccountsImpl(this);
70
70
  this.operations = new OperationsImpl(this);
71
71
  this.database = new DatabaseImpl(this);
@@ -131,7 +131,7 @@ export interface Resource {
131
131
  readonly type?: string;
132
132
  }
133
133
  export interface ApiProperties {
134
- /** Describes the ServerVersion of an a MongoDB account. */
134
+ /** Describes the version of the MongoDB account. */
135
135
  serverVersion?: ServerVersion;
136
136
  }
137
137
  /** Analytical storage specific properties. */
@@ -159,6 +159,8 @@ export interface RestoreParametersBase {
159
159
  restoreSource?: string;
160
160
  /** Time to which the account has to be restored (ISO-8601 format). */
161
161
  restoreTimestampInUtc?: Date;
162
+ /** Specifies whether the restored account will have Time-To-Live disabled upon the successful restore. */
163
+ restoreWithTtlDisabled?: boolean;
162
164
  }
163
165
  /** The object representing the policy for taking backups on an account. */
164
166
  export interface BackupPolicy {
@@ -331,7 +333,7 @@ export interface DatabaseAccountUpdateParameters {
331
333
  enablePartitionMerge?: boolean;
332
334
  /** Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2. */
333
335
  minimalTlsVersion?: MinimalTlsVersion;
334
- /** Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account */
336
+ /** Flag to indicate enabling/disabling of Burst Capacity feature on the account */
335
337
  enableBurstCapacity?: boolean;
336
338
  /** Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. */
337
339
  customerManagedKeyStatus?: string;
@@ -395,12 +397,51 @@ export interface RegionForOnlineOffline {
395
397
  /** Cosmos DB region, with spaces between words and each word capitalized. */
396
398
  region: string;
397
399
  }
398
- /** Error Response. */
400
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
399
401
  export interface ErrorResponse {
400
- /** Error code. */
401
- code?: string;
402
- /** Error message indicating why the operation failed. */
403
- message?: string;
402
+ /** The error object. */
403
+ error?: ErrorDetail;
404
+ }
405
+ /** The error detail. */
406
+ export interface ErrorDetail {
407
+ /**
408
+ * The error code.
409
+ * NOTE: This property will not be serialized. It can only be populated by the server.
410
+ */
411
+ readonly code?: string;
412
+ /**
413
+ * The error message.
414
+ * NOTE: This property will not be serialized. It can only be populated by the server.
415
+ */
416
+ readonly message?: string;
417
+ /**
418
+ * The error target.
419
+ * NOTE: This property will not be serialized. It can only be populated by the server.
420
+ */
421
+ readonly target?: string;
422
+ /**
423
+ * The error details.
424
+ * NOTE: This property will not be serialized. It can only be populated by the server.
425
+ */
426
+ readonly details?: ErrorDetail[];
427
+ /**
428
+ * The error additional info.
429
+ * NOTE: This property will not be serialized. It can only be populated by the server.
430
+ */
431
+ readonly additionalInfo?: ErrorAdditionalInfo[];
432
+ }
433
+ /** The resource management error additional info. */
434
+ export interface ErrorAdditionalInfo {
435
+ /**
436
+ * The additional info type.
437
+ * NOTE: This property will not be serialized. It can only be populated by the server.
438
+ */
439
+ readonly type?: string;
440
+ /**
441
+ * The additional info.
442
+ * NOTE: This property will not be serialized. It can only be populated by the server.
443
+ */
444
+ readonly info?: Record<string, unknown>;
404
445
  }
405
446
  /** Parameters to regenerate the keys within the database account. */
406
447
  export interface DatabaseAccountRegenerateKeyParameters {
@@ -765,11 +806,6 @@ export interface ThroughputPolicyResource {
765
806
  /** Represents the percentage by which throughput can increase every time throughput policy kicks in. */
766
807
  incrementPercent?: number;
767
808
  }
768
- /** An error response from the service. */
769
- export interface CloudError {
770
- /** Error Response. */
771
- error?: ErrorResponse;
772
- }
773
809
  /** The List operation response, that contains the containers and their properties. */
774
810
  export interface SqlContainerListResult {
775
811
  /**
@@ -2556,7 +2592,7 @@ export interface DatabaseAccountGetResults extends ARMResourceProperties {
2556
2592
  enablePartitionMerge?: boolean;
2557
2593
  /** Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2. */
2558
2594
  minimalTlsVersion?: MinimalTlsVersion;
2559
- /** Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account */
2595
+ /** Flag to indicate enabling/disabling of Burst Capacity feature on the account */
2560
2596
  enableBurstCapacity?: boolean;
2561
2597
  /** Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. */
2562
2598
  customerManagedKeyStatus?: string;
@@ -2630,7 +2666,7 @@ export interface DatabaseAccountCreateUpdateParameters extends ARMResourceProper
2630
2666
  enablePartitionMerge?: boolean;
2631
2667
  /** Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2. */
2632
2668
  minimalTlsVersion?: MinimalTlsVersion;
2633
- /** Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account */
2669
+ /** Flag to indicate enabling/disabling of Burst Capacity feature on the account */
2634
2670
  enableBurstCapacity?: boolean;
2635
2671
  /** Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. */
2636
2672
  customerManagedKeyStatus?: string;
@@ -3622,7 +3658,9 @@ export declare enum KnownServerVersion {
3622
3658
  /** Five0 */
3623
3659
  Five0 = "5.0",
3624
3660
  /** Six0 */
3625
- Six0 = "6.0"
3661
+ Six0 = "6.0",
3662
+ /** Seven0 */
3663
+ Seven0 = "7.0"
3626
3664
  }
3627
3665
  /**
3628
3666
  * Defines values for ServerVersion. \
@@ -3634,7 +3672,8 @@ export declare enum KnownServerVersion {
3634
3672
  * **4.0** \
3635
3673
  * **4.2** \
3636
3674
  * **5.0** \
3637
- * **6.0**
3675
+ * **6.0** \
3676
+ * **7.0**
3638
3677
  */
3639
3678
  export type ServerVersion = string;
3640
3679
  /** Known values of {@link AnalyticalStorageSchemaType} that the service accepts. */