Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR] cosmos-db/resource-manager #8705

Merged
merged 16 commits into from
Dec 7, 2019
59 changes: 59 additions & 0 deletions sdk/cosmos/azure-mgmt-cosmosdb/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,65 @@
Release History
===============

0.11.0 (2019-12-07)
+++++++++++++++++++

**Features**

- Model GremlinDatabaseGetResults has a new parameter resource
- Model ThroughputSettingsGetResults has a new parameter resource
- Model SqlStoredProcedureGetResults has a new parameter resource
- Model MongoDBDatabaseGetResults has a new parameter resource
- Model SqlUserDefinedFunctionGetResults has a new parameter resource
- Model TableGetResults has a new parameter resource
- Model IndexingPolicy has a new parameter composite_indexes
- Model IndexingPolicy has a new parameter spatial_indexes
- Model CassandraKeyspaceGetResults has a new parameter resource
- Model SqlDatabaseGetResults has a new parameter resource

**Breaking changes**

- Model GremlinDatabaseGetResults no longer has parameter _etag
- Model GremlinDatabaseGetResults no longer has parameter gremlin_database_get_results_id
- Model GremlinDatabaseGetResults no longer has parameter _ts
- Model GremlinDatabaseGetResults no longer has parameter _rid
- Model ThroughputSettingsGetResults no longer has parameter minimum_throughput
- Model ThroughputSettingsGetResults no longer has parameter offer_replace_pending
- Model ThroughputSettingsGetResults no longer has parameter throughput
- Model SqlStoredProcedureGetResults no longer has parameter _etag
- Model SqlStoredProcedureGetResults no longer has parameter _ts
- Model SqlStoredProcedureGetResults no longer has parameter _rid
- Model SqlStoredProcedureGetResults no longer has parameter body
- Model SqlStoredProcedureGetResults no longer has parameter sql_stored_procedure_get_results_id
- Model MongoDBDatabaseGetResults no longer has parameter _etag
- Model MongoDBDatabaseGetResults no longer has parameter mongo_db_database_get_results_id
- Model MongoDBDatabaseGetResults no longer has parameter _ts
- Model MongoDBDatabaseGetResults no longer has parameter _rid
- Model SqlUserDefinedFunctionGetResults no longer has parameter _etag
- Model SqlUserDefinedFunctionGetResults no longer has parameter sql_user_defined_function_get_results_id
- Model SqlUserDefinedFunctionGetResults no longer has parameter _ts
- Model SqlUserDefinedFunctionGetResults no longer has parameter _rid
- Model SqlUserDefinedFunctionGetResults no longer has parameter body
- Model TableGetResults no longer has parameter _etag
- Model TableGetResults no longer has parameter table_get_results_id
- Model TableGetResults no longer has parameter _ts
- Model TableGetResults no longer has parameter _rid
- Model CassandraKeyspaceGetResults no longer has parameter _etag
- Model CassandraKeyspaceGetResults no longer has parameter cassandra_keyspace_get_results_id
- Model CassandraKeyspaceGetResults no longer has parameter _ts
- Model CassandraKeyspaceGetResults no longer has parameter _rid
- Model SqlDatabaseGetResults no longer has parameter _colls
- Model SqlDatabaseGetResults no longer has parameter _etag
- Model SqlDatabaseGetResults no longer has parameter _users
- Model SqlDatabaseGetResults no longer has parameter sql_database_get_results_id
- Model SqlDatabaseGetResults no longer has parameter _rid
- Model SqlDatabaseGetResults no longer has parameter _ts
- Model GremlinGraphGetResults has a new signature
- Model CassandraTableGetResults has a new signature
- Model SqlTriggerGetResults has a new signature
- Model SqlContainerGetResults has a new signature
- Model MongoDBCollectionGetResults has a new signature

