From 981ebc79ea0fa5551f8b7b7608fb963938754452 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Fri, 9 Feb 2018 10:49:26 -0800 Subject: [PATCH] Generated from f2cd882fad212cdeb99c5df3a596c356b9a3d417 (#1949) Add missing properties for Vmss zone GA --- .../v2017_12_01/models/virtual_machine_scale_set.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set.py index 658f413ccee9..9985a60649db 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set.py @@ -55,6 +55,12 @@ class VirtualMachineScaleSet(Resource): :param single_placement_group: When true this limits the scale set to a single placement group, of max size 100 virtual machines. :type single_placement_group: bool + :param zone_balance: Whether to force stictly even Virtual Machine + distribution cross x-zones in case there is zone outage. + :type zone_balance: bool + :param platform_fault_domain_count: Fault Domain count for each placement + group. + :type platform_fault_domain_count: int :param identity: The identity of the virtual machine scale set, if configured. :type identity: @@ -86,11 +92,13 @@ class VirtualMachineScaleSet(Resource): 'overprovision': {'key': 'properties.overprovision', 'type': 'bool'}, 'unique_id': {'key': 'properties.uniqueId', 'type': 'str'}, 'single_placement_group': {'key': 'properties.singlePlacementGroup', 'type': 'bool'}, + 'zone_balance': {'key': 'properties.zoneBalance', 'type': 'bool'}, + 'platform_fault_domain_count': {'key': 'properties.platformFaultDomainCount', 'type': 'int'}, 'identity': {'key': 'identity', 'type': 'VirtualMachineScaleSetIdentity'}, 'zones': {'key': 'zones', 'type': '[str]'}, } - def __init__(self, location, tags=None, sku=None, plan=None, upgrade_policy=None, virtual_machine_profile=None, overprovision=None, single_placement_group=None, identity=None, zones=None): + def __init__(self, location, tags=None, sku=None, plan=None, upgrade_policy=None, virtual_machine_profile=None, overprovision=None, single_placement_group=None, zone_balance=None, platform_fault_domain_count=None, identity=None, zones=None): super(VirtualMachineScaleSet, self).__init__(location=location, tags=tags) self.sku = sku self.plan = plan @@ -100,5 +108,7 @@ def __init__(self, location, tags=None, sku=None, plan=None, upgrade_policy=None self.overprovision = overprovision self.unique_id = None self.single_placement_group = single_placement_group + self.zone_balance = zone_balance + self.platform_fault_domain_count = platform_fault_domain_count self.identity = identity self.zones = zones