add azure_rm_webapp (#40005)

* add azure_rm_webapp

* fix lint error

* resolve comments

* fix lint

* fix lint

* fix lint

* fix lint

* fix test failure

* fix test

* fix test

* fix test

* refine ux

* resolve comments

* fix lint and test

* fix lint

* code cleanup

* combine windows_frameworks/linux_framework to one

* fix lint in doc

* fix l int

* fix lint

* fix bug

* fix bug

* fix bug

* fix bug

* fix syntax error

* fix lint error

* fix bug of wrong indent

* fix test issue

* update java framework parameter

* fix lint error

* resolve comments

* fix lint

* resolve comments

* fix bug

* update test

* fix lint

* fix test
This commit is contained in:
Yunge Zhu 2018-08-08 06:53:15 +08:00 committed by Matt Davis
parent d8ba8c03f3
commit 97942cf049
5 changed files with 1186 additions and 2 deletions

View file

@ -66,7 +66,8 @@ AZURE_API_PROFILES = {
),
'NetworkManagementClient': '2017-11-01',
'ResourceManagementClient': '2017-05-10',
'StorageManagementClient': '2017-10-01'
'StorageManagementClient': '2017-10-01',
'WebsiteManagementClient': '2016-08-01'
},
'2017-03-09-profile': {
@ -1046,7 +1047,8 @@ class AzureRMModuleBase(object):
self.log('Getting web client')
if not self._web_client:
self._web_client = self.get_mgmt_svc_client(WebSiteManagementClient,
base_url=self._cloud_environment.endpoints.resource_manager)
base_url=self._cloud_environment.endpoints.resource_manager,
api_version='2016-08-01')
return self._web_client
@property