From 21172001b83e1b8b745dd3791876808370214659 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Mon, 17 Jun 2019 22:23:01 +0000 Subject: [PATCH 1/2] Generated from 5e589ea1eac49504c9d6f856b22a3d799c85a6d6 Update compute.json to include hyperVGeneration property for VirtualMachineInstanceView Adds hyperVGeneration which displays what HyperVisor Generation the VM Boots in, via the VirtualMachineInstanceView. --- .../azure/mgmt/compute/v2019_03_01/models/__init__.py | 2 ++ .../models/_compute_management_client_enums.py | 6 ++++++ .../azure/mgmt/compute/v2019_03_01/models/_models.py | 6 ++++++ .../azure/mgmt/compute/v2019_03_01/models/_models_py3.py | 8 +++++++- 4 files changed, 21 insertions(+), 1 deletion(-) diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/models/__init__.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/models/__init__.py index d321bc796c2..73b7eeaaba3 100644 --- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/models/__init__.py +++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/models/__init__.py @@ -362,6 +362,7 @@ ProtocolTypes, ResourceIdentityType, MaintenanceOperationResultCodeTypes, + HyperVGenerationType, UpgradeMode, OperatingSystemStateTypes, IPVersion, @@ -573,6 +574,7 @@ 'ProtocolTypes', 'ResourceIdentityType', 'MaintenanceOperationResultCodeTypes', + 'HyperVGenerationType', 'UpgradeMode', 'OperatingSystemStateTypes', 'IPVersion', diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/models/_compute_management_client_enums.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/models/_compute_management_client_enums.py index af2f9041fbb..9b493ead531 100644 --- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/models/_compute_management_client_enums.py +++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/models/_compute_management_client_enums.py @@ -278,6 +278,12 @@ class MaintenanceOperationResultCodeTypes(str, Enum): maintenance_completed = "MaintenanceCompleted" +class HyperVGenerationType(str, Enum): + + v1 = "V1" + v2 = "V2" + + class UpgradeMode(str, Enum): automatic = "Automatic" diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/models/_models.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/models/_models.py index 96001f2a846..efb6413f675 100644 --- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/models/_models.py +++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/models/_models.py @@ -4292,6 +4292,10 @@ class VirtualMachineInstanceView(Model): :param os_version: The version of Operating System running on the virtual machine. :type os_version: str + :param hyper_vgeneration: Specifies the HyperVGeneration Type associated + with a resource. Possible values include: 'V1', 'V2' + :type hyper_vgeneration: str or + ~azure.mgmt.compute.v2019_03_01.models.HyperVGenerationType :param rdp_thumb_print: The Remote desktop certificate thumbprint. :type rdp_thumb_print: str :param vm_agent: The VM Agent running on the virtual machine. @@ -4323,6 +4327,7 @@ class VirtualMachineInstanceView(Model): 'computer_name': {'key': 'computerName', 'type': 'str'}, 'os_name': {'key': 'osName', 'type': 'str'}, 'os_version': {'key': 'osVersion', 'type': 'str'}, + 'hyper_vgeneration': {'key': 'hyperVGeneration', 'type': 'str'}, 'rdp_thumb_print': {'key': 'rdpThumbPrint', 'type': 'str'}, 'vm_agent': {'key': 'vmAgent', 'type': 'VirtualMachineAgentInstanceView'}, 'maintenance_redeploy_status': {'key': 'maintenanceRedeployStatus', 'type': 'MaintenanceRedeployStatus'}, @@ -4339,6 +4344,7 @@ def __init__(self, **kwargs): self.computer_name = kwargs.get('computer_name', None) self.os_name = kwargs.get('os_name', None) self.os_version = kwargs.get('os_version', None) + self.hyper_vgeneration = kwargs.get('hyper_vgeneration', None) self.rdp_thumb_print = kwargs.get('rdp_thumb_print', None) self.vm_agent = kwargs.get('vm_agent', None) self.maintenance_redeploy_status = kwargs.get('maintenance_redeploy_status', None) diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/models/_models_py3.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/models/_models_py3.py index b36ed47a178..ac379f192f9 100644 --- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/models/_models_py3.py +++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/models/_models_py3.py @@ -4292,6 +4292,10 @@ class VirtualMachineInstanceView(Model): :param os_version: The version of Operating System running on the virtual machine. :type os_version: str + :param hyper_vgeneration: Specifies the HyperVGeneration Type associated + with a resource. Possible values include: 'V1', 'V2' + :type hyper_vgeneration: str or + ~azure.mgmt.compute.v2019_03_01.models.HyperVGenerationType :param rdp_thumb_print: The Remote desktop certificate thumbprint. :type rdp_thumb_print: str :param vm_agent: The VM Agent running on the virtual machine. @@ -4323,6 +4327,7 @@ class VirtualMachineInstanceView(Model): 'computer_name': {'key': 'computerName', 'type': 'str'}, 'os_name': {'key': 'osName', 'type': 'str'}, 'os_version': {'key': 'osVersion', 'type': 'str'}, + 'hyper_vgeneration': {'key': 'hyperVGeneration', 'type': 'str'}, 'rdp_thumb_print': {'key': 'rdpThumbPrint', 'type': 'str'}, 'vm_agent': {'key': 'vmAgent', 'type': 'VirtualMachineAgentInstanceView'}, 'maintenance_redeploy_status': {'key': 'maintenanceRedeployStatus', 'type': 'MaintenanceRedeployStatus'}, @@ -4332,13 +4337,14 @@ class VirtualMachineInstanceView(Model): 'statuses': {'key': 'statuses', 'type': '[InstanceViewStatus]'}, } - def __init__(self, *, platform_update_domain: int=None, platform_fault_domain: int=None, computer_name: str=None, os_name: str=None, os_version: str=None, rdp_thumb_print: str=None, vm_agent=None, maintenance_redeploy_status=None, disks=None, extensions=None, boot_diagnostics=None, statuses=None, **kwargs) -> None: + def __init__(self, *, platform_update_domain: int=None, platform_fault_domain: int=None, computer_name: str=None, os_name: str=None, os_version: str=None, hyper_vgeneration=None, rdp_thumb_print: str=None, vm_agent=None, maintenance_redeploy_status=None, disks=None, extensions=None, boot_diagnostics=None, statuses=None, **kwargs) -> None: super(VirtualMachineInstanceView, self).__init__(**kwargs) self.platform_update_domain = platform_update_domain self.platform_fault_domain = platform_fault_domain self.computer_name = computer_name self.os_name = os_name self.os_version = os_version + self.hyper_vgeneration = hyper_vgeneration self.rdp_thumb_print = rdp_thumb_print self.vm_agent = vm_agent self.maintenance_redeploy_status = maintenance_redeploy_status From c1e1bdb164b5439d16f0a6048ce38a79aef3e511 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 20 Jun 2019 23:38:16 +0000 Subject: [PATCH 2/2] Generated from 5e589ea1eac49504c9d6f856b22a3d799c85a6d6 Update compute.json to include hyperVGeneration property for VirtualMachineInstanceView Adds hyperVGeneration which displays what HyperVisor Generation the VM Boots in, via the VirtualMachineInstanceView. --- .../compute/v2018_06_01/models/_models.py | 12 ++++++---- .../compute/v2018_06_01/models/_models_py3.py | 12 ++++++---- ...irtual_machine_scale_set_vms_operations.py | 3 ++- .../_virtual_machine_scale_sets_operations.py | 3 ++- .../_virtual_machines_operations.py | 3 ++- .../compute/v2018_10_01/models/_models.py | 9 +++++--- .../compute/v2018_10_01/models/_models_py3.py | 9 +++++--- ...irtual_machine_scale_set_vms_operations.py | 3 ++- .../_virtual_machine_scale_sets_operations.py | 3 ++- .../_virtual_machines_operations.py | 3 ++- .../compute/v2019_03_01/models/_models.py | 22 ++++++++++--------- .../compute/v2019_03_01/models/_models_py3.py | 22 ++++++++++--------- ...irtual_machine_scale_set_vms_operations.py | 3 ++- .../_virtual_machine_scale_sets_operations.py | 3 ++- .../_virtual_machines_operations.py | 3 ++- 15 files changed, 70 insertions(+), 43 deletions(-) diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/_models.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/_models.py index a1e6d6a2314..d7df4f4b154 100644 --- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/_models.py +++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/_models.py @@ -4854,10 +4854,12 @@ def __init__(self, **kwargs): class VirtualMachineReimageParameters(Model): - """Parameters for Reimaging Virtual Machine. Default value for OSDisk : true. + """Parameters for Reimaging Virtual Machine. NOTE: Virtual Machine OS disk + will always be reimaged. :param temp_disk: Specifies whether to reimage temp disk. Default value: - false. + false. Note: This temp disk reimage parameter is only supported for + VM/VMSS with Ephemeral OS disk. :type temp_disk: bool """ @@ -5724,7 +5726,8 @@ class VirtualMachineScaleSetVMReimageParameters(VirtualMachineReimageParameters) """Describes a Virtual Machine Scale Set VM Reimage Parameters. :param temp_disk: Specifies whether to reimage temp disk. Default value: - false. + false. Note: This temp disk reimage parameter is only supported for + VM/VMSS with Ephemeral OS disk. :type temp_disk: bool """ @@ -5740,7 +5743,8 @@ class VirtualMachineScaleSetReimageParameters(VirtualMachineScaleSetVMReimagePar """Describes a Virtual Machine Scale Set VM Reimage Parameters. :param temp_disk: Specifies whether to reimage temp disk. Default value: - false. + false. Note: This temp disk reimage parameter is only supported for + VM/VMSS with Ephemeral OS disk. :type temp_disk: bool :param instance_ids: The virtual machine scale set instance ids. Omitting the virtual machine scale set instance ids will result in the operation diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/_models_py3.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/_models_py3.py index 074f997496a..694e860185c 100644 --- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/_models_py3.py +++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/_models_py3.py @@ -4854,10 +4854,12 @@ def __init__(self, *, platform_update_domain: int=None, platform_fault_domain: i class VirtualMachineReimageParameters(Model): - """Parameters for Reimaging Virtual Machine. Default value for OSDisk : true. + """Parameters for Reimaging Virtual Machine. NOTE: Virtual Machine OS disk + will always be reimaged. :param temp_disk: Specifies whether to reimage temp disk. Default value: - false. + false. Note: This temp disk reimage parameter is only supported for + VM/VMSS with Ephemeral OS disk. :type temp_disk: bool """ @@ -5724,7 +5726,8 @@ class VirtualMachineScaleSetVMReimageParameters(VirtualMachineReimageParameters) """Describes a Virtual Machine Scale Set VM Reimage Parameters. :param temp_disk: Specifies whether to reimage temp disk. Default value: - false. + false. Note: This temp disk reimage parameter is only supported for + VM/VMSS with Ephemeral OS disk. :type temp_disk: bool """ @@ -5740,7 +5743,8 @@ class VirtualMachineScaleSetReimageParameters(VirtualMachineScaleSetVMReimagePar """Describes a Virtual Machine Scale Set VM Reimage Parameters. :param temp_disk: Specifies whether to reimage temp disk. Default value: - false. + false. Note: This temp disk reimage parameter is only supported for + VM/VMSS with Ephemeral OS disk. :type temp_disk: bool :param instance_ids: The virtual machine scale set instance ids. Omitting the virtual machine scale set instance ids will result in the operation diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/_virtual_machine_scale_set_vms_operations.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/_virtual_machine_scale_set_vms_operations.py index 23122befb8e..3a64fc9a6b1 100644 --- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/_virtual_machine_scale_set_vms_operations.py +++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/_virtual_machine_scale_set_vms_operations.py @@ -103,7 +103,8 @@ def reimage( :param instance_id: The instance ID of the virtual machine. :type instance_id: str :param temp_disk: Specifies whether to reimage temp disk. Default - value: false. + value: false. Note: This temp disk reimage parameter is only supported + for VM/VMSS with Ephemeral OS disk. :type temp_disk: bool :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/_virtual_machine_scale_sets_operations.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/_virtual_machine_scale_sets_operations.py index fa7c1abf915..6037dd039d9 100644 --- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/_virtual_machine_scale_sets_operations.py +++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/_virtual_machine_scale_sets_operations.py @@ -1557,7 +1557,8 @@ def reimage( :param vm_scale_set_name: The name of the VM scale set. :type vm_scale_set_name: str :param temp_disk: Specifies whether to reimage temp disk. Default - value: false. + value: false. Note: This temp disk reimage parameter is only supported + for VM/VMSS with Ephemeral OS disk. :type temp_disk: bool :param instance_ids: The virtual machine scale set instance ids. Omitting the virtual machine scale set instance ids will result in the diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/_virtual_machines_operations.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/_virtual_machines_operations.py index 604b54f9698..8c9f22e1766 100644 --- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/_virtual_machines_operations.py +++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/_virtual_machines_operations.py @@ -1437,7 +1437,8 @@ def reimage( :param vm_name: The name of the virtual machine. :type vm_name: str :param temp_disk: Specifies whether to reimage temp disk. Default - value: false. + value: false. Note: This temp disk reimage parameter is only supported + for VM/VMSS with Ephemeral OS disk. :type temp_disk: bool :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/_models.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/_models.py index fc817320c01..952ab9f3d4a 100644 --- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/_models.py +++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/_models.py @@ -3574,7 +3574,8 @@ class VirtualMachineReimageParameters(Model): will always be reimaged. :param temp_disk: Specifies whether to reimage temp disk. Default value: - false. + false. Note: This temp disk reimage parameter is only supported for + VM/VMSS with Ephemeral OS disk. :type temp_disk: bool """ @@ -4448,7 +4449,8 @@ class VirtualMachineScaleSetVMReimageParameters(VirtualMachineReimageParameters) """Describes a Virtual Machine Scale Set VM Reimage Parameters. :param temp_disk: Specifies whether to reimage temp disk. Default value: - false. + false. Note: This temp disk reimage parameter is only supported for + VM/VMSS with Ephemeral OS disk. :type temp_disk: bool """ @@ -4464,7 +4466,8 @@ class VirtualMachineScaleSetReimageParameters(VirtualMachineScaleSetVMReimagePar """Describes a Virtual Machine Scale Set VM Reimage Parameters. :param temp_disk: Specifies whether to reimage temp disk. Default value: - false. + false. Note: This temp disk reimage parameter is only supported for + VM/VMSS with Ephemeral OS disk. :type temp_disk: bool :param instance_ids: The virtual machine scale set instance ids. Omitting the virtual machine scale set instance ids will result in the operation diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/_models_py3.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/_models_py3.py index 29c6e258b64..b0b1f78e82c 100644 --- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/_models_py3.py +++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/models/_models_py3.py @@ -3574,7 +3574,8 @@ class VirtualMachineReimageParameters(Model): will always be reimaged. :param temp_disk: Specifies whether to reimage temp disk. Default value: - false. + false. Note: This temp disk reimage parameter is only supported for + VM/VMSS with Ephemeral OS disk. :type temp_disk: bool """ @@ -4448,7 +4449,8 @@ class VirtualMachineScaleSetVMReimageParameters(VirtualMachineReimageParameters) """Describes a Virtual Machine Scale Set VM Reimage Parameters. :param temp_disk: Specifies whether to reimage temp disk. Default value: - false. + false. Note: This temp disk reimage parameter is only supported for + VM/VMSS with Ephemeral OS disk. :type temp_disk: bool """ @@ -4464,7 +4466,8 @@ class VirtualMachineScaleSetReimageParameters(VirtualMachineScaleSetVMReimagePar """Describes a Virtual Machine Scale Set VM Reimage Parameters. :param temp_disk: Specifies whether to reimage temp disk. Default value: - false. + false. Note: This temp disk reimage parameter is only supported for + VM/VMSS with Ephemeral OS disk. :type temp_disk: bool :param instance_ids: The virtual machine scale set instance ids. Omitting the virtual machine scale set instance ids will result in the operation diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/operations/_virtual_machine_scale_set_vms_operations.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/operations/_virtual_machine_scale_set_vms_operations.py index 1f8be3add42..ee9eebf1aaa 100644 --- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/operations/_virtual_machine_scale_set_vms_operations.py +++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/operations/_virtual_machine_scale_set_vms_operations.py @@ -103,7 +103,8 @@ def reimage( :param instance_id: The instance ID of the virtual machine. :type instance_id: str :param temp_disk: Specifies whether to reimage temp disk. Default - value: false. + value: false. Note: This temp disk reimage parameter is only supported + for VM/VMSS with Ephemeral OS disk. :type temp_disk: bool :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/operations/_virtual_machine_scale_sets_operations.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/operations/_virtual_machine_scale_sets_operations.py index c33792662b3..7b8fb99c370 100644 --- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/operations/_virtual_machine_scale_sets_operations.py +++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/operations/_virtual_machine_scale_sets_operations.py @@ -1557,7 +1557,8 @@ def reimage( :param vm_scale_set_name: The name of the VM scale set. :type vm_scale_set_name: str :param temp_disk: Specifies whether to reimage temp disk. Default - value: false. + value: false. Note: This temp disk reimage parameter is only supported + for VM/VMSS with Ephemeral OS disk. :type temp_disk: bool :param instance_ids: The virtual machine scale set instance ids. Omitting the virtual machine scale set instance ids will result in the diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/operations/_virtual_machines_operations.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/operations/_virtual_machines_operations.py index b5659a19cd9..06cf68b3505 100644 --- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/operations/_virtual_machines_operations.py +++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01/operations/_virtual_machines_operations.py @@ -1437,7 +1437,8 @@ def reimage( :param vm_name: The name of the virtual machine. :type vm_name: str :param temp_disk: Specifies whether to reimage temp disk. Default - value: false. + value: false. Note: This temp disk reimage parameter is only supported + for VM/VMSS with Ephemeral OS disk. :type temp_disk: bool :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/models/_models.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/models/_models.py index efb6413f675..1dc23e7939f 100644 --- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/models/_models.py +++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/models/_models.py @@ -153,10 +153,9 @@ class AutomaticOSUpgradePolicy(Model): :param enable_automatic_os_upgrade: Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false. - If this is set to true for Windows based scale sets, recommendation is to - set +

If this is set to true for Windows based scale sets, [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) - to false. + is automatically set to false and cannot be set to true. :type enable_automatic_os_upgrade: bool :param disable_automatic_rollback: Whether OS image rollback feature should be disabled. Default value is false. @@ -4359,7 +4358,8 @@ class VirtualMachineReimageParameters(Model): will always be reimaged. :param temp_disk: Specifies whether to reimage temp disk. Default value: - false. + false. Note: This temp disk reimage parameter is only supported for + VM/VMSS with Ephemeral OS disk. :type temp_disk: bool """ @@ -5241,7 +5241,8 @@ class VirtualMachineScaleSetVMReimageParameters(VirtualMachineReimageParameters) """Describes a Virtual Machine Scale Set VM Reimage Parameters. :param temp_disk: Specifies whether to reimage temp disk. Default value: - false. + false. Note: This temp disk reimage parameter is only supported for + VM/VMSS with Ephemeral OS disk. :type temp_disk: bool """ @@ -5257,7 +5258,8 @@ class VirtualMachineScaleSetReimageParameters(VirtualMachineScaleSetVMReimagePar """Describes a Virtual Machine Scale Set VM Reimage Parameters. :param temp_disk: Specifies whether to reimage temp disk. Default value: - false. + false. Note: This temp disk reimage parameter is only supported for + VM/VMSS with Ephemeral OS disk. :type temp_disk: bool :param instance_ids: The virtual machine scale set instance ids. Omitting the virtual machine scale set instance ids will result in the operation @@ -6400,10 +6402,10 @@ class WindowsConfiguration(Model): This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later. :type provision_vm_agent: bool - :param enable_automatic_updates: Indicates whether virtual machine is - enabled for automatic Windows updates. Default value is true.

For - virtual machine scale sets, this property can be updated and updates will - take effect on OS reprovisioning. + :param enable_automatic_updates: Indicates whether Automatic Updates is + enabled for the Windows virtual machine. Default value is true.

+ For virtual machine scale sets, this property can be updated and updates + will take effect on OS reprovisioning. :type enable_automatic_updates: bool :param time_zone: Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time" diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/models/_models_py3.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/models/_models_py3.py index ac379f192f9..ebe7f85e85a 100644 --- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/models/_models_py3.py +++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/models/_models_py3.py @@ -153,10 +153,9 @@ class AutomaticOSUpgradePolicy(Model): :param enable_automatic_os_upgrade: Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. Default value is false. - If this is set to true for Windows based scale sets, recommendation is to - set +

If this is set to true for Windows based scale sets, [enableAutomaticUpdates](https://docs.microsoft.com/dotnet/api/microsoft.azure.management.compute.models.windowsconfiguration.enableautomaticupdates?view=azure-dotnet) - to false. + is automatically set to false and cannot be set to true. :type enable_automatic_os_upgrade: bool :param disable_automatic_rollback: Whether OS image rollback feature should be disabled. Default value is false. @@ -4359,7 +4358,8 @@ class VirtualMachineReimageParameters(Model): will always be reimaged. :param temp_disk: Specifies whether to reimage temp disk. Default value: - false. + false. Note: This temp disk reimage parameter is only supported for + VM/VMSS with Ephemeral OS disk. :type temp_disk: bool """ @@ -5241,7 +5241,8 @@ class VirtualMachineScaleSetVMReimageParameters(VirtualMachineReimageParameters) """Describes a Virtual Machine Scale Set VM Reimage Parameters. :param temp_disk: Specifies whether to reimage temp disk. Default value: - false. + false. Note: This temp disk reimage parameter is only supported for + VM/VMSS with Ephemeral OS disk. :type temp_disk: bool """ @@ -5257,7 +5258,8 @@ class VirtualMachineScaleSetReimageParameters(VirtualMachineScaleSetVMReimagePar """Describes a Virtual Machine Scale Set VM Reimage Parameters. :param temp_disk: Specifies whether to reimage temp disk. Default value: - false. + false. Note: This temp disk reimage parameter is only supported for + VM/VMSS with Ephemeral OS disk. :type temp_disk: bool :param instance_ids: The virtual machine scale set instance ids. Omitting the virtual machine scale set instance ids will result in the operation @@ -6400,10 +6402,10 @@ class WindowsConfiguration(Model): This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later. :type provision_vm_agent: bool - :param enable_automatic_updates: Indicates whether virtual machine is - enabled for automatic Windows updates. Default value is true.

For - virtual machine scale sets, this property can be updated and updates will - take effect on OS reprovisioning. + :param enable_automatic_updates: Indicates whether Automatic Updates is + enabled for the Windows virtual machine. Default value is true.

+ For virtual machine scale sets, this property can be updated and updates + will take effect on OS reprovisioning. :type enable_automatic_updates: bool :param time_zone: Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time" diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/operations/_virtual_machine_scale_set_vms_operations.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/operations/_virtual_machine_scale_set_vms_operations.py index 53f15083d76..f995fbbb042 100644 --- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/operations/_virtual_machine_scale_set_vms_operations.py +++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/operations/_virtual_machine_scale_set_vms_operations.py @@ -103,7 +103,8 @@ def reimage( :param instance_id: The instance ID of the virtual machine. :type instance_id: str :param temp_disk: Specifies whether to reimage temp disk. Default - value: false. + value: false. Note: This temp disk reimage parameter is only supported + for VM/VMSS with Ephemeral OS disk. :type temp_disk: bool :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/operations/_virtual_machine_scale_sets_operations.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/operations/_virtual_machine_scale_sets_operations.py index a4810aa0df8..ea155be18ca 100644 --- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/operations/_virtual_machine_scale_sets_operations.py +++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/operations/_virtual_machine_scale_sets_operations.py @@ -1565,7 +1565,8 @@ def reimage( :param vm_scale_set_name: The name of the VM scale set. :type vm_scale_set_name: str :param temp_disk: Specifies whether to reimage temp disk. Default - value: false. + value: false. Note: This temp disk reimage parameter is only supported + for VM/VMSS with Ephemeral OS disk. :type temp_disk: bool :param instance_ids: The virtual machine scale set instance ids. Omitting the virtual machine scale set instance ids will result in the diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/operations/_virtual_machines_operations.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/operations/_virtual_machines_operations.py index 2cb915cdc46..da3d502ad8e 100644 --- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/operations/_virtual_machines_operations.py +++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01/operations/_virtual_machines_operations.py @@ -1445,7 +1445,8 @@ def reimage( :param vm_name: The name of the virtual machine. :type vm_name: str :param temp_disk: Specifies whether to reimage temp disk. Default - value: false. + value: false. Note: This temp disk reimage parameter is only supported + for VM/VMSS with Ephemeral OS disk. :type temp_disk: bool :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the