@@ -15,6 +15,7 @@ import {
1515} from "@azure/core-rest-pipeline" ;
1616import * as coreAuth from "@azure/core-auth" ;
1717import {
18+ NetworkSecurityPerimeterConfigurationsImpl ,
1819 DatabaseAccountsImpl ,
1920 OperationsImpl ,
2021 DatabaseImpl ,
@@ -38,7 +39,6 @@ import {
3839 DataTransferJobsImpl ,
3940 CassandraClustersImpl ,
4041 CassandraDataCentersImpl ,
41- MongoClustersImpl ,
4242 NotebookWorkspacesImpl ,
4343 PrivateEndpointConnectionsImpl ,
4444 PrivateLinkResourcesImpl ,
@@ -61,6 +61,7 @@ import {
6161 ThroughputPoolAccountImpl ,
6262} from "./operations" ;
6363import {
64+ NetworkSecurityPerimeterConfigurations ,
6465 DatabaseAccounts ,
6566 Operations ,
6667 Database ,
@@ -84,7 +85,6 @@ import {
8485 DataTransferJobs ,
8586 CassandraClusters ,
8687 CassandraDataCenters ,
87- MongoClusters ,
8888 NotebookWorkspaces ,
8989 PrivateEndpointConnections ,
9090 PrivateLinkResources ,
@@ -116,7 +116,7 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {
116116 /**
117117 * Initializes a new instance of the CosmosDBManagementClient class.
118118 * @param credentials Subscription credentials which uniquely identify client subscription.
119- * @param subscriptionId The ID of the target subscription.
119+ * @param subscriptionId The ID of the target subscription. The value must be an UUID.
120120 * @param options The parameter options
121121 */
122122 constructor (
@@ -140,7 +140,7 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {
140140 credential : credentials ,
141141 } ;
142142
143- const packageDetails = `azsdk-js-arm-cosmosdb/16 .0.0-beta.8 ` ;
143+ const packageDetails = `azsdk-js-arm-cosmosdb/1 .0.0-beta.1 ` ;
144144 const userAgentPrefix =
145145 options . userAgentOptions && options . userAgentOptions . userAgentPrefix
146146 ? `${ options . userAgentOptions . userAgentPrefix } ${ packageDetails } `
@@ -194,7 +194,9 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {
194194
195195 // Assigning values to Constant parameters
196196 this . $host = options . $host || "https://management.azure.com" ;
197- this . apiVersion = options . apiVersion || "2024-02-15-preview" ;
197+ this . apiVersion = options . apiVersion || "2024-05-15-preview" ;
198+ this . networkSecurityPerimeterConfigurations =
199+ new NetworkSecurityPerimeterConfigurationsImpl ( this ) ;
198200 this . databaseAccounts = new DatabaseAccountsImpl ( this ) ;
199201 this . operations = new OperationsImpl ( this ) ;
200202 this . database = new DatabaseImpl ( this ) ;
@@ -218,7 +220,6 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {
218220 this . dataTransferJobs = new DataTransferJobsImpl ( this ) ;
219221 this . cassandraClusters = new CassandraClustersImpl ( this ) ;
220222 this . cassandraDataCenters = new CassandraDataCentersImpl ( this ) ;
221- this . mongoClusters = new MongoClustersImpl ( this ) ;
222223 this . notebookWorkspaces = new NotebookWorkspacesImpl ( this ) ;
223224 this . privateEndpointConnections = new PrivateEndpointConnectionsImpl ( this ) ;
224225 this . privateLinkResources = new PrivateLinkResourcesImpl ( this ) ;
@@ -272,6 +273,7 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {
272273 this . pipeline . addPolicy ( apiVersionPolicy ) ;
273274 }
274275
276+ networkSecurityPerimeterConfigurations : NetworkSecurityPerimeterConfigurations ;
275277 databaseAccounts : DatabaseAccounts ;
276278 operations : Operations ;
277279 database : Database ;
@@ -295,7 +297,6 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {
295297 dataTransferJobs : DataTransferJobs ;
296298 cassandraClusters : CassandraClusters ;
297299 cassandraDataCenters : CassandraDataCenters ;
298- mongoClusters : MongoClusters ;
299300 notebookWorkspaces : NotebookWorkspaces ;
300301 privateEndpointConnections : PrivateEndpointConnections ;
301302 privateLinkResources : PrivateLinkResources ;
0 commit comments