REST API to manage and find data with Blob Index for Azure Storage. (Preview) - JackyChiou/jackychiou.github.io GitHub Wiki
How to get started To enroll in the Blog Index preview, submit a request to register this feature to your subscription by running the following PowerShell or CLI commands:
Register by using PowerShell
Register-AzProviderFeature -FeatureName BlobIndex -ProviderNamespace Microsoft.Storage
Register-AzResourceProvider -ProviderNamespace Microsoft.Storage
Register by using Azure CLI
az feature register --namespace Microsoft.Storage --name BlobIndex
az provider register --namespace 'Microsoft.Storage'
After your request is approved, any existing or new General-purpose v2 (GPv2) storage accounts in France Central and France South can leverage Blob Index’s capabilities. As with most previews, we recommend that this feature should not be used for production workloads until it reaches general availability.
For more information: https://azure.microsoft.com/en-us/blog/manage-and-find-data-with-blob-index-for-azure-storage-now-in-preview/
REST API Sample: I did a test in my lab and I can use the tag: x-ms-tags: "Date" > '2018-06-18'.
My request:
GET https://jackyst2.blob.core.windows.net/container1?comp=list&include=tags&restype=container 1.1
x-ms-version: 2019-10-10
x-ms-tags: "Date" > '2018-06-18'
x-ms-date: Wed, 03 Jun 2020 02:39:07 GMT
Authorization: SharedKey jackyst2:yourkey
Host: jackyst2.blob.core.windows.net
For more inforamtion: https://review.docs.microsoft.com/en-us/azure/storage/blobs/storage-manage-find-blobs?tabs=azure-portal&branch=master#finding-data-using-blob-index-tags
HTH. 2020-June-3 By Jacky