From ad28e1a733701395f7a4cf65706b901da566cf19 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Tue, 1 May 2018 16:12:13 +0000 Subject: [PATCH 1/3] Generated from 57e4037bd66b30a7f95fda331085521b2d669c94 added autoOSUpgradePolicy --- .../compute/v2017_12_01/models/__init__.py | 3 ++ .../models/auto_os_upgrade_policy.py | 29 +++++++++++++++++++ .../models/auto_os_upgrade_policy_py3.py | 29 +++++++++++++++++++ .../v2017_12_01/models/upgrade_policy.py | 6 ++++ .../v2017_12_01/models/upgrade_policy_py3.py | 8 ++++- 5 files changed, 74 insertions(+), 1 deletion(-) create mode 100644 azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/auto_os_upgrade_policy.py create mode 100644 azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/auto_os_upgrade_policy_py3.py diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/__init__.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/__init__.py index d9f5c5707555..9f65b3c2c1e2 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/__init__.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/__init__.py @@ -65,6 +65,7 @@ from .virtual_machine_instance_view_py3 import VirtualMachineInstanceView from .virtual_machine_py3 import VirtualMachine from .virtual_machine_update_py3 import VirtualMachineUpdate + from .auto_os_upgrade_policy_py3 import AutoOSUpgradePolicy from .rolling_upgrade_policy_py3 import RollingUpgradePolicy from .upgrade_policy_py3 import UpgradePolicy from .image_os_disk_py3 import ImageOSDisk @@ -192,6 +193,7 @@ from .virtual_machine_instance_view import VirtualMachineInstanceView from .virtual_machine import VirtualMachine from .virtual_machine_update import VirtualMachineUpdate + from .auto_os_upgrade_policy import AutoOSUpgradePolicy from .rolling_upgrade_policy import RollingUpgradePolicy from .upgrade_policy import UpgradePolicy from .image_os_disk import ImageOSDisk @@ -358,6 +360,7 @@ 'VirtualMachineInstanceView', 'VirtualMachine', 'VirtualMachineUpdate', + 'AutoOSUpgradePolicy', 'RollingUpgradePolicy', 'UpgradePolicy', 'ImageOSDisk', diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/auto_os_upgrade_policy.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/auto_os_upgrade_policy.py new file mode 100644 index 000000000000..42990dda40ba --- /dev/null +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/auto_os_upgrade_policy.py @@ -0,0 +1,29 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class AutoOSUpgradePolicy(Model): + """The configuration parameters used for performing automatic OS upgrade. + + :param disable_auto_rollback: whether OS image rollback feature should be + disabled. + :type disable_auto_rollback: bool + """ + + _attribute_map = { + 'disable_auto_rollback': {'key': 'disableAutoRollback', 'type': 'bool'}, + } + + def __init__(self, **kwargs): + super(AutoOSUpgradePolicy, self).__init__(**kwargs) + self.disable_auto_rollback = kwargs.get('disable_auto_rollback', None) diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/auto_os_upgrade_policy_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/auto_os_upgrade_policy_py3.py new file mode 100644 index 000000000000..acf889db0258 --- /dev/null +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/auto_os_upgrade_policy_py3.py @@ -0,0 +1,29 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class AutoOSUpgradePolicy(Model): + """The configuration parameters used for performing automatic OS upgrade. + + :param disable_auto_rollback: whether OS image rollback feature should be + disabled. + :type disable_auto_rollback: bool + """ + + _attribute_map = { + 'disable_auto_rollback': {'key': 'disableAutoRollback', 'type': 'bool'}, + } + + def __init__(self, *, disable_auto_rollback: bool=None, **kwargs) -> None: + super(AutoOSUpgradePolicy, self).__init__(**kwargs) + self.disable_auto_rollback = disable_auto_rollback diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/upgrade_policy.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/upgrade_policy.py index 209ab85eda51..1f73bc7f23b5 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/upgrade_policy.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/upgrade_policy.py @@ -30,12 +30,17 @@ class UpgradePolicy(Model): applied to scale set instances in a rolling fashion when a newer version of the image becomes available. :type automatic_os_upgrade: bool + :param auto_os_upgrade_policy: Configuration parameters used for + performing automatic OS Upgrade. + :type auto_os_upgrade_policy: + ~azure.mgmt.compute.v2017_12_01.models.AutoOSUpgradePolicy """ _attribute_map = { 'mode': {'key': 'mode', 'type': 'UpgradeMode'}, 'rolling_upgrade_policy': {'key': 'rollingUpgradePolicy', 'type': 'RollingUpgradePolicy'}, 'automatic_os_upgrade': {'key': 'automaticOSUpgrade', 'type': 'bool'}, + 'auto_os_upgrade_policy': {'key': 'autoOSUpgradePolicy', 'type': 'AutoOSUpgradePolicy'}, } def __init__(self, **kwargs): @@ -43,3 +48,4 @@ def __init__(self, **kwargs): self.mode = kwargs.get('mode', None) self.rolling_upgrade_policy = kwargs.get('rolling_upgrade_policy', None) self.automatic_os_upgrade = kwargs.get('automatic_os_upgrade', None) + self.auto_os_upgrade_policy = kwargs.get('auto_os_upgrade_policy', None) diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/upgrade_policy_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/upgrade_policy_py3.py index 3441201b6197..7c0b91a3180d 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/upgrade_policy_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/upgrade_policy_py3.py @@ -30,16 +30,22 @@ class UpgradePolicy(Model): applied to scale set instances in a rolling fashion when a newer version of the image becomes available. :type automatic_os_upgrade: bool + :param auto_os_upgrade_policy: Configuration parameters used for + performing automatic OS Upgrade. + :type auto_os_upgrade_policy: + ~azure.mgmt.compute.v2017_12_01.models.AutoOSUpgradePolicy """ _attribute_map = { 'mode': {'key': 'mode', 'type': 'UpgradeMode'}, 'rolling_upgrade_policy': {'key': 'rollingUpgradePolicy', 'type': 'RollingUpgradePolicy'}, 'automatic_os_upgrade': {'key': 'automaticOSUpgrade', 'type': 'bool'}, + 'auto_os_upgrade_policy': {'key': 'autoOSUpgradePolicy', 'type': 'AutoOSUpgradePolicy'}, } - def __init__(self, *, mode=None, rolling_upgrade_policy=None, automatic_os_upgrade: bool=None, **kwargs) -> None: + def __init__(self, *, mode=None, rolling_upgrade_policy=None, automatic_os_upgrade: bool=None, auto_os_upgrade_policy=None, **kwargs) -> None: super(UpgradePolicy, self).__init__(**kwargs) self.mode = mode self.rolling_upgrade_policy = rolling_upgrade_policy self.automatic_os_upgrade = automatic_os_upgrade + self.auto_os_upgrade_policy = auto_os_upgrade_policy From 52d5743a444164682d3e7170f9cecd3af4dadeef Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 2 May 2018 19:18:25 +0000 Subject: [PATCH 2/3] Generated from 27752fd2417b688d4aba3bcde1ada9231659d208 added deafult value as false --- .../v2017_12_01/models/auto_os_upgrade_policy.py | 4 ++-- .../models/auto_os_upgrade_policy_py3.py | 4 ++-- .../mgmt/compute/v2017_12_01/models/data_disk.py | 14 +++++++------- .../compute/v2017_12_01/models/data_disk_py3.py | 14 +++++++------- .../mgmt/compute/v2017_12_01/models/os_disk.py | 14 +++++++------- .../mgmt/compute/v2017_12_01/models/os_disk_py3.py | 14 +++++++------- .../models/virtual_machine_scale_set_os_disk.py | 10 +++++----- .../virtual_machine_scale_set_os_disk_py3.py | 10 +++++----- 8 files changed, 42 insertions(+), 42 deletions(-) diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/auto_os_upgrade_policy.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/auto_os_upgrade_policy.py index 42990dda40ba..2c74af408892 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/auto_os_upgrade_policy.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/auto_os_upgrade_policy.py @@ -15,8 +15,8 @@ class AutoOSUpgradePolicy(Model): """The configuration parameters used for performing automatic OS upgrade. - :param disable_auto_rollback: whether OS image rollback feature should be - disabled. + :param disable_auto_rollback: Whether OS image rollback feature should be + disabled. Default value is false. :type disable_auto_rollback: bool """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/auto_os_upgrade_policy_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/auto_os_upgrade_policy_py3.py index acf889db0258..3e3e751838a8 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/auto_os_upgrade_policy_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/auto_os_upgrade_policy_py3.py @@ -15,8 +15,8 @@ class AutoOSUpgradePolicy(Model): """The configuration parameters used for performing automatic OS upgrade. - :param disable_auto_rollback: whether OS image rollback feature should be - disabled. + :param disable_auto_rollback: Whether OS image rollback feature should be + disabled. Default value is false. :type disable_auto_rollback: bool """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/data_disk.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/data_disk.py index 41e260cdca7e..654ccf054d19 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/data_disk.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/data_disk.py @@ -39,13 +39,13 @@ class DataDisk(Model): should be enabled or disabled on the disk. :type write_accelerator_enabled: bool :param create_option: Required. Specifies how the virtual machine should - be created.

