Skip to content
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
773 changes: 387 additions & 386 deletions common/config/rush/pnpm-lock.yaml

Large diffs are not rendered by default.

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": "479d4608af346eb5e1793a3ee8b6566b740bc8b4",
"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/[email protected].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/[email protected].4",
"use": "@autorest/[email protected].17"
"release_tool": "@azure-tools/[email protected].7",
"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": "1.0.0-beta.1",
"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"
}
15 changes: 8 additions & 7 deletions sdk/cosmosdb/arm-cosmosdb/src/cosmosDBManagementClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
} from "@azure/core-rest-pipeline";
import * as coreAuth from "@azure/core-auth";
import {
NetworkSecurityPerimeterConfigurationsImpl,
DatabaseAccountsImpl,
OperationsImpl,
DatabaseImpl,
Expand All @@ -38,7 +39,6 @@ import {
DataTransferJobsImpl,
CassandraClustersImpl,
CassandraDataCentersImpl,
MongoClustersImpl,
NotebookWorkspacesImpl,
PrivateEndpointConnectionsImpl,
PrivateLinkResourcesImpl,
Expand All @@ -61,6 +61,7 @@ import {
ThroughputPoolAccountImpl,
} from "./operations";
import {
NetworkSecurityPerimeterConfigurations,
DatabaseAccounts,
Operations,
Database,
Expand All @@ -84,7 +85,6 @@ import {
DataTransferJobs,
CassandraClusters,
CassandraDataCenters,
MongoClusters,
NotebookWorkspaces,
PrivateEndpointConnections,
PrivateLinkResources,
Expand Down Expand Up @@ -116,7 +116,7 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {
/**
* Initializes a new instance of the CosmosDBManagementClient class.
* @param credentials Subscription credentials which uniquely identify client subscription.
* @param subscriptionId The ID of the target subscription.
* @param subscriptionId The ID of the target subscription. The value must be an UUID.
* @param options The parameter options
*/
constructor(
Expand All @@ -140,7 +140,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/1.0.0-beta.1`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down Expand Up @@ -194,7 +194,9 @@ 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-preview";
this.networkSecurityPerimeterConfigurations =
new NetworkSecurityPerimeterConfigurationsImpl(this);
this.databaseAccounts = new DatabaseAccountsImpl(this);
this.operations = new OperationsImpl(this);
this.database = new DatabaseImpl(this);
Expand All @@ -218,7 +220,6 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {
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 Down Expand Up @@ -272,6 +273,7 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {
this.pipeline.addPolicy(apiVersionPolicy);
}

networkSecurityPerimeterConfigurations: NetworkSecurityPerimeterConfigurations;
databaseAccounts: DatabaseAccounts;
operations: Operations;
database: Database;
Expand All @@ -295,7 +297,6 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {
dataTransferJobs: DataTransferJobs;
cassandraClusters: CassandraClusters;
cassandraDataCenters: CassandraDataCenters;
mongoClusters: MongoClusters;
notebookWorkspaces: NotebookWorkspaces;
privateEndpointConnections: PrivateEndpointConnections;
privateLinkResources: PrivateLinkResources;
Expand Down
Loading