Skip to content

Commit cba159c

Browse files
Merge pull request #10144 from strategicalliances/azure-listContainers
ListContainers documentation
2 parents 85fb3e3 + dd8bdc6 commit cba159c

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
@@ -82,6 +82,7 @@ The Azure Blob Storage connector contains the following operations:
8282
* `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).
8383
* `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).
8484
* `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).
85+
* `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).
8586
* `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.
8687
* `GetUserDelegationKey` - Allows you to retrieve a user delegation key. For more information, see [Get User Delegation Key](https://learn.microsoft.com/en-us/rest/api/storageservices/get-user-delegation-key).
8788
* `Create_SAS_Token_Blob` - Allows you to create an SAS with which to access a specific Blob.
@@ -175,6 +176,25 @@ To use this operation in your microflow, perform the following steps:
175176

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

179+
#### GET_v1_Azure_ListContainers
180+
181+
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).
182+
183+
To use this operation in your microflow, perform the following steps:
184+
185+
1. Create a **ListContainersRequest** object and populate the following attributes:
186+
187+
* `StorageAccount` - Required; storage account name you want to perform Blob Storage operations on
188+
* `VersionAPI` - Required; API version for the Azure Storage service (for example, `2021-04-01`)
189+
* `Prefix` - Optional; filters the results to return only containers whose names begin with the specified prefix
190+
* `MaxResults` - Optional; the maximum number of results listed by the **ListContainers** operation
191+
* `Marker` - Optional; the marker used to get the next (sub)set of containers from the specified location.
192+
193+
2. Provide a valid credentials object by using the **AbstractCredentials** parameter.
194+
3. Call the **GET_v1_Azure_ListContainers** action in your microflow.
195+
196+
The operation returns a list of **Container** objects associated to the **ListContainersResponse**, which is a generalization of **AbstractResponse** and contains the **StatusCode** and **ReasonPhrase**.
197+
178198
#### POST_v1_Azure_GetApplicationBearerToken
179199

180200
`GetApplicationBearerToken` – Retrieves a bearer token from the registered app you need configured on Entra Id. This operation requires a valid `GetApplicationBearerTokenRequest` object. For more information, see [Get Bearer Token](https://learn.microsoft.com/en-us/community/content/azure-rest-api-how-to-create-a-bearer-token).

0 commit comments

Comments
 (0)