As the blockblobservice got deprecated I am unable to find documentation about the list_blobs in the older version. please help me.
like in this documentation baseblobservice the description about the delimiter attribute is similar to prefix I am unable to find the difference between these.
CodePudding user response:
Version 12.x of Azure Storage Python SDK is drastically different than the previous versions. In a way the equivalent of BaseBlobService
in the previous SDK is BlobServiceClient
in the new SDK.
To list the blobs inside a blob container with custom delimiter, you would need to use walk_blobs
method of ContainerClient
and that has a delimiter
parameter. If this parameter is omitted, the default value of /
is used.