Skip to content

Commit

Permalink
CodeGen from PR 18867 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge f7ada5b4536ffd3084c5f9fcc281440d9359fb58 into 398da0c0e050b5f39857661d1b104056ad48c0a2
  • Loading branch information
SDKAuto committed May 2, 2022
1 parent 144a5f9 commit ca16f80
Show file tree
Hide file tree
Showing 28 changed files with 2,503 additions and 392 deletions.
17 changes: 8 additions & 9 deletions common/config/rush/pnpm-lock.yaml

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

68 changes: 55 additions & 13 deletions sdk/cosmosdb/arm-cosmosdb/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
# Release History

## 16.0.0-beta.3 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

## 16.0.0-beta.2 (2022-04-15)

## 15.1.0-beta.1 (2022-05-02)

**Features**

Expand Down Expand Up @@ -47,12 +37,24 @@
- Added operation MongoDBResources.beginDeleteMongoRoleDefinitionAndWait
- Added operation MongoDBResources.beginDeleteMongoUserDefinition
- Added operation MongoDBResources.beginDeleteMongoUserDefinitionAndWait
- Added operation MongoDBResources.beginListMongoDBCollectionPartitionMerge
- Added operation MongoDBResources.beginListMongoDBCollectionPartitionMergeAndWait
- Added operation MongoDBResources.beginMongoDBContainerRedistributeThroughput
- Added operation MongoDBResources.beginMongoDBContainerRedistributeThroughputAndWait
- Added operation MongoDBResources.beginSqlContainerRetrieveThroughputDistribution
- Added operation MongoDBResources.beginSqlContainerRetrieveThroughputDistributionAndWait
- 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.beginListSqlContainerPartitionMerge
- Added operation SqlResources.beginListSqlContainerPartitionMergeAndWait
- Added operation SqlResources.beginSqlContainerRedistributeThroughput
- Added operation SqlResources.beginSqlContainerRedistributeThroughputAndWait
- Added operation SqlResources.beginSqlContainerRetrieveThroughputDistribution
- Added operation SqlResources.beginSqlContainerRetrieveThroughputDistributionAndWait
- Added operation SqlResources.getClientEncryptionKey
- Added operation SqlResources.listClientEncryptionKeys
- Added operation TableResources.beginRetrieveContinuousBackupInformation
Expand All @@ -71,16 +73,22 @@
- Added Interface CassandraResourcesUpdateCassandraViewThroughputOptionalParams
- Added Interface CassandraViewListResult
- Added Interface CassandraViewResource
- Added Interface ClientEncryptionIncludedPath
- Added Interface ClientEncryptionKeyCreateUpdateParameters
- Added Interface ClientEncryptionKeyResource
- Added Interface ClientEncryptionKeysListResult
- Added Interface ClientEncryptionPolicy
- Added Interface ContinuousModeProperties
- Added Interface DataTransferDataSourceSink
- Added Interface DataTransferJobFeedResults
- Added Interface DataTransferJobProperties
- Added Interface DataTransferJobsCancelOptionalParams
- Added Interface DataTransferJobsCreateOptionalParams
- Added Interface DataTransferJobsGetOptionalParams
- Added Interface DataTransferJobsListByDatabaseAccountNextOptionalParams
- Added Interface DataTransferJobsListByDatabaseAccountOptionalParams
- Added Interface DataTransferJobsPauseOptionalParams
- Added Interface DataTransferJobsResumeOptionalParams
- Added Interface DataTransferServiceResource
- Added Interface DiagnosticLogSettings
- Added Interface GraphAPIComputeServiceResource
Expand All @@ -95,20 +103,30 @@
- Added Interface KeyWrapMetadata
- Added Interface ListBackups
- Added Interface MaterializedViewsBuilderServiceResource
- Added Interface MergeParameters
- Added Interface MongoDBResourcesCreateUpdateMongoRoleDefinitionOptionalParams
- Added Interface MongoDBResourcesCreateUpdateMongoUserDefinitionOptionalParams
- Added Interface MongoDBResourcesDeleteMongoRoleDefinitionOptionalParams
- Added Interface MongoDBResourcesDeleteMongoUserDefinitionOptionalParams
- Added Interface MongoDBResourcesGetMongoRoleDefinitionOptionalParams
- Added Interface MongoDBResourcesGetMongoUserDefinitionOptionalParams
- Added Interface MongoDBResourcesListMongoDBCollectionPartitionMergeOptionalParams
- Added Interface MongoDBResourcesListMongoRoleDefinitionsOptionalParams
- Added Interface MongoDBResourcesListMongoUserDefinitionsOptionalParams
- Added Interface MongoDBResourcesMongoDBContainerRedistributeThroughputOptionalParams
- Added Interface MongoDBResourcesSqlContainerRetrieveThroughputDistributionOptionalParams
- Added Interface MongoRoleDefinitionCreateUpdateParameters
- Added Interface MongoRoleDefinitionListResult
- Added Interface MongoUserDefinitionCreateUpdateParameters
- Added Interface MongoUserDefinitionListResult
- Added Interface PhysicalPartitionId
- Added Interface PhysicalPartitionStorageInfo
- Added Interface PhysicalPartitionStorageInfoCollection
- Added Interface PhysicalPartitionThroughputInfoProperties
- Added Interface PhysicalPartitionThroughputInfoResource
- Added Interface Privilege
- Added Interface PrivilegeResource
- Added Interface RedistributeThroughputPropertiesResource
- Added Interface RegionalServiceResource
- Added Interface RestorableGremlinDatabaseGetResult
- Added Interface RestorableGremlinDatabasePropertiesResource
Expand All @@ -126,6 +144,7 @@
- Added Interface RestorableTableResourcesListResult
- Added Interface RestorableTablesListOptionalParams
- Added Interface RestorableTablesListResult
- Added Interface RetrieveThroughputPropertiesResource
- Added Interface Role
- Added Interface ServiceCreateOptionalParams
- Added Interface ServiceDeleteOptionalParams
Expand All @@ -138,6 +157,9 @@
- Added Interface SqlResourcesCreateUpdateClientEncryptionKeyOptionalParams
- Added Interface SqlResourcesGetClientEncryptionKeyOptionalParams
- Added Interface SqlResourcesListClientEncryptionKeysOptionalParams
- Added Interface SqlResourcesListSqlContainerPartitionMergeOptionalParams
- Added Interface SqlResourcesSqlContainerRedistributeThroughputOptionalParams
- Added Interface SqlResourcesSqlContainerRetrieveThroughputDistributionOptionalParams
- Added Interface TableResourcesRetrieveContinuousBackupInformationOptionalParams
- Added Type Alias AzureBlobDataTransferDataSourceSink
- Added Type Alias BackupResource
Expand All @@ -156,16 +178,20 @@
- Added Type Alias CassandraViewGetResults
- Added Type Alias ClientEncryptionKeyGetPropertiesResource
- Added Type Alias ClientEncryptionKeyGetResults
- Added Type Alias ContinuousTier
- 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 DataTransferJobsCancelResponse
- Added Type Alias DataTransferJobsCreateResponse
- Added Type Alias DataTransferJobsGetResponse
- Added Type Alias DataTransferJobsListByDatabaseAccountNextResponse
- Added Type Alias DataTransferJobsListByDatabaseAccountResponse
- Added Type Alias DataTransferJobsPauseResponse
- Added Type Alias DataTransferJobsResumeResponse
- Added Type Alias DataTransferRegionalServiceResource
- Added Type Alias DataTransferServiceResourceProperties
- Added Type Alias EnableFullTextQuery
Expand All @@ -185,16 +211,23 @@
- Added Type Alias MongoDBResourcesCreateUpdateMongoUserDefinitionResponse
- Added Type Alias MongoDBResourcesGetMongoRoleDefinitionResponse
- Added Type Alias MongoDBResourcesGetMongoUserDefinitionResponse
- Added Type Alias MongoDBResourcesListMongoDBCollectionPartitionMergeResponse
- Added Type Alias MongoDBResourcesListMongoRoleDefinitionsResponse
- Added Type Alias MongoDBResourcesListMongoUserDefinitionsResponse
- Added Type Alias MongoDBResourcesMongoDBContainerRedistributeThroughputResponse
- Added Type Alias MongoDBResourcesSqlContainerRetrieveThroughputDistributionResponse
- Added Type Alias MongoRoleDefinitionGetResults
- Added Type Alias MongoRoleDefinitionType
- Added Type Alias MongoUserDefinitionGetResults
- Added Type Alias PhysicalPartitionThroughputInfoResult
- Added Type Alias PhysicalPartitionThroughputInfoResultPropertiesResource
- Added Type Alias RedistributeThroughputParameters
- Added Type Alias RestorableGremlinDatabasesListResponse
- Added Type Alias RestorableGremlinGraphsListResponse
- Added Type Alias RestorableGremlinResourcesListResponse
- Added Type Alias RestorableTableResourcesListResponse
- Added Type Alias RestorableTablesListResponse
- Added Type Alias RetrieveThroughputParameters
- Added Type Alias ServiceCreateResponse
- Added Type Alias ServiceGetResponse
- Added Type Alias ServiceListResponse
Expand All @@ -208,16 +241,22 @@
- Added Type Alias SqlResourcesCreateUpdateClientEncryptionKeyResponse
- Added Type Alias SqlResourcesGetClientEncryptionKeyResponse
- Added Type Alias SqlResourcesListClientEncryptionKeysResponse
- Added Type Alias SqlResourcesListSqlContainerPartitionMergeResponse
- Added Type Alias SqlResourcesSqlContainerRedistributeThroughputResponse
- Added Type Alias SqlResourcesSqlContainerRetrieveThroughputDistributionResponse
- Added Type Alias TableResourcesRetrieveContinuousBackupInformationResponse
- Added Type Alias ThroughputPolicyType
- 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 RestorableDatabaseAccountGetResult has a new optional parameter oldestRestorableTime
- 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
- Interface SqlContainerResource has a new optional parameter clientEncryptionPolicy
- Class CosmosDBManagementClient has a new parameter dataTransferJobs
- Class CosmosDBManagementClient has a new parameter graphResources
- Class CosmosDBManagementClient has a new parameter restorableGremlinDatabases
Expand All @@ -226,16 +265,19 @@
- Class CosmosDBManagementClient has a new parameter restorableTableResources
- Class CosmosDBManagementClient has a new parameter restorableTables
- Class CosmosDBManagementClient has a new parameter service
- Type Alias ContinuousModeBackupPolicy has a new parameter continuousModeProperties
- 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 KnownContinuousTier
- Added Enum KnownDataTransferComponent
- Added Enum KnownServiceSize
- Added Enum KnownServiceStatus
- Added Enum KnownServiceType
- Added Enum KnownThroughputPolicyType
- Enum KnownAuthenticationMethod has a new value Ldap
- Bug fix
- Enum KnownServerVersion has a new value Four2


