From 1432ced0f174e8ea6e607e47db84a47fcc08073d Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 15 Mar 2022 04:34:47 +0000 Subject: [PATCH] CodeGen from PR 18230 in Azure/azure-rest-api-specs Merge e391ee627007d598e3fff71001858711d6db15f0 into 2abe647120f14bb145968a5543ead8ed51394498 --- sdk/cosmos/azure-mgmt-cosmosdb/_meta.json | 4 ++-- .../azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/_version.py | 2 +- .../azure/mgmt/cosmosdb/models/_models_py3.py | 7 +++++++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/_meta.json b/sdk/cosmos/azure-mgmt-cosmosdb/_meta.json index 1a63359dc479..5385f5a3a34f 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/_meta.json +++ b/sdk/cosmos/azure-mgmt-cosmosdb/_meta.json @@ -4,8 +4,8 @@ "@autorest/python@5.12.0", "@autorest/modelerfour@4.19.3" ], - "commit": "c731fa175f77b7b53ef0579eb877c61b5d0467d6", + "commit": "85eb3e7dbe23e025b9c838bef309f11a05768f10", "repository_url": "https://github.com/Azure/azure-rest-api-specs", - "autorest_command": "autorest specification/cosmos-db/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --python3-only --track2 --use=@autorest/python@5.12.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2", + "autorest_command": "autorest specification/cosmos-db/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --python3-only --track2 --use=@autorest/python@5.12.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2", "readme": "specification/cosmos-db/resource-manager/readme.md" } \ No newline at end of file diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/_version.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/_version.py index e5366921ebbc..a712687790e5 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/_version.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "7.0.0b3" +VERSION = "0.7.0" diff --git a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/models/_models_py3.py b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/models/_models_py3.py index 77f25720a473..5f838e899815 100644 --- a/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/models/_models_py3.py +++ b/sdk/cosmos/azure-mgmt-cosmosdb/azure/mgmt/cosmosdb/models/_models_py3.py @@ -6602,12 +6602,15 @@ class KeyWrapMetadata(msrest.serialization.Model): :vartype type: str :ivar value: Reference / link to the KeyEncryptionKey. :vartype value: str + :ivar algorithm: Algorithm used in wrapping and unwrapping of the data encryption key. + :vartype algorithm: str """ _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'value': {'key': 'value', 'type': 'str'}, + 'algorithm': {'key': 'algorithm', 'type': 'str'}, } def __init__( @@ -6616,6 +6619,7 @@ def __init__( name: Optional[str] = None, type: Optional[str] = None, value: Optional[str] = None, + algorithm: Optional[str] = None, **kwargs ): """ @@ -6625,11 +6629,14 @@ def __init__( :paramtype type: str :keyword value: Reference / link to the KeyEncryptionKey. :paramtype value: str + :keyword algorithm: Algorithm used in wrapping and unwrapping of the data encryption key. + :paramtype algorithm: str """ super(KeyWrapMetadata, self).__init__(**kwargs) self.name = name self.type = type self.value = value + self.algorithm = algorithm class ListBackups(msrest.serialization.Model):