Skip to content

Commit

Permalink
Generated from 771a3b26df8ce4602832c92223eda0cf71129355
Browse files Browse the repository at this point in the history
Update from latest master
  • Loading branch information
SDK Automation committed Oct 29, 2019
1 parent ff204b5 commit d865621
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 d865621

Please sign in to comment.