Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 1.65 KB

azureblob_upload.md

File metadata and controls

31 lines (25 loc) · 1.65 KB

AzureBlobUpload

Upload files to Azure Blob Storage.

Parameters

Parameters Explanation Required Default Remarks
account_url Azure account URL No None
account_access_key Azure access key No None
connection_string Connection string (overrides above two parameters) No None
container_name Blob container name Yes None
src_dir Directory of source to upload Yes ""
src_pattern File pattern of source to upload. Regexp is available Yes None
dest_dir Destination directory to upload Yes None

account_url is the URL to the Azure blob storage account and can be optionally authenticated with a SAS token. account_access_key can be a SAS token string or an account shared access key (optional). Instead of them, a connection string can be also specified.

Examples

- step:
  class: AzureBlobUpload
  arguments:
    account_url: "https://<my_account_name>.blob.core.windows.net"
    account_access_key: "<account_access_key>"
    container_name: test
    src_dir: /tmp
    src_pattern: test_(.*)\.csv
    dest_dir: out