Skip to content

Commit 72efe37

Browse files
author
SDKAuto
committed
CodeGen from PR 21333 in Azure/azure-rest-api-specs
Merge ed8ea06348ad545fbc47692a302cfbba05928f72 into 7b47689d4efc098f25f46781f05f22179c153314
1 parent b834fe7 commit 72efe37

28 files changed

+3080
-7057
lines changed

sdk/cosmosdb/arm-cosmosdb/_meta.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"commit": "35388d90dfe0dfb8ef0f43cecaf9dc960fbc917e",
3-
"readme": "specification\\cosmos-db\\resource-manager\\readme.md",
4-
"autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=F:\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\cosmos-db\\resource-manager\\readme.md --use=@autorest/[email protected].20221215.1 --generate-sample=true",
2+
"commit": "d23c961f4894c1de5b67f82664af35e2b8c48d76",
3+
"readme": "specification/cosmos-db/resource-manager/readme.md",
4+
"autorest_command": "autorest --version=3.9.3 --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/[email protected]",
55
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
6-
"release_tool": "@azure-tools/js-sdk-release-tools@2.5.4",
7-
"use": "@autorest/[email protected].20221215.1"
6+
"release_tool": "@azure-tools/js-sdk-release-tools@2.6.0",
7+
"use": "@autorest/[email protected]"
88
}

sdk/cosmosdb/arm-cosmosdb/package.json

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"sdk-type": "mgmt",
44
"author": "Microsoft Corporation",
55
"description": "A generated SDK for CosmosDBManagementClient.",
6-
"version": "16.0.0-beta.6",
6+
"version": "1.0.0-beta.1",
77
"engines": {
88
"node": ">=14.0.0"
99
},
@@ -39,7 +39,6 @@
3939
"typescript": "~4.8.0",
4040
"uglify-js": "^3.4.9",
4141
"rimraf": "^3.0.0",
42-
"dotenv": "^8.2.0",
4342
"@azure/identity": "^2.0.1",
4443
"@azure-tools/test-recorder": "^2.0.0",
4544
"@azure-tools/test-credential": "^1.0.0",
@@ -50,6 +49,7 @@
5049
"@types/node": "^14.0.0",
5150
"@azure/dev-tool": "^1.0.0"
5251
},
52+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cosmosdb/arm-cosmosdb",
5353
"repository": {
5454
"type": "git",
5555
"url": "https://github.com/Azure/azure-sdk-for-js.git"
@@ -110,14 +110,5 @@
110110
}
111111
]
112112
},
113-
"autoPublish": true,
114-
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/cosmosdb/arm-cosmosdb",
115-
"//sampleConfiguration": {
116-
"productName": "",
117-
"productSlugs": [
118-
"azure"
119-
],
120-
"disableDocsMs": true,
121-
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-cosmosdb?view=azure-node-preview"
122-
}
123-
}
113+
"autoPublish": true
114+
}

sdk/cosmosdb/arm-cosmosdb/src/cosmosDBManagementClient.ts

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,12 @@ import {
2828
CollectionPartitionImpl,
2929
PartitionKeyRangeIdImpl,
3030
PartitionKeyRangeIdRegionImpl,
31-
GraphResourcesImpl,
3231
SqlResourcesImpl,
3332
MongoDBResourcesImpl,
3433
TableResourcesImpl,
3534
CassandraResourcesImpl,
3635
GremlinResourcesImpl,
3736
LocationsImpl,
38-
DataTransferJobsImpl,
3937
CassandraClustersImpl,
4038
CassandraDataCentersImpl,
4139
NotebookWorkspacesImpl,
@@ -69,14 +67,12 @@ import {
6967
CollectionPartition,
7068
PartitionKeyRangeId,
7169
PartitionKeyRangeIdRegion,
72-
GraphResources,
7370
SqlResources,
7471
MongoDBResources,
7572
TableResources,
7673
CassandraResources,
7774
GremlinResources,
7875
Locations,
79-
DataTransferJobs,
8076
CassandraClusters,
8177
CassandraDataCenters,
8278
NotebookWorkspaces,
@@ -130,7 +126,7 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {
130126
credential: credentials
131127
};
132128

133-
const packageDetails = `azsdk-js-arm-cosmosdb/16.0.0-beta.6`;
129+
const packageDetails = `azsdk-js-arm-cosmosdb/1.0.0-beta.1`;
134130
const userAgentPrefix =
135131
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
136132
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
@@ -183,7 +179,7 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {
183179

184180
// Assigning values to Constant parameters
185181
this.$host = options.$host || "https://management.azure.com";
186-
this.apiVersion = options.apiVersion || "2022-08-15-preview";
182+
this.apiVersion = options.apiVersion || "2022-11-15";
187183
this.databaseAccounts = new DatabaseAccountsImpl(this);
188184
this.operations = new OperationsImpl(this);
189185
this.database = new DatabaseImpl(this);
@@ -197,14 +193,12 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {
197193
this.collectionPartition = new CollectionPartitionImpl(this);
198194
this.partitionKeyRangeId = new PartitionKeyRangeIdImpl(this);
199195
this.partitionKeyRangeIdRegion = new PartitionKeyRangeIdRegionImpl(this);
200-
this.graphResources = new GraphResourcesImpl(this);
201196
this.sqlResources = new SqlResourcesImpl(this);
202197
this.mongoDBResources = new MongoDBResourcesImpl(this);
203198
this.tableResources = new TableResourcesImpl(this);
204199
this.cassandraResources = new CassandraResourcesImpl(this);
205200
this.gremlinResources = new GremlinResourcesImpl(this);
206201
this.locations = new LocationsImpl(this);
207-
this.dataTransferJobs = new DataTransferJobsImpl(this);
208202
this.cassandraClusters = new CassandraClustersImpl(this);
209203
this.cassandraDataCenters = new CassandraDataCentersImpl(this);
210204
this.notebookWorkspaces = new NotebookWorkspacesImpl(this);
@@ -269,14 +263,12 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {
269263
collectionPartition: CollectionPartition;
270264
partitionKeyRangeId: PartitionKeyRangeId;
271265
partitionKeyRangeIdRegion: PartitionKeyRangeIdRegion;
272-
graphResources: GraphResources;
273266
sqlResources: SqlResources;
274267
mongoDBResources: MongoDBResources;
275268
tableResources: TableResources;
276269
cassandraResources: CassandraResources;
277270
gremlinResources: GremlinResources;
278271
locations: Locations;
279-
dataTransferJobs: DataTransferJobs;
280272
cassandraClusters: CassandraClusters;
281273
cassandraDataCenters: CassandraDataCenters;
282274
notebookWorkspaces: NotebookWorkspaces;

0 commit comments

Comments
 (0)