update azure-cli to 2.25.0 (#922)

This commit is contained in:
bmc-msft
2021-07-07 09:28:06 -04:00
committed by GitHub
parent aa4ed2893e
commit 636d267585
3 changed files with 13 additions and 8 deletions

View File

@ -514,7 +514,7 @@ class Client:
count += 1
try:
result = client.deployments.create_or_update(
result = client.deployments.begin_create_or_update(
self.resource_group, gen_guid(), deployment
).result()
if result.properties.provisioning_state != "Succeeded":
@ -616,7 +616,7 @@ class Client:
client = get_client_from_cli_profile(
EventGridManagementClient, subscription_id=self.get_subscription_id()
)
result = client.event_subscriptions.create_or_update(
result = client.event_subscriptions.begin_create_or_update(
src_resource_id, "onefuzz1", event_subscription_info
).result()
if result.provisioning_state != "Succeeded":