Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,073 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
After we enable lastAccessTimeTrackingPolicy on a a Blob Storage, is. there a way to find out list of all files under a folder that will be moved/deleted ahead of time.
For example, Lets say i have a storage container name logs/ & there are log files for more than 2 years old. I have policy to move files older than 730 days to cool tier. I wanted to know list of files that will be moved to the cool tier ahead of. time.
Try using the Azure PowerShell cmdlets. You can query with the lastModified date;
Get-AzureStorageBlob -Container $ContainerName -Context $Context `
| Where-Object{$_.LastModified.DateTime -gt (Get-Date).Date.AddDays(-730)}