gpt4 book ai didi

azure - 是否可以通过 AZ Copy 设置 Blob 存储的属性

转载 作者:行者123 更新时间:2023-12-03 00:39:15 25 4
gpt4 key购买 nike

我们有一个指向 blob 存储容器的 Azure CDN。我们定期通过 AZ Copy 上传新文件。

我可以通过多种方式设置它,例如 https://learn.microsoft.com/nb-no/azure/cdn/cdn-manage-expiration-of-blob-content但不是批量的。

是否可以通过 AzCopy 设置 Cache-Control 属性/元数据?

最佳答案

自 2019 年 5 月起,azcopy 支持设置 Cache-Control 属性 https://github.com/Azure/azure-storage-azcopy/releases/tag/v10.1.2

以下是上面链接中相应的发布信息:

New features

  1. Headers for Content-Disposition, Content-Language and Cache-Control can now be set when uploading files to Blob Storage and to Azure Files. Run azcopy copy --help to see command line parameter information, including those needed to set the new headers.

关于azure - 是否可以通过 AZ Copy 设置 Blob 存储的属性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43141689/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com