The Specify the default Azure publishing configuration should be specified in dynamic/pyrules/custom/env.py as a get_default_azure_def() function, for example:
...
In order for the result of the extract to be delivered, define to Azure the following parameter should be defined in the RTR:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<taskParameter> <name>TargetSinkType</name> <value>azureblob</value> </taskParameter> |
...
Azure Oauth Authentication
The Specify the default Azure publishing configuration should be specified in dynamic/pyrules/custom/env.py as a get_default_azure_def() function, for . For example:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
def get_default_azure_def(): return """{"account":"eagleaccount","application_id":"application-id","application_secret":"BASE64ENCODEDAPPSECRET==","tenant_id":"tenant-id"}""" |
...
To distribute to multiple accounts, the configuration string can be an array:
...
If the extract has to be distributed to more than one container within same account, you can specify an array of containers can be specified:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
[ {"account":"eagleaccount1","application_id":"application-id1","application_secret":"BASE64ENCODEDAPPSECRET==","tenant_id":"tenant-id", "containers" : [ {"container_name": "container1", "target_dir": "mydropbox1"}, {"container_name": "container2", "target_dir": "mydropbox2"}, ] } ] |
...