...
Info |
---|
Starting with December 2019 release this configuration is deprecated, though still supported. The Azure publishing configuration should be defined as explained in Data Services Distribution To Multiple Destinations. |
- Specify the default Azure publishing configuration in dynamic/pyrules/custom/env.py as a get_default_azure_def() function. For example:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
def get_default_azure_def(): return """{"account":"eagleaccount","key":"BASE64ENCODEDAPPKEY=="}""" |
- To define the default container name, add a get_default_azure_container_name() function to dynamic/pyrules/custom/env.py:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
def get_default_azure_container_name(): return 'eagleml' |
...
- Optional. To define target virtual directory in container, add a get_default_azure_target_dir() function to dynamic/pyrules/custom/env.py. The directory should be without trailing and leading back slashes:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
def get_default_azure_target_dir(): return 'dropdir/eagleml' |
- *Optional. To define timeout for publishing to Azure, add get_azure_timeout() function to dynamic/pyrules/custom/env.py. The timeout parameter is expressed in seconds.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
def get_azure_timeout(): return 600 |
- In order for the result of the extract to be delivered, define to Azure the following parameter in the RTR:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<taskParameter> <name>TargetSinkType</name> <value>azureblob</value> </taskParameter> |
...