Possible values are:

**Attach** \\u2013 This - value is used when you are using a specialized disk to create the virtual - machine.

**FromImage** \\u2013 This value is used when you are - using an image to create the virtual machine. If you are using a platform - image, you also use the imageReference element described above. If you are - using a marketplace image, you also use the plan element previously - described. Possible values include: 'FromImage', 'Empty', 'Attach' + be created.

Possible values are:

**Attach** This value is + used when you are using a specialized disk to create the virtual + machine.

**FromImage** This value is used when you are using an + image to create the virtual machine. If you are using a platform image, + you also use the imageReference element described above. If you are using + a marketplace image, you also use the plan element previously described. + Possible values include: 'FromImage', 'Empty', 'Attach' :type create_option: str or ~azure.mgmt.compute.v2017_12_01.models.DiskCreateOptionTypes :param disk_size_gb: Specifies the size of an empty data disk in diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/data_disk_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/data_disk_py3.py index b638a05f74a0..575decdd5860 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/data_disk_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/data_disk_py3.py @@ -39,13 +39,13 @@ class DataDisk(Model): should be enabled or disabled on the disk. :type write_accelerator_enabled: bool :param create_option: Required. Specifies how the virtual machine should - be created.

Possible values are:

**Attach** \\u2013 This - value is used when you are using a specialized disk to create the virtual - machine.

