Azure File Storage (Preview)

Azure File Storage (Preview)

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 File Storage to perform various operations such as create, update, get and delete on files in your Azure Storage account.

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 file

This operation copies a file.

Required Parameters

Source url
string
Specify the Url to source file
Destination file path
string
Specify the destination file path, including target filename

Optional Parameters

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

Returns

Body
BlobMetadata

Blob metadata

Create file

This operation uploads a file to Azure File Storage.

Required Parameters

Folder path
string
Specify folder path to upload
File name
string
Specify name of the file to create
File content
binary
Specify content of the file to upload

Returns

Body
BlobMetadata

Blob metadata

Delete file

This operation deletes a file.

Required Parameters

File
string
Specify the file to delete

Returns

Body
BlobMetadata

Blob metadata

Extract archive to folder

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

Required Parameters

Source archive file path
string
Specify the path to the archive file
Destination folder path
string
Specify the path in Azure File Storage to extract the archive contents

Optional Parameters

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

Returns

array of BlobMetadata

Get file content

This operation retrieves file contents using id.

Required Parameters

File
string
Specify the file to get contents

Optional Parameters

Infer Content Type
boolean
Infer content-type based on extension

Returns

File Content
binary

The content of the file.

Get file content using path

This operation retrieves file contents using path

Required Parameters

File path
string
Specify unique path to the file

Optional Parameters

Infer Content Type
boolean
Infer content-type based on extension

Returns

File Content
binary

The content of the file.

Get file metadata

This operation retrieves file metadata using file id.

Required Parameters

File
string
Specify the file to get metadata

Returns

Body
BlobMetadata

Blob metadata

Get file metadata using path

This operation retrieves file metadata using path.

Required Parameters

File path
string
Specify unique path to the file

Returns

Body
BlobMetadata

Blob metadata

List files

This operation lists files in a folder.

Required Parameters

Folder
string
Specify the folder

Returns

Body
BlobMetadataPage

Represents a page of file metadata.

Update file

This operation updates a file in Azure File Storage.

Required Parameters

File
string
Specify the file to update
File content
binary
Specify the content to update the file with

Returns

Body
BlobMetadata

Blob metadata

Definitions

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 file metadata.

value
array of BlobMetadata
File metadata collection.