Documentation: _blobFind
Function#
The _blobFind
function searches for blobs (files) in an Azure Blob Storage container that match a specified prefix. This function returns a JSON-serialized list of blob names that start with the given prefix. Before using this function, ensure that you have established a connection to Azure Blob Storage using the _blobConnect
function.Function Signature:#
Parameters:#
Description: The prefix (initial part of the name) used to filter and find blobs within the Azure Blob Storage container. Only blobs whose names start with this prefix will be included in the result.
Return Value:#
A JSON-serialized string representing a list of blob names that match the specified prefix.
Function Workflow:#
1.
Verify that _blobConnect
has been called successfully to establish a connection to Azure Blob Storage and specify the container. This function depends on an active connection to function correctly.
2.
Use the Azure Blob Storage client to search for blobs within the specified container whose names start with the provided prefix
.
3.
Convert the list of matching blob names to a JSON-serialized string.
4.
Return the JSON string representing the list of blobs that match the prefix.
Example Usage:#
Important Considerations:#
Ensure that _blobConnect
has been successfully called before using _blobFind
. The function relies on an established connection to perform the search.
The prefix
parameter must be specified accurately to filter blobs effectively. Ensure that the prefix matches the beginning of the blob names you are searching for.
By using _blobFind
, you can efficiently locate and retrieve a list of blobs in Azure Blob Storage that match a specific naming pattern, facilitating organized file management.Modified at 2024-08-23 12:41:10