**FromImage** \\u2013 This value is used when you are - using an image to create the virtual machine. If you are using a platform - image, you also use the imageReference element described above. If you are - using a marketplace image, you also use the plan element previously - described. Possible values include: 'FromImage', 'Empty', 'Attach' + be created.

Possible values are:

**Attach** This value is + used when you are using a specialized disk to create the virtual + machine.

**FromImage** This value is used when you are using an + image to create the virtual machine. If you are using a platform image, + you also use the imageReference element described above. If you are using + a marketplace image, you also use the plan element previously described. + Possible values include: 'FromImage', 'Empty', 'Attach' :type create_option: str or ~azure.mgmt.compute.v2017_12_01.models.DiskCreateOptionTypes :param disk_size_gb: Specifies the size of an empty data disk in diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/os_disk.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/os_disk.py index a81c8e1fec5e..a265f209401b 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/os_disk.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/os_disk.py @@ -48,13 +48,13 @@ class OSDisk(Model): should be enabled or disabled on the disk. :type write_accelerator_enabled: bool :param create_option: Required. Specifies how the virtual machine should - be created.

Possible values are:

**Attach** \\u2013 This - value is used when you are using a specialized disk to create the virtual - machine.

**FromImage** \\u2013 This value is used when you are - using an image to create the virtual machine. If you are using a platform - image, you also use the imageReference element described above. If you are - using a marketplace image, you also use the plan element previously - described. Possible values include: 'FromImage', 'Empty', 'Attach' + be created.

