tishon/pyazure — pull request #2 by bmb (2011-11-21 14:16:23+00:00)
Title: Azure service management (and other minor additions)

Hi Tihomir, finally got time to do the fork, commit, pull of my service management additions. Happy to receive comments/criticisms...

Core service management functionality is done and exposed via the wasm attribute in the PyAzure class. Previous initialisation of PyAzure remains intact but it will also accept management cert path and subscription ID in order to initialise the PyAzure.wasm interface, plus a new PyAzure.set_storage_account method makes it possible to dynamically switch/create storage accounts accessed via the original PyAzure object. A basic example is added to sample_usage.py.