Microsoft Azure Storage Delete

You can use this activity to delete files, directories, and shares. You can also delete a blob in a container.

Settings

This tab has the following fields.

Field Description
Connection Lists all connections for a Microsoft Azure Storage account.
Service Lists the service provided. The following services are available:
  • File
  • Blob
Operation Lists all operations available for a service.

The following operations are available for File service:

  • Delete Share: Deletes a share in the Microsoft Azure Storage account.
  • Delete Directory: Deletes a directory within a share or a parent directory.
  • Delete File: Deletes a file within a directory or a share.

The following operation is available for Blob service:

  • Delete Blob: Deletes a blob in a container.

Input

The Input tab for File service has the following fields.

Operation Field Description
Delete ShareshareNameName of a share in a Microsoft Azure Storage account.
Delete Directory shareNameName of a share in a Microsoft Azure Storage account.
directoryPath (optional) Path to the parent directory from which files and directories are to be deleted.
directoryNameName of the directory to be deleted within a share or the parent directory.
Delete File shareNameName of a share in a Microsoft Azure Storage account.
directoryPath (optional) Path to the parent directory from which files and directories are to be deleted.
fileNameName of a file to be deleted.

The Input tab for Delete Blob operation has the following fields.

Operation Field Description
Delete Blob containerNameName of the container in which the blob is to be deleted.
relativePath (optional) Relative path to the blob.
blobName Name of the blob to be deleted.

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.

Note: The status code for activities is 200 if the operation is successful without an error.

The Output tab for File service has the following fields.

Operation Field Description
Delete Share isSuccess Displays the success status of the activity in the form of boolean data type.
statusCode

Displays the HTTP status code of the operation.

statusMessage Displays the status message of the operation.
shareName Displays the name of the share in a Microsoft Azure Storage account from which a particular directory or file is deleted.
Delete Directory isSuccess Displays the success status of the activity in the form of a boolean data type.
statusCode

Displays the HTTP status code of the operation.

statusMessage Displays the status message of the operation.
shareName Displays the name of the share in a Microsoft Azure Storage account from which a particular directory or file is deleted.
directoryPathDisplays the path of the parent directory from which file or directory is deleted.
directoryName Displays the name of the directory deleted within a share.
Delete File isSuccess Displays the success status of the activity in the form of a boolean data type.
statusCode

Displays the HTTP status code of the operation.

statusMessage Displays the status message of the operation.
shareName Displays the name of the share in a Microsoft Azure Storage account from which a particular directory or file is deleted.
directoryPathDisplays the path of the parent directory within which file or directory is deleted.
fileNameDisplays the name of the file to be deleted.

The Output tab for Delete Blob operation has the following fields.

Operation Field Description
Delete Blob statusCode

Displays the HTTP status code of the operation.

statusMessage Displays the status message of the operation.
Note: You can delete only one blob at a time.

Loop

If you want this activity to iterate multiple times within the flow, enter an expression that evaluates the iteration details. Select a type of iteration from the Type menu. The default type is None, which means the activity does not iterate. For more information on Loop, see the "Using the Loop Feature in an Activity" section in the TIBCO Flogo® Extension for Visual Studio Code User Guide.