Azure Storage Operation
Description
Use this tool to perform an Azure Blob Storage operation, either on a container or on files.
Usage
-
Create or open a process.
-
From the Process Palette, add the process action TOOL Azure Storage Operation.
-
Drag and drop one of the following elements onto the action field labeled
<AZURE_STORAGE>
:-
An Azure Storage metadata root node
-
An Azure Storage metadata container subnode
-
-
Select the action to open its properties, and configure its parameters.
-
Connect the tool to activate it in the integration flow.
Parameters
Name | Default | Description |
---|---|---|
Azure Storage Operation |
Choice of which operation to perform on Azure Storage. Possible options are:
|
|
Azure Invocation Method |
auto |
Choice of which libraries to use for Azure Storage operations. Possible options are:
To use the |
Azure Storage Endpoint Url |
Endpoint of the storage you want to access, as a URL. |
|
Azure Storage Container |
Name of the Azure Storage container to connect to. This parameter is mandatory. |
|
Azure Storage Shared Access Signature |
A shared access signature (SAS) used to authenticate requests to Azure Storage resources. The SAS must begin with the characters |
|
Azure Storage Access Key |
A storage access key used to authenticate requests to Azure Storage resources that do not support SAS. |
|
Local File Path |
Local filesystem path to a file that is sent to or retrieved from the Azure Storage container. This parameter applies to |
|
Remote File Name |
Name of a remote file created in or retrieved from the Azure Storage container. This parameter applies to |
|
Scripting Connection |
S1 |
Name of the connection used by the Runtime scripting engine. If you use multiple instances of this tool in parallel, set a different Scripting Connection name for each of those instances. The runtime opens a different scripting connection for each unique name. |
Az Copy Cap Mbps |
From metadata, otherwise |
Numerical file transfer rate limit, in megabits per second. This parameter corresponds to the |
Az Copy Timeout |
From metadata, otherwise |
Timeout when executing the azcopy command, in milliseconds. |
XPath Expression For Azure Storage |
XPath expression that references which storage to use. |
Published variables
AZCOPY_AVAILABLE
When Azure Invocation Method is set to auto
, the tool publishes a boolean variable named AZCOPY_AVAILABLE
. Its value is true when the runtime detects the azcopy utility, and false when the utility is not found.
AZURE_OPERATION_STATUS
At the end of this tool’s execution, the runtime publishes a variable named AZURE_OPERATION_STATUS
on the tool. This variable holds a string value describing the status of the operation. The status depends on your choice of operation.
Possible status codes are:
Status code | For operation | Description |
---|---|---|
CONTAINER_CREATED |
createContainer |
The |
CONTAINER_ALREADY_EXISTS |
createContainer |
The |
CONTAINER_DELETED |
deleteContainer |
The |
CONTAINER_NOT_FOUND |
deleteContainer |
The |
FILE_DELETED |
deleteFile |
The |
FILE_NOT_FOUND |
deleteFile |
The |
FILE_RETRIEVED |
getFile |
The |
FILE_NOT_RETRIEVED |
getFile |
The |
FILE_CREATED |
putFile |
The |
FILE_NOT_CREATED |
putFile |
The |
UNKNOWN_OPERATION |
The Azure Storage Operation you entered is not a valid operation. Check the field contents and select a valid operation. |