Possible values are:

**Attach** This value is + used when you are using a specialized disk to create the virtual + machine.

**FromImage** This value is used when you are using an + image to create the virtual machine. If you are using a platform image, + you also use the imageReference element described above. If you are using + a marketplace image, you also use the plan element previously described. + Possible values include: 'FromImage', 'Empty', 'Attach' :type create_option: str or ~azure.mgmt.compute.v2017_12_01.models.DiskCreateOptionTypes :param disk_size_gb: Specifies the size of an empty data disk in diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/os_disk_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/os_disk_py3.py index edfcc1b27230..00c3e7ec0b16 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/os_disk_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/os_disk_py3.py @@ -48,13 +48,13 @@ class OSDisk(Model): should be enabled or disabled on the disk. :type write_accelerator_enabled: bool :param create_option: Required. Specifies how the virtual machine should - be created.

Possible values are:

**Attach** \\u2013 This - value is used when you are using a specialized disk to create the virtual - machine.

**FromImage** \\u2013 This value is used when you are - using an image to create the virtual machine. If you are using a platform - image, you also use the imageReference element described above. If you are - using a marketplace image, you also use the plan element previously - described. Possible values include: 'FromImage', 'Empty', 'Attach' + be created.

Possible values are:

**Attach** This value is + used when you are using a specialized disk to create the virtual + machine.

**FromImage** This value is used when you are using an + image to create the virtual machine. If you are using a platform image, + you also use the imageReference element described above. If you are using + a marketplace image, you also use the plan element previously described. + Possible values include: 'FromImage', 'Empty', 'Attach' :type create_option: str or ~azure.mgmt.compute.v2017_12_01.models.DiskCreateOptionTypes :param disk_size_gb: Specifies the size of an empty data disk in diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_os_disk.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_os_disk.py index 24fa8103eef7..f4eadf1343cb 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_os_disk.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_os_disk.py @@ -29,11 +29,11 @@ class VirtualMachineScaleSetOSDisk(Model): :type write_accelerator_enabled: bool :param create_option: Required. Specifies how the virtual machines in the scale set should be created.

The only allowed value is: - **FromImage** \\u2013 This value is used when you are using an image to - create the virtual machine. If you are using a platform image, you also - use the imageReference element described above. If you are using a - marketplace image, you also use the plan element previously described. - Possible values include: 'FromImage', 'Empty', 'Attach' + **FromImage** This value is used when you are using an image to create + the virtual machine. If you are using a platform image, you also use the + imageReference element described above. If you are using a marketplace + image, you also use the plan element previously described. Possible + values include: 'FromImage', 'Empty', 'Attach' :type create_option: str or ~azure.mgmt.compute.v2017_12_01.models.DiskCreateOptionTypes :param os_type: This property allows you to specify the type of the OS diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_os_disk_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_os_disk_py3.py index cd6f8e0254fd..a660b60652b4 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_os_disk_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_os_disk_py3.py @@ -29,11 +29,11 @@ class VirtualMachineScaleSetOSDisk(Model): :type write_accelerator_enabled: bool :param create_option: Required. Specifies how the virtual machines in the scale set should be created.

