ai4eutils/azcopy-bandwidth-test
Dan Morris 7f56569b54 no message 2020-01-06 11:11:34 -08:00
..
README.md no message 2020-01-06 11:11:34 -08:00
azcopy_upload_test.py no message 2020-01-06 11:11:34 -08:00

README.md

Introduction

Uploads a file to a storage account using a SAS URL and returns the upload bandwidth based on elapsed time and bytes transferred.

How to run

python azcopy_upload_test.py 'https://sas_url' --path 'sample.txt' --size 1 --page_blob

Description of parameters

  • sas_url: SAS URL of the blob container starting with https, this argument is required
  • path (optional): Path of file that is to be uploaded; if omitted, a file will be created
  • size (optional): Size of the file in GB, which will be used to create a sample file (default is 8GB)
  • page_blob (optional): Specifies that the target storage uses page blobs (rather than block blobs)