Bump azure cli to 2.27.2 (#1355)

* Bump azure cli to 2.27.2

* fixing up add-corpus-storage-account script

Co-authored-by: stas <statis@microsoft.com>
This commit is contained in:
Stas
2021-10-13 11:27:48 -07:00
committed by GitHub
parent d2354b6c35
commit e5c3e60b8a
4 changed files with 5 additions and 5 deletions

View File

@ -11,7 +11,7 @@ azure-storage-blob~=12.8
azure-applicationinsights==0.1.0 azure-applicationinsights==0.1.0
tenacity==8.0.1 tenacity==8.0.1
docstring_parser==0.8.1 docstring_parser==0.8.1
azure-cli-core==2.26.1 azure-cli-core==2.27.2
# packaging is required but not specified by azure-cli-core # packaging is required but not specified by azure-cli-core
packaging==20.9 packaging==20.9
# urllib3[secure] needs to be specifically stated for azure-cli-core # urllib3[secure] needs to be specifically stated for azure-cli-core

View File

@ -1,5 +1,5 @@
azure-cli-core==2.26.0 azure-cli-core==2.27.2
azure-cli==2.26.0 azure-cli==2.27.2
azure-cosmosdb-table==1.0.6 azure-cosmosdb-table==1.0.6
azure-mgmt-eventgrid==9.0.0 azure-mgmt-eventgrid==9.0.0
azure-mgmt-resource==18.0.0 azure-mgmt-resource==18.0.0

View File

@ -53,7 +53,7 @@ def add_event_grid(src_account_id: str, resource_group: str, location: str) -> N
topic_id = uuid.uuid5(STORAGE_GUID_NAMESPACE, src_account_id).hex topic_id = uuid.uuid5(STORAGE_GUID_NAMESPACE, src_account_id).hex
result = client.event_subscriptions.create_or_update( result = client.event_subscriptions.begin_create_or_update(
src_account_id, "corpus" + topic_id, event_subscription_info src_account_id, "corpus" + topic_id, event_subscription_info
).result() ).result()
if result.provisioning_state != "Succeeded": if result.provisioning_state != "Succeeded":

View File

@ -1,3 +1,3 @@
azure-mgmt-storage~=18.0.0 azure-mgmt-storage~=18.0.0
azure-cli-core==2.19.1 azure-cli-core==2.27.2
azure-mgmt-eventgrid==3.0.0rc9 azure-mgmt-eventgrid==3.0.0rc9