Skip to content

Commit

Permalink
Cosmosdb 2020 04 (#13164)
Browse files Browse the repository at this point in the history
* Generated from 5f32e9e2f53e222ca19944f4dc57d44568d27dc9

adding int format

* release cosmosdb 2020-04

* Packaging update of azure-mgmt-cosmosdb

Co-authored-by: SDK Automation <[email protected]>
Co-authored-by: Azure SDK Bot <[email protected]>
  • Loading branch information
3 people authored Aug 18, 2020
1 parent 8654a04 commit c1e7a5a
Show file tree
Hide file tree
Showing 33 changed files with 2,886 additions and 2,745 deletions.
66 changes: 66 additions & 0 deletions sdk/cosmos/azure-mgmt-cosmosdb/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,71 @@
# Release History

## 1.0.0 (2020-08-17)

**Features**

- Model SqlContainerGetPropertiesResource has a new parameter analytical_storage_ttl
- Model DatabaseAccountUpdateParameters has a new parameter cors
- Model SqlContainerResource has a new parameter analytical_storage_ttl
- Model DatabaseAccountGetResults has a new parameter cors
- Added operation MongoDBResourcesOperations.migrate_mongo_db_collection_to_manual_throughput
- Added operation MongoDBResourcesOperations.migrate_mongo_db_database_to_manual_throughput
- Added operation MongoDBResourcesOperations.migrate_mongo_db_database_to_autoscale
- Added operation MongoDBResourcesOperations.migrate_mongo_db_collection_to_autoscale
- Added operation GremlinResourcesOperations.migrate_gremlin_database_to_manual_throughput
- Added operation GremlinResourcesOperations.migrate_gremlin_graph_to_autoscale
- Added operation GremlinResourcesOperations.migrate_gremlin_graph_to_manual_throughput
- Added operation GremlinResourcesOperations.migrate_gremlin_database_to_autoscale
- Added operation TableResourcesOperations.migrate_table_to_autoscale
- Added operation TableResourcesOperations.migrate_table_to_manual_throughput
- Added operation CassandraResourcesOperations.migrate_cassandra_keyspace_to_autoscale
- Added operation CassandraResourcesOperations.migrate_cassandra_keyspace_to_manual_throughput
- Added operation CassandraResourcesOperations.migrate_cassandra_table_to_manual_throughput
- Added operation CassandraResourcesOperations.migrate_cassandra_table_to_autoscale
- Added operation SqlResourcesOperations.migrate_sql_database_to_manual_throughput
- Added operation SqlResourcesOperations.migrate_sql_database_to_autoscale
- Added operation SqlResourcesOperations.migrate_sql_container_to_autoscale
- Added operation SqlResourcesOperations.migrate_sql_container_to_manual_throughput

**Breaking changes**

- Model ThroughputSettingsUpdateParameters no longer has parameter identity
- Model CassandraKeyspaceCreateUpdateParameters no longer has parameter identity
- Model SqlTriggerCreateUpdateParameters no longer has parameter identity
- Model SqlContainerGetResults no longer has parameter identity
- Model MongoDBDatabaseGetResults no longer has parameter identity
- Model GremlinGraphGetResults no longer has parameter identity
- Model SqlUserDefinedFunctionGetResults no longer has parameter identity
- Model CassandraTableGetResults no longer has parameter identity
- Model SqlUserDefinedFunctionCreateUpdateParameters no longer has parameter identity
- Model SqlDatabaseGetResults no longer has parameter identity
- Model MongoDBCollectionGetResults no longer has parameter identity
- Model SqlStoredProcedureGetResults no longer has parameter identity
- Model GremlinDatabaseGetResults no longer has parameter identity
- Model MongoDBDatabaseCreateUpdateParameters no longer has parameter identity
- Model SqlTriggerGetResults no longer has parameter identity
- Model CassandraKeyspaceGetResults no longer has parameter identity
- Model DatabaseAccountUpdateParameters no longer has parameter backup_policy
- Model SqlStoredProcedureCreateUpdateParameters no longer has parameter identity
- Model TableCreateUpdateParameters no longer has parameter identity
- Model GremlinDatabaseCreateUpdateParameters no longer has parameter identity
- Model SqlDatabaseCreateUpdateParameters no longer has parameter identity
- Model MongoDBCollectionCreateUpdateParameters no longer has parameter identity
- Model DatabaseAccountGetResults no longer has parameter instance_id
- Model DatabaseAccountGetResults no longer has parameter system_data
- Model DatabaseAccountGetResults no longer has parameter backup_policy
- Model DatabaseAccountGetResults no longer has parameter identity
- Model DatabaseAccountGetResults no longer has parameter create_mode
- Model DatabaseAccountGetResults no longer has parameter restore_parameters
- Model SqlContainerCreateUpdateParameters no longer has parameter identity
- Model GremlinGraphCreateUpdateParameters no longer has parameter identity
- Model ARMResourceProperties no longer has parameter identity
- Model CassandraTableCreateUpdateParameters no longer has parameter identity
- Model ThroughputSettingsGetResults no longer has parameter identity
- Model TableGetResults no longer has parameter identity
- Model DatabaseAccountCreateUpdateParameters has a new signature
- Removed operation group RestorableDatabaseAccountsOperations

## 0.16.0 (2020-07-31)

**Features**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
from .operations import TableResourcesOperations
from .operations import CassandraResourcesOperations
from .operations import GremlinResourcesOperations
from .operations import RestorableDatabaseAccountsOperations
from .operations import NotebookWorkspacesOperations
from .operations import PrivateLinkResourcesOperations
from .operations import PrivateEndpointConnectionsOperations
Expand Down Expand Up @@ -80,8 +79,6 @@ class CosmosDBManagementClient(SDKClient):
:vartype cassandra_resources: azure.mgmt.cosmosdb.operations.CassandraResourcesOperations
:ivar gremlin_resources: GremlinResources operations
:vartype gremlin_resources: azure.mgmt.cosmosdb.operations.GremlinResourcesOperations
:ivar restorable_database_accounts: RestorableDatabaseAccounts operations
:vartype restorable_database_accounts: azure.mgmt.cosmosdb.operations.RestorableDatabaseAccountsOperations
:ivar notebook_workspaces: NotebookWorkspaces operations
:vartype notebook_workspaces: azure.mgmt.cosmosdb.operations.NotebookWorkspacesOperations
:ivar private_link_resources: PrivateLinkResources operations
Expand Down Expand Up @@ -143,8 +140,6 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.gremlin_resources = GremlinResourcesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.restorable_database_accounts = RestorableDatabaseAccountsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.notebook_workspaces = NotebookWorkspacesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_link_resources = PrivateLinkResourcesOperations(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
from ._models_py3 import AutoscaleSettingsResource
from ._models_py3 import AutoUpgradePolicyResource
from ._models_py3 import AzureEntityResource
from ._models_py3 import BackupPolicy
from ._models_py3 import Capability
from ._models_py3 import CassandraKeyspaceCreateUpdateParameters
from ._models_py3 import CassandraKeyspaceGetPropertiesOptions
Expand All @@ -37,21 +36,17 @@
from ._models_py3 import ConflictResolutionPolicy
from ._models_py3 import ConsistencyPolicy
from ._models_py3 import ContainerPartitionKey
from ._models_py3 import ContinuousModeBackupPolicy
from ._models_py3 import CorsPolicy
from ._models_py3 import CreateUpdateOptions
from ._models_py3 import DatabaseAccountConnectionString
from ._models_py3 import DatabaseAccountCreateUpdateParameters
from ._models_py3 import DatabaseAccountCreateUpdateProperties
from ._models_py3 import DatabaseAccountGetResults
from ._models_py3 import DatabaseAccountListConnectionStringsResult
from ._models_py3 import DatabaseAccountListKeysResult
from ._models_py3 import DatabaseAccountListReadOnlyKeysResult
from ._models_py3 import DatabaseAccountRegenerateKeyParameters
from ._models_py3 import DatabaseAccountUpdateParameters
from ._models_py3 import DatabaseRestoreResource
from ._models_py3 import DefaultRequestDatabaseAccountCreateUpdateProperties
from ._models_py3 import ErrorResponse, ErrorResponseException
from ._models_py3 import ErrorResponseUpdatedFormat, ErrorResponseUpdatedFormatException
from ._models_py3 import ExcludedPath
from ._models_py3 import ExtendedResourceProperties
from ._models_py3 import FailoverPolicies
Expand All @@ -71,7 +66,6 @@
from ._models_py3 import IndexingPolicy
from ._models_py3 import IpAddressOrRange
from ._models_py3 import Location
from ._models_py3 import ManagedServiceIdentity
from ._models_py3 import Metric
from ._models_py3 import MetricAvailability
from ._models_py3 import MetricDefinition
Expand Down Expand Up @@ -100,18 +94,13 @@
from ._models_py3 import PartitionUsage
from ._models_py3 import PercentileMetric
from ._models_py3 import PercentileMetricValue
from ._models_py3 import PeriodicModeBackupPolicy
from ._models_py3 import PeriodicModeProperties
from ._models_py3 import PrivateEndpointConnection
from ._models_py3 import PrivateEndpointProperty
from ._models_py3 import PrivateLinkResource
from ._models_py3 import PrivateLinkServiceConnectionStateProperty
from ._models_py3 import ProxyResource
from ._models_py3 import RegionForOnlineOffline
from ._models_py3 import Resource
from ._models_py3 import RestorableDatabaseAccountGetResult
from ._models_py3 import RestoreParameters
from ._models_py3 import RestoreReqeustDatabaseAccountCreateUpdateProperties
from ._models_py3 import SpatialSpec
from ._models_py3 import SqlContainerCreateUpdateParameters
from ._models_py3 import SqlContainerGetPropertiesOptions
Expand All @@ -135,7 +124,6 @@
from ._models_py3 import SqlUserDefinedFunctionGetPropertiesResource
from ._models_py3 import SqlUserDefinedFunctionGetResults
from ._models_py3 import SqlUserDefinedFunctionResource
from ._models_py3 import SystemData
from ._models_py3 import TableCreateUpdateParameters
from ._models_py3 import TableGetPropertiesOptions
from ._models_py3 import TableGetPropertiesResource
Expand All @@ -159,7 +147,6 @@
from ._models import AutoscaleSettingsResource
from ._models import AutoUpgradePolicyResource
from ._models import AzureEntityResource
from ._models import BackupPolicy
from ._models import Capability
from ._models import CassandraKeyspaceCreateUpdateParameters
from ._models import CassandraKeyspaceGetPropertiesOptions
Expand All @@ -179,21 +166,17 @@
from ._models import ConflictResolutionPolicy
from ._models import ConsistencyPolicy
from ._models import ContainerPartitionKey
from ._models import ContinuousModeBackupPolicy
from ._models import CorsPolicy
from ._models import CreateUpdateOptions
from ._models import DatabaseAccountConnectionString
from ._models import DatabaseAccountCreateUpdateParameters
from ._models import DatabaseAccountCreateUpdateProperties
from ._models import DatabaseAccountGetResults
from ._models import DatabaseAccountListConnectionStringsResult
from ._models import DatabaseAccountListKeysResult
from ._models import DatabaseAccountListReadOnlyKeysResult
from ._models import DatabaseAccountRegenerateKeyParameters
from ._models import DatabaseAccountUpdateParameters
from ._models import DatabaseRestoreResource
from ._models import DefaultRequestDatabaseAccountCreateUpdateProperties
from ._models import ErrorResponse, ErrorResponseException
from ._models import ErrorResponseUpdatedFormat, ErrorResponseUpdatedFormatException
from ._models import ExcludedPath
from ._models import ExtendedResourceProperties
from ._models import FailoverPolicies
Expand All @@ -213,7 +196,6 @@
from ._models import IndexingPolicy
from ._models import IpAddressOrRange
from ._models import Location
from ._models import ManagedServiceIdentity
from ._models import Metric
from ._models import MetricAvailability
from ._models import MetricDefinition
Expand Down Expand Up @@ -242,18 +224,13 @@
from ._models import PartitionUsage
from ._models import PercentileMetric
from ._models import PercentileMetricValue
from ._models import PeriodicModeBackupPolicy
from ._models import PeriodicModeProperties
from ._models import PrivateEndpointConnection
from ._models import PrivateEndpointProperty
from ._models import PrivateLinkResource
from ._models import PrivateLinkServiceConnectionStateProperty
from ._models import ProxyResource
from ._models import RegionForOnlineOffline
from ._models import Resource
from ._models import RestorableDatabaseAccountGetResult
from ._models import RestoreParameters
from ._models import RestoreReqeustDatabaseAccountCreateUpdateProperties
from ._models import SpatialSpec
from ._models import SqlContainerCreateUpdateParameters
from ._models import SqlContainerGetPropertiesOptions
Expand All @@ -277,7 +254,6 @@
from ._models import SqlUserDefinedFunctionGetPropertiesResource
from ._models import SqlUserDefinedFunctionGetResults
from ._models import SqlUserDefinedFunctionResource
from ._models import SystemData
from ._models import TableCreateUpdateParameters
from ._models import TableGetPropertiesOptions
from ._models import TableGetPropertiesResource
Expand Down Expand Up @@ -309,7 +285,6 @@
from ._paged_models import PercentileMetricPaged
from ._paged_models import PrivateEndpointConnectionPaged
from ._paged_models import PrivateLinkResourcePaged
from ._paged_models import RestorableDatabaseAccountGetResultPaged
from ._paged_models import SqlContainerGetResultsPaged
from ._paged_models import SqlDatabaseGetResultsPaged
from ._paged_models import SqlStoredProcedureGetResultsPaged
Expand All @@ -324,9 +299,6 @@
ConnectorOffer,
PublicNetworkAccess,
ServerVersion,
CreateMode,
RestoreMode,
CreatedByType,
IndexingMode,
DataType,
IndexKind,
Expand All @@ -336,7 +308,6 @@
ConflictResolutionMode,
TriggerType,
TriggerOperation,
ResourceIdentityType,
KeyKind,
UnitType,
PrimaryAggregationType,
Expand All @@ -350,7 +321,6 @@
'AutoscaleSettingsResource',
'AutoUpgradePolicyResource',
'AzureEntityResource',
'BackupPolicy',
'Capability',
'CassandraKeyspaceCreateUpdateParameters',
'CassandraKeyspaceGetPropertiesOptions',
Expand All @@ -370,21 +340,17 @@
'ConflictResolutionPolicy',
'ConsistencyPolicy',
'ContainerPartitionKey',
'ContinuousModeBackupPolicy',
'CorsPolicy',
'CreateUpdateOptions',
'DatabaseAccountConnectionString',
'DatabaseAccountCreateUpdateParameters',
'DatabaseAccountCreateUpdateProperties',
'DatabaseAccountGetResults',
'DatabaseAccountListConnectionStringsResult',
'DatabaseAccountListKeysResult',
'DatabaseAccountListReadOnlyKeysResult',
'DatabaseAccountRegenerateKeyParameters',
'DatabaseAccountUpdateParameters',
'DatabaseRestoreResource',
'DefaultRequestDatabaseAccountCreateUpdateProperties',
'ErrorResponse', 'ErrorResponseException',
'ErrorResponseUpdatedFormat', 'ErrorResponseUpdatedFormatException',
'ExcludedPath',
'ExtendedResourceProperties',
'FailoverPolicies',
Expand All @@ -404,7 +370,6 @@
'IndexingPolicy',
'IpAddressOrRange',
'Location',
'ManagedServiceIdentity',
'Metric',
'MetricAvailability',
'MetricDefinition',
Expand Down Expand Up @@ -433,18 +398,13 @@
'PartitionUsage',
'PercentileMetric',
'PercentileMetricValue',
'PeriodicModeBackupPolicy',
'PeriodicModeProperties',
'PrivateEndpointConnection',
'PrivateEndpointProperty',
'PrivateLinkResource',
'PrivateLinkServiceConnectionStateProperty',
'ProxyResource',
'RegionForOnlineOffline',
'Resource',
'RestorableDatabaseAccountGetResult',
'RestoreParameters',
'RestoreReqeustDatabaseAccountCreateUpdateProperties',
'SpatialSpec',
'SqlContainerCreateUpdateParameters',
'SqlContainerGetPropertiesOptions',
Expand All @@ -468,7 +428,6 @@
'SqlUserDefinedFunctionGetPropertiesResource',
'SqlUserDefinedFunctionGetResults',
'SqlUserDefinedFunctionResource',
'SystemData',
'TableCreateUpdateParameters',
'TableGetPropertiesOptions',
'TableGetPropertiesResource',
Expand Down Expand Up @@ -504,7 +463,6 @@
'CassandraTableGetResultsPaged',
'GremlinDatabaseGetResultsPaged',
'GremlinGraphGetResultsPaged',
'RestorableDatabaseAccountGetResultPaged',
'NotebookWorkspacePaged',
'PrivateLinkResourcePaged',
'PrivateEndpointConnectionPaged',
Expand All @@ -514,9 +472,6 @@
'ConnectorOffer',
'PublicNetworkAccess',
'ServerVersion',
'CreateMode',
'RestoreMode',
'CreatedByType',
'IndexingMode',
'DataType',
'IndexKind',
Expand All @@ -526,7 +481,6 @@
'ConflictResolutionMode',
'TriggerType',
'TriggerOperation',
'ResourceIdentityType',
'KeyKind',
'UnitType',
'PrimaryAggregationType',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,25 +50,6 @@ class ServerVersion(str, Enum):
three_full_stop_six = "3.6"


class CreateMode(str, Enum):

default = "Default"
restore = "Restore"


class RestoreMode(str, Enum):

point_in_time = "PointInTime"


class CreatedByType(str, Enum):

user = "User"
application = "Application"
managed_identity = "ManagedIdentity"
key = "Key"


class IndexingMode(str, Enum):

consistent = "Consistent"
Expand Down Expand Up @@ -134,14 +115,6 @@ class TriggerOperation(str, Enum):
replace = "Replace"


class ResourceIdentityType(str, Enum):

system_assigned = "SystemAssigned"
user_assigned = "UserAssigned"
system_assigned_user_assigned = "SystemAssigned, UserAssigned"
none = "None"


class KeyKind(str, Enum):

primary = "primary"
Expand Down
Loading

0 comments on commit c1e7a5a

Please sign in to comment.