Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4254,6 +4254,10 @@ class VirtualMachineExtension(Resource):
deployed, however, the extension will not upgrade minor versions unless
redeployed, even with this property set to true.
:type auto_upgrade_minor_version: bool
:param enable_automatic_upgrade: Indicates whether the extension should be
automatically upgraded by the platform if there is a newer version of the
extension available.
:type enable_automatic_upgrade: bool
:param settings: Json formatted public settings for the extension.
:type settings: object
:param protected_settings: The extension can contain either
Expand Down Expand Up @@ -4287,6 +4291,7 @@ class VirtualMachineExtension(Resource):
'virtual_machine_extension_type': {'key': 'properties.type', 'type': 'str'},
'type_handler_version': {'key': 'properties.typeHandlerVersion', 'type': 'str'},
'auto_upgrade_minor_version': {'key': 'properties.autoUpgradeMinorVersion', 'type': 'bool'},
'enable_automatic_upgrade': {'key': 'properties.enableAutomaticUpgrade', 'type': 'bool'},
'settings': {'key': 'properties.settings', 'type': 'object'},
'protected_settings': {'key': 'properties.protectedSettings', 'type': 'object'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
Expand All @@ -4300,6 +4305,7 @@ def __init__(self, **kwargs):
self.virtual_machine_extension_type = kwargs.get('virtual_machine_extension_type', None)
self.type_handler_version = kwargs.get('type_handler_version', None)
self.auto_upgrade_minor_version = kwargs.get('auto_upgrade_minor_version', None)
self.enable_automatic_upgrade = kwargs.get('enable_automatic_upgrade', None)
self.settings = kwargs.get('settings', None)
self.protected_settings = kwargs.get('protected_settings', None)
self.provisioning_state = None
Expand Down Expand Up @@ -4472,6 +4478,10 @@ class VirtualMachineExtensionUpdate(UpdateResource):
deployed, however, the extension will not upgrade minor versions unless
redeployed, even with this property set to true.
:type auto_upgrade_minor_version: bool
:param enable_automatic_upgrade: Indicates whether the extension should be
automatically upgraded by the platform if there is a newer version of the
extension available.
:type enable_automatic_upgrade: bool
:param settings: Json formatted public settings for the extension.
:type settings: object
:param protected_settings: The extension can contain either
Expand All @@ -4487,6 +4497,7 @@ class VirtualMachineExtensionUpdate(UpdateResource):
'type': {'key': 'properties.type', 'type': 'str'},
'type_handler_version': {'key': 'properties.typeHandlerVersion', 'type': 'str'},
'auto_upgrade_minor_version': {'key': 'properties.autoUpgradeMinorVersion', 'type': 'bool'},
'enable_automatic_upgrade': {'key': 'properties.enableAutomaticUpgrade', 'type': 'bool'},
'settings': {'key': 'properties.settings', 'type': 'object'},
'protected_settings': {'key': 'properties.protectedSettings', 'type': 'object'},
}
Expand All @@ -4498,6 +4509,7 @@ def __init__(self, **kwargs):
self.type = kwargs.get('type', None)
self.type_handler_version = kwargs.get('type_handler_version', None)
self.auto_upgrade_minor_version = kwargs.get('auto_upgrade_minor_version', None)
self.enable_automatic_upgrade = kwargs.get('enable_automatic_upgrade', None)
self.settings = kwargs.get('settings', None)
self.protected_settings = kwargs.get('protected_settings', None)

