Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagepy
themeDJango
titleAzure Connection Configuration
linenumberstrue
def get_default_azure_def():
    return """{"account":"eagleaccount","application_id":"application-id","application_secret":"BASE64ENCODEDAPPSECRET==","tenant_id":"tenant-id"}"""


Distributing to multiple accounts/containers

To distribute to multiple accounts the configuration string can be an array:

Code Block
languagejs
themeDJango
titleConfiguration Example - Push To Multiple Containers
linenumberstrue
[
    {"account":"eagleaccount1","application_id":"application-id1","application_secret":"BASE64ENCODEDAPPSECRET==","tenant_id":"tenant-id", "container_name": "container1", "target_dir": "mydropbox"},
    {"account":"eagleaccount2","application_id":"application-id2","application_secret":"BASE64ENCODEDAPPSECRET==","tenant_id":"tenant-id", "container_name": "container2", "target_dir": "mydropbox"}
]


In the above example the target_dir is optional.


If the extract has to be distributed to more than one container within same account, an array of containers can be specified:

Code Block
languagejs
themeDJango
titleConfiguration Example - Push To Several Containers, Same Account
linenumberstrue
[
    {"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"},
             ]
]