Setting Azure Blob Storage Job Properties Through Scripts

Attributes defined for an object affect how the object is processed. Script statements allow you to dynamically change those object attributes and assign new values when the task is generated. The new values are only valid for the current generation and are not permanently stored in the object.

You can define the values of any of the settings of all Azure Blob Storage Jobs using scripts. You do this by using :PUT_ATT commands on the Pre-Process object definition page.

For more information, see the Automic Automation product documentation:

This page includes the following:

Copy Blob Job Attributes

The attributes available for Azure Blob Storage Copy File Jobs are the following:

  • connection

    Changes the value of the Connection object definition

    Value: text

  • destinationBlobName

    Changes the value of the Destination Blob Name definition

    Value: text

  • destinationContainer

    Changes the value of the Destination Container definition

    Value: text

  • sourceBlobName

    Changes the value of the Source Blob Name definition

    Value: text

  • sourceContainer

    Changes the value of the Source Container definition

    Value: text

  • deleteAfterCopy

    Defines if you want to delete the files after they have been copied or not.

    Values: 0 (do not delete), 1 (delete)

  • enableOverwrite

    Changes the value of the Enable Overwrite definition

    Value: text

  • fileFilterRegex

    Changes the value of the File Filters definition

    Value: text

  • retrytimeout

    Changes the value of the Retry Timeout definition

    Value: text

  • targetDirectory

    Changes the value of the Target Directory definition

    Value: text

Delete File Job Attributes

The attributes available for Azure Blob Storage Delete Blob Jobs are the following:

  • connection

    Changes the value of the Azure Blob Storage Connection object definition

    Value: text

  • container

    Changes the value of the Container definition

    Value: text

  • sourcefilePath

    Changes the value of the Source Blob Path definition

    Value: text

  • fileFilterRegex

    Changes the value of the File Filters definition

    Value: text

  • retrytimeout

    Changes the value of the Retry Timeout definition

    Value: text

Download File Job Attributes

The attributes available for Azure Blob Storage Download File Jobs are the following:

  • connection

    Changes the value of the Azure Blob Storage Connection object definition

    Value: text

  • container

    Changes the value of the Container definition

    Value: text

  • sourcefilePath

    Changes the value of the Source Blob Path definition

    Value: text

  • fileFilterRegex

    Changes the value of the File Filters definition

    Value: text

  • targetDirectory

    Changes the value of the Target Directory definition

    Value: text

  • destinationfilePath

    Changes the value of the Target File Name definition

    Value: text

  • enableOverwrite

    Changes the value of the Enable Overwrite definition

    Value: text

  • retrytimeout

    Changes the value of the Retry Timeout definition

    Value: text

  • fileOwner

    Changes the value of the File Owner definition

    Value: text

  • fileOwnerGroup

    Unix only. Changes the value of the File Owner Group definition

    Value: text

  • filePermission

    Changes the value of the File Permissions definition

    Value: text

Exist File Job Attributes

The attributes available for Azure Blob Storage Exist File Jobs are the following:

  • connection

    Changes the value of the Azure Blob Storage Connection object definition

    Value: text

  • container

    Changes the value of the Container definition

    Value: text

  • blobName

    Changes the value of the Azure Blob Storage Blob Name object definition

    Value: text

  • useRegex

    Changes the value of the Use Regex option

    Value: 0 (do not use regex), 1 (use regex)

  • queryParam

    Changes the value of the Query Parameters definition

    Value: Text

Monitor File Job Attributes

The attributes available for Azure Blob Storage Monitor File Jobs are the following:

  • blobName

    Changes the value of the Azure Blob Storage Blob Name object definition

    Value: text

  • connection

    Changes the value of the Azure Blob Storage Connection object definition

    Value: text

  • container

    Changes the value of the Container definition

    Value: text

  • monitorjobtype

    Changes the value of the Monitor Job Type definition

    Value: text, which can be CREATE, UPDATE or GENERATE.

  • queryParam

    Changes the value of the Query Parameters definition

    Value: text

  • returnfileuri

    Changes the Return File URI definition

    Values: 0 (do not return file URI), 1 (return file URI)

  • sleepinterval

    Changes the value of the Sleep Interval definition

    Value: text

  • steadystate

    Changes the value of the Steady State definition

    Value: text

  • useRegex

    Changes the Use Regex definition

    Values: 0 (do not use regex), 1 (use regex)

Upload File Job Attributes

The attributes available for Azure Blob Storage Upload File Jobs are the following:

  • connection

    Changes the value of the Azure Blob Storage Connection object definition

    Value: text

  • blobType

    Changes the value of the Blob Type definition

    Default value: Block blob

  • Container

    Changes the value of the Container definition

    Value: text

  • sourcefilePath

    Changes the value of the Source File Path definition.

    Value: text

  • fileFilterRegex

    Changes the value of the File Filters definition

    Value: text

  • targetDirectory

    Changes the value of the Target Directory definition

    Value: text

  • blobName

    Changes the value of the Azure Blob Storage Blob Name object definition

    Value: text

  • enableOverwrite

    Changes the value of the Enable Overwrite definition

    Value: text

  • retrytimeout

    Changes the value of the Retry Timeout definition

    Value: text

See also: