IPWorks Cloud 2020 Node.js Edition

Questions / Feedback?

MetadataList Event

Fires once for each metadata item returned when listing metadata.

Syntax

azureblob.on('MetadataList', [callback])

Callback

The 'callback' is called when the 'MetadataList' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.container
e.blob
e.snapshot
e.name
e.value

Remarks

This event fires once for each metadata item returned when GetBlobInfo or GetContainerInfo is called. If the ListWithMetadata configuration setting is enabled, it also fires as metadata for each individual blob or container is returned when ListBlobs or ListContainers is called.

Container is the name of the container that the blob is in (if Blob is non-empty), or that the metadata item is associated with (if Blob is empty).

Blob, if non-empty, is the name of the blob that the metadata item is associated with.

Snapshot, if non-empty, is the opaque DateTime value that identifiers the blob snapshot that the metadata item is associated with.

Name is the name of the metadata item, without the x-ms-meta- prefix.

Value the metadata item's value.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 Node.js Edition - Version 20.0 [Build 8265]