Skip to content

Commit 0177e28

Browse files
ListContainers documentation
1 parent df8cb32 commit 0177e28

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

content/en/docs/marketplace/platform-supported-content/modules/azure/azure-blob-storage-connector.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ The Azure Blob Storage connector contains the following operations:
7474
* `GetBlob` - Allows you to retrieve a blob. For more information, see [Get Blob to Azure Blob Storage](https://learn.microsoft.com/en-us/rest/api/storageservices/get-blob).
7575
* `DeleteBlob` - Allows you to delete a blob. For more information, see [Delete Blob from Azure Blob Storage](https://learn.microsoft.com/en-us/rest/api/storageservices/delete-blob).
7676
* `ListBlobs` - Allows you to list the blobs in a specified container. For more information, see [List Blobs from a Azure Blob Storage container](https://learn.microsoft.com/en-us/rest/api/storageservices/list-blobs?tabs=microsoft-entra-id).
77+
* `ListContainers` - Allows you to list the containers you have access to in your Azure account. For more information, see [List Containers](https://learn.microsoft.com/en-us/rest/api/storageservices/list-containers2).
7778
* `GetApplicationBearerToken` - Allows the application to request a bearer token. The response is mapped to a **EntraCredentials** object that can be used to authenticate calls to Blob Storage.
7879

7980
You can implement the operations of the connector by using them in microflows.
@@ -163,6 +164,25 @@ To use this operation in your microflow, perform the following steps:
163164

164165
The operation returns a list of **Blob** objects associated to the **ListBlobResponse**, which is a generalization of **AbstractResponse** and contains the **StatusCode** and **ReasonPhrase**.
165166

167+
#### GET_v1_Azure_ListContainers
168+
169+
Lists all containers within the specified Azure Blob Storage account. This operation requires a valid `ListContainersRequest` object and an appropriate credentials object (either `SASCredentials` or `EntraCredentials`). For more information, see [List Containers from Azure Blob Storage](https://learn.microsoft.com/en-us/rest/api/storageservices/list-containers2).
170+
171+
To use this operation in your microflow, perform the following steps:
172+
173+
1. Create a **ListContainersRequest** object and populate the following attributes:
174+
175+
* `StorageAccount` - Required; storage account name you want to perform Blob Storage operations on
176+
* `VersionAPI` - Required; API version for the Azure Storage service (for example, `2021-04-01`)
177+
* `Prefix` - Optional; filters the results to return only containers whose names begin with the specified prefix
178+
* `MaxResults` - Optional; the maximum number of results listed by the **ListContainers** operation
179+
* `Marker` - Optional; the marker used to get the next (sub)set of containers from the specified location.
180+
181+
2. Provide a valid credentials object by using the **AbstractCredentials** parameter.
182+
3. Call the **GET_v1_Azure_ListContainers** action in your microflow.
183+
184+
The operation returns a list of **Container** objects associated to the **ListContainersResponse**, which is a generalization of **AbstractResponse** and contains the **StatusCode** and **ReasonPhrase**.
185+
166186
## Technical Reference {#technical-reference}
167187

168188
The module includes technical reference documentation for the available entities, enumerations, activities, and other items that you can use in your application. You can view the information about each object in context by using the **Documentation** pane in Studio Pro.

0 commit comments

Comments
 (0)