Microsoft Azure Storage Query
You can use this activity to download files or list the shares, directories, and files. You can also list blobs in a container and download a blob from a container.
Settings
This tab has the following fields.
Input
| Operation | Field | Description |
|---|---|---|
| Get File | shareName | Name of a share in a Microsoft Azure storage account. |
| directoryPath | (optional) Path to the parent directory. | |
| fileName | Name of the file to be downloaded. | |
| List Directories and Files | shareName | Name of a share in a Microsoft Azure storage account. |
| directoryPath | (optional) Path to the parent directory. | |
| prefix | (optional) Filtered results from the list of directories and files which return only files and directories whose name starts with the specified prefix. | |
| maxresults | (optional) Maximum number of files and directories that can return from the server. If your request specifies a number greater than 5000, the server will return only 5000 files. | |
| nextmarker | (optional) The operation returns a marker value within the response body if there are more list items to retrieve than what is currently returned. This marker value is then used in the consequent operation to request the next set of list items. | |
| List Shares | prefix | (optional) Filtered results from the list of directories and files which return only files and directories whose name starts with the specified prefix. |
| maxresults | (optional) Maximum number of files and directories that can return from the server. If your request specifies a number greater than 5000, the server will return only 5000 files. | |
| nextmarker | (optional) The operation returns a marker value within the response body if there are more list items to retrieve than what is currently returned. This marker value is then used in the consequent operation to request the next set of list items. |
Output
The Output tab displays the output schema of the activity in a tree structure format. The information in the schema varies based on the fields selected on the Configuration tab. The properties that are displayed in the schema correspond to the output of this activity and can be used as input by subsequent activities in the flow.
| Operation | Field | Description |
|---|---|---|
| Get File | isSuccess | Displays the success status of the activity in the form of boolean datatype. |
| shareName | Displays the name of share in a Microsoft Azure Storage account. | |
| directoryPath | Displays the path to the parent directory. | |
| fileName | Displays the name of the file. | |
| statusCode | Displays the http status code of the operation. | |
| statusMessage | Displays the status message of the operation. | |
| fileContent | Returns the content of the file in base64 encoded format. | |
| List Directories and Files | Directory array | Displays the properties of directories. |
| File array | Displays the properties of files. | |
| NextMarker | The operation returns a marker value within the response body if there are more list items to retrieve than what is currently returned. This marker value is then used in the consequent operation to request the next set of list items. | |
| List Shares | Shares array | Displays the metadata properties of the shares. |
| NextMarker | The operation returns a marker value within the response body if there are more list items to retrieve than what is currently returned. This marker value is then used in the consequent operation to request the next set of list items. |
| Field | Description | |
|---|---|---|
| List Blobs | listofBlobs | Lists the blobs present in the container. |
| containerName | Displays the name of the container in a Microsoft Azure Storage account. | |
| statusMessage | Displays the status message of the operation. | |
| Download Blob | containerName | Displays the name of the container in a Microsoft Azure Storage account. |
| blobName | Displays the name of the blob. | |
| blobContent | Returns the content of the blob in base64 encoded format. | |
| statusMessage | Displays the status message of the operation. |
Loop
If you would like this activity to iterate multiple times within the flow, enter an expression that evaluates to the iteration details. Select a type of iteration from the Type menu. The default type is None, which means the activity will not iterate. Refer to the "Using the Loop Feature in an Activity" topic in the TIBCO Flogo® Enterprise documentation.
