Skip to content

Commit

Permalink
cosmosdb-release (#20468)
Browse files Browse the repository at this point in the history
  • Loading branch information
colawwj authored Feb 24, 2022
1 parent 1255644 commit 18c578a
Show file tree
Hide file tree
Showing 45 changed files with 13,301 additions and 3,615 deletions.
13 changes: 7 additions & 6 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

238 changes: 230 additions & 8 deletions sdk/cosmosdb/arm-cosmosdb/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,237 @@
# Release History

## 16.0.0-beta.1 (2022-02-21)

**Features**

## 15.0.1 (Unreleased)
- Added operation group DataTransferJobs
- Added operation group GraphResources
- Added operation group RestorableGremlinDatabases
- Added operation group RestorableGremlinGraphs
- Added operation group RestorableGremlinResources
- Added operation group RestorableTableResources
- Added operation group RestorableTables
- Added operation group Service
- Added operation CassandraClusters.getBackup
- Added operation CassandraClusters.listBackups
- Added operation CassandraResources.beginCreateUpdateCassandraView
- Added operation CassandraResources.beginCreateUpdateCassandraViewAndWait
- Added operation CassandraResources.beginDeleteCassandraView
- Added operation CassandraResources.beginDeleteCassandraViewAndWait
- Added operation CassandraResources.beginMigrateCassandraViewToAutoscale
- Added operation CassandraResources.beginMigrateCassandraViewToAutoscaleAndWait
- Added operation CassandraResources.beginMigrateCassandraViewToManualThroughput
- Added operation CassandraResources.beginMigrateCassandraViewToManualThroughputAndWait
- Added operation CassandraResources.beginUpdateCassandraViewThroughput
- Added operation CassandraResources.beginUpdateCassandraViewThroughputAndWait
- Added operation CassandraResources.getCassandraView
- Added operation CassandraResources.getCassandraViewThroughput
- Added operation CassandraResources.listCassandraViews
- Added operation GremlinResources.beginRetrieveContinuousBackupInformation
- Added operation GremlinResources.beginRetrieveContinuousBackupInformationAndWait
- Added operation MongoDBResources.beginCreateUpdateMongoRoleDefinition
- Added operation MongoDBResources.beginCreateUpdateMongoRoleDefinitionAndWait
- Added operation MongoDBResources.beginCreateUpdateMongoUserDefinition
- Added operation MongoDBResources.beginCreateUpdateMongoUserDefinitionAndWait
- Added operation MongoDBResources.beginDeleteMongoRoleDefinition
- Added operation MongoDBResources.beginDeleteMongoRoleDefinitionAndWait
- Added operation MongoDBResources.beginDeleteMongoUserDefinition
- Added operation MongoDBResources.beginDeleteMongoUserDefinitionAndWait
- Added operation MongoDBResources.getMongoRoleDefinition
- Added operation MongoDBResources.getMongoUserDefinition
- Added operation MongoDBResources.listMongoRoleDefinitions
- Added operation MongoDBResources.listMongoUserDefinitions
- Added operation SqlResources.beginCreateUpdateClientEncryptionKey
- Added operation SqlResources.beginCreateUpdateClientEncryptionKeyAndWait
- Added operation SqlResources.getClientEncryptionKey
- Added operation SqlResources.listClientEncryptionKeys
- Added operation TableResources.beginRetrieveContinuousBackupInformation
- Added operation TableResources.beginRetrieveContinuousBackupInformationAndWait
- Added Interface AuthenticationMethodLdapProperties
- Added Interface BackupResourceProperties
- Added Interface CassandraClustersGetBackupOptionalParams
- Added Interface CassandraClustersListBackupsOptionalParams
- Added Interface CassandraResourcesCreateUpdateCassandraViewOptionalParams
- Added Interface CassandraResourcesDeleteCassandraViewOptionalParams
- Added Interface CassandraResourcesGetCassandraViewOptionalParams
- Added Interface CassandraResourcesGetCassandraViewThroughputOptionalParams
- Added Interface CassandraResourcesListCassandraViewsOptionalParams
- Added Interface CassandraResourcesMigrateCassandraViewToAutoscaleOptionalParams
- Added Interface CassandraResourcesMigrateCassandraViewToManualThroughputOptionalParams
- Added Interface CassandraResourcesUpdateCassandraViewThroughputOptionalParams
- Added Interface CassandraViewListResult
- Added Interface CassandraViewResource
- Added Interface ClientEncryptionKeyCreateUpdateParameters
- Added Interface ClientEncryptionKeyResource
- Added Interface ClientEncryptionKeysListResult
- Added Interface DataTransferDataSourceSink
- Added Interface DataTransferJobFeedResults
- Added Interface DataTransferJobProperties
- Added Interface DataTransferJobsCreateOptionalParams
- Added Interface DataTransferJobsGetOptionalParams
- Added Interface DataTransferJobsListByDatabaseAccountNextOptionalParams
- Added Interface DataTransferJobsListByDatabaseAccountOptionalParams
- Added Interface DataTransferServiceResource
- Added Interface DiagnosticLogSettings
- Added Interface GraphAPIComputeServiceResource
- Added Interface GraphResource
- Added Interface GraphResourcesCreateUpdateGraphOptionalParams
- Added Interface GraphResourcesDeleteGraphResourceOptionalParams
- Added Interface GraphResourcesGetGraphOptionalParams
- Added Interface GraphResourcesListGraphsOptionalParams
- Added Interface GraphResourcesListResult
- Added Interface GremlinDatabaseRestoreResource
- Added Interface GremlinResourcesRetrieveContinuousBackupInformationOptionalParams
- Added Interface KeyWrapMetadata
- Added Interface ListBackups
- Added Interface MaterializedViewsBuilderServiceResource
- Added Interface MongoDBResourcesCreateUpdateMongoRoleDefinitionOptionalParams
- Added Interface MongoDBResourcesCreateUpdateMongoUserDefinitionOptionalParams
- Added Interface MongoDBResourcesDeleteMongoRoleDefinitionOptionalParams
- Added Interface MongoDBResourcesDeleteMongoUserDefinitionOptionalParams
- Added Interface MongoDBResourcesGetMongoRoleDefinitionOptionalParams
- Added Interface MongoDBResourcesGetMongoUserDefinitionOptionalParams
- Added Interface MongoDBResourcesListMongoRoleDefinitionsOptionalParams
- Added Interface MongoDBResourcesListMongoUserDefinitionsOptionalParams
- Added Interface MongoRoleDefinitionCreateUpdateParameters
- Added Interface MongoRoleDefinitionListResult
- Added Interface MongoUserDefinitionCreateUpdateParameters
- Added Interface MongoUserDefinitionListResult
- Added Interface Privilege
- Added Interface PrivilegeResource
- Added Interface RegionalServiceResource
- Added Interface RestorableGremlinDatabaseGetResult
- Added Interface RestorableGremlinDatabasePropertiesResource
- Added Interface RestorableGremlinDatabasesListOptionalParams
- Added Interface RestorableGremlinDatabasesListResult
- Added Interface RestorableGremlinGraphGetResult
- Added Interface RestorableGremlinGraphPropertiesResource
- Added Interface RestorableGremlinGraphsListOptionalParams
- Added Interface RestorableGremlinGraphsListResult
- Added Interface RestorableGremlinResourcesListOptionalParams
- Added Interface RestorableGremlinResourcesListResult
- Added Interface RestorableTableGetResult
- Added Interface RestorableTablePropertiesResource
- Added Interface RestorableTableResourcesListOptionalParams
- Added Interface RestorableTableResourcesListResult
- Added Interface RestorableTablesListOptionalParams
- Added Interface RestorableTablesListResult
- Added Interface Role
- Added Interface ServiceCreateOptionalParams
- Added Interface ServiceDeleteOptionalParams
- Added Interface ServiceGetOptionalParams
- Added Interface ServiceListOptionalParams
- Added Interface ServiceResourceCreateUpdateParameters
- Added Interface ServiceResourceListResult
- Added Interface ServiceResourceProperties
- Added Interface SqlDedicatedGatewayServiceResource
- Added Interface SqlResourcesCreateUpdateClientEncryptionKeyOptionalParams
- Added Interface SqlResourcesGetClientEncryptionKeyOptionalParams
- Added Interface SqlResourcesListClientEncryptionKeysOptionalParams
- Added Interface TableResourcesRetrieveContinuousBackupInformationOptionalParams
- Added Type Alias AzureBlobDataTransferDataSourceSink
- Added Type Alias BackupResource
- Added Type Alias CassandraClustersGetBackupResponse
- Added Type Alias CassandraClustersListBackupsResponse
- Added Type Alias CassandraResourcesCreateUpdateCassandraViewResponse
- Added Type Alias CassandraResourcesGetCassandraViewResponse
- Added Type Alias CassandraResourcesGetCassandraViewThroughputResponse
- Added Type Alias CassandraResourcesListCassandraViewsResponse
- Added Type Alias CassandraResourcesMigrateCassandraViewToAutoscaleResponse
- Added Type Alias CassandraResourcesMigrateCassandraViewToManualThroughputResponse
- Added Type Alias CassandraResourcesUpdateCassandraViewThroughputResponse
- Added Type Alias CassandraViewCreateUpdateParameters
- Added Type Alias CassandraViewGetPropertiesOptions
- Added Type Alias CassandraViewGetPropertiesResource
- Added Type Alias CassandraViewGetResults
- Added Type Alias ClientEncryptionKeyGetPropertiesResource
- Added Type Alias ClientEncryptionKeyGetResults
- Added Type Alias CosmosCassandraDataTransferDataSourceSink
- Added Type Alias CosmosSqlDataTransferDataSourceSink
- Added Type Alias CreateJobRequest
- Added Type Alias DataTransferComponent
- Added Type Alias DataTransferDataSourceSinkUnion
- Added Type Alias DataTransferJobGetResults
- Added Type Alias DataTransferJobsCreateResponse
- Added Type Alias DataTransferJobsGetResponse
- Added Type Alias DataTransferJobsListByDatabaseAccountNextResponse
- Added Type Alias DataTransferJobsListByDatabaseAccountResponse
- Added Type Alias DataTransferRegionalServiceResource
- Added Type Alias DataTransferServiceResourceProperties
- Added Type Alias EnableFullTextQuery
- Added Type Alias GraphAPIComputeRegionalServiceResource
- Added Type Alias GraphAPIComputeServiceResourceProperties
- Added Type Alias GraphResourceCreateUpdateParameters
- Added Type Alias GraphResourceGetPropertiesOptions
- Added Type Alias GraphResourceGetPropertiesResource
- Added Type Alias GraphResourceGetResults
- Added Type Alias GraphResourcesCreateUpdateGraphResponse
- Added Type Alias GraphResourcesGetGraphResponse
- Added Type Alias GraphResourcesListGraphsResponse
- Added Type Alias GremlinResourcesRetrieveContinuousBackupInformationResponse
- Added Type Alias MaterializedViewsBuilderRegionalServiceResource
- Added Type Alias MaterializedViewsBuilderServiceResourceProperties
- Added Type Alias MongoDBResourcesCreateUpdateMongoRoleDefinitionResponse
- Added Type Alias MongoDBResourcesCreateUpdateMongoUserDefinitionResponse
- Added Type Alias MongoDBResourcesGetMongoRoleDefinitionResponse
- Added Type Alias MongoDBResourcesGetMongoUserDefinitionResponse
- Added Type Alias MongoDBResourcesListMongoRoleDefinitionsResponse
- Added Type Alias MongoDBResourcesListMongoUserDefinitionsResponse
- Added Type Alias MongoRoleDefinitionGetResults
- Added Type Alias MongoRoleDefinitionType
- Added Type Alias MongoUserDefinitionGetResults
- Added Type Alias RestorableGremlinDatabasesListResponse
- Added Type Alias RestorableGremlinGraphsListResponse
- Added Type Alias RestorableGremlinResourcesListResponse
- Added Type Alias RestorableTableResourcesListResponse
- Added Type Alias RestorableTablesListResponse
- Added Type Alias ServiceCreateResponse
- Added Type Alias ServiceGetResponse
- Added Type Alias ServiceListResponse
- Added Type Alias ServiceResource
- Added Type Alias ServiceResourcePropertiesUnion
- Added Type Alias ServiceSize
- Added Type Alias ServiceStatus
- Added Type Alias ServiceType
- Added Type Alias SqlDedicatedGatewayRegionalServiceResource
- Added Type Alias SqlDedicatedGatewayServiceResourceProperties
- Added Type Alias SqlResourcesCreateUpdateClientEncryptionKeyResponse
- Added Type Alias SqlResourcesGetClientEncryptionKeyResponse
- Added Type Alias SqlResourcesListClientEncryptionKeysResponse
- Added Type Alias TableResourcesRetrieveContinuousBackupInformationResponse
- Interface ARMResourceProperties has a new optional parameter identity
- Interface DatabaseAccountUpdateParameters has a new optional parameter diagnosticLogSettings
- Interface DatabaseAccountUpdateParameters has a new optional parameter enableMaterializedViews
- Interface DataCenterResourceProperties has a new optional parameter authenticationMethodLdapProperties
- Interface LocationProperties has a new optional parameter status
- Interface RestorableMongodbCollectionsListOptionalParams has a new optional parameter endTime
- Interface RestorableMongodbCollectionsListOptionalParams has a new optional parameter startTime
- Interface RestoreParameters has a new optional parameter gremlinDatabasesToRestore
- Interface RestoreParameters has a new optional parameter tablesToRestore
- Class CosmosDBManagementClient has a new parameter dataTransferJobs
- Class CosmosDBManagementClient has a new parameter graphResources
- Class CosmosDBManagementClient has a new parameter restorableGremlinDatabases
- Class CosmosDBManagementClient has a new parameter restorableGremlinGraphs
- Class CosmosDBManagementClient has a new parameter restorableGremlinResources
- Class CosmosDBManagementClient has a new parameter restorableTableResources
- Class CosmosDBManagementClient has a new parameter restorableTables
- Class CosmosDBManagementClient has a new parameter service
- Type Alias DatabaseAccountCreateUpdateParameters has a new parameter diagnosticLogSettings
- Type Alias DatabaseAccountCreateUpdateParameters has a new parameter enableMaterializedViews
- Type Alias DatabaseAccountGetResults has a new parameter diagnosticLogSettings
- Type Alias DatabaseAccountGetResults has a new parameter enableMaterializedViews
- Added Enum KnownDataTransferComponent
- Added Enum KnownServiceSize
- Added Enum KnownServiceStatus
- Added Enum KnownServiceType
- Enum KnownAuthenticationMethod has a new value Ldap

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes
**Breaking Changes**

- Type Alias DatabaseAccountCreateUpdateParameters no longer has parameter identity
- Type Alias DatabaseAccountGetResults no longer has parameter identity


## 15.0.0 (2021-12-09)

The package of @azure/arm-cosmosdb is using our next generation design principles since version 15.0.0, which contains breaking changes.
Expand Down
2 changes: 1 addition & 1 deletion sdk/cosmosdb/arm-cosmosdb/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2021 Microsoft
Copyright (c) 2022 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
13 changes: 12 additions & 1 deletion 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://docs.microsoft.com/javascript/api/@azure/arm-cosmosdb) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-cosmosdb?view=azure-node-preview) |
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)

