@azure/arm-cosmosdb 16.1.1-alpha.20241028.1 → 16.2.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 (225) hide show
  1. package/CHANGELOG.md +354 -6
  2. package/README.md +4 -5
  3. package/dist/index.js +149 -3
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/cassandraClustersCreateUpdateSample.js +3 -2
  8. package/dist-esm/samples-dev/cassandraClustersCreateUpdateSample.js.map +1 -1
  9. package/dist-esm/samples-dev/cassandraClustersDeallocateSample.js +3 -2
  10. package/dist-esm/samples-dev/cassandraClustersDeallocateSample.js.map +1 -1
  11. package/dist-esm/samples-dev/cassandraClustersDeleteSample.js +1 -1
  12. package/dist-esm/samples-dev/cassandraClustersGetSample.js +1 -1
  13. package/dist-esm/samples-dev/cassandraClustersInvokeCommandSample.js +3 -2
  14. package/dist-esm/samples-dev/cassandraClustersInvokeCommandSample.js.map +1 -1
  15. package/dist-esm/samples-dev/cassandraClustersListByResourceGroupSample.js +1 -1
  16. package/dist-esm/samples-dev/cassandraClustersListBySubscriptionSample.js +1 -1
  17. package/dist-esm/samples-dev/cassandraClustersStartSample.js +3 -2
  18. package/dist-esm/samples-dev/cassandraClustersStartSample.js.map +1 -1
  19. package/dist-esm/samples-dev/cassandraClustersStatusSample.js +3 -2
  20. package/dist-esm/samples-dev/cassandraClustersStatusSample.js.map +1 -1
  21. package/dist-esm/samples-dev/cassandraClustersUpdateSample.js +1 -1
  22. package/dist-esm/samples-dev/cassandraDataCentersCreateUpdateSample.js +1 -1
  23. package/dist-esm/samples-dev/cassandraDataCentersDeleteSample.js +1 -1
  24. package/dist-esm/samples-dev/cassandraDataCentersGetSample.js +1 -1
  25. package/dist-esm/samples-dev/cassandraDataCentersListSample.js +1 -1
  26. package/dist-esm/samples-dev/cassandraDataCentersUpdateSample.js +1 -1
  27. package/dist-esm/samples-dev/cassandraResourcesCreateUpdateCassandraKeyspaceSample.js +1 -1
  28. package/dist-esm/samples-dev/cassandraResourcesCreateUpdateCassandraTableSample.js +1 -1
  29. package/dist-esm/samples-dev/cassandraResourcesDeleteCassandraKeyspaceSample.js +1 -1
  30. package/dist-esm/samples-dev/cassandraResourcesDeleteCassandraTableSample.js +1 -1
  31. package/dist-esm/samples-dev/cassandraResourcesGetCassandraKeyspaceSample.js +1 -1
  32. package/dist-esm/samples-dev/cassandraResourcesGetCassandraKeyspaceThroughputSample.js +1 -1
  33. package/dist-esm/samples-dev/cassandraResourcesGetCassandraTableSample.js +1 -1
  34. package/dist-esm/samples-dev/cassandraResourcesGetCassandraTableThroughputSample.js +1 -1
  35. package/dist-esm/samples-dev/cassandraResourcesListCassandraKeyspacesSample.js +1 -1
  36. package/dist-esm/samples-dev/cassandraResourcesListCassandraTablesSample.js +1 -1
  37. package/dist-esm/samples-dev/cassandraResourcesMigrateCassandraKeyspaceToAutoscaleSample.js +1 -1
  38. package/dist-esm/samples-dev/cassandraResourcesMigrateCassandraKeyspaceToManualThroughputSample.js +1 -1
  39. package/dist-esm/samples-dev/cassandraResourcesMigrateCassandraTableToAutoscaleSample.js +1 -1
  40. package/dist-esm/samples-dev/cassandraResourcesMigrateCassandraTableToManualThroughputSample.js +1 -1
  41. package/dist-esm/samples-dev/cassandraResourcesUpdateCassandraKeyspaceThroughputSample.js +1 -1
  42. package/dist-esm/samples-dev/cassandraResourcesUpdateCassandraTableThroughputSample.js +1 -1
  43. package/dist-esm/samples-dev/collectionListMetricDefinitionsSample.js +1 -1
  44. package/dist-esm/samples-dev/collectionListMetricsSample.js +1 -1
  45. package/dist-esm/samples-dev/collectionListUsagesSample.js +1 -1
  46. package/dist-esm/samples-dev/collectionPartitionListMetricsSample.js +1 -1
  47. package/dist-esm/samples-dev/collectionPartitionListUsagesSample.js +1 -1
  48. package/dist-esm/samples-dev/collectionPartitionRegionListMetricsSample.js +1 -1
  49. package/dist-esm/samples-dev/collectionRegionListMetricsSample.js +1 -1
  50. package/dist-esm/samples-dev/databaseAccountRegionListMetricsSample.js +1 -1
  51. package/dist-esm/samples-dev/databaseAccountsCheckNameExistsSample.js +1 -1
  52. package/dist-esm/samples-dev/databaseAccountsCreateOrUpdateSample.js +4 -3
  53. package/dist-esm/samples-dev/databaseAccountsCreateOrUpdateSample.js.map +1 -1
  54. package/dist-esm/samples-dev/databaseAccountsDeleteSample.js +1 -1
  55. package/dist-esm/samples-dev/databaseAccountsFailoverPriorityChangeSample.js +1 -1
  56. package/dist-esm/samples-dev/databaseAccountsGetReadOnlyKeysSample.js +1 -1
  57. package/dist-esm/samples-dev/databaseAccountsGetSample.js +1 -1
  58. package/dist-esm/samples-dev/databaseAccountsListByResourceGroupSample.js +1 -1
  59. package/dist-esm/samples-dev/databaseAccountsListConnectionStringsSample.js +2 -2
  60. package/dist-esm/samples-dev/databaseAccountsListKeysSample.js +1 -1
  61. package/dist-esm/samples-dev/databaseAccountsListMetricDefinitionsSample.js +1 -1
  62. package/dist-esm/samples-dev/databaseAccountsListMetricsSample.js +1 -1
  63. package/dist-esm/samples-dev/databaseAccountsListReadOnlyKeysSample.js +1 -1
  64. package/dist-esm/samples-dev/databaseAccountsListSample.js +1 -1
  65. package/dist-esm/samples-dev/databaseAccountsListUsagesSample.js +1 -1
  66. package/dist-esm/samples-dev/databaseAccountsOfflineRegionSample.js +1 -1
  67. package/dist-esm/samples-dev/databaseAccountsOnlineRegionSample.js +1 -1
  68. package/dist-esm/samples-dev/databaseAccountsRegenerateKeySample.js +1 -1
  69. package/dist-esm/samples-dev/databaseAccountsUpdateSample.js +2 -1
  70. package/dist-esm/samples-dev/databaseAccountsUpdateSample.js.map +1 -1
  71. package/dist-esm/samples-dev/databaseListMetricDefinitionsSample.js +1 -1
  72. package/dist-esm/samples-dev/databaseListMetricsSample.js +1 -1
  73. package/dist-esm/samples-dev/databaseListUsagesSample.js +1 -1
  74. package/dist-esm/samples-dev/gremlinResourcesCreateUpdateGremlinDatabaseSample.js +1 -1
  75. package/dist-esm/samples-dev/gremlinResourcesCreateUpdateGremlinGraphSample.js +1 -1
  76. package/dist-esm/samples-dev/gremlinResourcesDeleteGremlinDatabaseSample.js +1 -1
  77. package/dist-esm/samples-dev/gremlinResourcesDeleteGremlinGraphSample.js +1 -1
  78. package/dist-esm/samples-dev/gremlinResourcesGetGremlinDatabaseSample.js +1 -1
  79. package/dist-esm/samples-dev/gremlinResourcesGetGremlinDatabaseThroughputSample.js +1 -1
  80. package/dist-esm/samples-dev/gremlinResourcesGetGremlinGraphSample.js +1 -1
  81. package/dist-esm/samples-dev/gremlinResourcesGetGremlinGraphThroughputSample.js +1 -1
  82. package/dist-esm/samples-dev/gremlinResourcesListGremlinDatabasesSample.js +1 -1
  83. package/dist-esm/samples-dev/gremlinResourcesListGremlinGraphsSample.js +1 -1
  84. package/dist-esm/samples-dev/gremlinResourcesMigrateGremlinDatabaseToAutoscaleSample.js +1 -1
  85. package/dist-esm/samples-dev/gremlinResourcesMigrateGremlinDatabaseToManualThroughputSample.js +1 -1
  86. package/dist-esm/samples-dev/gremlinResourcesMigrateGremlinGraphToAutoscaleSample.js +1 -1
  87. package/dist-esm/samples-dev/gremlinResourcesMigrateGremlinGraphToManualThroughputSample.js +1 -1
  88. package/dist-esm/samples-dev/gremlinResourcesRetrieveContinuousBackupInformationSample.js +1 -1
  89. package/dist-esm/samples-dev/gremlinResourcesUpdateGremlinDatabaseThroughputSample.js +1 -1
  90. package/dist-esm/samples-dev/gremlinResourcesUpdateGremlinGraphThroughputSample.js +1 -1
  91. package/dist-esm/samples-dev/locationsGetSample.js +1 -1
  92. package/dist-esm/samples-dev/locationsListSample.js +1 -1
  93. package/dist-esm/samples-dev/mongoDbResourcesCreateUpdateMongoDbcollectionSample.js +1 -1
  94. package/dist-esm/samples-dev/mongoDbResourcesCreateUpdateMongoDbdatabaseSample.js +1 -1
  95. package/dist-esm/samples-dev/mongoDbResourcesCreateUpdateMongoRoleDefinitionSample.js +1 -1
  96. package/dist-esm/samples-dev/mongoDbResourcesCreateUpdateMongoUserDefinitionSample.js +1 -1
  97. package/dist-esm/samples-dev/mongoDbResourcesDeleteMongoDbcollectionSample.js +1 -1
  98. package/dist-esm/samples-dev/mongoDbResourcesDeleteMongoDbdatabaseSample.js +1 -1
  99. package/dist-esm/samples-dev/mongoDbResourcesDeleteMongoRoleDefinitionSample.js +1 -1
  100. package/dist-esm/samples-dev/mongoDbResourcesDeleteMongoUserDefinitionSample.js +1 -1
  101. package/dist-esm/samples-dev/mongoDbResourcesGetMongoDbcollectionSample.js +1 -1
  102. package/dist-esm/samples-dev/mongoDbResourcesGetMongoDbcollectionThroughputSample.js +1 -1
  103. package/dist-esm/samples-dev/mongoDbResourcesGetMongoDbdatabaseSample.js +1 -1
  104. package/dist-esm/samples-dev/mongoDbResourcesGetMongoDbdatabaseThroughputSample.js +1 -1
  105. package/dist-esm/samples-dev/mongoDbResourcesGetMongoRoleDefinitionSample.js +1 -1
  106. package/dist-esm/samples-dev/mongoDbResourcesGetMongoUserDefinitionSample.js +1 -1
  107. package/dist-esm/samples-dev/mongoDbResourcesListMongoDbcollectionsSample.js +1 -1
  108. package/dist-esm/samples-dev/mongoDbResourcesListMongoDbdatabasesSample.js +1 -1
  109. package/dist-esm/samples-dev/mongoDbResourcesListMongoRoleDefinitionsSample.js +1 -1
  110. package/dist-esm/samples-dev/mongoDbResourcesListMongoUserDefinitionsSample.js +1 -1
  111. package/dist-esm/samples-dev/mongoDbResourcesMigrateMongoDbcollectionToAutoscaleSample.js +1 -1
  112. package/dist-esm/samples-dev/mongoDbResourcesMigrateMongoDbcollectionToManualThroughputSample.js +1 -1
  113. package/dist-esm/samples-dev/mongoDbResourcesMigrateMongoDbdatabaseToAutoscaleSample.js +1 -1
  114. package/dist-esm/samples-dev/mongoDbResourcesMigrateMongoDbdatabaseToManualThroughputSample.js +1 -1
  115. package/dist-esm/samples-dev/mongoDbResourcesRetrieveContinuousBackupInformationSample.js +1 -1
  116. package/dist-esm/samples-dev/mongoDbResourcesUpdateMongoDbcollectionThroughputSample.js +1 -1
  117. package/dist-esm/samples-dev/mongoDbResourcesUpdateMongoDbdatabaseThroughputSample.js +1 -1
  118. package/dist-esm/samples-dev/notebookWorkspacesCreateOrUpdateSample.js +1 -1
  119. package/dist-esm/samples-dev/notebookWorkspacesDeleteSample.js +1 -1
  120. package/dist-esm/samples-dev/notebookWorkspacesGetSample.js +1 -1
  121. package/dist-esm/samples-dev/notebookWorkspacesListByDatabaseAccountSample.js +1 -1
  122. package/dist-esm/samples-dev/notebookWorkspacesListConnectionInfoSample.js +1 -1
  123. package/dist-esm/samples-dev/notebookWorkspacesRegenerateAuthTokenSample.js +1 -1
  124. package/dist-esm/samples-dev/notebookWorkspacesStartSample.js +1 -1
  125. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  126. package/dist-esm/samples-dev/partitionKeyRangeIdListMetricsSample.js +1 -1
  127. package/dist-esm/samples-dev/partitionKeyRangeIdRegionListMetricsSample.js +1 -1
  128. package/dist-esm/samples-dev/percentileListMetricsSample.js +1 -1
  129. package/dist-esm/samples-dev/percentileSourceTargetListMetricsSample.js +1 -1
  130. package/dist-esm/samples-dev/percentileTargetListMetricsSample.js +1 -1
  131. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +1 -1
  132. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
  133. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
  134. package/dist-esm/samples-dev/privateEndpointConnectionsListByDatabaseAccountSample.js +1 -1
  135. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +1 -1
  136. package/dist-esm/samples-dev/privateLinkResourcesListByDatabaseAccountSample.js +1 -1
  137. package/dist-esm/samples-dev/restorableDatabaseAccountsGetByLocationSample.js +1 -1
  138. package/dist-esm/samples-dev/restorableDatabaseAccountsListByLocationSample.js +1 -1
  139. package/dist-esm/samples-dev/restorableDatabaseAccountsListSample.js +1 -1
  140. package/dist-esm/samples-dev/restorableGremlinDatabasesListSample.js +1 -1
  141. package/dist-esm/samples-dev/restorableGremlinGraphsListSample.js +1 -1
  142. package/dist-esm/samples-dev/restorableGremlinResourcesListSample.js +1 -1
  143. package/dist-esm/samples-dev/restorableMongodbCollectionsListSample.js +1 -1
  144. package/dist-esm/samples-dev/restorableMongodbDatabasesListSample.js +1 -1
  145. package/dist-esm/samples-dev/restorableMongodbResourcesListSample.js +1 -1
  146. package/dist-esm/samples-dev/restorableSqlContainersListSample.js +1 -1
  147. package/dist-esm/samples-dev/restorableSqlDatabasesListSample.js +1 -1
  148. package/dist-esm/samples-dev/restorableSqlResourcesListSample.js +1 -1
  149. package/dist-esm/samples-dev/restorableTableResourcesListSample.js +1 -1
  150. package/dist-esm/samples-dev/restorableTablesListSample.js +1 -1
  151. package/dist-esm/samples-dev/serviceCreateSample.js +4 -4
  152. package/dist-esm/samples-dev/serviceDeleteSample.js +4 -4
  153. package/dist-esm/samples-dev/serviceGetSample.js +4 -4
  154. package/dist-esm/samples-dev/serviceListSample.js +1 -1
  155. package/dist-esm/samples-dev/sqlResourcesCreateUpdateClientEncryptionKeySample.js +1 -1
  156. package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlContainerSample.js +28 -1
  157. package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlContainerSample.js.map +1 -1
  158. package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlDatabaseSample.js +1 -1
  159. package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlRoleAssignmentSample.js +1 -1
  160. package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlRoleDefinitionSample.js +1 -1
  161. package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlStoredProcedureSample.js +1 -1
  162. package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlTriggerSample.js +1 -1
  163. package/dist-esm/samples-dev/sqlResourcesCreateUpdateSqlUserDefinedFunctionSample.js +1 -1
  164. package/dist-esm/samples-dev/sqlResourcesDeleteSqlContainerSample.js +1 -1
  165. package/dist-esm/samples-dev/sqlResourcesDeleteSqlDatabaseSample.js +1 -1
  166. package/dist-esm/samples-dev/sqlResourcesDeleteSqlRoleAssignmentSample.js +1 -1
  167. package/dist-esm/samples-dev/sqlResourcesDeleteSqlRoleDefinitionSample.js +1 -1
  168. package/dist-esm/samples-dev/sqlResourcesDeleteSqlStoredProcedureSample.js +1 -1
  169. package/dist-esm/samples-dev/sqlResourcesDeleteSqlTriggerSample.js +1 -1
  170. package/dist-esm/samples-dev/sqlResourcesDeleteSqlUserDefinedFunctionSample.js +1 -1
  171. package/dist-esm/samples-dev/sqlResourcesGetClientEncryptionKeySample.js +1 -1
  172. package/dist-esm/samples-dev/sqlResourcesGetSqlContainerSample.js +1 -1
  173. package/dist-esm/samples-dev/sqlResourcesGetSqlContainerThroughputSample.js +1 -1
  174. package/dist-esm/samples-dev/sqlResourcesGetSqlDatabaseSample.js +1 -1
  175. package/dist-esm/samples-dev/sqlResourcesGetSqlDatabaseThroughputSample.js +1 -1
  176. package/dist-esm/samples-dev/sqlResourcesGetSqlRoleAssignmentSample.js +1 -1
  177. package/dist-esm/samples-dev/sqlResourcesGetSqlRoleDefinitionSample.js +1 -1
  178. package/dist-esm/samples-dev/sqlResourcesGetSqlStoredProcedureSample.js +1 -1
  179. package/dist-esm/samples-dev/sqlResourcesGetSqlTriggerSample.js +1 -1
  180. package/dist-esm/samples-dev/sqlResourcesGetSqlUserDefinedFunctionSample.js +1 -1
  181. package/dist-esm/samples-dev/sqlResourcesListClientEncryptionKeysSample.js +1 -1
  182. package/dist-esm/samples-dev/sqlResourcesListSqlContainersSample.js +1 -1
  183. package/dist-esm/samples-dev/sqlResourcesListSqlDatabasesSample.js +1 -1
  184. package/dist-esm/samples-dev/sqlResourcesListSqlRoleAssignmentsSample.js +1 -1
  185. package/dist-esm/samples-dev/sqlResourcesListSqlRoleDefinitionsSample.js +1 -1
  186. package/dist-esm/samples-dev/sqlResourcesListSqlStoredProceduresSample.js +1 -1
  187. package/dist-esm/samples-dev/sqlResourcesListSqlTriggersSample.js +1 -1
  188. package/dist-esm/samples-dev/sqlResourcesListSqlUserDefinedFunctionsSample.js +1 -1
  189. package/dist-esm/samples-dev/sqlResourcesMigrateSqlContainerToAutoscaleSample.js +1 -1
  190. package/dist-esm/samples-dev/sqlResourcesMigrateSqlContainerToManualThroughputSample.js +1 -1
  191. package/dist-esm/samples-dev/sqlResourcesMigrateSqlDatabaseToAutoscaleSample.js +1 -1
  192. package/dist-esm/samples-dev/sqlResourcesMigrateSqlDatabaseToManualThroughputSample.js +1 -1
  193. package/dist-esm/samples-dev/sqlResourcesRetrieveContinuousBackupInformationSample.js +1 -1
  194. package/dist-esm/samples-dev/sqlResourcesUpdateSqlContainerThroughputSample.js +1 -1
  195. package/dist-esm/samples-dev/sqlResourcesUpdateSqlDatabaseThroughputSample.js +1 -1
  196. package/dist-esm/samples-dev/tableResourcesCreateUpdateTableSample.js +1 -1
  197. package/dist-esm/samples-dev/tableResourcesDeleteTableSample.js +1 -1
  198. package/dist-esm/samples-dev/tableResourcesGetTableSample.js +1 -1
  199. package/dist-esm/samples-dev/tableResourcesGetTableThroughputSample.js +1 -1
  200. package/dist-esm/samples-dev/tableResourcesListTablesSample.js +1 -1
  201. package/dist-esm/samples-dev/tableResourcesMigrateTableToAutoscaleSample.js +1 -1
  202. package/dist-esm/samples-dev/tableResourcesMigrateTableToManualThroughputSample.js +1 -1
  203. package/dist-esm/samples-dev/tableResourcesRetrieveContinuousBackupInformationSample.js +1 -1
  204. package/dist-esm/samples-dev/tableResourcesUpdateTableThroughputSample.js +1 -1
  205. package/dist-esm/src/cosmosDBManagementClient.js +2 -2
  206. package/dist-esm/src/models/index.d.ts +89 -0
  207. package/dist-esm/src/models/index.d.ts.map +1 -1
  208. package/dist-esm/src/models/index.js +30 -0
  209. package/dist-esm/src/models/index.js.map +1 -1
  210. package/dist-esm/src/models/mappers.d.ts +3 -0
  211. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  212. package/dist-esm/src/models/mappers.js +113 -0
  213. package/dist-esm/src/models/mappers.js.map +1 -1
  214. package/dist-esm/src/models/parameters.js +1 -1
  215. package/dist-esm/test/cosmosdb_cassandra_examples.js +1 -1
  216. package/dist-esm/test/cosmosdb_cassandra_examples.js.map +1 -1
  217. package/package.json +28 -30
  218. package/review/arm-cosmosdb.api.md +54 -0
  219. package/src/cosmosDBManagementClient.ts +2 -2
  220. package/src/models/index.ts +98 -0
  221. package/src/models/mappers.ts +118 -0
  222. package/src/models/parameters.ts +1 -1
  223. package/tsconfig.json +2 -2
  224. package/types/arm-cosmosdb.d.ts +98 -0
  225. package/types/tsdoc-metadata.json +1 -1
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Create or update an Azure Cosmos DB SQL container
17
17
  *
