1212from msrest .service_client import SDKClient
1313from msrest import Serializer , Deserializer
1414
15- from ._configuration import CosmosDBConfiguration
15+ from ._configuration import CosmosDBManagementClientConfiguration
1616from .operations import DatabaseAccountsOperations
1717from .operations import Operations
1818from .operations import DatabaseOperations
2626from .operations import CollectionPartitionOperations
2727from .operations import PartitionKeyRangeIdOperations
2828from .operations import PartitionKeyRangeIdRegionOperations
29+ from .operations import SqlResourcesOperations
30+ from .operations import MongoDBResourcesOperations
31+ from .operations import TableResourcesOperations
32+ from .operations import CassandraResourcesOperations
33+ from .operations import GremlinResourcesOperations
2934from .operations import PrivateLinkResourcesOperations
3035from .operations import PrivateEndpointConnectionsOperations
3136from . import models
3237
3338
34- class CosmosDB (SDKClient ):
39+ class CosmosDBManagementClient (SDKClient ):
3540 """Azure Cosmos DB Database Service Resource Provider REST API
3641
3742 :ivar config: Configuration for client.
38- :vartype config: CosmosDBConfiguration
43+ :vartype config: CosmosDBManagementClientConfiguration
3944
4045 :ivar database_accounts: DatabaseAccounts operations
4146 :vartype database_accounts: azure.mgmt.cosmosdb.operations.DatabaseAccountsOperations
@@ -63,6 +68,16 @@ class CosmosDB(SDKClient):
6368 :vartype partition_key_range_id: azure.mgmt.cosmosdb.operations.PartitionKeyRangeIdOperations
6469 :ivar partition_key_range_id_region: PartitionKeyRangeIdRegion operations
6570 :vartype partition_key_range_id_region: azure.mgmt.cosmosdb.operations.PartitionKeyRangeIdRegionOperations
71+ :ivar sql_resources: SqlResources operations
72+ :vartype sql_resources: azure.mgmt.cosmosdb.operations.SqlResourcesOperations
73+ :ivar mongo_db_resources: MongoDBResources operations
74+ :vartype mongo_db_resources: azure.mgmt.cosmosdb.operations.MongoDBResourcesOperations
75+ :ivar table_resources: TableResources operations
76+ :vartype table_resources: azure.mgmt.cosmosdb.operations.TableResourcesOperations
77+ :ivar cassandra_resources: CassandraResources operations
78+ :vartype cassandra_resources: azure.mgmt.cosmosdb.operations.CassandraResourcesOperations
79+ :ivar gremlin_resources: GremlinResources operations
80+ :vartype gremlin_resources: azure.mgmt.cosmosdb.operations.GremlinResourcesOperations
6681 :ivar private_link_resources: PrivateLinkResources operations
6782 :vartype private_link_resources: azure.mgmt.cosmosdb.operations.PrivateLinkResourcesOperations
6883 :ivar private_endpoint_connections: PrivateEndpointConnections operations
@@ -79,8 +94,8 @@ class CosmosDB(SDKClient):
7994 def __init__ (
8095 self , credentials , subscription_id , base_url = None ):
8196
82- self .config = CosmosDBConfiguration (credentials , subscription_id , base_url )
83- super (CosmosDB , self ).__init__ (self .config .credentials , self .config )
97+ self .config = CosmosDBManagementClientConfiguration (credentials , subscription_id , base_url )
98+ super (CosmosDBManagementClient , self ).__init__ (self .config .credentials , self .config )
8499
85100 client_models = {k : v for k , v in models .__dict__ .items () if isinstance (v , type )}
86101 self ._serialize = Serializer (client_models )
@@ -112,6 +127,16 @@ def __init__(
112127 self ._client , self .config , self ._serialize , self ._deserialize )
113128 self .partition_key_range_id_region = PartitionKeyRangeIdRegionOperations (
114129 self ._client , self .config , self ._serialize , self ._deserialize )
130+ self .sql_resources = SqlResourcesOperations (
131+ self ._client , self .config , self ._serialize , self ._deserialize )
132+ self .mongo_db_resources = MongoDBResourcesOperations (
133+ self ._client , self .config , self ._serialize , self ._deserialize )
134+ self .table_resources = TableResourcesOperations (
135+ self ._client , self .config , self ._serialize , self ._deserialize )
136+ self .cassandra_resources = CassandraResourcesOperations (
137+ self ._client , self .config , self ._serialize , self ._deserialize )
138+ self .gremlin_resources = GremlinResourcesOperations (
139+ self ._client , self .config , self ._serialize , self ._deserialize )
115140 self .private_link_resources = PrivateLinkResourcesOperations (
116141 self ._client , self .config , self ._serialize , self ._deserialize )
117142 self .private_endpoint_connections = PrivateEndpointConnectionsOperations (
0 commit comments