## Getting started
Expand All @@ -16,6 +16,8 @@ Azure Cosmos DB Database Service Resource Provider REST API
- [LTS versions of Node.js](https://nodejs.org/about/releases/)
- Latest versions of Safari, Chrome, Edge and Firefox.

See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details.

### Prerequisites

- An [Azure subscription][azure_sub].
Expand Down Expand Up @@ -49,8 +51,17 @@ For more information about how to create an Azure AD Application check out [this
```javascript
const { CosmosDBManagementClient } = require("@azure/arm-cosmosdb");
const { DefaultAzureCredential } = require("@azure/identity");
// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.

const subscriptionId = "00000000-0000-0000-0000-000000000000";
const client = new CosmosDBManagementClient(new DefaultAzureCredential(), subscriptionId);

// For client-side applications running in the browser, use this code instead:
// const credential = new InteractiveBrowserCredential({
// tenantId: "<YOUR_TENANT_ID>",
// clientId: "<YOUR_CLIENT_ID>"
// });
// const client = new CosmosDBManagementClient(credential, subscriptionId);
```


Expand Down
6 changes: 3 additions & 3 deletions sdk/cosmosdb/arm-cosmosdb/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commit": "d710fb7f40338ca6ef00e0a9680be0a3d4cf5059",
"commit": "bb9f1204f9a337404ff7e7b73b4c7b4ddde7f8f1",
"readme": "specification/cosmos-db/resource-manager/readme.md",
"autorest_command": "autorest --version=3.1.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/cosmos-db/resource-manager/readme.md --use=@autorest/[email protected].20211130.1",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/cosmos-db/resource-manager/readme.md --use=@autorest/[email protected].20220217.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"use": "@autorest/[email protected].20211130.1"
"use": "@autorest/[email protected].20220217.1"
}
Loading

0 comments on commit 18c578a

Please sign in to comment.