ardiffact

Home > @microsoft/azure-artifact-storage > listArtifacts

listArtifacts() function

Returns a list blobs inside an Azure Blob Storage container

Signature:

declare function listArtifacts(config: AzureBlobStorageConfig, prefix: string, filter?: string | string[]): Promise<string[]>;

Parameters

Parameter Type Description
config AzureBlobStorageConfig The AzureBlobStorageConfig used to create an instance of a Storage client
prefix string Prefix for the blob name in Azure Blob Storage
filter string | string[] Globbing pattern to use to filter blobs

Returns:

Promise<string[]>