更新时间:2023-02-09 09:34:57
假设您的存储帐户类型为General Purpose v2 (GPv2)
或Blob Storage
,则实际上您不必自己做任何事情. Azure存储可以为您做到这一点.
Assuming your storage account's type is either General Purpose v2 (GPv2)
or Blob Storage
, you actually don't have to do anything by yourself. Azure Storage can do this for you.
您将使用Blob Lifecycle Management
并在其中定义一个策略,以删除blob(如果它们已超过30天),Azure存储将为您处理删除问题.
You'll use Blob Lifecycle Management
and define a policy there to delete blobs if they are older than 30 days and Azure Storage will take care of deletion for you.
您可以在此处了解更多信息: https://docs.microsoft.com/zh-CN/azure/storage/blobs/storage-lifecycle-management-concepts .
You can learn more about it here: https://docs.microsoft.com/en-us/azure/storage/blobs/storage-lifecycle-management-concepts.