IPWorks Cloud 2020 Python Edition

Questions / Feedback?

list_containers Method

Lists the containers in the blob storage account.

Syntax

def list_containers() -> None: ...

Remarks

This method lists the containers in the Azure blob storage account specified by the account property.

Before calling this method, the prefix property may be set in order to restrict the results to only the items whose names begin with a given string. The MaxResults configuration setting may also be used to limit the number of results returned. The ListWithMetadata configuration setting can also be used to further tune the results returned.

Calling this method will fire the on_container_list event once for each container, and will also populate the Container* properties. It may also fire the on_metadata_list event, depending on how the ListWithMetadata setting is configured.

If there are still more containers available to list when this method returns, the container_marker property will be populated. Continue to call this method until container_marker is empty to accumulate all pages of results in the Container* properties.

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