Skip to content

Commit

Permalink
Generated from 73991d795a634326a88ddf54a2aa85cf2c2ac0bf
Browse files Browse the repository at this point in the history
reverting changes to types.json
  • Loading branch information
SDK Automation committed Oct 28, 2019
1 parent c84e59a commit f5a34e0
Show file tree
Hide file tree
Showing 25 changed files with 8,707 additions and 5,648 deletions.
27 changes: 26 additions & 1 deletion sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/_cosmos_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
from .operations import CollectionPartitionOperations
from .operations import PartitionKeyRangeIdOperations
from .operations import PartitionKeyRangeIdRegionOperations
from .operations import SqlResourcesOperations
from .operations import MongoDBResourcesOperations
from .operations import TableResourcesOperations
from .operations import CassandraResourcesOperations
from .operations import GremlinResourcesOperations
from . import models


Expand Down Expand Up @@ -61,6 +66,16 @@ class CosmosDB(SDKClient):
:vartype partition_key_range_id: azure.mgmt.cosmosdb.operations.PartitionKeyRangeIdOperations
:ivar partition_key_range_id_region: PartitionKeyRangeIdRegion operations
:vartype partition_key_range_id_region: azure.mgmt.cosmosdb.operations.PartitionKeyRangeIdRegionOperations
:ivar sql_resources: SqlResources operations
:vartype sql_resources: azure.mgmt.cosmosdb.operations.SqlResourcesOperations
:ivar mongo_db_resources: MongoDBResources operations
:vartype mongo_db_resources: azure.mgmt.cosmosdb.operations.MongoDBResourcesOperations
:ivar table_resources: TableResources operations
:vartype table_resources: azure.mgmt.cosmosdb.operations.TableResourcesOperations
:ivar cassandra_resources: CassandraResources operations
:vartype cassandra_resources: azure.mgmt.cosmosdb.operations.CassandraResourcesOperations
:ivar gremlin_resources: GremlinResources operations
:vartype gremlin_resources: azure.mgmt.cosmosdb.operations.GremlinResourcesOperations
:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
Expand All @@ -77,7 +92,7 @@ def __init__(
super(CosmosDB, self).__init__(self.config.credentials, self.config)

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self.api_version = '2015-04-08'
self.api_version = '2019-08-01'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

Expand Down Expand Up @@ -107,3 +122,13 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.partition_key_range_id_region = PartitionKeyRangeIdRegionOperations(
self._client, self.config, self._serialize, self._deserialize)
self.sql_resources = SqlResourcesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.mongo_db_resources = MongoDBResourcesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.table_resources = TableResourcesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.cassandra_resources = CassandraResourcesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.gremlin_resources = GremlinResourcesOperations(
self._client, self.config, self._serialize, self._deserialize)
Loading

0 comments on commit f5a34e0

Please sign in to comment.