Skip to content

Commit d430f6d

Browse files
colawwjSDK Automation
andauthored
Sdk automation/azure mgmt cosmosdb@10955 (#14060)
* Generated from 5d19e59fb7af9fb6b1fe33410f2e18cb6def1437 * release-800-cosmosdb * update version * update time Co-authored-by: SDK Automation <[email protected]>
1 parent 2057b28 commit d430f6d

34 files changed

+3763
-2958
lines changed

sdk/cosmos/azure-mgmt-cosmosdb/CHANGELOG.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,78 @@
11
# Release History
22

3+
## 2.0.0rc1 (2020-10-14)
4+
5+
**Features**
6+
7+
- Model MongoDBCollectionCreateUpdateParameters has a new parameter identity
8+
- Model GremlinGraphGetResults has a new parameter identity
9+
- Model SqlDatabaseGetResults has a new parameter identity
10+
- Model DatabaseAccountGetResults has a new parameter identity
11+
- Model DatabaseAccountGetResults has a new parameter instance_id
12+
- Model DatabaseAccountGetResults has a new parameter backup_policy
13+
- Model DatabaseAccountGetResults has a new parameter system_data
14+
- Model DatabaseAccountGetResults has a new parameter restore_parameters
15+
- Model DatabaseAccountGetResults has a new parameter create_mode
16+
- Model SqlDatabaseCreateUpdateParameters has a new parameter identity
17+
- Model GremlinDatabaseGetResults has a new parameter identity
18+
- Model CassandraTableCreateUpdateParameters has a new parameter identity
19+
- Model ARMResourceProperties has a new parameter identity
20+
- Model SqlContainerGetResults has a new parameter identity
21+
- Model GremlinGraphCreateUpdateParameters has a new parameter identity
22+
- Model SqlUserDefinedFunctionGetResults has a new parameter identity
23+
- Model CassandraKeyspaceGetResults has a new parameter identity
24+
- Model DatabaseAccountUpdateParameters has a new parameter identity
25+
- Model DatabaseAccountUpdateParameters has a new parameter backup_policy
26+
- Model ThroughputSettingsUpdateParameters has a new parameter identity
27+
- Model CassandraTableGetResults has a new parameter identity
28+
- Model SqlTriggerGetResults has a new parameter identity
29+
- Model MongoDBDatabaseCreateUpdateParameters has a new parameter identity
30+
- Model GremlinDatabaseCreateUpdateParameters has a new parameter identity
31+
- Model SqlContainerCreateUpdateParameters has a new parameter identity
32+
- Model CassandraKeyspaceCreateUpdateParameters has a new parameter identity
33+
- Model MongoDBCollectionGetResults has a new parameter identity
34+
- Model ThroughputSettingsGetResults has a new parameter identity
35+
- Model SqlStoredProcedureCreateUpdateParameters has a new parameter identity
36+
- Model TableCreateUpdateParameters has a new parameter identity
37+
- Model SqlStoredProcedureGetResults has a new parameter identity
38+
- Model MongoDBDatabaseGetResults has a new parameter identity
39+
- Model TableGetResults has a new parameter identity
40+
- Model SqlUserDefinedFunctionCreateUpdateParameters has a new parameter identity
41+
- Model SqlTriggerCreateUpdateParameters has a new parameter identity
42+
- Added operation SqlResourcesOperations.get_sql_role_definition
43+
- Added operation SqlResourcesOperations.delete_sql_role_definition
44+
- Added operation SqlResourcesOperations.list_sql_role_definitions
45+
- Added operation SqlResourcesOperations.get_sql_role_assignment
46+
- Added operation SqlResourcesOperations.create_update_sql_role_definition
47+
- Added operation SqlResourcesOperations.create_update_sql_role_assignment
48+
- Added operation SqlResourcesOperations.delete_sql_role_assignment
49+
- Added operation SqlResourcesOperations.list_sql_role_assignments
50+
- Added operation group RestorableDatabaseAccountsOperations
51+
52+
**Breaking changes**
53+
54+
- Model SqlContainerResource no longer has parameter analytical_storage_ttl
55+
- Model SqlContainerGetPropertiesResource no longer has parameter analytical_storage_ttl
56+
- Removed operation TableResourcesOperations.migrate_table_to_autoscale
57+
- Removed operation TableResourcesOperations.migrate_table_to_manual_throughput
58+
- Removed operation SqlResourcesOperations.migrate_sql_database_to_autoscale
59+
- Removed operation SqlResourcesOperations.migrate_sql_database_to_manual_throughput
60+
- Removed operation SqlResourcesOperations.migrate_sql_container_to_manual_throughput
61+
- Removed operation SqlResourcesOperations.migrate_sql_container_to_autoscale
62+
- Removed operation GremlinResourcesOperations.migrate_gremlin_graph_to_manual_throughput
63+
- Removed operation GremlinResourcesOperations.migrate_gremlin_graph_to_autoscale
64+
- Removed operation GremlinResourcesOperations.migrate_gremlin_database_to_manual_throughput
65+
- Removed operation GremlinResourcesOperations.migrate_gremlin_database_to_autoscale
66+
- Removed operation CassandraResourcesOperations.migrate_cassandra_table_to_manual_throughput
67+
- Removed operation CassandraResourcesOperations.migrate_cassandra_keyspace_to_manual_throughput
68+
- Removed operation CassandraResourcesOperations.migrate_cassandra_keyspace_to_autoscale
69+
- Removed operation CassandraResourcesOperations.migrate_cassandra_table_to_autoscale
70+
- Removed operation MongoDBResourcesOperations.migrate_mongo_db_collection_to_autoscale
71+
- Removed operation MongoDBResourcesOperations.migrate_mongo_db_database_to_autoscale
72+
- Removed operation MongoDBResourcesOperations.migrate_mongo_db_database_to_manual_throughput
73+
- Removed operation MongoDBResourcesOperations.migrate_mongo_db_collection_to_manual_throughput
74+
- Model DatabaseAccountCreateUpdateParameters has a new signature
75+
376
## 1.0.0 (2020-08-17)
477

578
**Features**

sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/_cosmos_db_management_client.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,15 @@
3131
from .operations import TableResourcesOperations
3232
from .operations import CassandraResourcesOperations
3333
from .operations import GremlinResourcesOperations
34+
from .operations import RestorableDatabaseAccountsOperations
3435
from .operations import NotebookWorkspacesOperations
3536
from .operations import PrivateLinkResourcesOperations
3637
from .operations import PrivateEndpointConnectionsOperations
3738
from . import models
3839

3940

4041
class CosmosDBManagementClient(SDKClient):
41-
"""Azure Cosmos DB Database Service Resource Provider REST API
42+
"""CosmosDBManagementClient
4243
4344
:ivar config: Configuration for client.
4445
:vartype config: CosmosDBManagementClientConfiguration
@@ -79,6 +80,8 @@ class CosmosDBManagementClient(SDKClient):
7980
:vartype cassandra_resources: azure.mgmt.cosmosdb.operations.CassandraResourcesOperations
8081
:ivar gremlin_resources: GremlinResources operations
8182
:vartype gremlin_resources: azure.mgmt.cosmosdb.operations.GremlinResourcesOperations
83+
:ivar restorable_database_accounts: RestorableDatabaseAccounts operations
84+
:vartype restorable_database_accounts: azure.mgmt.cosmosdb.operations.RestorableDatabaseAccountsOperations
8285
:ivar notebook_workspaces: NotebookWorkspaces operations
8386
:vartype notebook_workspaces: azure.mgmt.cosmosdb.operations.NotebookWorkspacesOperations
8487
:ivar private_link_resources: PrivateLinkResources operations
@@ -140,6 +143,8 @@ def __init__(
140143
self._client, self.config, self._serialize, self._deserialize)
141144
self.gremlin_resources = GremlinResourcesOperations(
142145
self._client, self.config, self._serialize, self._deserialize)
146+
self.restorable_database_accounts = RestorableDatabaseAccountsOperations(
147+
self._client, self.config, self._serialize, self._deserialize)
143148
self.notebook_workspaces = NotebookWorkspacesOperations(
144149
self._client, self.config, self._serialize, self._deserialize)
145150
self.private_link_resources = PrivateLinkResourcesOperations(

0 commit comments

Comments
 (0)