Peter Hoffmann
2f81a28414
use tenant in UserPassCredentials if set ( #20751 )
...
* use tenant in UserPassCredentials if set
If you have multiple Tenants you need to set the tenant in https://github.com/Azure/msrestazure-for-python/blob/master/msrestazure/azure_active_directory.py otherwise the azure_rm.py call will fail.
see: https://github.com/ansible/ansible/pull/20750
* fixed PEP8 failure
2017-07-14 11:01:43 -07:00
Dag Wieers
5553b20828
Collated PEP8 fixes ( #25293 )
...
- Make PEP8 compliant
2017-06-02 12:14:11 +01:00
Matt Davis
d12c93ef2b
fix azure_rm version checks ( #22270 )
...
* Use packaging.version.Version instead of LooseVersion for better support of prerelease tags (eg, 0.30.0 > 0.30.0rc6)
* Add explicit check/error for msrestazure package
2017-03-03 13:28:08 -08:00
Toshio Kuratomi
f75ffe46db
Make configparser imports python3 ready
...
the ConfigParser module was renamed to configparser in Python3. Use
six.moves to import it so that the modules will function on Python3.
2017-02-03 21:15:34 -08:00
Matt Clay
cb76200c7d
PEP 8 E111 & E114 cleanup. ( #20838 )
2017-01-30 15:01:47 -08:00
Matt Clay
d0d1158c5e
PEP 8 cleanup. ( #20789 )
...
* PEP 8 E703 cleanup.
* PEP 8 E701 cleanup.
* PEP 8 E711 cleanup.
* PEP 8 W191 and E101 cleanup.
2017-01-28 00:12:11 -08:00
Matt Clay
d913f69ba1
PEP 8 W291 whitespace cleanup.
2017-01-27 17:08:02 -08:00
Matt Clay
95789f3949
PEP 8 whitespace cleanup. ( #20783 )
...
* PEP 8 E271 whitespace cleanup.
* PEP 8 W293 whitespace cleanup.
* Fix whitespace issue from recent PR.
2017-01-27 15:45:23 -08:00
Baptiste DB
d7967aa3a1
UPD Azure_rm_common with non-blocking pull request from azure_rm.py ( #20338 )
2017-01-18 14:32:17 -08:00
Andrea Tartaglia
59227d8c31
Removed dict.iteritems() in several other files.
...
This is for py3 compatibility #18506
2016-12-14 08:01:45 -08:00
Matt Davis
d1e1898b0e
fix version check to support >=rc5
2016-10-24 20:01:41 -07:00
Hidetoshi Hirokawa
595946b80e
Fix the security rules name duplication of azure_rm_common. ( #16897 )
2016-08-04 10:43:30 -07:00
Chris Houseknecht
c71a939b08
Fix authentication via params and env vars. Update guide to RC5.
2016-07-02 21:36:34 -04:00
chouseknecht
a076612b63
Update and pin to azure-2.0.0rc5
2016-07-02 18:16:43 -04:00
nitzmahone
d1b611a730
updates for Azure SDK 2.0.0rc4
2016-06-04 15:05:13 -07:00
Michael Scherer
eb52dc9af0
Port azure_rm_common.py to py3 syntax ( #15880 )
...
Since the rest of the file already use a non 2.4 syntax
(such as format), I didn't bother using the 2.4 syntax for
exceptions.
2016-05-16 08:42:28 -04:00
Brian Coca
0652fa0ce6
ran dos2unix and renamed tags cannonical option
2016-04-26 11:27:01 -04:00
chouseknecht
a79e9182e1
Set the name of the user_agent in each mangement client.
2016-04-21 17:51:28 -04:00
chouseknecht
ea07afe67b
Add missing AD user params.
2016-04-17 01:43:39 -04:00
chouseknecht
47620737fb
Adding common utils module for new Azure modules.
2016-04-16 01:13:19 -04:00