@@ -15,6 +15,7 @@ import {
15
15
} from "@azure/core-rest-pipeline" ;
16
16
import * as coreAuth from "@azure/core-auth" ;
17
17
import {
18
+ NetworkSecurityPerimeterConfigurationsImpl ,
18
19
DatabaseAccountsImpl ,
19
20
OperationsImpl ,
20
21
DatabaseImpl ,
@@ -38,7 +39,6 @@ import {
38
39
DataTransferJobsImpl ,
39
40
CassandraClustersImpl ,
40
41
CassandraDataCentersImpl ,
41
- MongoClustersImpl ,
42
42
NotebookWorkspacesImpl ,
43
43
PrivateEndpointConnectionsImpl ,
44
44
PrivateLinkResourcesImpl ,
@@ -61,6 +61,7 @@ import {
61
61
ThroughputPoolAccountImpl ,
62
62
} from "./operations" ;
63
63
import {
64
+ NetworkSecurityPerimeterConfigurations ,
64
65
DatabaseAccounts ,
65
66
Operations ,
66
67
Database ,
@@ -84,7 +85,6 @@ import {
84
85
DataTransferJobs ,
85
86
CassandraClusters ,
86
87
CassandraDataCenters ,
87
- MongoClusters ,
88
88
NotebookWorkspaces ,
89
89
PrivateEndpointConnections ,
90
90
PrivateLinkResources ,
@@ -116,7 +116,7 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {
116
116
/**
117
117
* Initializes a new instance of the CosmosDBManagementClient class.
118
118
* @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.
120
120
* @param options The parameter options
121
121
*/
122
122
constructor (
@@ -140,7 +140,7 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {
140
140
credential : credentials ,
141
141
} ;
142
142
143
- const packageDetails = `azsdk-js-arm-cosmosdb/16 .0.0-beta.8 ` ;
143
+ const packageDetails = `azsdk-js-arm-cosmosdb/1 .0.0-beta.1 ` ;
144
144
const userAgentPrefix =
145
145
options . userAgentOptions && options . userAgentOptions . userAgentPrefix
146
146
? `${ options . userAgentOptions . userAgentPrefix } ${ packageDetails } `
@@ -194,7 +194,9 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {
194
194
195
195
// Assigning values to Constant parameters
196
196
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 ) ;
198
200
this . databaseAccounts = new DatabaseAccountsImpl ( this ) ;
199
201
this . operations = new OperationsImpl ( this ) ;
200
202
this . database = new DatabaseImpl ( this ) ;
@@ -218,7 +220,6 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {
218
220
this . dataTransferJobs = new DataTransferJobsImpl ( this ) ;
219
221
this . cassandraClusters = new CassandraClustersImpl ( this ) ;
220
222
this . cassandraDataCenters = new CassandraDataCentersImpl ( this ) ;
221
- this . mongoClusters = new MongoClustersImpl ( this ) ;
222
223
this . notebookWorkspaces = new NotebookWorkspacesImpl ( this ) ;
223
224
this . privateEndpointConnections = new PrivateEndpointConnectionsImpl ( this ) ;
224
225
this . privateLinkResources = new PrivateLinkResourcesImpl ( this ) ;
@@ -272,6 +273,7 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {
272
273
this . pipeline . addPolicy ( apiVersionPolicy ) ;
273
274
}
274
275
276
+ networkSecurityPerimeterConfigurations : NetworkSecurityPerimeterConfigurations ;
275
277
databaseAccounts : DatabaseAccounts ;
276
278
operations : Operations ;
277
279
database : Database ;
@@ -295,7 +297,6 @@ export class CosmosDBManagementClient extends coreClient.ServiceClient {
295
297
dataTransferJobs : DataTransferJobs ;
296
298
cassandraClusters : CassandraClusters ;
297
299
cassandraDataCenters : CassandraDataCenters ;
298
- mongoClusters : MongoClusters ;
299
300
notebookWorkspaces : NotebookWorkspaces ;
300
301
privateEndpointConnections : PrivateEndpointConnections ;
301
302
privateLinkResources : PrivateLinkResources ;
0 commit comments