23
23
CollectionPartitionOperations ,
24
24
CollectionPartitionRegionOperations ,
25
25
CollectionRegionOperations ,
26
+ DataTransferJobsOperations ,
26
27
DatabaseAccountRegionOperations ,
27
28
DatabaseAccountsOperations ,
28
29
DatabaseOperations ,
30
+ GraphResourcesOperations ,
29
31
GremlinResourcesOperations ,
30
32
LocationsOperations ,
33
+ MongoClustersOperations ,
31
34
MongoDBResourcesOperations ,
32
35
NotebookWorkspacesOperations ,
33
36
Operations ,
53
56
ServiceOperations ,
54
57
SqlResourcesOperations ,
55
58
TableResourcesOperations ,
59
+ ThroughputPoolAccountOperations ,
60
+ ThroughputPoolAccountsOperations ,
61
+ ThroughputPoolOperations ,
62
+ ThroughputPoolsOperations ,
56
63
)
57
64
58
65
if TYPE_CHECKING :
@@ -94,6 +101,8 @@ class CosmosDBManagementClient: # pylint: disable=client-accepts-api-version-ke
94
101
:ivar partition_key_range_id_region: PartitionKeyRangeIdRegionOperations operations
95
102
:vartype partition_key_range_id_region:
96
103
azure.mgmt.cosmosdb.aio.operations.PartitionKeyRangeIdRegionOperations
104
+ :ivar graph_resources: GraphResourcesOperations operations
105
+ :vartype graph_resources: azure.mgmt.cosmosdb.aio.operations.GraphResourcesOperations
97
106
:ivar sql_resources: SqlResourcesOperations operations
98
107
:vartype sql_resources: azure.mgmt.cosmosdb.aio.operations.SqlResourcesOperations
99
108
:ivar mongo_db_resources: MongoDBResourcesOperations operations
@@ -106,11 +115,15 @@ class CosmosDBManagementClient: # pylint: disable=client-accepts-api-version-ke
106
115
:vartype gremlin_resources: azure.mgmt.cosmosdb.aio.operations.GremlinResourcesOperations
107
116
:ivar locations: LocationsOperations operations
108
117
:vartype locations: azure.mgmt.cosmosdb.aio.operations.LocationsOperations
118
+ :ivar data_transfer_jobs: DataTransferJobsOperations operations
119
+ :vartype data_transfer_jobs: azure.mgmt.cosmosdb.aio.operations.DataTransferJobsOperations
109
120
:ivar cassandra_clusters: CassandraClustersOperations operations
110
121
:vartype cassandra_clusters: azure.mgmt.cosmosdb.aio.operations.CassandraClustersOperations
111
122
:ivar cassandra_data_centers: CassandraDataCentersOperations operations
112
123
:vartype cassandra_data_centers:
113
124
azure.mgmt.cosmosdb.aio.operations.CassandraDataCentersOperations
125
+ :ivar mongo_clusters: MongoClustersOperations operations
126
+ :vartype mongo_clusters: azure.mgmt.cosmosdb.aio.operations.MongoClustersOperations
114
127
:ivar notebook_workspaces: NotebookWorkspacesOperations operations
115
128
:vartype notebook_workspaces: azure.mgmt.cosmosdb.aio.operations.NotebookWorkspacesOperations
116
129
:ivar private_endpoint_connections: PrivateEndpointConnectionsOperations operations
@@ -156,14 +169,24 @@ class CosmosDBManagementClient: # pylint: disable=client-accepts-api-version-ke
156
169
azure.mgmt.cosmosdb.aio.operations.RestorableTableResourcesOperations
157
170
:ivar service: ServiceOperations operations
158
171
:vartype service: azure.mgmt.cosmosdb.aio.operations.ServiceOperations
172
+ :ivar throughput_pools: ThroughputPoolsOperations operations
173
+ :vartype throughput_pools: azure.mgmt.cosmosdb.aio.operations.ThroughputPoolsOperations
174
+ :ivar throughput_pool: ThroughputPoolOperations operations
175
+ :vartype throughput_pool: azure.mgmt.cosmosdb.aio.operations.ThroughputPoolOperations
176
+ :ivar throughput_pool_accounts: ThroughputPoolAccountsOperations operations
177
+ :vartype throughput_pool_accounts:
178
+ azure.mgmt.cosmosdb.aio.operations.ThroughputPoolAccountsOperations
179
+ :ivar throughput_pool_account: ThroughputPoolAccountOperations operations
180
+ :vartype throughput_pool_account:
181
+ azure.mgmt.cosmosdb.aio.operations.ThroughputPoolAccountOperations
159
182
:param credential: Credential needed for the client to connect to Azure. Required.
160
183
:type credential: ~azure.core.credentials_async.AsyncTokenCredential
161
184
:param subscription_id: The ID of the target subscription. Required.
162
185
:type subscription_id: str
163
186
:param base_url: Service URL. Default value is "https://management.azure.com".
164
187
:type base_url: str
165
- :keyword api_version: Api Version. Default value is "2023-11 -15". Note that overriding this
166
- default value may result in unsupported behavior.
188
+ :keyword api_version: Api Version. Default value is "2024-01 -15-preview ". Note that overriding
189
+ this default value may result in unsupported behavior.
167
190
:paramtype api_version: str
168
191
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
169
192
Retry-After header is present.
@@ -216,6 +239,7 @@ def __init__(
216
239
self .partition_key_range_id_region = PartitionKeyRangeIdRegionOperations (
217
240
self ._client , self ._config , self ._serialize , self ._deserialize
218
241
)
242
+ self .graph_resources = GraphResourcesOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
219
243
self .sql_resources = SqlResourcesOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
220
244
self .mongo_db_resources = MongoDBResourcesOperations (
221
245
self ._client , self ._config , self ._serialize , self ._deserialize
@@ -228,12 +252,16 @@ def __init__(
228
252
self ._client , self ._config , self ._serialize , self ._deserialize
229
253
)
230
254
self .locations = LocationsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
255
+ self .data_transfer_jobs = DataTransferJobsOperations (
256
+ self ._client , self ._config , self ._serialize , self ._deserialize
257
+ )
231
258
self .cassandra_clusters = CassandraClustersOperations (
232
259
self ._client , self ._config , self ._serialize , self ._deserialize
233
260
)
234
261
self .cassandra_data_centers = CassandraDataCentersOperations (
235
262
self ._client , self ._config , self ._serialize , self ._deserialize
236
263
)
264
+ self .mongo_clusters = MongoClustersOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
237
265
self .notebook_workspaces = NotebookWorkspacesOperations (
238
266
self ._client , self ._config , self ._serialize , self ._deserialize
239
267
)
@@ -280,6 +308,16 @@ def __init__(
280
308
self ._client , self ._config , self ._serialize , self ._deserialize
281
309
)
282
310
self .service = ServiceOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
311
+ self .throughput_pools = ThroughputPoolsOperations (
312
+ self ._client , self ._config , self ._serialize , self ._deserialize
313
+ )
314
+ self .throughput_pool = ThroughputPoolOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
315
+ self .throughput_pool_accounts = ThroughputPoolAccountsOperations (
316
+ self ._client , self ._config , self ._serialize , self ._deserialize
317
+ )
318
+ self .throughput_pool_account = ThroughputPoolAccountOperations (
319
+ self ._client , self ._config , self ._serialize , self ._deserialize
320
+ )
283
321
284
322
def _send_request (self , request : HttpRequest , ** kwargs : Any ) -> Awaitable [AsyncHttpResponse ]:
285
323
"""Runs the network request through the client's chained policies.
0 commit comments