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

T2 cosmosdb 2021 02 23 #16875

Merged
merged 7 commits into from
Mar 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions sdk/cosmos/azure-mgmt-cosmosdb/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,30 @@
# Release History

## 6.1.0 (2021-03-02)

**Features**

- Model DatabaseAccountGetResults has a new parameter network_acl_bypass
- Model DatabaseAccountGetResults has a new parameter backup_policy
- Model DatabaseAccountGetResults has a new parameter identity
- Model DatabaseAccountGetResults has a new parameter network_acl_bypass_resource_ids
- Model PrivateEndpointConnection has a new parameter group_id
- Model PrivateEndpointConnection has a new parameter provisioning_state
- Model ContainerPartitionKey has a new parameter system_key
- Model DatabaseAccountUpdateParameters has a new parameter network_acl_bypass
- Model DatabaseAccountUpdateParameters has a new parameter backup_policy
- Model DatabaseAccountUpdateParameters has a new parameter identity
- Model DatabaseAccountUpdateParameters has a new parameter network_acl_bypass_resource_ids
- Model PrivateLinkServiceConnectionStateProperty has a new parameter description
- Model DatabaseAccountCreateUpdateParameters has a new parameter network_acl_bypass
- Model DatabaseAccountCreateUpdateParameters has a new parameter backup_policy
- Model DatabaseAccountCreateUpdateParameters has a new parameter identity
- Model DatabaseAccountCreateUpdateParameters has a new parameter network_acl_bypass_resource_ids

## 6.0.0 (2020-11-24)

- GA release

## 6.0.0b1 (2020-10-12)

This is beta preview version.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2021-01-15"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-cosmosdb/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ def __init__(

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer(client_models)
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.database_accounts = DatabaseAccountsOperations(
Expand Down
81 changes: 81 additions & 0 deletions sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"chosen_version": "2021-01-15",
"total_api_version_list": ["2021-01-15"],
"client": {
"name": "CosmosDBManagementClient",
"filename": "_cosmos_db_management_client",
"description": "Azure Cosmos DB Database Service Resource Provider REST API.",
"base_url": "\u0027https://management.azure.com\u0027",
"custom_base_url": null,
"azure_arm": true,
"has_lro_operations": true,
"client_side_validation": true
},
"global_parameters": {
"sync": {
"credential": {
"signature": "credential, # type: \"TokenCredential\"",
"description": "Credential needed for the client to connect to Azure.",
"docstring_type": "~azure.core.credentials.TokenCredential",
"required": true
},
"subscription_id": {
"signature": "subscription_id, # type: str",
"description": "The ID of the target subscription.",
"docstring_type": "str",
"required": true
}
},
"async": {
"credential": {
"signature": "credential, # type: \"AsyncTokenCredential\"",
"description": "Credential needed for the client to connect to Azure.",
"docstring_type": "~azure.core.credentials_async.AsyncTokenCredential",
"required": true
},
"subscription_id": {
"signature": "subscription_id, # type: str",
"description": "The ID of the target subscription.",
"docstring_type": "str",
"required": true
}
},
"constant": {
},
"call": "credential, subscription_id"
},
"config": {
"credential": true,
"credential_scopes": ["https://management.azure.com/.default"],
"credential_default_policy_type": "BearerTokenCredentialPolicy",
"credential_default_policy_type_has_async_version": true,
"credential_key_header_name": null
},
"operation_groups": {
"database_accounts": "DatabaseAccountsOperations",
"operations": "Operations",
"database": "DatabaseOperations",
"collection": "CollectionOperations",
"collection_region": "CollectionRegionOperations",
"database_account_region": "DatabaseAccountRegionOperations",
"percentile_source_target": "PercentileSourceTargetOperations",
"percentile_target": "PercentileTargetOperations",
"percentile": "PercentileOperations",
"collection_partition_region": "CollectionPartitionRegionOperations",
"collection_partition": "CollectionPartitionOperations",
"partition_key_range_id": "PartitionKeyRangeIdOperations",
"partition_key_range_id_region": "PartitionKeyRangeIdRegionOperations",
"sql_resources": "SqlResourcesOperations",
"mongo_db_resources": "MongoDBResourcesOperations",
"table_resources": "TableResourcesOperations",
"cassandra_resources": "CassandraResourcesOperations",
"gremlin_resources": "GremlinResourcesOperations",
"notebook_workspaces": "NotebookWorkspacesOperations",
"private_link_resources": "PrivateLinkResourcesOperations",
"private_endpoint_connections": "PrivateEndpointConnectionsOperations"
},
"operation_mixins": {
},
"sync_imports": "None",
"async_imports": "None"
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "6.0.0"
VERSION = "6.1.0"
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ def __init__(

self.credential = credential
self.subscription_id = subscription_id
self.api_version = "2021-01-15"
self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default'])
kwargs.setdefault('sdk_moniker', 'mgmt-cosmosdb/{}'.format(VERSION))
self._configure(**kwargs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ def __init__(

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self._serialize = Serializer(client_models)
self._serialize.client_side_validation = False
self._deserialize = Deserializer(client_models)

self.database_accounts = DatabaseAccountsOperations(
Expand Down
Loading