18
18
  * @summary Create or update an Azure Cosmos DB SQL container
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerCreateUpdate.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBSqlContainerCreateUpdate.json
20
20
  */
21
21
  function cosmosDbSqlContainerCreateUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -62,9 +62,36 @@ function cosmosDbSqlContainerCreateUpdate() {
62
62
  },
63
63
  ],
64
64
  indexingMode: "consistent",
65
+ vectorIndexes: [
66
+ { type: "flat", path: "/vectorPath1" },
67
+ { type: "quantizedFlat", path: "/vectorPath2" },
68
+ { type: "diskANN", path: "/vectorPath3" },
69
+ ],
65
70
  },
66
71
  partitionKey: { kind: "Hash", paths: ["/AccountNumber"] },
67
72
  uniqueKeyPolicy: { uniqueKeys: [{ paths: ["/testPath"] }] },
73
+ vectorEmbeddingPolicy: {
74
+ vectorEmbeddings: [
75
+ {
76
+ path: "/vectorPath1",
77
+ dataType: "float32",
78
+ dimensions: 400,
79
+ distanceFunction: "euclidean",
80
+ },
81
+ {
82
+ path: "/vectorPath2",
83
+ dataType: "uint8",
84
+ dimensions: 512,
85
+ distanceFunction: "cosine",
86
+ },
87
+ {
88
+ path: "/vectorPath3",
89
+ dataType: "int8",
90
+ dimensions: 512,
91
+ distanceFunction: "dotproduct",
92
+ },
93
+ ],
94
+ },
68
95
  },