The only allowed value is: - **FromImage** \\u2013 This value is used when you are using an image to - create the virtual machine. If you are using a platform image, you also - use the imageReference element described above. If you are using a - marketplace image, you also use the plan element previously described. - Possible values include: 'FromImage', 'Empty', 'Attach' + **FromImage** This value is used when you are using an image to create + the virtual machine. If you are using a platform image, you also use the + imageReference element described above. If you are using a marketplace + image, you also use the plan element previously described. Possible + values include: 'FromImage', 'Empty', 'Attach' :type create_option: str or ~azure.mgmt.compute.v2017_12_01.models.DiskCreateOptionTypes :param os_type: This property allows you to specify the type of the OS From 1aa61a234e08b9589db183a33ccbc8d04e54d12c Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Tue, 8 May 2018 23:10:45 +0000 Subject: [PATCH 3/3] Generated from 27752fd2417b688d4aba3bcde1ada9231659d208 added deafult value as false --- .../mgmt/compute/v2017_12_01/models/data_disk.py | 14 +++++++------- .../compute/v2017_12_01/models/data_disk_py3.py | 14 +++++++------- .../mgmt/compute/v2017_12_01/models/os_disk.py | 14 +++++++------- .../mgmt/compute/v2017_12_01/models/os_disk_py3.py | 14 +++++++------- .../models/virtual_machine_scale_set_os_disk.py | 10 +++++----- .../virtual_machine_scale_set_os_disk_py3.py | 10 +++++----- 6 files changed, 38 insertions(+), 38 deletions(-) diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/data_disk.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/data_disk.py index 654ccf054d19..41e260cdca7e 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/data_disk.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/data_disk.py @@ -39,13 +39,13 @@ class DataDisk(Model): should be enabled or disabled on the disk. :type write_accelerator_enabled: bool :param create_option: Required. Specifies how the virtual machine should - be created.

Possible values are:

**Attach** This value is - used when you are using a specialized disk to create the virtual - machine.

**FromImage** This value is used when you are using an - image to create the virtual machine. If you are using a platform image, - you also use the imageReference element described above. If you are using - a marketplace image, you also use the plan element previously described. - Possible values include: 'FromImage', 'Empty', 'Attach' + be created.

Possible values are:

**Attach** \\u2013 This + value is used when you are using a specialized disk to create the virtual + machine.

**FromImage** \\u2013 This value is used when you are + using an image to create the virtual machine. If you are using a platform + image, you also use the imageReference element described above. If you are + using a marketplace image, you also use the plan element previously + described. Possible values include: 'FromImage', 'Empty', 'Attach' :type create_option: str or ~azure.mgmt.compute.v2017_12_01.models.DiskCreateOptionTypes :param disk_size_gb: Specifies the size of an empty data disk in diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/data_disk_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/data_disk_py3.py index 575decdd5860..b638a05f74a0 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/data_disk_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/data_disk_py3.py @@ -39,13 +39,13 @@ class DataDisk(Model): should be enabled or disabled on the disk. :type write_accelerator_enabled: bool :param create_option: Required. Specifies how the virtual machine should - be created.

Possible values are:

**Attach** This value is - used when you are using a specialized disk to create the virtual - machine.

**FromImage** This value is used when you are using an - image to create the virtual machine. If you are using a platform image, - you also use the imageReference element described above. If you are using - a marketplace image, you also use the plan element previously described. - Possible values include: 'FromImage', 'Empty', 'Attach' + be created.

Possible values are:

**Attach** \\u2013 This + value is used when you are using a specialized disk to create the virtual + machine.

**FromImage** \\u2013 This value is used when you are + using an image to create the virtual machine. If you are using a platform + image, you also use the imageReference element described above. If you are + using a marketplace image, you also use the plan element previously + described. Possible values include: 'FromImage', 'Empty', 'Attach' :type create_option: str or ~azure.mgmt.compute.v2017_12_01.models.DiskCreateOptionTypes :param disk_size_gb: Specifies the size of an empty data disk in diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/os_disk.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/os_disk.py index a265f209401b..a81c8e1fec5e 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/os_disk.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/os_disk.py @@ -48,13 +48,13 @@ class OSDisk(Model): should be enabled or disabled on the disk. :type write_accelerator_enabled: bool :param create_option: Required. Specifies how the virtual machine should - be created.

Possible values are:

**Attach** This value is - used when you are using a specialized disk to create the virtual - machine.

**FromImage** This value is used when you are using an - image to create the virtual machine. If you are using a platform image, - you also use the imageReference element described above. If you are using - a marketplace image, you also use the plan element previously described. - Possible values include: 'FromImage', 'Empty', 'Attach' + be created.

