Fixes #37731 Create Internal Loadbalancers with azure_rm_loadbalancer, support SKU (#38077)

* create internal loadbalancer

* fix test

* remove duplicate test

* clean up

* fix doc

* lint

* add sku support

* update version

* change to the version the same as CLI

* add pip support sku

* fix lint

* fix test

* Update main.yml

* add changelog entry
This commit is contained in:
Yuwei Zhou 2018-05-04 13:17:05 +08:00 committed by Zim Kalinowski
parent 17a4553c68
commit 9348809184
5 changed files with 151 additions and 19 deletions

View file

@ -933,13 +933,13 @@ class AzureRMModuleBase(object):
if not self._network_client:
self._network_client = self.get_mgmt_svc_client(NetworkManagementClient,
base_url=self._cloud_environment.endpoints.resource_manager,
api_version='2017-06-01')
api_version='2017-11-01')
return self._network_client
@property
def network_models(self):
self.log("Getting network models...")
return NetworkManagementClient.models("2017-06-01")
return NetworkManagementClient.models("2017-11-01")
@property
def rm_client(self):