Skip to content

Commit

Permalink
[mgmt] cosmosdb stable release (#32136)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazrael2119 authored Dec 18, 2024
1 parent 1cad81e commit 6d5b261
Show file tree
Hide file tree
Showing 779 changed files with 4,313 additions and 25,534 deletions.
28 changes: 19 additions & 9 deletions sdk/cosmosdb/arm-cosmosdb/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,25 @@
# Release History

## 17.0.0-beta.2 (Unreleased)

## 16.2.0 (2024-12-09)
### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added Interface VectorEmbedding
- Added Interface VectorEmbeddingPolicy
- Added Interface VectorIndex
- Added Type Alias DistanceFunction
- Added Type Alias VectorDataType
- Added Type Alias VectorIndexType
- Interface DatabaseAccountCreateUpdateParameters has a new optional parameter enablePerRegionPerPartitionAutoscale
- Interface DatabaseAccountGetResults has a new optional parameter enablePerRegionPerPartitionAutoscale
- Interface DatabaseAccountUpdateParameters has a new optional parameter enablePerRegionPerPartitionAutoscale
- Interface IndexingPolicy has a new optional parameter vectorIndexes
- Interface SqlContainerResource has a new optional parameter vectorEmbeddingPolicy
- Added Enum KnownDistanceFunction
- Added Enum KnownVectorDataType
- Added Enum KnownVectorIndexType


## 17.0.0-beta.1 (2024-10-29)
Compared with version 16.1.0

Expand Down
3 changes: 1 addition & 2 deletions sdk/cosmosdb/arm-cosmosdb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Azure Cosmos DB Database Service Resource Provider REST API

[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cosmosdb/arm-cosmosdb) |
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-cosmosdb) |
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-cosmosdb?view=azure-node-preview) |
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-cosmosdb) |
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)

## Getting started
Expand Down Expand Up @@ -44,7 +44,6 @@ npm install @azure/identity
```

You will also need to **register a new AAD application and grant access to Azure CosmosDBManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.

For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).

Expand Down
8 changes: 4 additions & 4 deletions sdk/cosmosdb/arm-cosmosdb/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "1ceae653a47852d592d87583a72e835f2f541d6f",
"commit": "552b4dd311f90f4a7b2f7adf45461d7a8774a1cc",
"readme": "specification/cosmos-db/resource-manager/readme.md",
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\cosmos-db\\resource-manager\\readme.md --use=@autorest/typescript@6.0.27 --generate-sample=true",
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\cosmos-db\\resource-manager\\readme.md --use=@autorest/typescript@6.0.29 --generate-sample=true",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.15",
"use": "@autorest/typescript@6.0.27"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.16",
"use": "@autorest/typescript@6.0.29"
}
2 changes: 1 addition & 1 deletion sdk/cosmosdb/arm-cosmosdb/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "js",
"TagPrefix": "js/cosmosdb/arm-cosmosdb",
"Tag": "js/cosmosdb/arm-cosmosdb_7ac12bbf1d"
"Tag": "js/cosmosdb/arm-cosmosdb_c817010168"
}
7 changes: 4 additions & 3 deletions sdk/cosmosdb/arm-cosmosdb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for CosmosDBManagementClient.",
"version": "17.0.0-beta.2",
"version": "16.2.0",
"engines": {
"node": ">=18.0.0"
},
Expand Down Expand Up @@ -89,7 +89,8 @@
"unit-test:browser": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"integration-test:browser": "echo skipped"
"integration-test:browser": "echo skipped",
"update-snippets": "echo skipped"
},
"sideEffects": false,
"//metadata": {
Expand All @@ -110,4 +111,4 @@
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-cosmosdb?view=azure-node-preview"
}
}
}
Loading

0 comments on commit 6d5b261

Please sign in to comment.