Possible values are:

**Attach** \\u2013 This + value is used when you are using a specialized disk to create the virtual + machine.

**FromImage** \\u2013 This value is used when you are + using an image to create the virtual machine. If you are using a platform + image, you also use the imageReference element described above. If you are + using a marketplace image, you also use the plan element previously + described. Possible values include: 'FromImage', 'Empty', 'Attach' :type create_option: str or ~azure.mgmt.compute.v2017_12_01.models.DiskCreateOptionTypes :param disk_size_gb: Specifies the size of an empty data disk in diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/os_disk_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/os_disk_py3.py index 00c3e7ec0b16..edfcc1b27230 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/os_disk_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/os_disk_py3.py @@ -48,13 +48,13 @@ class OSDisk(Model): should be enabled or disabled on the disk. :type write_accelerator_enabled: bool :param create_option: Required. Specifies how the virtual machine should - be created.

Possible values are:

**Attach** This value is - used when you are using a specialized disk to create the virtual - machine.

**FromImage** This value is used when you are using an - image to create the virtual machine. If you are using a platform image, - you also use the imageReference element described above. If you are using - a marketplace image, you also use the plan element previously described. - Possible values include: 'FromImage', 'Empty', 'Attach' + be created.

Possible values are:

**Attach** \\u2013 This + value is used when you are using a specialized disk to create the virtual + machine.

**FromImage** \\u2013 This value is used when you are + using an image to create the virtual machine. If you are using a platform + image, you also use the imageReference element described above. If you are + using a marketplace image, you also use the plan element previously + described. Possible values include: 'FromImage', 'Empty', 'Attach' :type create_option: str or ~azure.mgmt.compute.v2017_12_01.models.DiskCreateOptionTypes :param disk_size_gb: Specifies the size of an empty data disk in diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_os_disk.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_os_disk.py index f4eadf1343cb..24fa8103eef7 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_os_disk.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_os_disk.py @@ -29,11 +29,11 @@ class VirtualMachineScaleSetOSDisk(Model): :type write_accelerator_enabled: bool :param create_option: Required. Specifies how the virtual machines in the scale set should be created.

The only allowed value is: - **FromImage** This value is used when you are using an image to create - the virtual machine. If you are using a platform image, you also use the - imageReference element described above. If you are using a marketplace - image, you also use the plan element previously described. Possible - values include: 'FromImage', 'Empty', 'Attach' + **FromImage** \\u2013 This value is used when you are using an image to + create the virtual machine. If you are using a platform image, you also + use the imageReference element described above. If you are using a + marketplace image, you also use the plan element previously described. + Possible values include: 'FromImage', 'Empty', 'Attach' :type create_option: str or ~azure.mgmt.compute.v2017_12_01.models.DiskCreateOptionTypes :param os_type: This property allows you to specify the type of the OS diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_os_disk_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_os_disk_py3.py index a660b60652b4..cd6f8e0254fd 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_os_disk_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/virtual_machine_scale_set_os_disk_py3.py @@ -29,11 +29,11 @@ class VirtualMachineScaleSetOSDisk(Model): :type write_accelerator_enabled: bool :param create_option: Required. Specifies how the virtual machines in the scale set should be created.

The only allowed value is: - **FromImage** This value is used when you are using an image to create - the virtual machine. If you are using a platform image, you also use the - imageReference element described above. If you are using a marketplace - image, you also use the plan element previously described. Possible - values include: 'FromImage', 'Empty', 'Attach' + **FromImage** \\u2013 This value is used when you are using an image to + create the virtual machine. If you are using a platform image, you also + use the imageReference element described above. If you are using a + marketplace image, you also use the plan element previously described. + Possible values include: 'FromImage', 'Empty', 'Attach' :type create_option: str or ~azure.mgmt.compute.v2017_12_01.models.DiskCreateOptionTypes :param os_type: This property allows you to specify the type of the OS