## 15.0.0 (2021-12-09)
Expand Down
11 changes: 0 additions & 11 deletions sdk/cosmosdb/arm-cosmosdb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ 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 @@ -51,17 +49,8 @@ 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
10 changes: 5 additions & 5 deletions sdk/cosmosdb/arm-cosmosdb/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "bb9f1204f9a337404ff7e7b73b4c7b4ddde7f8f1",
"readme": "specification\\cosmos-db\\resource-manager\\readme.md",
"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:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\cosmos-db\\resource-manager\\readme.md --use=@autorest/[email protected].19.20220408.1",
"commit": "85742cb3539d2f72b944c57bf7b2169962497676",
"readme": "specification/cosmos-db/resource-manager/readme.md",
"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=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/cosmos-db/resource-manager/readme.md --use=@autorest/[email protected].16.20220105.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.2.6",
"use": "@autorest/[email protected].19.20220408.1"
"release_tool": "@azure-tools/js-sdk-release-tools@2.3.0",
"use": "@autorest/[email protected].16.20220105.1"
}
30 changes: 11 additions & 19 deletions sdk/cosmosdb/arm-cosmosdb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for CosmosDBManagementClient.",
"version": "16.0.0-beta.3",
"version": "15.1.0-beta.1",
"engines": {
"node": ">=12.0.0"
},
"dependencies": {
"@azure/core-lro": "^2.2.0",
"@azure/abort-controller": "^1.0.0",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.5.0",
"@azure/core-client": "^1.0.0",
"@azure/core-auth": "^1.3.0",
"@azure/core-rest-pipeline": "^1.8.0",
"@azure/core-rest-pipeline": "^1.1.0",
"tslib": "^2.2.0"
},
"keywords": [
Expand All @@ -28,14 +28,14 @@
"module": "./dist-esm/src/index.js",
"types": "./types/arm-cosmosdb.d.ts",
"devDependencies": {
"@microsoft/api-extractor": "7.18.11",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-multi-entry": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.1.3",
"@microsoft/api-extractor": "^7.18.11",
"@rollup/plugin-commonjs": "11.0.2",
"@rollup/plugin-json": "^4.0.0",
"@rollup/plugin-multi-entry": "^3.0.0",
"@rollup/plugin-node-resolve": "^8.0.0",
"mkdirp": "^1.0.4",
"rollup": "^2.66.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup": "^1.16.3",
"rollup-plugin-sourcemaps": "^0.4.2",
"typescript": "~4.2.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
Expand Down Expand Up @@ -98,13 +98,5 @@
"docs": "echo skipped"
},
"sideEffects": false,
"//metadata": {
"constantPaths": [
{
"path": "src/cosmosDBManagementClient.ts",
"prefix": "packageDetails"
}
]
},
"autoPublish": true
}
}
Loading

0 comments on commit ca16f80

Please sign in to comment.