Azure Storage

Azure Blob storage is Microsoft's object storage solution for the cloud. Blob storage is optimized for storing massive amounts of unstructured data.

Integration with LogicHub

Connecting with Azure storage

To connect to Azure Storage following details are required:

  • Connection String: Connection string to which connection will be made.

Actions with Azure Compute

Create Container

Create a container with specific details.

Inputs to this Action

  • Connection: Choose a connection that you have created.
  • Container Column Name: Column name from the parent table to lookup value for container_name.
  • Optional: Container Metadata Column Name: Column name from parent table to lookup value for container_metadata. if not passed, the metadata column will not be read from the parent table.
  • Optional: Container Public Access Policy Column Name: Column name from the parent table to lookup value for container public access policy.
    The only possible values in the parent table will be {None, container, blob}. if not passed. None public access policy will be applied on all rows of the parent table.

Output of Action
Success/Failure Message.

Upload File

Upload file on a given container.

Inputs to this Action

  • Connection: Choose a connection that you have created.
  • Container Column Name: Column name from the parent table to lookup value for container_name.
  • File Column Name: Column name from the parent table to lookup value for a file.
  • Local File Path Column Name: Column name from the parent table to lookup value for local file path which will be uploaded.

Output of Action
Success/Failure Message.

Download File

Download file from the given container.

Inputs to this Action

  • Connection: Choose a connection that you have created.
  • Container Column Name: Column name from the parent table to lookup value for container_name.
  • File Column Name: Column name from the parent table to lookup value for a file.

Output of Action
Success/Failure Message.

List File

List file in a given container.

Inputs to this Action

  • Connection: Choose a connection that you have created.
  • Container Column Name: Column name from the parent table to lookup value for container_name.
  • Optional: Search Key Column Name: Column name from the parent table to lookup value for search key. if the search key is mentioned then only the file name starting with the search key will come in the result else all the files of the container will be listed.

Output of Action
Return List of dict where each dict contains the detail of a file.

Set Access Policy

Add access Policy on the container.

Inputs to this Action

  • Connection: Choose a connection that you have created.
  • Container Column Name: Column name from the parent table to lookup value for container_name.
  • Optional: Container Public Access Policy Column Name:- Column name from the parent table to lookup value for container public access policy. The only possible values in the parent table will be {None, container, blob}. if not passed, the Public access policy will be taken as None.
  • Read Permission Column Name: Column name from the parent table to lookup value for read permission. The only possible values in the parent table will be {true, false}.
  • Write Permission Column Name: Column name from the parent table to lookup value for write permission. The only possible values in the parent table will be {true, false}.
  • Delete Permission Column Name: Column name from the parent table to lookup value for delete permission. The only possible values in the parent table will be {true, false}.
  • List Permission Column Name: Column name from the parent table to lookup value for List permission. The only possible values in the parent table will be {true, false}.
  • Start Time Column Name: Column name from the parent table to lookup value for the start time of the policy. Example: 2017-05-22T10:00:00.
  • End Time Column Name: Column name from the parent table to lookup value for the end time of the policy. Example: 2017-05-22T10:00:00
  • Policy Identifier Column Name: Column name from the parent table to lookup value for policy identifier string.

Output of Action
Success/Failure Message.

Get File Access URL

Get file URL with access as per the access policy.

Inputs to this Action

  • Connection: Choose a connection that you have created.
  • File Column Name: Column name from the parent table to lookup value for file_name.
  • Container Access Policy Identifier Column Name: Column name from the parent table to lookup value for container access policy which will be applied on the blob.

Output of Action
Return the URL of the blob with the applied access policy.


Did this page help you?