fix the premium storage account utilities (#1111)

This commit is contained in:
bmc-msft
2021-07-29 19:56:44 -04:00
committed by GitHub
parent b63784cf1c
commit aa1bdeaad7

View File

@ -75,7 +75,7 @@ def create_storage(resource_group: str, account_name: str, location: str) -> str
)
client = get_client_from_cli_profile(StorageManagementClient)
account = client.storage_accounts.create(
account = client.storage_accounts.begin_create(
resource_group, account_name, params
).result()
if account.provisioning_state != "Succeeded":