Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR @azure/arm-cosmosdb] cosmos add sdk-suppressions.yaml #9909

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
775 changes: 388 additions & 387 deletions common/config/rush/pnpm-lock.yaml

Large diffs are not rendered by default.

362 changes: 13 additions & 349 deletions sdk/cosmosdb/arm-cosmosdb/CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 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?view=azure-node-preview) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-cosmosdb) |
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)

## Getting started
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": "1a011ff0d72315ef3c530fe545c4fe82d0450201",
"commit": "3e03fd36a77b52478d65e02abeb3c5997af12c38",
"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.17 --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=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/cosmos-db/resource-manager/readme.md --use=@autorest/typescript@^6.0.12",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.4",
"use": "@autorest/typescript@6.0.17"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.8",
"use": "@autorest/typescript@^6.0.12"
}
15 changes: 4 additions & 11 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": "16.0.0-beta.8",
"version": "15.7.0",
"engines": {
"node": ">=18.0.0"
},
Expand Down Expand Up @@ -40,6 +40,7 @@
"@azure-tools/test-credential": "^1.0.0",
"mocha": "^10.0.0",
"@types/mocha": "^10.0.0",
"tsx": "^4.7.1",
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
Expand Down Expand Up @@ -105,13 +106,5 @@
]
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cosmosdb/arm-cosmosdb",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-cosmosdb?view=azure-node-preview"
}
}
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cosmosdb/arm-cosmosdb"
}
1,538 changes: 93 additions & 1,445 deletions sdk/cosmosdb/arm-cosmosdb/review/arm-cosmosdb.api.md

Large diffs are not rendered by default.

32 changes: 2 additions & 30 deletions sdk/cosmosdb/arm-cosmosdb/src/cosmosDBManagementClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,14 @@ import {
CollectionPartitionImpl,
PartitionKeyRangeIdImpl,
PartitionKeyRangeIdRegionImpl,
GraphResourcesImpl,
SqlResourcesImpl,
MongoDBResourcesImpl,
TableResourcesImpl,
CassandraResourcesImpl,
GremlinResourcesImpl,
LocationsImpl,
DataTransferJobsImpl,
CassandraClustersImpl,
CassandraDataCentersImpl,
MongoClustersImpl,
NotebookWorkspacesImpl,
PrivateEndpointConnectionsImpl,
PrivateLinkResourcesImpl,
Expand All @@ -55,10 +52,6 @@ import {
RestorableTablesImpl,
RestorableTableResourcesImpl,
ServiceImpl,
ThroughputPoolsImpl,
ThroughputPoolImpl,
ThroughputPoolAccountsImpl,
ThroughputPoolAccountImpl,
} from "./operations";
import {
DatabaseAccounts,
Expand All @@ -74,17 +67,14 @@ import {
CollectionPartition,
PartitionKeyRangeId,
PartitionKeyRangeIdRegion,
GraphResources,
SqlResources,
MongoDBResources,
TableResources,
CassandraResources,
GremlinResources,
Locations,
DataTransferJobs,
CassandraClusters,
CassandraDataCenters,
MongoClusters,
NotebookWorkspaces,
PrivateEndpointConnections,
PrivateLinkResources,
Expand All @@ -101,10 +91,6 @@ import {
RestorableTables,
RestorableTableResources,
Service,
ThroughputPools,
ThroughputPool,
ThroughputPoolAccounts,
ThroughputPoolAccount,
} from "./operationsInterfaces";
import { CosmosDBManagementClientOptionalParams } from "./models";

Expand Down Expand Up @@ -140,7 +126,7 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {
credential: credentials,
};

const packageDetails = `azsdk-js-arm-cosmosdb/16.0.0-beta.8`;
const packageDetails = `azsdk-js-arm-cosmosdb/15.7.0`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down Expand Up @@ -194,7 +180,7 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {

// Assigning values to Constant parameters
this.$host = options.$host || "https://management.azure.com";
this.apiVersion = options.apiVersion || "2024-02-15-preview";
this.apiVersion = options.apiVersion || "2024-05-15";
this.databaseAccounts = new DatabaseAccountsImpl(this);
this.operations = new OperationsImpl(this);
this.database = new DatabaseImpl(this);
Expand All @@ -208,17 +194,14 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {
this.collectionPartition = new CollectionPartitionImpl(this);
this.partitionKeyRangeId = new PartitionKeyRangeIdImpl(this);
this.partitionKeyRangeIdRegion = new PartitionKeyRangeIdRegionImpl(this);
this.graphResources = new GraphResourcesImpl(this);
this.sqlResources = new SqlResourcesImpl(this);
this.mongoDBResources = new MongoDBResourcesImpl(this);
this.tableResources = new TableResourcesImpl(this);
this.cassandraResources = new CassandraResourcesImpl(this);
this.gremlinResources = new GremlinResourcesImpl(this);
this.locations = new LocationsImpl(this);
this.dataTransferJobs = new DataTransferJobsImpl(this);
this.cassandraClusters = new CassandraClustersImpl(this);
this.cassandraDataCenters = new CassandraDataCentersImpl(this);
this.mongoClusters = new MongoClustersImpl(this);
this.notebookWorkspaces = new NotebookWorkspacesImpl(this);
this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
this.privateLinkResources = new PrivateLinkResourcesImpl(this);
Expand All @@ -237,10 +220,6 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {
this.restorableTables = new RestorableTablesImpl(this);
this.restorableTableResources = new RestorableTableResourcesImpl(this);
this.service = new ServiceImpl(this);
this.throughputPools = new ThroughputPoolsImpl(this);
this.throughputPool = new ThroughputPoolImpl(this);
this.throughputPoolAccounts = new ThroughputPoolAccountsImpl(this);
this.throughputPoolAccount = new ThroughputPoolAccountImpl(this);
this.addCustomApiVersionPolicy(options.apiVersion);
}

Expand Down Expand Up @@ -285,17 +264,14 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {
collectionPartition: CollectionPartition;
partitionKeyRangeId: PartitionKeyRangeId;
partitionKeyRangeIdRegion: PartitionKeyRangeIdRegion;
graphResources: GraphResources;
sqlResources: SqlResources;
mongoDBResources: MongoDBResources;
tableResources: TableResources;
cassandraResources: CassandraResources;
gremlinResources: GremlinResources;
locations: Locations;
dataTransferJobs: DataTransferJobs;
cassandraClusters: CassandraClusters;
cassandraDataCenters: CassandraDataCenters;
mongoClusters: MongoClusters;
notebookWorkspaces: NotebookWorkspaces;
privateEndpointConnections: PrivateEndpointConnections;
privateLinkResources: PrivateLinkResources;
Expand All @@ -312,8 +288,4 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {
restorableTables: RestorableTables;
restorableTableResources: RestorableTableResources;
service: Service;
throughputPools: ThroughputPools;
throughputPool: ThroughputPool;
throughputPoolAccounts: ThroughputPoolAccounts;
throughputPoolAccount: ThroughputPoolAccount;
}
Loading