mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-07 08:54:01 -07:00
upgrading azure-mgmt-compute to the latest (#47601)
* upgrading azure-mgmt-compute to the latest
This commit is contained in:
parent
60dcfc3a09
commit
406da7a568
7 changed files with 25 additions and 23 deletions
|
@ -609,10 +609,10 @@ class AzureRMVirtualMachineScaleSet(AzureRMModuleBase):
|
|||
load_balancer_inbound_nat_pools = None
|
||||
if self.load_balancer:
|
||||
load_balancer = self.get_load_balancer(self.load_balancer)
|
||||
load_balancer_backend_address_pools = ([self.compute_models.SubResource(resource.id)
|
||||
load_balancer_backend_address_pools = ([self.compute_models.SubResource(id=resource.id)
|
||||
for resource in load_balancer.backend_address_pools]
|
||||
if load_balancer.backend_address_pools else None)
|
||||
load_balancer_inbound_nat_pools = ([self.compute_models.SubResource(resource.id)
|
||||
load_balancer_inbound_nat_pools = ([self.compute_models.SubResource(id=resource.id)
|
||||
for resource in load_balancer.inbound_nat_pools]
|
||||
if load_balancer.inbound_nat_pools else None)
|
||||
|
||||
|
@ -630,7 +630,7 @@ class AzureRMVirtualMachineScaleSet(AzureRMModuleBase):
|
|||
self.security_group = self.network_models.NetworkSecurityGroup(id=nsg.get('id'))
|
||||
|
||||
vmss_resource = self.compute_models.VirtualMachineScaleSet(
|
||||
self.location,
|
||||
location=self.location,
|
||||
tags=self.tags,
|
||||
upgrade_policy=self.compute_models.UpgradePolicy(
|
||||
mode=self.upgrade_policy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue