【发布时间】:2019-11-25 11:13:39
【问题描述】:
我正在尝试编写 Python 脚本以在 Azure 存储帐户上启用“已启用安全传输”。我无法理解我需要为以下代码输入的内容:
storage_account = storage_client.storage_accounts.update(
GROUP_NAME, STORAGE_ACCOUNT_NAME,
StorageAccountUpdateParameters(enable_https_traffic_only(bool=true))
)
我已经尝试了几乎所有我能想到的将这个值设置为 true 的组合,有没有人让这个场景工作?
【问题讨论】:
标签: python azure azure-storage azure-sdk-python