Skip to main content

Azure Blob

You can use the Azure Blob Execution Method within JAMS to delete, download, or upload an Azure Blob. This Execution Method makes it easy to share, update, and maintain files in your Azure environment. No scripting is required for any of these options. Only a single operation can be performed on a single path/file/Blob. The Execution Method does not perform container-level operations, such as creating a container, deleting a container, or modifying container rules.

Before You Begin

Ensure you have the following information from Azure before you configure this integration:

  • Tenant ID

  • Client ID

    • The Client application must have the Storage Blob Data Contributor permission on the storage account.
  • Client Secret

  • Storage Account Name

  • Remote Container Name

  • Blob Name

Creating Credentials

You need two Credentials in JAMS to run an Azure Blob operation:

  • A Credential is used to store the Client Secret value from Azure in the Password fields. The Logon As field can be left empty.
  • A Credential is used to run the Job in JAMS.

See Working with User Credential Definitions for more information on creating a Credential.

Creating a Connection Store Item for Azure Blob

To connect to an Azure Blob, you need a Connection Store item in JAMS. See Connections for Integrations for the steps to configure the Connection.

Creating a Job in JAMS to delete an Azure Blob

The AzureBlob Execution Method lets you delete a file/Blob.

note

This Delete option will also delete any snapshots of the Blob. These cannot be recovered.

  1. Click Definitions from the JAMS Shortcuts menu.
  2. In the Folder Navigator, click a Folder where the Job will be saved. You may need to create a Folder if one does not exist. See Working with Folders.
  3. Click +.
  4. In the Name field, enter a name for the Job.
  5. In the Execution Method field, select AzureBlob.
  6. Click Ok.
  7. On the Source tab, select Delete from the Blob Operation field.
  8. Click Continue. The type of operation you selected is displayed in the Blob Operation field.
  9. In the Azure Blob Connection field, select the Connection Store item that you created for an Azure Blob.
  10. In the Remote Container Name field, enter the name of the container.
  11. In the Blob Name field, enter the name of the Azure Blob to delete.
  12. Click the Schedule tab to add schedule items to set when the Job will run.
  13. Click the Properties tab.
  14. In the Execute As field, select the JAMS Credential to run the Job.
  15. In the Agent field, select the Agent if the Job will not run on the Scheduler.
  16. Click Save and Close.

Creating a Job in JAMS to download an Azure Blob

The AzureBlob Execution Method lets you download a file/Blob. If the file already exists on your local machine, it will be overwritten.

  1. Click Definitions from the JAMS Shortcuts menu.
  2. In the Folder Navigator, click a Folder where the Job will be saved. You may need to create a Folder if one does not exist. See Working with Folders.
  3. Click +.
  4. In the Name field, enter a name for the Job.
  5. In the Execution Method field, select AzureBlob.
  6. Click Ok.
  7. On the Source tab, select Download from the Blob Operation field.
  8. Click Continue. The type of operation you selected is displayed in the Blob Operation field.
  9. In the Azure Blob Connection field, select the Connection Store item that you created for an Azure Blob.
  10. In the Remote Container Name field, enter the name of the container.
  11. In the Blob Name field, enter the name of the Blob.
  12. In the Local Path field, enter the path, including the parent folder, where the Blob will be downloaded onto your local machine.
  13. (Optional) In the Local File Name field, enter the name of the file that will be downloaded.
  14. Click the Schedule tab to add schedule items to set when the Job will run.
  15. Click the Properties tab.
  16. In the Execute As field, select the JAMS Credential to run the Job.
  17. In the Agent field, select the Agent if the Job will not run on the Scheduler.
  18. Click Save and Close.

Creating a Job in JAMS to upload an Azure Blob

The AzureBlob Execution Method lets you upload a file/Blob to Azure. If the file already exists, it will be overwritten.

  1. Click Definitions from the JAMS Shortcuts menu.
  2. In the Folder Navigator, click a Folder where the Job will be saved. You may need to create a Folder if one does not exist. See Working with Folders.
  3. Click +.
  4. In the Name field, enter a name for the Job.
  5. In the Execution Method field, select AzureBlob.
  6. Click Ok.
  7. On the Source tab, select Upload from the Blob Operation field.
  8. Click Continue. The type of operation you selected is displayed in the Blob Operation field.
  9. In the Azure Blob Connection field, select the Connection Store item that you created for an Azure Blob.
  10. In the Remote Container Name field, enter the name of the container.
  11. In the Blob Name field, enter the name of the Blob. If an Azure Blob with the same name already exists, it will be overwritten.
  12. In the Local Path field, enter the path, including the parent folder, to the file.
  13. In the Local File Name field, enter the name of the file, including the file extension.
  14. Click the Schedule tab to add schedule items to set when the Job will run.
  15. Click the Properties tab.
  16. In the Execute As field, select the JAMS Credential to run the Job.
  17. In the Agent field, select the Agent if the Job will not run on the Scheduler.
  18. Click Save and Close.

Canceling the Job

You can cancel a JAMS Job that is deleting, downloading, or uploading an Azure Blob. If you cancel the Job for a download operation, a partial file may be saved. For the upload operation, no file will be uploaded if the Job is canceled.

  1. Click Monitor from the JAMS Shortcuts menu.
  2. Right-click the Job that is running and select Cancel.
  3. Click Yes.