0.10.0 (2019-11-13)
+++++++++++++++++++

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,18 @@
from ._models_py3 import AzureEntityResource
from ._models_py3 import Capability
from ._models_py3 import CassandraKeyspaceCreateUpdateParameters
from ._models_py3 import CassandraKeyspaceGetPropertiesResource
from ._models_py3 import CassandraKeyspaceGetResults
from ._models_py3 import CassandraKeyspaceResource
from ._models_py3 import CassandraPartitionKey
from ._models_py3 import CassandraSchema
from ._models_py3 import CassandraTableCreateUpdateParameters
from ._models_py3 import CassandraTableGetPropertiesResource
from ._models_py3 import CassandraTableGetResults
from ._models_py3 import CassandraTableResource
from ._models_py3 import ClusterKey
from ._models_py3 import Column
from ._models_py3 import CompositePath
from ._models_py3 import ConflictResolutionPolicy
from ._models_py3 import ConsistencyPolicy
from ._models_py3 import ContainerPartitionKey
Expand All @@ -41,9 +44,11 @@
from ._models_py3 import FailoverPolicies
from ._models_py3 import FailoverPolicy
from ._models_py3 import GremlinDatabaseCreateUpdateParameters
from ._models_py3 import GremlinDatabaseGetPropertiesResource
from ._models_py3 import GremlinDatabaseGetResults
from ._models_py3 import GremlinDatabaseResource
from ._models_py3 import GremlinGraphCreateUpdateParameters
from ._models_py3 import GremlinGraphGetPropertiesResource
from ._models_py3 import GremlinGraphGetResults
from ._models_py3 import GremlinGraphResource
from ._models_py3 import IncludedPath
Expand All @@ -56,9 +61,11 @@
from ._models_py3 import MetricName
from ._models_py3 import MetricValue
from ._models_py3 import MongoDBCollectionCreateUpdateParameters
from ._models_py3 import MongoDBCollectionGetPropertiesResource
from ._models_py3 import MongoDBCollectionGetResults
from ._models_py3 import MongoDBCollectionResource
from ._models_py3 import MongoDBDatabaseCreateUpdateParameters
from ._models_py3 import MongoDBDatabaseGetPropertiesResource
from ._models_py3 import MongoDBDatabaseGetResults
from ._models_py3 import MongoDBDatabaseResource
from ._models_py3 import MongoIndex
Expand All @@ -77,24 +84,32 @@
from ._models_py3 import ProxyResource
from ._models_py3 import RegionForOnlineOffline
from ._models_py3 import Resource
from ._models_py3 import SpatialSpec
from ._models_py3 import SqlContainerCreateUpdateParameters
from ._models_py3 import SqlContainerGetPropertiesResource
from ._models_py3 import SqlContainerGetResults
from ._models_py3 import SqlContainerResource
from ._models_py3 import SqlDatabaseCreateUpdateParameters
from ._models_py3 import SqlDatabaseGetPropertiesResource
from ._models_py3 import SqlDatabaseGetResults
from ._models_py3 import SqlDatabaseResource
from ._models_py3 import SqlStoredProcedureCreateUpdateParameters
from ._models_py3 import SqlStoredProcedureGetPropertiesResource
from ._models_py3 import SqlStoredProcedureGetResults
from ._models_py3 import SqlStoredProcedureResource
from ._models_py3 import SqlTriggerCreateUpdateParameters
from ._models_py3 import SqlTriggerGetPropertiesResource
from ._models_py3 import SqlTriggerGetResults
from ._models_py3 import SqlTriggerResource
from ._models_py3 import SqlUserDefinedFunctionCreateUpdateParameters
from ._models_py3 import SqlUserDefinedFunctionGetPropertiesResource
from ._models_py3 import SqlUserDefinedFunctionGetResults
from ._models_py3 import SqlUserDefinedFunctionResource
from ._models_py3 import TableCreateUpdateParameters
from ._models_py3 import TableGetPropertiesResource
from ._models_py3 import TableGetResults
from ._models_py3 import TableResource
from ._models_py3 import ThroughputSettingsGetPropertiesResource
from ._models_py3 import ThroughputSettingsGetResults
from ._models_py3 import ThroughputSettingsResource
from ._models_py3 import ThroughputSettingsUpdateParameters
Expand All @@ -109,15 +124,18 @@
from ._models import AzureEntityResource
from ._models import Capability
from ._models import CassandraKeyspaceCreateUpdateParameters
from ._models import CassandraKeyspaceGetPropertiesResource
from ._models import CassandraKeyspaceGetResults
from ._models import CassandraKeyspaceResource
from ._models import CassandraPartitionKey
from ._models import CassandraSchema
from ._models import CassandraTableCreateUpdateParameters
from ._models import CassandraTableGetPropertiesResource
from ._models import CassandraTableGetResults
from ._models import CassandraTableResource
from ._models import ClusterKey
from ._models import Column
from ._models import CompositePath
from ._models import ConflictResolutionPolicy
from ._models import ConsistencyPolicy
from ._models import ContainerPartitionKey
Expand All @@ -135,9 +153,11 @@
from ._models import FailoverPolicies
from ._models import FailoverPolicy
from ._models import GremlinDatabaseCreateUpdateParameters
from ._models import GremlinDatabaseGetPropertiesResource
from ._models import GremlinDatabaseGetResults
from ._models import GremlinDatabaseResource
from ._models import GremlinGraphCreateUpdateParameters
from ._models import GremlinGraphGetPropertiesResource
from ._models import GremlinGraphGetResults
from ._models import GremlinGraphResource
from ._models import IncludedPath
Expand All @@ -150,9 +170,11 @@
from ._models import MetricName
from ._models import MetricValue
from ._models import MongoDBCollectionCreateUpdateParameters
from ._models import MongoDBCollectionGetPropertiesResource
from ._models import MongoDBCollectionGetResults
from ._models import MongoDBCollectionResource
from ._models import MongoDBDatabaseCreateUpdateParameters
from ._models import MongoDBDatabaseGetPropertiesResource
from ._models import MongoDBDatabaseGetResults
from ._models import MongoDBDatabaseResource
from ._models import MongoIndex
Expand All @@ -171,24 +193,32 @@
from ._models import ProxyResource
from ._models import RegionForOnlineOffline
from ._models import Resource
from ._models import SpatialSpec
from ._models import SqlContainerCreateUpdateParameters
from ._models import SqlContainerGetPropertiesResource
from ._models import SqlContainerGetResults
from ._models import SqlContainerResource
from ._models import SqlDatabaseCreateUpdateParameters
from ._models import SqlDatabaseGetPropertiesResource
from ._models import SqlDatabaseGetResults
from ._models import SqlDatabaseResource
from ._models import SqlStoredProcedureCreateUpdateParameters
from ._models import SqlStoredProcedureGetPropertiesResource
from ._models import SqlStoredProcedureGetResults
from ._models import SqlStoredProcedureResource
from ._models import SqlTriggerCreateUpdateParameters
from ._models import SqlTriggerGetPropertiesResource
from ._models import SqlTriggerGetResults
from ._models import SqlTriggerResource
from ._models import SqlUserDefinedFunctionCreateUpdateParameters
from ._models import SqlUserDefinedFunctionGetPropertiesResource
from ._models import SqlUserDefinedFunctionGetResults
from ._models import SqlUserDefinedFunctionResource
from ._models import TableCreateUpdateParameters
from ._models import TableGetPropertiesResource
from ._models import TableGetResults
from ._models import TableResource
from ._models import ThroughputSettingsGetPropertiesResource
from ._models import ThroughputSettingsGetResults
from ._models import ThroughputSettingsResource
from ._models import ThroughputSettingsUpdateParameters
Expand Down Expand Up @@ -227,6 +257,8 @@
IndexingMode,
DataType,
IndexKind,
CompositePathSortOrder,
SpatialType,
PartitionKind,
ConflictResolutionMode,
TriggerType,
Expand All @@ -242,15 +274,18 @@
'AzureEntityResource',
'Capability',
'CassandraKeyspaceCreateUpdateParameters',
'CassandraKeyspaceGetPropertiesResource',
'CassandraKeyspaceGetResults',
'CassandraKeyspaceResource',
'CassandraPartitionKey',
'CassandraSchema',
'CassandraTableCreateUpdateParameters',
'CassandraTableGetPropertiesResource',
'CassandraTableGetResults',
'CassandraTableResource',
'ClusterKey',
'Column',
'CompositePath',
'ConflictResolutionPolicy',
'ConsistencyPolicy',
'ContainerPartitionKey',
Expand All @@ -268,9 +303,11 @@
'FailoverPolicies',
'FailoverPolicy',
'GremlinDatabaseCreateUpdateParameters',
'GremlinDatabaseGetPropertiesResource',
'GremlinDatabaseGetResults',
'GremlinDatabaseResource',
'GremlinGraphCreateUpdateParameters',
'GremlinGraphGetPropertiesResource',
'GremlinGraphGetResults',
'GremlinGraphResource',
'IncludedPath',
Expand All @@ -283,9 +320,11 @@
'MetricName',
'MetricValue',
'MongoDBCollectionCreateUpdateParameters',
'MongoDBCollectionGetPropertiesResource',
'MongoDBCollectionGetResults',
'MongoDBCollectionResource',
'MongoDBDatabaseCreateUpdateParameters',
'MongoDBDatabaseGetPropertiesResource',
'MongoDBDatabaseGetResults',
'MongoDBDatabaseResource',
'MongoIndex',
Expand All @@ -304,24 +343,32 @@
'ProxyResource',
'RegionForOnlineOffline',
'Resource',
'SpatialSpec',
'SqlContainerCreateUpdateParameters',
'SqlContainerGetPropertiesResource',
'SqlContainerGetResults',
'SqlContainerResource',
'SqlDatabaseCreateUpdateParameters',
'SqlDatabaseGetPropertiesResource',
'SqlDatabaseGetResults',
'SqlDatabaseResource',
'SqlStoredProcedureCreateUpdateParameters',
'SqlStoredProcedureGetPropertiesResource',
'SqlStoredProcedureGetResults',
'SqlStoredProcedureResource',
'SqlTriggerCreateUpdateParameters',
'SqlTriggerGetPropertiesResource',
'SqlTriggerGetResults',
'SqlTriggerResource',
'SqlUserDefinedFunctionCreateUpdateParameters',
'SqlUserDefinedFunctionGetPropertiesResource',
'SqlUserDefinedFunctionGetResults',
'SqlUserDefinedFunctionResource',
'TableCreateUpdateParameters',
'TableGetPropertiesResource',
'TableGetResults',
'TableResource',
'ThroughputSettingsGetPropertiesResource',
'ThroughputSettingsGetResults',
'ThroughputSettingsResource',
'ThroughputSettingsUpdateParameters',
Expand Down Expand Up @@ -359,6 +406,8 @@
'IndexingMode',
'DataType',
'IndexKind',
'CompositePathSortOrder',
'SpatialType',
'PartitionKind',
'ConflictResolutionMode',
'TriggerType',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,20 @@ class IndexKind(str, Enum):
spatial = "Spatial"


class CompositePathSortOrder(str, Enum):

ascending = "Ascending"
descending = "Descending"


class SpatialType(str, Enum):

point = "Point"
line_string = "LineString"
polygon = "Polygon"
multi_polygon = "MultiPolygon"


class PartitionKind(str, Enum):

hash = "Hash"
Expand Down
Loading