Add cloud environment support

Add environment parameter to support other azure instance such as Azure China.
Merge pull request #1 from catweisun/master

Add cloud environment support