Expand Down Expand Up @@ -4737,6 +4749,9 @@ class VirtualMachineInstanceView(Model):
:param extensions: The extensions information.
:type extensions:
list[~azure.mgmt.compute.v2020_06_01.models.VirtualMachineExtensionInstanceView]
:ivar vm_health: The health status for the VM.
:vartype vm_health:
~azure.mgmt.compute.v2020_06_01.models.VirtualMachineHealthStatus
:param boot_diagnostics: Boot Diagnostics is a debugging feature which
allows you to view Console Output and Screenshot to diagnose VM status.
<br><br> You can easily view the output of your console log. <br><br>
Expand All @@ -4754,6 +4769,7 @@ class VirtualMachineInstanceView(Model):
"""

_validation = {
'vm_health': {'readonly': True},
'assigned_host': {'readonly': True},
}

Expand All @@ -4769,6 +4785,7 @@ class VirtualMachineInstanceView(Model):
'maintenance_redeploy_status': {'key': 'maintenanceRedeployStatus', 'type': 'MaintenanceRedeployStatus'},
'disks': {'key': 'disks', 'type': '[DiskInstanceView]'},
'extensions': {'key': 'extensions', 'type': '[VirtualMachineExtensionInstanceView]'},
'vm_health': {'key': 'vmHealth', 'type': 'VirtualMachineHealthStatus'},
'boot_diagnostics': {'key': 'bootDiagnostics', 'type': 'BootDiagnosticsInstanceView'},
'assigned_host': {'key': 'assignedHost', 'type': 'str'},
'statuses': {'key': 'statuses', 'type': '[InstanceViewStatus]'},
Expand All @@ -4787,6 +4804,7 @@ def __init__(self, **kwargs):
self.maintenance_redeploy_status = kwargs.get('maintenance_redeploy_status', None)
self.disks = kwargs.get('disks', None)
self.extensions = kwargs.get('extensions', None)
self.vm_health = None
self.boot_diagnostics = kwargs.get('boot_diagnostics', None)
self.assigned_host = None
self.statuses = kwargs.get('statuses', None)
Expand Down Expand Up @@ -5057,6 +5075,10 @@ class VirtualMachineScaleSetExtension(SubResourceReadOnly):
deployed, however, the extension will not upgrade minor versions unless
redeployed, even with this property set to true.
:type auto_upgrade_minor_version: bool
:param enable_automatic_upgrade: Indicates whether the extension should be
automatically upgraded by the platform if there is a newer version of the
extension available.
:type enable_automatic_upgrade: bool
:param settings: Json formatted public settings for the extension.
:type settings: object
:param protected_settings: The extension can contain either
Expand Down Expand Up @@ -5086,6 +5108,7 @@ class VirtualMachineScaleSetExtension(SubResourceReadOnly):
'type1': {'key': 'properties.type', 'type': 'str'},
'type_handler_version': {'key': 'properties.typeHandlerVersion', 'type': 'str'},
'auto_upgrade_minor_version': {'key': 'properties.autoUpgradeMinorVersion', 'type': 'bool'},
'enable_automatic_upgrade': {'key': 'properties.enableAutomaticUpgrade', 'type': 'bool'},
'settings': {'key': 'properties.settings', 'type': 'object'},
'protected_settings': {'key': 'properties.protectedSettings', 'type': 'object'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
Expand All @@ -5101,6 +5124,7 @@ def __init__(self, **kwargs):
self.type1 = kwargs.get('type1', None)
self.type_handler_version = kwargs.get('type_handler_version', None)
self.auto_upgrade_minor_version = kwargs.get('auto_upgrade_minor_version', None)
self.enable_automatic_upgrade = kwargs.get('enable_automatic_upgrade', None)
self.settings = kwargs.get('settings', None)
self.protected_settings = kwargs.get('protected_settings', None)
self.provisioning_state = None
Expand Down Expand Up @@ -5161,6 +5185,10 @@ class VirtualMachineScaleSetExtensionUpdate(SubResourceReadOnly):
deployed, however, the extension will not upgrade minor versions unless
redeployed, even with this property set to true.
:type auto_upgrade_minor_version: bool
:param enable_automatic_upgrade: Indicates whether the extension should be
automatically upgraded by the platform if there is a newer version of the
extension available.
:type enable_automatic_upgrade: bool
:param settings: Json formatted public settings for the extension.
:type settings: object
:param protected_settings: The extension can contain either
Expand Down Expand Up @@ -5191,6 +5219,7 @@ class VirtualMachineScaleSetExtensionUpdate(SubResourceReadOnly):
'type1': {'key': 'properties.type', 'type': 'str'},
'type_handler_version': {'key': 'properties.typeHandlerVersion', 'type': 'str'},
'auto_upgrade_minor_version': {'key': 'properties.autoUpgradeMinorVersion', 'type': 'bool'},
'enable_automatic_upgrade': {'key': 'properties.enableAutomaticUpgrade', 'type': 'bool'},
'settings': {'key': 'properties.settings', 'type': 'object'},
'protected_settings': {'key': 'properties.protectedSettings', 'type': 'object'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
Expand All @@ -5206,6 +5235,7 @@ def __init__(self, **kwargs):
self.type1 = kwargs.get('type1', None)
self.type_handler_version = kwargs.get('type_handler_version', None)
self.auto_upgrade_minor_version = kwargs.get('auto_upgrade_minor_version', None)
self.enable_automatic_upgrade = kwargs.get('enable_automatic_upgrade', None)
self.settings = kwargs.get('settings', None)
self.protected_settings = kwargs.get('protected_settings', None)
self.provisioning_state = None
Expand Down
Loading