我正在使用 azure python runbook 来标记特定资源组中的所有资源。我无法找到正确的帮助/文档如何更新该资源组中的所有资源。
resource_group_params = {'location': 'westeurope'}
# Modify the Resource group
resource_group_params.update(tags={'hello': 'world', 'new': 'tag'})
print_item(client.resources.create_or_update(GROUP_NAME, resource_id, resource_group_params))
它抱怨 resources.create_or_update 至少需要 8 个参数,只提供了 4 个
任何人都可以分享我的例子或解释更新/标记资源所需的参数是什么提前谢谢。