Azure Blob Storage

Azure Blob Storage

Microsoft Azure Storage provides a massively scalable, durable, and highly available storage for data on the cloud, and serves as the data storage solution for modern applications. Connect to Blob Storage to perform various operations such as create, update, get and delete on blobs in your Azure Storage account.

Note:

  • This is a Standard connector.

General Limits

Name Value
Maximum file size with enabled chunking (in MB) 1024
Maximum file size with disabled chunking, maximum archive size for extraction, maximum size of a source for copy blob operation in case of absolute Uri (in MB) 50
Maximum number of files in archive 100
Maximum total size of files in archive (in MB) 750
Maximum page size for List blobs 5000
Maximum trackable number of items inside of a virtual folder for trigger 30000
Maximum blob size for copy blob within one storage account (source is a relative path) unlimited

Throttling Limits

Name Calls Renewal Period
API calls per connection 600 60 seconds

Creating a connection

To connect your account, you will need the following information:

Azure Storage Account name
string
Name of the storage account the connector should use.
Azure Storage Account Access Key
securestring
Specify a valid primary/secondary storage account access key.

Actions

Copy blob

This operation copies a blob.

Required Parameters

Source url
string
Specify the Url to source blob
Destination blob path
string
Specify the destination blob path, including target blobname

Optional Parameters

Overwrite?
boolean
Should the destination blob be overwritten (true/false)?

Returns

Body
BlobMetadata

Blob metadata

Create SAS URI by path

This operation creates a SAS link for a blob using the path.

Required Parameters

Blob path
string
The unique path of the blob.

Optional Parameters

Group Policy Identifier
string
The string identifying a stored access policy.
Permissions
string
The permissions specified on the SAS (Values separated by comma).
Start Time
date-time
The date and time at which the SAS becomes valid (example: '2017-11-01T15:30:00+00:00'). Default = now().
Expiry Time
date-time
The date and time after which the SAS is no longer valid (example: '2017-12-01T15:30:00+00:00'). Default = now() + 24h.
Shared Access Protocol
string
The allowed protocols (https only, or http and https). Null if you don't want to restrict protocol.
IP address or IP address range
string
The allowed IP address or IP address range. Null if you don't want to restrict based on IP address.

Returns

Body
SharedAccessSignature

Shared access signature

Create blob

This operation uploads a blob to Azure Blob Storage.

Required Parameters

Folder path
string
Specify folder path to upload
Blob name
string
Specify name of the blob to create
Blob content
binary
Specify content of the blob to upload

Optional Parameters

Content-Type
string
Specify content-type of the blob to upload.

Returns

Body
BlobMetadata

Blob metadata

Create block blob

This operation uploads a block blob to Azure Blob Storage.

Required Parameters

Specify folder path to upload
string
Specify folder path to upload.
Specify name of the blob to create
string
Specify name of the blob to create.
Blob content
binary
Specify content of the blob to upload.

Optional Parameters

Content-Type
string
Specify content-type of the blob to upload.

Returns

Body
BlobMetadata

Blob metadata

Delete blob

This operation deletes a blob.

Required Parameters

Blob
string
Specify the blob to delete

Returns

Body
BlobMetadata

Blob metadata

Extract archive to folder

This operation extracts an archive blob into a folder (example: .zip).

Required Parameters

Source archive blob path
string
Specify the path to the archive blob
Destination folder path
string
Specify the path in Azure Blob Storage to extract the archive contents

Optional Parameters

Overwrite?
boolean
Should destination blob be overwritten (true/false)?

Returns

array of BlobMetadata

Get Blob Metadata

This operation retrieves blob metadata using blob id.

Required Parameters

Blob
string
Specify the blob

Returns

Body
BlobMetadata

Blob metadata

Get Blob Metadata using path

This operation retrieves blob metadata using path.

Required Parameters

Blob path
string
Specify unique path to the blob

Returns

Body
BlobMetadata

Blob metadata

Get available access policies

This operation gets available shared access policies for a blob.

Required Parameters

Blob path
string
The unique path of the blob.

Returns

Get blob content

This operation retrieves blob contents using id.

Required Parameters

Blob
string
Specify the blob

Optional Parameters

Infer Content Type
boolean
Infer content-type based on extension

Returns

File Content
binary

The content of the file.

Get blob content using path

This operation retrieves blob contents using path

Required Parameters

Blob path
string
Specify unique path to the blob

Optional Parameters

Infer Content Type
boolean
Infer content-type based on extension

Returns

File Content
binary

The content of the file.

List blobs

This operation lists blobs in a container.

Required Parameters

Folder
string
Specify the folder

Optional Parameters

Paging Marker
string
A marker that identifies the portion of the list to be returned with the list operation
Flat Listing
boolean
Whether or not to list blobs in flat listing

Returns

Body
BlobMetadataPage

Represents a page of blob metadata.

List blobs in root folder

This operation lists blobs in the Azure Blob Storage root folder.

Optional Parameters

Paging Marker
string
A marker that identifies the portion of the list to be returned with the list operation

Returns

Body
BlobMetadataPage

Represents a page of blob metadata.

Set blob tier by path

This operation sets a tier for a block blob on a standard storage account using the path.

Required Parameters

Blob path
string
The unique path of the blob.
Blob Tier
string
The new tier for the blob.

Returns

Body
BlobMetadata

Blob metadata

Update blob

This operation updates a blob in Azure Blob Storage.

Required Parameters

Blob
string
Specify the blob to update
Blob content
binary
Specify the content of the blob to update

Optional Parameters

Content-Type
string
Specify content-type of the blob to update.

Returns

Body
BlobMetadata

Blob metadata

Triggers

When a blob is added or modified (properties only)

This operation triggers a flow when one or more blobs are added or modified in a container. This trigger will only fetch the file metadata. To get the file content, you can use the "Get file content" operation.

Required Parameters

Container
string
Select a container

Optional Parameters

Number of blobs to return from the trigger
integer
Max blob count (1-100)

Returns

List of Files
BlobMetadata

Blob metadata

Definitions

SharedAccessSignatureBlobPolicy

The set of parameters to generate a SAS link.

Expiry Time
date-time
The date and time after which the SAS is no longer valid (example: '2017-12-01T15:30:00+00:00'). Default = now() + 24h.
Group Policy Identifier
string
The string identifying a stored access policy.
IP address or IP address range
string
The allowed IP address or IP address range. Null if you don't want to restrict based on IP address.
Permissions
string
The permissions specified on the SAS (Values separated by comma).
Shared Access Protocol
string
The allowed protocols (https only, or http and https). Null if you don't want to restrict protocol.
Start Time
date-time
The date and time at which the SAS becomes valid (example: '2017-11-01T15:30:00+00:00'). Default = now().

SharedAccessSignature

Shared access signature

Web Url
uri
A URL to an object with access token.

BlobMetadata

Blob metadata

DisplayName
string
The display name of the file or folder.
ETag
string
The etag of the file or folder.
FileLocator
string
The filelocator of the file or folder.
Id
string
The unique id of the file or folder.
IsFolder
boolean
A boolean value (true, false) to indicate whether or not the blob is a folder.
LastModified
date-time
The date and time the file or folder was last modified.
MediaType
string
The media type of the file or folder.
Name
string
The name of the file or folder.
Path
string
The path of the file or folder.
Size
integer
The size of the file or folder.

BlobMetadataPage

Represents a page of blob metadata.

Next page marker
string
A marker which can be used to retrieve the next page.
nextLink
string
An Url which can be used to retrieve the next page.
value
array of BlobMetadata
Blob metadata collection.