Access blob file using time stamp in Azure -


i want access blob file getting generated out of azure ml web service along ilearner , csv file. problem file getting generated automatically guid name, , no response mentioning existence of file. know file getting generated can access through azure portal. automatically access file , possibility can see using time stamp of other file created @ same instance. there api or method available access blobs created @ particular instance using time stamp instead of file name?

according description, guess used export data module. requirements, highly recommended replace export data execute python script in azure machine learning allows customize blob file name.

for introduction execute python script, refer official documentation here.

please refer following steps implement:

step 1: please use python virtualenv create python independent running environment, specific steps please refer https://virtualenv.pypa.io/en/stable/userguide/, use pip install command download azure storage related scripts.

enter image description here

compress of files in lib/site-packages folder zip package (i'm calling azure - storage - package here)

step 2: upload zip package azure machine learning workspace dataset.

enter image description here

specific steps please refer technical notes.

after success, see uploaded package in dataset list, dragging third node of execute python script.

enter image description here

step 3 : customize blob file name in python script timestamp, add guid ensure uniqueness @ end of file name. provided simple snippet of code:

import pandas pd azure.storage.blob import blockblobservice import time   def azureml_main(dataframe1 = none, dataframe2 = none):     myaccount= '****'     mykey= '****'      block_blob_service = blockblobservice(account_name=myaccount, account_key=mykey)      block_blob_service.create_blob_from_text('test', 'str(int(time.time()))+'.txt', 'upload image test')      return dataframe1, 

also,you refer thread access azure blog storage within azure ml experiment.

hope helps you.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -