@@ -4254,6 +4254,10 @@ class VirtualMachineExtension(Resource):
42544254 deployed, however, the extension will not upgrade minor versions unless
42554255 redeployed, even with this property set to true.
42564256 :type auto_upgrade_minor_version: bool
4257+ :param enable_automatic_upgrade: Indicates whether the extension should be
4258+ automatically upgraded by the platform if there is a newer version of the
4259+ extension available.
4260+ :type enable_automatic_upgrade: bool
42574261 :param settings: Json formatted public settings for the extension.
42584262 :type settings: object
42594263 :param protected_settings: The extension can contain either
@@ -4287,6 +4291,7 @@ class VirtualMachineExtension(Resource):
42874291 'virtual_machine_extension_type' : {'key' : 'properties.type' , 'type' : 'str' },
42884292 'type_handler_version' : {'key' : 'properties.typeHandlerVersion' , 'type' : 'str' },
42894293 'auto_upgrade_minor_version' : {'key' : 'properties.autoUpgradeMinorVersion' , 'type' : 'bool' },
4294+ 'enable_automatic_upgrade' : {'key' : 'properties.enableAutomaticUpgrade' , 'type' : 'bool' },
42904295 'settings' : {'key' : 'properties.settings' , 'type' : 'object' },
42914296 'protected_settings' : {'key' : 'properties.protectedSettings' , 'type' : 'object' },
42924297 'provisioning_state' : {'key' : 'properties.provisioningState' , 'type' : 'str' },
@@ -4300,6 +4305,7 @@ def __init__(self, **kwargs):
43004305 self .virtual_machine_extension_type = kwargs .get ('virtual_machine_extension_type' , None )
43014306 self .type_handler_version = kwargs .get ('type_handler_version' , None )
43024307 self .auto_upgrade_minor_version = kwargs .get ('auto_upgrade_minor_version' , None )
4308+ self .enable_automatic_upgrade = kwargs .get ('enable_automatic_upgrade' , None )
43034309 self .settings = kwargs .get ('settings' , None )
43044310 self .protected_settings = kwargs .get ('protected_settings' , None )
43054311 self .provisioning_state = None
@@ -4472,6 +4478,10 @@ class VirtualMachineExtensionUpdate(UpdateResource):
44724478 deployed, however, the extension will not upgrade minor versions unless
44734479 redeployed, even with this property set to true.
44744480 :type auto_upgrade_minor_version: bool
4481+ :param enable_automatic_upgrade: Indicates whether the extension should be
4482+ automatically upgraded by the platform if there is a newer version of the
4483+ extension available.
4484+ :type enable_automatic_upgrade: bool
44754485 :param settings: Json formatted public settings for the extension.
44764486 :type settings: object
44774487 :param protected_settings: The extension can contain either
@@ -4487,6 +4497,7 @@ class VirtualMachineExtensionUpdate(UpdateResource):
44874497 'type' : {'key' : 'properties.type' , 'type' : 'str' },
44884498 'type_handler_version' : {'key' : 'properties.typeHandlerVersion' , 'type' : 'str' },
44894499 'auto_upgrade_minor_version' : {'key' : 'properties.autoUpgradeMinorVersion' , 'type' : 'bool' },
4500+ 'enable_automatic_upgrade' : {'key' : 'properties.enableAutomaticUpgrade' , 'type' : 'bool' },
44904501 'settings' : {'key' : 'properties.settings' , 'type' : 'object' },
44914502 'protected_settings' : {'key' : 'properties.protectedSettings' , 'type' : 'object' },
44924503 }
@@ -4498,6 +4509,7 @@ def __init__(self, **kwargs):
44984509 self .type = kwargs .get ('type' , None )
44994510 self .type_handler_version = kwargs .get ('type_handler_version' , None )
45004511 self .auto_upgrade_minor_version = kwargs .get ('auto_upgrade_minor_version' , None )
4512+ self .enable_automatic_upgrade = kwargs .get ('enable_automatic_upgrade' , None )
45014513 self .settings = kwargs .get ('settings' , None )
45024514 self .protected_settings = kwargs .get ('protected_settings' , None )
45034515
@@ -4737,6 +4749,9 @@ class VirtualMachineInstanceView(Model):
47374749 :param extensions: The extensions information.
47384750 :type extensions:
47394751 list[~azure.mgmt.compute.v2020_06_01.models.VirtualMachineExtensionInstanceView]
4752+ :ivar vm_health: The health status for the VM.
4753+ :vartype vm_health:
4754+ ~azure.mgmt.compute.v2020_06_01.models.VirtualMachineHealthStatus
47404755 :param boot_diagnostics: Boot Diagnostics is a debugging feature which
47414756 allows you to view Console Output and Screenshot to diagnose VM status.
47424757 <br><br> You can easily view the output of your console log. <br><br>
@@ -4754,6 +4769,7 @@ class VirtualMachineInstanceView(Model):
47544769 """
47554770
47564771 _validation = {
4772+ 'vm_health' : {'readonly' : True },
47574773 'assigned_host' : {'readonly' : True },
47584774 }
47594775
@@ -4769,6 +4785,7 @@ class VirtualMachineInstanceView(Model):
47694785 'maintenance_redeploy_status' : {'key' : 'maintenanceRedeployStatus' , 'type' : 'MaintenanceRedeployStatus' },
47704786 'disks' : {'key' : 'disks' , 'type' : '[DiskInstanceView]' },
47714787 'extensions' : {'key' : 'extensions' , 'type' : '[VirtualMachineExtensionInstanceView]' },
4788+ 'vm_health' : {'key' : 'vmHealth' , 'type' : 'VirtualMachineHealthStatus' },
47724789 'boot_diagnostics' : {'key' : 'bootDiagnostics' , 'type' : 'BootDiagnosticsInstanceView' },
47734790 'assigned_host' : {'key' : 'assignedHost' , 'type' : 'str' },
47744791 'statuses' : {'key' : 'statuses' , 'type' : '[InstanceViewStatus]' },
@@ -4787,6 +4804,7 @@ def __init__(self, **kwargs):
47874804 self .maintenance_redeploy_status = kwargs .get ('maintenance_redeploy_status' , None )
47884805 self .disks = kwargs .get ('disks' , None )
47894806 self .extensions = kwargs .get ('extensions' , None )
4807+ self .vm_health = None
47904808 self .boot_diagnostics = kwargs .get ('boot_diagnostics' , None )
47914809 self .assigned_host = None
47924810 self .statuses = kwargs .get ('statuses' , None )
@@ -5057,6 +5075,10 @@ class VirtualMachineScaleSetExtension(SubResourceReadOnly):
50575075 deployed, however, the extension will not upgrade minor versions unless
50585076 redeployed, even with this property set to true.
50595077 :type auto_upgrade_minor_version: bool
5078+ :param enable_automatic_upgrade: Indicates whether the extension should be
5079+ automatically upgraded by the platform if there is a newer version of the
5080+ extension available.
5081+ :type enable_automatic_upgrade: bool
50605082 :param settings: Json formatted public settings for the extension.
50615083 :type settings: object
50625084 :param protected_settings: The extension can contain either
@@ -5086,6 +5108,7 @@ class VirtualMachineScaleSetExtension(SubResourceReadOnly):
50865108 'type1' : {'key' : 'properties.type' , 'type' : 'str' },
50875109 'type_handler_version' : {'key' : 'properties.typeHandlerVersion' , 'type' : 'str' },
50885110 'auto_upgrade_minor_version' : {'key' : 'properties.autoUpgradeMinorVersion' , 'type' : 'bool' },
5111+ 'enable_automatic_upgrade' : {'key' : 'properties.enableAutomaticUpgrade' , 'type' : 'bool' },
50895112 'settings' : {'key' : 'properties.settings' , 'type' : 'object' },
50905113 'protected_settings' : {'key' : 'properties.protectedSettings' , 'type' : 'object' },
50915114 'provisioning_state' : {'key' : 'properties.provisioningState' , 'type' : 'str' },
@@ -5101,6 +5124,7 @@ def __init__(self, **kwargs):
51015124 self .type1 = kwargs .get ('type1' , None )
51025125 self .type_handler_version = kwargs .get ('type_handler_version' , None )
51035126 self .auto_upgrade_minor_version = kwargs .get ('auto_upgrade_minor_version' , None )
5127+ self .enable_automatic_upgrade = kwargs .get ('enable_automatic_upgrade' , None )
51045128 self .settings = kwargs .get ('settings' , None )
51055129 self .protected_settings = kwargs .get ('protected_settings' , None )
51065130 self .provisioning_state = None
@@ -5161,6 +5185,10 @@ class VirtualMachineScaleSetExtensionUpdate(SubResourceReadOnly):
51615185 deployed, however, the extension will not upgrade minor versions unless
51625186 redeployed, even with this property set to true.
51635187 :type auto_upgrade_minor_version: bool
5188+ :param enable_automatic_upgrade: Indicates whether the extension should be
5189+ automatically upgraded by the platform if there is a newer version of the
5190+ extension available.
5191+ :type enable_automatic_upgrade: bool
51645192 :param settings: Json formatted public settings for the extension.
51655193 :type settings: object
51665194 :param protected_settings: The extension can contain either
@@ -5191,6 +5219,7 @@ class VirtualMachineScaleSetExtensionUpdate(SubResourceReadOnly):
51915219 'type1' : {'key' : 'properties.type' , 'type' : 'str' },
51925220 'type_handler_version' : {'key' : 'properties.typeHandlerVersion' , 'type' : 'str' },
51935221 'auto_upgrade_minor_version' : {'key' : 'properties.autoUpgradeMinorVersion' , 'type' : 'bool' },
5222+ 'enable_automatic_upgrade' : {'key' : 'properties.enableAutomaticUpgrade' , 'type' : 'bool' },
51945223 'settings' : {'key' : 'properties.settings' , 'type' : 'object' },
51955224 'protected_settings' : {'key' : 'properties.protectedSettings' , 'type' : 'object' },
51965225 'provisioning_state' : {'key' : 'properties.provisioningState' , 'type' : 'str' },
@@ -5206,6 +5235,7 @@ def __init__(self, **kwargs):
52065235 self .type1 = kwargs .get ('type1' , None )
52075236 self .type_handler_version = kwargs .get ('type_handler_version' , None )
52085237 self .auto_upgrade_minor_version = kwargs .get ('auto_upgrade_minor_version' , None )
5238+ self .enable_automatic_upgrade = kwargs .get ('enable_automatic_upgrade' , None )
52095239 self .settings = kwargs .get ('settings' , None )
52105240 self .protected_settings = kwargs .get ('protected_settings' , None )
52115241 self .provisioning_state = None
0 commit comments