69
96
  tags: {},
70
97
  };
@@ -1 +1 @@
1
- {"version":3,"file":"sqlResourcesCreateUpdateSqlContainerSample.js","sourceRoot":"","sources":["../../samples-dev/sqlResourcesCreateUpdateSqlContainerSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,gCAAgC;;QAC7C,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,0BAA0B,CAAC,IAAI,OAAO,CAAC;QAC1E,MAAM,iBAAiB,GAAG,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,IAAI,KAAK,CAAC;QAC1E,MAAM,WAAW,GAAG,MAAM,CAAC;QAC3B,MAAM,YAAY,GAAG,cAAc,CAAC;QACpC,MAAM,aAAa,GAAG,eAAe,CAAC;QACtC,MAAM,kCAAkC,GACtC;YACE,QAAQ,EAAE,SAAS;YACnB,OAAO,EAAE,EAAE;YACX,QAAQ,EAAE;gBACR,sBAAsB,EAAE;oBACtB,aAAa,EAAE;wBACb;4BACE,IAAI,EAAE,OAAO;4BACb,qBAAqB,EAAE,OAAO;4BAC9B,mBAAmB,EAAE,8BAA8B;4BACnD,cAAc,EAAE,eAAe;yBAChC;qBACF;oBACD,mBAAmB,EAAE,CAAC;iBACvB;gBACD,kBAAkB,EAAE;oBAClB,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,mCAAmC,EAAE;iBACrE;gBACD,wBAAwB,EAAE;oBACxB,sBAAsB,EAAE,OAAO;oBAC/B,IAAI,EAAE,gBAAgB;iBACvB;gBACD,UAAU,EAAE,GAAG;gBACf,EAAE,EAAE,eAAe;gBACnB,cAAc,EAAE;oBACd,SAAS,EAAE,IAAI;oBACf,aAAa,EAAE,EAAE;oBACjB,aAAa,EAAE;wBACb;4BACE,IAAI,EAAE,IAAI;4BACV,OAAO,EAAE;gCACP,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC,CAAC,EAAE;gCACpD,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC,CAAC,EAAE;6BACrD;yBACF;qBACF;oBACD,YAAY,EAAE,YAAY;iBAC3B;gBACD,YAAY,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,gBAAgB,CAAC,EAAE;gBACzD,eAAe,EAAE,EAAE,UAAU,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC,EAAE;aAC5D;YACD,IAAI,EAAE,EAAE;SACT,CAAC;QACJ,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,wBAAwB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACxE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,oCAAoC,CAC3E,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,aAAa,EACb,kCAAkC,CACnC,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,gCAAgC,EAAE,CAAC;IACrC,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"sqlResourcesCreateUpdateSqlContainerSample.js","sourceRoot":"","sources":["../../samples-dev/sqlResourcesCreateUpdateSqlContainerSample.ts"],"names":[],"mappings":"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"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Create or update an Azure Cosmos DB SQL database
17
17
  *
18
18
  * @summary Create or update an Azure Cosmos DB SQL database
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseCreateUpdate.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBSqlDatabaseCreateUpdate.json
20
20
  */
21
21
  function cosmosDbSqlDatabaseCreateUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Creates or updates an Azure Cosmos DB SQL Role Assignment.
17
17
  *
18
18
  * @summary Creates or updates an Azure Cosmos DB SQL Role Assignment.
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleAssignmentCreateUpdate.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBSqlRoleAssignmentCreateUpdate.json
20
20
  */
21
21
  function cosmosDbSqlRoleAssignmentCreateUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Creates or updates an Azure Cosmos DB SQL Role Definition.
17
17
  *
18
18
  * @summary Creates or updates an Azure Cosmos DB SQL Role Definition.
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleDefinitionCreateUpdate.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBSqlRoleDefinitionCreateUpdate.json
20
20
  */
21
21
  function cosmosDbSqlRoleDefinitionCreateUpdate() {
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 SQL storedProcedure
17
17
  *
18
18
  * @summary Create or update an Azure Cosmos DB SQL storedProcedure
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlStoredProcedureCreateUpdate.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBSqlStoredProcedureCreateUpdate.json
20
20
  */
21
21
  function cosmosDbSqlStoredProcedureCreateUpdate() {
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 SQL trigger
17
17
  *
18
18
  * @summary Create or update an Azure Cosmos DB SQL trigger
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlTriggerCreateUpdate.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBSqlTriggerCreateUpdate.json
20
20
  */
21
21
  function cosmosDbSqlTriggerCreateUpdate() {
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 SQL userDefinedFunction
17
17
  *
18
18
  * @summary Create or update an Azure Cosmos DB SQL userDefinedFunction
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlUserDefinedFunctionCreateUpdate.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBSqlUserDefinedFunctionCreateUpdate.json
20
20
  */
21
21
  function cosmosDbSqlUserDefinedFunctionCreateUpdate() {
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 container.
17
17
  *
18
18
  * @summary Deletes an existing Azure Cosmos DB SQL container.
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlContainerDelete.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBSqlContainerDelete.json
20
20
  */
21
21
  function cosmosDbSqlContainerDelete() {
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 database.
17
17
  *
18
18
  * @summary Deletes an existing Azure Cosmos DB SQL database.
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlDatabaseDelete.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBSqlDatabaseDelete.json
20
20
  */
21
21
  function cosmosDbSqlDatabaseDelete() {
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 Role Assignment.
17
17
  *
18
18
  * @summary Deletes an existing Azure Cosmos DB SQL Role Assignment.
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleAssignmentDelete.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBSqlRoleAssignmentDelete.json
20
20
  */
21
21
  function cosmosDbSqlRoleAssignmentDelete() {
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 Role Definition.
17
17
  *
18
18
  * @summary Deletes an existing Azure Cosmos DB SQL Role Definition.
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlRoleDefinitionDelete.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBSqlRoleDefinitionDelete.json
20
20
  */
21
21
  function cosmosDbSqlRoleDefinitionDelete() {
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 storedProcedure.
17
17
  *
18
18
  * @summary Deletes an existing Azure Cosmos DB SQL storedProcedure.
19
- * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-08-15/examples/CosmosDBSqlStoredProcedureDelete.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-15/examples/CosmosDBSqlStoredProcedureDelete.json
20
20
  */
21
21
  function cosmosDbSqlStoredProcedureDelete() {
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 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-08-15/examples/CosmosDBSqlTriggerDelete.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBSqlUserDefinedFunctionDelete.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBSqlClientEncryptionKeyGet.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBSqlContainerGet.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBSqlContainerThroughputGet.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBSqlDatabaseGet.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBSqlDatabaseThroughputGet.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBSqlRoleAssignmentGet.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBSqlRoleDefinitionGet.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBSqlStoredProcedureGet.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBSqlTriggerGet.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBSqlUserDefinedFunctionGet.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBSqlClientEncryptionKeysList.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBSqlContainerList.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBSqlDatabaseList.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBSqlRoleAssignmentList.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBSqlRoleDefinitionList.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBSqlStoredProcedureList.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBSqlTriggerList.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBSqlUserDefinedFunctionList.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBSqlContainerMigrateToAutoscale.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBSqlContainerMigrateToManualThroughput.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBSqlDatabaseMigrateToAutoscale.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBSqlDatabaseMigrateToManualThroughput.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBSqlContainerBackupInformation.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBSqlContainerThroughputUpdate.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBSqlDatabaseThroughputUpdate.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBTableCreateUpdate.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBTableDelete.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBTableGet.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBTableThroughputGet.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBTableList.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBTableMigrateToAutoscale.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBTableMigrateToManualThroughput.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBTableBackupInformation.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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-08-15/examples/CosmosDBTableThroughputUpdate.json
19
+ * x-ms-original-file: specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2024-11-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.1.1`;
35
+ const packageDetails = `azsdk-js-arm-cosmosdb/16.2.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-08-15";
68
+ this.apiVersion = options.apiVersion || "2024-11-15";
69
69
  this.databaseAccounts = new DatabaseAccountsImpl(this);
70
70
  this.operations = new OperationsImpl(this);
71
71
  this.database = new DatabaseImpl(this);