From d730116ca77a755841b3e56cfee32e0bc26e46a3 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Tue, 18 Sep 2018 21:38:03 +0000 Subject: [PATCH 1/4] Generated from 2f5219561aefc8c0d87bb9b62d5fc8f222f2b842 updated comment --- .../compute/v2018_06_01/models/__init__.py | 5 +++ .../models/compute_management_client_enums.py | 5 +++ .../v2018_06_01/models/diff_disk_settings.py | 32 +++++++++++++++++++ .../models/diff_disk_settings_py3.py | 32 +++++++++++++++++++ .../compute/v2018_06_01/models/os_disk.py | 6 ++++ .../compute/v2018_06_01/models/os_disk_py3.py | 8 ++++- .../virtual_machine_scale_set_os_disk.py | 6 ++++ .../virtual_machine_scale_set_os_disk_py3.py | 8 ++++- 8 files changed, 100 insertions(+), 2 deletions(-) create mode 100644 azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings.py create mode 100644 azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings_py3.py diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/__init__.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/__init__.py index 42b0ba599d73..678ad2136829 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/__init__.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/__init__.py @@ -38,6 +38,7 @@ from .key_vault_key_reference_py3 import KeyVaultKeyReference from .disk_encryption_settings_py3 import DiskEncryptionSettings from .virtual_hard_disk_py3 import VirtualHardDisk + from .diff_disk_settings_py3 import DiffDiskSettings from .managed_disk_parameters_py3 import ManagedDiskParameters from .os_disk_py3 import OSDisk from .data_disk_py3 import DataDisk @@ -202,6 +203,7 @@ from .key_vault_key_reference import KeyVaultKeyReference from .disk_encryption_settings import DiskEncryptionSettings from .virtual_hard_disk import VirtualHardDisk + from .diff_disk_settings import DiffDiskSettings from .managed_disk_parameters import ManagedDiskParameters from .os_disk import OSDisk from .data_disk import DataDisk @@ -361,6 +363,7 @@ CachingTypes, DiskCreateOptionTypes, StorageAccountTypes, + DiffDiskOption, PassNames, ComponentNames, SettingNames, @@ -418,6 +421,7 @@ 'KeyVaultKeyReference', 'DiskEncryptionSettings', 'VirtualHardDisk', + 'DiffDiskSettings', 'ManagedDiskParameters', 'OSDisk', 'DataDisk', @@ -576,6 +580,7 @@ 'CachingTypes', 'DiskCreateOptionTypes', 'StorageAccountTypes', + 'DiffDiskOption', 'PassNames', 'ComponentNames', 'SettingNames', diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/compute_management_client_enums.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/compute_management_client_enums.py index 994228e929a1..5129fda0218f 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/compute_management_client_enums.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/compute_management_client_enums.py @@ -217,6 +217,11 @@ class StorageAccountTypes(str, Enum): ultra_ssd_lrs = "UltraSSD_LRS" +class DiffDiskOption(str, Enum): + + local = "Local" + + class PassNames(str, Enum): oobe_system = "OobeSystem" diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings.py new file mode 100644 index 000000000000..8596358e80f7 --- /dev/null +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings.py @@ -0,0 +1,32 @@ +# 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 .sub_resource import SubResource + + +class DiffDiskSettings(SubResource): + """The parameters of a DiffDiskSettings for operating system disk. + + :param id: Resource Id + :type id: str + :param option: Specifies the diff disk option for operating system disk. + Possible values are: Local. Possible values include: 'Local' + :type option: str or ~azure.mgmt.compute.v2018_06_01.models.DiffDiskOption + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'option': {'key': 'option', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(DiffDiskSettings, self).__init__(**kwargs) + self.option = kwargs.get('option', None) diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings_py3.py new file mode 100644 index 000000000000..c16dac542a65 --- /dev/null +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings_py3.py @@ -0,0 +1,32 @@ +# 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 .sub_resource_py3 import SubResource + + +class DiffDiskSettings(SubResource): + """The parameters of a DiffDiskSettings for operating system disk. + + :param id: Resource Id + :type id: str + :param option: Specifies the diff disk option for operating system disk. + Possible values are: Local. Possible values include: 'Local' + :type option: str or ~azure.mgmt.compute.v2018_06_01.models.DiffDiskOption + """ + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'option': {'key': 'option', 'type': 'str'}, + } + + def __init__(self, *, id: str=None, option=None, **kwargs) -> None: + super(DiffDiskSettings, self).__init__(id=id, **kwargs) + self.option = option diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/os_disk.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/os_disk.py index b4fed8c2c1cd..f1f4016d46c5 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/os_disk.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/os_disk.py @@ -47,6 +47,10 @@ class OSDisk(Model): :param write_accelerator_enabled: Specifies whether writeAccelerator should be enabled or disabled on the disk. :type write_accelerator_enabled: bool + :param diff_disk_settings: Specifies the Diff Disk Settings for the + operating system disk used by the virtual machine. + :type diff_disk_settings: + ~azure.mgmt.compute.v2018_06_01.models.DiffDiskSettings :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 @@ -78,6 +82,7 @@ class OSDisk(Model): 'image': {'key': 'image', 'type': 'VirtualHardDisk'}, 'caching': {'key': 'caching', 'type': 'CachingTypes'}, 'write_accelerator_enabled': {'key': 'writeAcceleratorEnabled', 'type': 'bool'}, + 'diff_disk_settings': {'key': 'diffDiskSettings', 'type': 'DiffDiskSettings'}, 'create_option': {'key': 'createOption', 'type': 'str'}, 'disk_size_gb': {'key': 'diskSizeGB', 'type': 'int'}, 'managed_disk': {'key': 'managedDisk', 'type': 'ManagedDiskParameters'}, @@ -92,6 +97,7 @@ def __init__(self, **kwargs): self.image = kwargs.get('image', None) self.caching = kwargs.get('caching', None) self.write_accelerator_enabled = kwargs.get('write_accelerator_enabled', None) + self.diff_disk_settings = kwargs.get('diff_disk_settings', None) self.create_option = kwargs.get('create_option', None) self.disk_size_gb = kwargs.get('disk_size_gb', None) self.managed_disk = kwargs.get('managed_disk', None) diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/os_disk_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/os_disk_py3.py index 7dc498d4d7d0..bd64a7cddede 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/os_disk_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/os_disk_py3.py @@ -47,6 +47,10 @@ class OSDisk(Model): :param write_accelerator_enabled: Specifies whether writeAccelerator should be enabled or disabled on the disk. :type write_accelerator_enabled: bool + :param diff_disk_settings: Specifies the Diff Disk Settings for the + operating system disk used by the virtual machine. + :type diff_disk_settings: + ~azure.mgmt.compute.v2018_06_01.models.DiffDiskSettings :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 @@ -78,12 +82,13 @@ class OSDisk(Model): 'image': {'key': 'image', 'type': 'VirtualHardDisk'}, 'caching': {'key': 'caching', 'type': 'CachingTypes'}, 'write_accelerator_enabled': {'key': 'writeAcceleratorEnabled', 'type': 'bool'}, + 'diff_disk_settings': {'key': 'diffDiskSettings', 'type': 'DiffDiskSettings'}, 'create_option': {'key': 'createOption', 'type': 'str'}, 'disk_size_gb': {'key': 'diskSizeGB', 'type': 'int'}, 'managed_disk': {'key': 'managedDisk', 'type': 'ManagedDiskParameters'}, } - def __init__(self, *, create_option, os_type=None, encryption_settings=None, name: str=None, vhd=None, image=None, caching=None, write_accelerator_enabled: bool=None, disk_size_gb: int=None, managed_disk=None, **kwargs) -> None: + def __init__(self, *, create_option, os_type=None, encryption_settings=None, name: str=None, vhd=None, image=None, caching=None, write_accelerator_enabled: bool=None, diff_disk_settings=None, disk_size_gb: int=None, managed_disk=None, **kwargs) -> None: super(OSDisk, self).__init__(**kwargs) self.os_type = os_type self.encryption_settings = encryption_settings @@ -92,6 +97,7 @@ def __init__(self, *, create_option, os_type=None, encryption_settings=None, nam self.image = image self.caching = caching self.write_accelerator_enabled = write_accelerator_enabled + self.diff_disk_settings = diff_disk_settings self.create_option = create_option self.disk_size_gb = disk_size_gb self.managed_disk = managed_disk diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_os_disk.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_os_disk.py index 7a1676cfe1e3..ed536aac3b41 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_os_disk.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_os_disk.py @@ -36,6 +36,10 @@ class VirtualMachineScaleSetOSDisk(Model): Possible values include: 'FromImage', 'Empty', 'Attach' :type create_option: str or ~azure.mgmt.compute.v2018_06_01.models.DiskCreateOptionTypes + :param diff_disk_settings: Specifies the Diff Disk Settings for the + operating system disk used by the virtual machine scale set. + :type diff_disk_settings: + ~azure.mgmt.compute.v2018_06_01.models.DiffDiskSettings :param disk_size_gb: Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.

This value cannot be larger than 1023 GB @@ -66,6 +70,7 @@ class VirtualMachineScaleSetOSDisk(Model): 'caching': {'key': 'caching', 'type': 'CachingTypes'}, 'write_accelerator_enabled': {'key': 'writeAcceleratorEnabled', 'type': 'bool'}, 'create_option': {'key': 'createOption', 'type': 'str'}, + 'diff_disk_settings': {'key': 'diffDiskSettings', 'type': 'DiffDiskSettings'}, 'disk_size_gb': {'key': 'diskSizeGB', 'type': 'int'}, 'os_type': {'key': 'osType', 'type': 'OperatingSystemTypes'}, 'image': {'key': 'image', 'type': 'VirtualHardDisk'}, @@ -79,6 +84,7 @@ def __init__(self, **kwargs): self.caching = kwargs.get('caching', None) self.write_accelerator_enabled = kwargs.get('write_accelerator_enabled', None) self.create_option = kwargs.get('create_option', None) + self.diff_disk_settings = kwargs.get('diff_disk_settings', None) self.disk_size_gb = kwargs.get('disk_size_gb', None) self.os_type = kwargs.get('os_type', None) self.image = kwargs.get('image', None) diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_os_disk_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_os_disk_py3.py index 5b44c8e2e8f9..d6ed9a20c92a 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_os_disk_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_os_disk_py3.py @@ -36,6 +36,10 @@ class VirtualMachineScaleSetOSDisk(Model): Possible values include: 'FromImage', 'Empty', 'Attach' :type create_option: str or ~azure.mgmt.compute.v2018_06_01.models.DiskCreateOptionTypes + :param diff_disk_settings: Specifies the Diff Disk Settings for the + operating system disk used by the virtual machine scale set. + :type diff_disk_settings: + ~azure.mgmt.compute.v2018_06_01.models.DiffDiskSettings :param disk_size_gb: Specifies the size of the operating system disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image.

This value cannot be larger than 1023 GB @@ -66,6 +70,7 @@ class VirtualMachineScaleSetOSDisk(Model): 'caching': {'key': 'caching', 'type': 'CachingTypes'}, 'write_accelerator_enabled': {'key': 'writeAcceleratorEnabled', 'type': 'bool'}, 'create_option': {'key': 'createOption', 'type': 'str'}, + 'diff_disk_settings': {'key': 'diffDiskSettings', 'type': 'DiffDiskSettings'}, 'disk_size_gb': {'key': 'diskSizeGB', 'type': 'int'}, 'os_type': {'key': 'osType', 'type': 'OperatingSystemTypes'}, 'image': {'key': 'image', 'type': 'VirtualHardDisk'}, @@ -73,12 +78,13 @@ class VirtualMachineScaleSetOSDisk(Model): 'managed_disk': {'key': 'managedDisk', 'type': 'VirtualMachineScaleSetManagedDiskParameters'}, } - def __init__(self, *, create_option, name: str=None, caching=None, write_accelerator_enabled: bool=None, disk_size_gb: int=None, os_type=None, image=None, vhd_containers=None, managed_disk=None, **kwargs) -> None: + def __init__(self, *, create_option, name: str=None, caching=None, write_accelerator_enabled: bool=None, diff_disk_settings=None, disk_size_gb: int=None, os_type=None, image=None, vhd_containers=None, managed_disk=None, **kwargs) -> None: super(VirtualMachineScaleSetOSDisk, self).__init__(**kwargs) self.name = name self.caching = caching self.write_accelerator_enabled = write_accelerator_enabled self.create_option = create_option + self.diff_disk_settings = diff_disk_settings self.disk_size_gb = disk_size_gb self.os_type = os_type self.image = image From 2caf2d967a2361958fd0c5421717eed8ff1c972e Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 19 Sep 2018 18:24:59 +0000 Subject: [PATCH 2/4] Generated from 3286411fb1aa50b4ef9633cfdd4403f6357d1cf0 updated swagger specs for diffdisksettings property --- .../compute/v2018_06_01/models/diff_disk_settings.py | 7 ++----- .../v2018_06_01/models/diff_disk_settings_py3.py | 11 ++++------- 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings.py index 8596358e80f7..97d66cd44f64 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings.py @@ -9,21 +9,18 @@ # regenerated. # -------------------------------------------------------------------------- -from .sub_resource import SubResource +from msrest.serialization import Model -class DiffDiskSettings(SubResource): +class DiffDiskSettings(Model): """The parameters of a DiffDiskSettings for operating system disk. - :param id: Resource Id - :type id: str :param option: Specifies the diff disk option for operating system disk. Possible values are: Local. Possible values include: 'Local' :type option: str or ~azure.mgmt.compute.v2018_06_01.models.DiffDiskOption """ _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, 'option': {'key': 'option', 'type': 'str'}, } diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings_py3.py index c16dac542a65..a42fd84eb0f7 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings_py3.py @@ -9,24 +9,21 @@ # regenerated. # -------------------------------------------------------------------------- -from .sub_resource_py3 import SubResource +from msrest.serialization import Model -class DiffDiskSettings(SubResource): +class DiffDiskSettings(Model): """The parameters of a DiffDiskSettings for operating system disk. - :param id: Resource Id - :type id: str :param option: Specifies the diff disk option for operating system disk. Possible values are: Local. Possible values include: 'Local' :type option: str or ~azure.mgmt.compute.v2018_06_01.models.DiffDiskOption """ _attribute_map = { - 'id': {'key': 'id', 'type': 'str'}, 'option': {'key': 'option', 'type': 'str'}, } - def __init__(self, *, id: str=None, option=None, **kwargs) -> None: - super(DiffDiskSettings, self).__init__(id=id, **kwargs) + def __init__(self, *, option=None, **kwargs) -> None: + super(DiffDiskSettings, self).__init__(**kwargs) self.option = option From ee13176d5ce2af084ec91c858ecd33f6236f87d8 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Fri, 21 Sep 2018 05:12:07 +0000 Subject: [PATCH 3/4] Generated from f8934d4e93099dec66995c9fdeccd02d7fb535bd updated swagger spec comments for diff disk settings [property --- .../v2018_06_01/models/diff_disk_settings.py | 4 +- .../models/diff_disk_settings_py3.py | 4 +- .../compute/v2018_06_01/models/gallery.py | 6 ++- ...allery_artifact_publishing_profile_base.py | 4 +- ...ry_artifact_publishing_profile_base_py3.py | 4 +- .../models/gallery_artifact_source.py | 2 +- .../models/gallery_artifact_source_py3.py | 2 +- .../models/gallery_data_disk_image.py | 10 ++-- .../models/gallery_data_disk_image_py3.py | 10 ++-- .../v2018_06_01/models/gallery_disk_image.py | 3 +- .../models/gallery_disk_image_py3.py | 3 +- .../v2018_06_01/models/gallery_identifier.py | 3 +- .../models/gallery_identifier_py3.py | 3 +- .../v2018_06_01/models/gallery_image.py | 31 ++++++----- .../models/gallery_image_identifier.py | 9 ++-- .../models/gallery_image_identifier_py3.py | 9 ++-- .../v2018_06_01/models/gallery_image_py3.py | 31 ++++++----- .../models/gallery_image_version.py | 4 +- ...allery_image_version_publishing_profile.py | 22 ++++---- ...ry_image_version_publishing_profile_py3.py | 22 ++++---- .../models/gallery_image_version_py3.py | 4 +- .../gallery_image_version_storage_profile.py | 2 +- ...llery_image_version_storage_profile_py3.py | 2 +- .../models/gallery_os_disk_image.py | 3 +- .../models/gallery_os_disk_image_py3.py | 3 +- .../compute/v2018_06_01/models/gallery_py3.py | 6 ++- .../v2018_06_01/models/image_purchase_plan.py | 4 +- .../models/image_purchase_plan_py3.py | 4 +- .../compute/v2018_06_01/models/os_disk.py | 4 +- .../compute/v2018_06_01/models/os_disk_py3.py | 4 +- .../recommended_machine_configuration.py | 3 +- .../recommended_machine_configuration_py3.py | 3 +- .../models/regional_replication_status.py | 3 +- .../models/regional_replication_status_py3.py | 3 +- .../v2018_06_01/models/replication_status.py | 6 +-- .../models/replication_status_py3.py | 6 +-- .../v2018_06_01/models/target_region.py | 4 +- .../v2018_06_01/models/target_region_py3.py | 4 +- .../virtual_machine_scale_set_os_disk.py | 4 +- .../virtual_machine_scale_set_os_disk_py3.py | 4 +- .../operations/galleries_operations.py | 19 ++++--- .../gallery_image_versions_operations.py | 51 +++++++++++-------- .../operations/gallery_images_operations.py | 29 +++++++---- 43 files changed, 206 insertions(+), 155 deletions(-) diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings.py index 97d66cd44f64..f6eb11c0dca6 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings.py @@ -15,8 +15,8 @@ class DiffDiskSettings(Model): """The parameters of a DiffDiskSettings for operating system disk. - :param option: Specifies the diff disk option for operating system disk. - Possible values are: Local. Possible values include: 'Local' + :param option: Specifies the differencing disk settings for operating + system disk. Possible values include: 'Local' :type option: str or ~azure.mgmt.compute.v2018_06_01.models.DiffDiskOption """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings_py3.py index a42fd84eb0f7..4eb7bf757475 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings_py3.py @@ -15,8 +15,8 @@ class DiffDiskSettings(Model): """The parameters of a DiffDiskSettings for operating system disk. - :param option: Specifies the diff disk option for operating system disk. - Possible values are: Local. Possible values include: 'Local' + :param option: Specifies the differencing disk settings for operating + system disk. Possible values include: 'Local' :type option: str or ~azure.mgmt.compute.v2018_06_01.models.DiffDiskOption """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery.py index 5dfdc18e1734..8b7969b69f8d 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery.py @@ -13,7 +13,8 @@ class Gallery(Resource): - """Specifies information about the gallery that you want to create or update. + """Specifies information about the Shared Image Gallery that you want to + create or update. Variables are only populated by the server, and will be ignored when sending a request. @@ -30,7 +31,8 @@ class Gallery(Resource): :type location: str :param tags: Resource tags :type tags: dict[str, str] - :param description: The description of this gallery resource. + :param description: The description of this Shared Image Gallery resource. + This property is updateable. :type description: str :param identifier: :type identifier: ~azure.mgmt.compute.v2018_06_01.models.GalleryIdentifier diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_artifact_publishing_profile_base.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_artifact_publishing_profile_base.py index bb59422b13cb..03e5df90a768 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_artifact_publishing_profile_base.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_artifact_publishing_profile_base.py @@ -17,8 +17,8 @@ class GalleryArtifactPublishingProfileBase(Model): All required parameters must be populated in order to send to Azure. - :param target_regions: The target regions where the artifact is going to - be published. + :param target_regions: The target regions where the Image Version is going + to be replicated to. This property is updateable. :type target_regions: list[~azure.mgmt.compute.v2018_06_01.models.TargetRegion] :param source: Required. diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_artifact_publishing_profile_base_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_artifact_publishing_profile_base_py3.py index 335f17f5793c..45a9ad013174 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_artifact_publishing_profile_base_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_artifact_publishing_profile_base_py3.py @@ -17,8 +17,8 @@ class GalleryArtifactPublishingProfileBase(Model): All required parameters must be populated in order to send to Azure. - :param target_regions: The target regions where the artifact is going to - be published. + :param target_regions: The target regions where the Image Version is going + to be replicated to. This property is updateable. :type target_regions: list[~azure.mgmt.compute.v2018_06_01.models.TargetRegion] :param source: Required. diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_artifact_source.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_artifact_source.py index d0a6d0fee7f2..7e653ff73b50 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_artifact_source.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_artifact_source.py @@ -13,7 +13,7 @@ class GalleryArtifactSource(Model): - """The source of the gallery artifact. + """The source image from which the Image Version is going to be created. All required parameters must be populated in order to send to Azure. diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_artifact_source_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_artifact_source_py3.py index 2fe76b0a2bf2..0428d4d3ce0b 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_artifact_source_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_artifact_source_py3.py @@ -13,7 +13,7 @@ class GalleryArtifactSource(Model): - """The source of the gallery artifact. + """The source image from which the Image Version is going to be created. All required parameters must be populated in order to send to Azure. diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_data_disk_image.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_data_disk_image.py index 88efa05270a0..fc5413c0f896 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_data_disk_image.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_data_disk_image.py @@ -18,16 +18,18 @@ class GalleryDataDiskImage(GalleryDiskImage): Variables are only populated by the server, and will be ignored when sending a request. - :ivar size_in_gb: It indicates the size of the VHD to create. + :ivar size_in_gb: This property indicates the size of the VHD to be + created. :vartype size_in_gb: int :ivar host_caching: The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'. Possible values include: 'None', 'ReadOnly', 'ReadWrite' :vartype host_caching: str or ~azure.mgmt.compute.v2018_06_01.models.HostCaching - :ivar lun: Specifies the logical unit number of the data disk. This value - is used to identify data disks within the VM and therefore must be unique - for each data disk attached to a VM. + :ivar lun: This property specifies the logical unit number of the data + disk. This value is used to identify data disks within the Virtual Machine + and therefore must be unique for each data disk attached to the Virtual + Machine. :vartype lun: int """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_data_disk_image_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_data_disk_image_py3.py index 06b2a569818b..a31d13a83397 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_data_disk_image_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_data_disk_image_py3.py @@ -18,16 +18,18 @@ class GalleryDataDiskImage(GalleryDiskImage): Variables are only populated by the server, and will be ignored when sending a request. - :ivar size_in_gb: It indicates the size of the VHD to create. + :ivar size_in_gb: This property indicates the size of the VHD to be + created. :vartype size_in_gb: int :ivar host_caching: The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'. Possible values include: 'None', 'ReadOnly', 'ReadWrite' :vartype host_caching: str or ~azure.mgmt.compute.v2018_06_01.models.HostCaching - :ivar lun: Specifies the logical unit number of the data disk. This value - is used to identify data disks within the VM and therefore must be unique - for each data disk attached to a VM. + :ivar lun: This property specifies the logical unit number of the data + disk. This value is used to identify data disks within the Virtual Machine + and therefore must be unique for each data disk attached to the Virtual + Machine. :vartype lun: int """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_disk_image.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_disk_image.py index b99d727114c9..58ea87f0af3a 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_disk_image.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_disk_image.py @@ -18,7 +18,8 @@ class GalleryDiskImage(Model): Variables are only populated by the server, and will be ignored when sending a request. - :ivar size_in_gb: It indicates the size of the VHD to create. + :ivar size_in_gb: This property indicates the size of the VHD to be + created. :vartype size_in_gb: int :ivar host_caching: The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'. Possible values include: 'None', 'ReadOnly', diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_disk_image_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_disk_image_py3.py index c27888c9a07e..44f832029d60 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_disk_image_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_disk_image_py3.py @@ -18,7 +18,8 @@ class GalleryDiskImage(Model): Variables are only populated by the server, and will be ignored when sending a request. - :ivar size_in_gb: It indicates the size of the VHD to create. + :ivar size_in_gb: This property indicates the size of the VHD to be + created. :vartype size_in_gb: int :ivar host_caching: The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'. Possible values include: 'None', 'ReadOnly', diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_identifier.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_identifier.py index 015fc199542e..324d20c34cfd 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_identifier.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_identifier.py @@ -18,7 +18,8 @@ class GalleryIdentifier(Model): Variables are only populated by the server, and will be ignored when sending a request. - :ivar unique_name: The unique name of the gallery + :ivar unique_name: The unique name of the Shared Image Gallery. This name + is generated automatically by Azure. :vartype unique_name: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_identifier_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_identifier_py3.py index 2b7f4e6555a6..d7279159b636 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_identifier_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_identifier_py3.py @@ -18,7 +18,8 @@ class GalleryIdentifier(Model): Variables are only populated by the server, and will be ignored when sending a request. - :ivar unique_name: The unique name of the gallery + :ivar unique_name: The unique name of the Shared Image Gallery. This name + is generated automatically by Azure. :vartype unique_name: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image.py index 5f019792c881..551b1e979fa0 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image.py @@ -13,8 +13,8 @@ class GalleryImage(Resource): - """Specifies information about the gallery image that you want to create or - update. + """Specifies information about the gallery Image Definition that you want to + create or update. Variables are only populated by the server, and will be ignored when sending a request. @@ -31,25 +31,28 @@ class GalleryImage(Resource): :type location: str :param tags: Resource tags :type tags: dict[str, str] - :param description: The description of this gallery image resource. + :param description: The description of this gallery Image Definition + resource. This property is updateable. :type description: str - :param eula: The Eula agreement for the gallery image. + :param eula: The Eula agreement for the gallery Image Definition. :type eula: str :param privacy_statement_uri: The privacy statement uri. :type privacy_statement_uri: str :param release_note_uri: The release note uri. :type release_note_uri: str :param os_type: Required. This property allows you to specify the type of - the OS that is included in the disk if creating a VM from user-image or a - specialized VHD.

Possible values are:

**Windows** -

**Linux**. Possible values include: 'Windows', 'Linux' + the OS that is included in the disk when creating a VM from a managed + image.

Possible values are:

**Windows**

+ **Linux**. Possible values include: 'Windows', 'Linux' :type os_type: str or ~azure.mgmt.compute.v2018_06_01.models.OperatingSystemTypes - :param os_state: Required. The OS State. Possible values include: - 'Generalized', 'Specialized' + :param os_state: Required. The allowed values for OS State are + 'Generalized'. Possible values include: 'Generalized', 'Specialized' :type os_state: str or ~azure.mgmt.compute.v2018_06_01.models.OperatingSystemStateTypes - :param end_of_life_date: The end of life of this gallery image. + :param end_of_life_date: The end of life date of the gallery Image + Definition. This property can be used for decommissioning purposes. This + property is updateable. :type end_of_life_date: datetime :param identifier: Required. :type identifier: @@ -62,10 +65,10 @@ class GalleryImage(Resource): :param purchase_plan: :type purchase_plan: ~azure.mgmt.compute.v2018_06_01.models.ImagePurchasePlan - :ivar provisioning_state: The current state of the gallery image. The - provisioning state, which only appears in the response. Possible values - include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', - 'Migrating' + :ivar provisioning_state: The current state of the gallery Image + Definition. The provisioning state, which only appears in the response. + Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', + 'Deleting', 'Migrating' :vartype provisioning_state: str or ~azure.mgmt.compute.v2018_06_01.models.enum """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_identifier.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_identifier.py index 0a3e89879504..15699690de5e 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_identifier.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_identifier.py @@ -13,15 +13,16 @@ class GalleryImageIdentifier(Model): - """This is the gallery image identifier. + """This is the gallery Image Definition identifier. All required parameters must be populated in order to send to Azure. - :param publisher: Required. The gallery image publisher name. + :param publisher: Required. The name of the gallery Image Definition + publisher. :type publisher: str - :param offer: Required. The gallery image offer name. + :param offer: Required. The name of the gallery Image Definition offer. :type offer: str - :param sku: Required. The gallery image sku name. + :param sku: Required. The name of the gallery Image Definition SKU. :type sku: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_identifier_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_identifier_py3.py index 4d48b4b4f889..3876526cebe4 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_identifier_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_identifier_py3.py @@ -13,15 +13,16 @@ class GalleryImageIdentifier(Model): - """This is the gallery image identifier. + """This is the gallery Image Definition identifier. All required parameters must be populated in order to send to Azure. - :param publisher: Required. The gallery image publisher name. + :param publisher: Required. The name of the gallery Image Definition + publisher. :type publisher: str - :param offer: Required. The gallery image offer name. + :param offer: Required. The name of the gallery Image Definition offer. :type offer: str - :param sku: Required. The gallery image sku name. + :param sku: Required. The name of the gallery Image Definition SKU. :type sku: str """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_py3.py index d263e80f3e1e..c77aac090c0f 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_py3.py @@ -13,8 +13,8 @@ class GalleryImage(Resource): - """Specifies information about the gallery image that you want to create or - update. + """Specifies information about the gallery Image Definition that you want to + create or update. Variables are only populated by the server, and will be ignored when sending a request. @@ -31,25 +31,28 @@ class GalleryImage(Resource): :type location: str :param tags: Resource tags :type tags: dict[str, str] - :param description: The description of this gallery image resource. + :param description: The description of this gallery Image Definition + resource. This property is updateable. :type description: str - :param eula: The Eula agreement for the gallery image. + :param eula: The Eula agreement for the gallery Image Definition. :type eula: str :param privacy_statement_uri: The privacy statement uri. :type privacy_statement_uri: str :param release_note_uri: The release note uri. :type release_note_uri: str :param os_type: Required. This property allows you to specify the type of - the OS that is included in the disk if creating a VM from user-image or a - specialized VHD.

Possible values are:

**Windows** -

**Linux**. Possible values include: 'Windows', 'Linux' + the OS that is included in the disk when creating a VM from a managed + image.

Possible values are:

**Windows**

+ **Linux**. Possible values include: 'Windows', 'Linux' :type os_type: str or ~azure.mgmt.compute.v2018_06_01.models.OperatingSystemTypes - :param os_state: Required. The OS State. Possible values include: - 'Generalized', 'Specialized' + :param os_state: Required. The allowed values for OS State are + 'Generalized'. Possible values include: 'Generalized', 'Specialized' :type os_state: str or ~azure.mgmt.compute.v2018_06_01.models.OperatingSystemStateTypes - :param end_of_life_date: The end of life of this gallery image. + :param end_of_life_date: The end of life date of the gallery Image + Definition. This property can be used for decommissioning purposes. This + property is updateable. :type end_of_life_date: datetime :param identifier: Required. :type identifier: @@ -62,10 +65,10 @@ class GalleryImage(Resource): :param purchase_plan: :type purchase_plan: ~azure.mgmt.compute.v2018_06_01.models.ImagePurchasePlan - :ivar provisioning_state: The current state of the gallery image. The - provisioning state, which only appears in the response. Possible values - include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', - 'Migrating' + :ivar provisioning_state: The current state of the gallery Image + Definition. The provisioning state, which only appears in the response. + Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', + 'Deleting', 'Migrating' :vartype provisioning_state: str or ~azure.mgmt.compute.v2018_06_01.models.enum """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version.py index b470e70077a9..56db99959d98 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version.py @@ -13,7 +13,7 @@ class GalleryImageVersion(Resource): - """Specifies information about the gallery image version that you want to + """Specifies information about the gallery Image Version that you want to create or update. Variables are only populated by the server, and will be ignored when @@ -34,7 +34,7 @@ class GalleryImageVersion(Resource): :param publishing_profile: Required. :type publishing_profile: ~azure.mgmt.compute.v2018_06_01.models.GalleryImageVersionPublishingProfile - :ivar provisioning_state: The current state of the gallery image version. + :ivar provisioning_state: The current state of the gallery Image Version. The provisioning state, which only appears in the response. Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating' diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_publishing_profile.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_publishing_profile.py index c5e3be1292a9..30c2b91ecdc5 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_publishing_profile.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_publishing_profile.py @@ -13,30 +13,32 @@ class GalleryImageVersionPublishingProfile(GalleryArtifactPublishingProfileBase): - """The publishing profile of a gallery image version. + """The publishing profile of a gallery Image Version. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :param target_regions: The target regions where the artifact is going to - be published. + :param target_regions: The target regions where the Image Version is going + to be replicated to. This property is updateable. :type target_regions: list[~azure.mgmt.compute.v2018_06_01.models.TargetRegion] :param source: Required. :type source: ~azure.mgmt.compute.v2018_06_01.models.GalleryArtifactSource - :param replica_count: This is the number of source blob copies in a - region. + :param replica_count: The number of replicas of the Image Version to be + created per region. This property would take effect for a region when + regionalReplicaCount is not specified. This property is updateable. :type replica_count: int - :param exclude_from_latest: The flag means that if it is set to true, - people deploying VMs with 'latest' as version will not use this version. + :param exclude_from_latest: If set to true, Virtual Machines deployed from + the latest version of the Image Definition won't use this Image Version. :type exclude_from_latest: bool - :ivar published_date: The time when the gallery image version is + :ivar published_date: The timestamp for when the gallery Image Version is published. :vartype published_date: datetime - :param end_of_life_date: The end of life date of the gallery image - version. + :param end_of_life_date: The end of life date of the gallery Image + Version. This property can be used for decommissioning purposes. This + property is updateable. :type end_of_life_date: datetime """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_publishing_profile_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_publishing_profile_py3.py index 54fee2cc6da8..6372ad2792d8 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_publishing_profile_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_publishing_profile_py3.py @@ -13,30 +13,32 @@ class GalleryImageVersionPublishingProfile(GalleryArtifactPublishingProfileBase): - """The publishing profile of a gallery image version. + """The publishing profile of a gallery Image Version. Variables are only populated by the server, and will be ignored when sending a request. All required parameters must be populated in order to send to Azure. - :param target_regions: The target regions where the artifact is going to - be published. + :param target_regions: The target regions where the Image Version is going + to be replicated to. This property is updateable. :type target_regions: list[~azure.mgmt.compute.v2018_06_01.models.TargetRegion] :param source: Required. :type source: ~azure.mgmt.compute.v2018_06_01.models.GalleryArtifactSource - :param replica_count: This is the number of source blob copies in a - region. + :param replica_count: The number of replicas of the Image Version to be + created per region. This property would take effect for a region when + regionalReplicaCount is not specified. This property is updateable. :type replica_count: int - :param exclude_from_latest: The flag means that if it is set to true, - people deploying VMs with 'latest' as version will not use this version. + :param exclude_from_latest: If set to true, Virtual Machines deployed from + the latest version of the Image Definition won't use this Image Version. :type exclude_from_latest: bool - :ivar published_date: The time when the gallery image version is + :ivar published_date: The timestamp for when the gallery Image Version is published. :vartype published_date: datetime - :param end_of_life_date: The end of life date of the gallery image - version. + :param end_of_life_date: The end of life date of the gallery Image + Version. This property can be used for decommissioning purposes. This + property is updateable. :type end_of_life_date: datetime """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_py3.py index ada04160caf9..61890bef61d4 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_py3.py @@ -13,7 +13,7 @@ class GalleryImageVersion(Resource): - """Specifies information about the gallery image version that you want to + """Specifies information about the gallery Image Version that you want to create or update. Variables are only populated by the server, and will be ignored when @@ -34,7 +34,7 @@ class GalleryImageVersion(Resource): :param publishing_profile: Required. :type publishing_profile: ~azure.mgmt.compute.v2018_06_01.models.GalleryImageVersionPublishingProfile - :ivar provisioning_state: The current state of the gallery image version. + :ivar provisioning_state: The current state of the gallery Image Version. The provisioning state, which only appears in the response. Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating' diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_storage_profile.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_storage_profile.py index 0a213a2f051d..b9deddba3ad0 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_storage_profile.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_storage_profile.py @@ -13,7 +13,7 @@ class GalleryImageVersionStorageProfile(Model): - """This is the storage profile of a gallery image version. + """This is the storage profile of a gallery Image Version. Variables are only populated by the server, and will be ignored when sending a request. diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_storage_profile_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_storage_profile_py3.py index ea45b454b07c..9703a40fe507 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_storage_profile_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_image_version_storage_profile_py3.py @@ -13,7 +13,7 @@ class GalleryImageVersionStorageProfile(Model): - """This is the storage profile of a gallery image version. + """This is the storage profile of a gallery Image Version. Variables are only populated by the server, and will be ignored when sending a request. diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_os_disk_image.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_os_disk_image.py index 75b6dde7e996..6ed9165cd45f 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_os_disk_image.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_os_disk_image.py @@ -18,7 +18,8 @@ class GalleryOSDiskImage(GalleryDiskImage): Variables are only populated by the server, and will be ignored when sending a request. - :ivar size_in_gb: It indicates the size of the VHD to create. + :ivar size_in_gb: This property indicates the size of the VHD to be + created. :vartype size_in_gb: int :ivar host_caching: The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'. Possible values include: 'None', 'ReadOnly', diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_os_disk_image_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_os_disk_image_py3.py index 8981e015c475..52a0833d369d 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_os_disk_image_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_os_disk_image_py3.py @@ -18,7 +18,8 @@ class GalleryOSDiskImage(GalleryDiskImage): Variables are only populated by the server, and will be ignored when sending a request. - :ivar size_in_gb: It indicates the size of the VHD to create. + :ivar size_in_gb: This property indicates the size of the VHD to be + created. :vartype size_in_gb: int :ivar host_caching: The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'. Possible values include: 'None', 'ReadOnly', diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_py3.py index 87dcabacdbe7..622cfb61cb2c 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/gallery_py3.py @@ -13,7 +13,8 @@ class Gallery(Resource): - """Specifies information about the gallery that you want to create or update. + """Specifies information about the Shared Image Gallery that you want to + create or update. Variables are only populated by the server, and will be ignored when sending a request. @@ -30,7 +31,8 @@ class Gallery(Resource): :type location: str :param tags: Resource tags :type tags: dict[str, str] - :param description: The description of this gallery resource. + :param description: The description of this Shared Image Gallery resource. + This property is updateable. :type description: str :param identifier: :type identifier: ~azure.mgmt.compute.v2018_06_01.models.GalleryIdentifier diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_purchase_plan.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_purchase_plan.py index 842a22340e45..5e0f4cbfe7ac 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_purchase_plan.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_purchase_plan.py @@ -13,8 +13,8 @@ class ImagePurchasePlan(Model): - """Describes the gallery image purchase plan. This is used by marketplace - images. + """Describes the gallery Image Definition purchase plan. This is used by + marketplace images. :param name: The plan ID. :type name: str diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_purchase_plan_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_purchase_plan_py3.py index 228dcc61c77c..7f9596924d7d 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_purchase_plan_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_purchase_plan_py3.py @@ -13,8 +13,8 @@ class ImagePurchasePlan(Model): - """Describes the gallery image purchase plan. This is used by marketplace - images. + """Describes the gallery Image Definition purchase plan. This is used by + marketplace images. :param name: The plan ID. :type name: str diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/os_disk.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/os_disk.py index f1f4016d46c5..4914868b54df 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/os_disk.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/os_disk.py @@ -47,8 +47,8 @@ class OSDisk(Model): :param write_accelerator_enabled: Specifies whether writeAccelerator should be enabled or disabled on the disk. :type write_accelerator_enabled: bool - :param diff_disk_settings: Specifies the Diff Disk Settings for the - operating system disk used by the virtual machine. + :param diff_disk_settings: Specifies the differencing Disk Settings for + the operating system disk used by the virtual machine. :type diff_disk_settings: ~azure.mgmt.compute.v2018_06_01.models.DiffDiskSettings :param create_option: Required. Specifies how the virtual machine should diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/os_disk_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/os_disk_py3.py index bd64a7cddede..b3514b43e170 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/os_disk_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/os_disk_py3.py @@ -47,8 +47,8 @@ class OSDisk(Model): :param write_accelerator_enabled: Specifies whether writeAccelerator should be enabled or disabled on the disk. :type write_accelerator_enabled: bool - :param diff_disk_settings: Specifies the Diff Disk Settings for the - operating system disk used by the virtual machine. + :param diff_disk_settings: Specifies the differencing Disk Settings for + the operating system disk used by the virtual machine. :type diff_disk_settings: ~azure.mgmt.compute.v2018_06_01.models.DiffDiskSettings :param create_option: Required. Specifies how the virtual machine should diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/recommended_machine_configuration.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/recommended_machine_configuration.py index db452883a30c..1d3791a3f1d7 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/recommended_machine_configuration.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/recommended_machine_configuration.py @@ -13,7 +13,8 @@ class RecommendedMachineConfiguration(Model): - """Describes the recommended machine configuration. + """The properties describe the recommended machine configuration for this + Image Definition. These properties are updateable. :param v_cp_us: :type v_cp_us: ~azure.mgmt.compute.v2018_06_01.models.ResourceRange diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/recommended_machine_configuration_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/recommended_machine_configuration_py3.py index 0473d92f01d5..2b68fb989ea5 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/recommended_machine_configuration_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/recommended_machine_configuration_py3.py @@ -13,7 +13,8 @@ class RecommendedMachineConfiguration(Model): - """Describes the recommended machine configuration. + """The properties describe the recommended machine configuration for this + Image Definition. These properties are updateable. :param v_cp_us: :type v_cp_us: ~azure.mgmt.compute.v2018_06_01.models.ResourceRange diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/regional_replication_status.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/regional_replication_status.py index ac541c4f4080..ebc65bbe1146 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/regional_replication_status.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/regional_replication_status.py @@ -18,7 +18,8 @@ class RegionalReplicationStatus(Model): Variables are only populated by the server, and will be ignored when sending a request. - :ivar region: The region where the gallery image version is published to. + :ivar region: The region to which the gallery Image Version is being + replicated to. :vartype region: str :ivar state: This is the regional replication state. Possible values include: 'Unknown', 'Replicating', 'Completed', 'Failed' diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/regional_replication_status_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/regional_replication_status_py3.py index 4838b5542b8c..df66758183a1 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/regional_replication_status_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/regional_replication_status_py3.py @@ -18,7 +18,8 @@ class RegionalReplicationStatus(Model): Variables are only populated by the server, and will be ignored when sending a request. - :ivar region: The region where the gallery image version is published to. + :ivar region: The region to which the gallery Image Version is being + replicated to. :vartype region: str :ivar state: This is the regional replication state. Possible values include: 'Unknown', 'Replicating', 'Completed', 'Failed' diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/replication_status.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/replication_status.py index 5d20b80672e2..b15aec7c4824 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/replication_status.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/replication_status.py @@ -13,14 +13,14 @@ class ReplicationStatus(Model): - """This is the replication status of the gallery image version. + """This is the replication status of the gallery Image Version. Variables are only populated by the server, and will be ignored when sending a request. :ivar aggregated_state: This is the aggregated replication status based on - the regional replication status. Possible values include: 'Unknown', - 'InProgress', 'Completed', 'Failed' + all the regional replication status flags. Possible values include: + 'Unknown', 'InProgress', 'Completed', 'Failed' :vartype aggregated_state: str or ~azure.mgmt.compute.v2018_06_01.models.AggregatedReplicationState :ivar summary: This is a summary of replication status for each region. diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/replication_status_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/replication_status_py3.py index c492353698fd..7901644916c4 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/replication_status_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/replication_status_py3.py @@ -13,14 +13,14 @@ class ReplicationStatus(Model): - """This is the replication status of the gallery image version. + """This is the replication status of the gallery Image Version. Variables are only populated by the server, and will be ignored when sending a request. :ivar aggregated_state: This is the aggregated replication status based on - the regional replication status. Possible values include: 'Unknown', - 'InProgress', 'Completed', 'Failed' + all the regional replication status flags. Possible values include: + 'Unknown', 'InProgress', 'Completed', 'Failed' :vartype aggregated_state: str or ~azure.mgmt.compute.v2018_06_01.models.AggregatedReplicationState :ivar summary: This is a summary of replication status for each region. diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/target_region.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/target_region.py index 6c1343cd129c..6f78878b7ba4 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/target_region.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/target_region.py @@ -17,8 +17,8 @@ class TargetRegion(Model): :param name: The name of the region. :type name: str - :param regional_replica_count: This is the number of source blob copies in - this specific region. + :param regional_replica_count: The number of replicas of the Image Version + to be created per region. This property is updateable. :type regional_replica_count: int """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/target_region_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/target_region_py3.py index 3a307a116d4d..cb5f4ee5933e 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/target_region_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/target_region_py3.py @@ -17,8 +17,8 @@ class TargetRegion(Model): :param name: The name of the region. :type name: str - :param regional_replica_count: This is the number of source blob copies in - this specific region. + :param regional_replica_count: The number of replicas of the Image Version + to be created per region. This property is updateable. :type regional_replica_count: int """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_os_disk.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_os_disk.py index ed536aac3b41..ac8de50ead86 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_os_disk.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_os_disk.py @@ -36,8 +36,8 @@ class VirtualMachineScaleSetOSDisk(Model): Possible values include: 'FromImage', 'Empty', 'Attach' :type create_option: str or ~azure.mgmt.compute.v2018_06_01.models.DiskCreateOptionTypes - :param diff_disk_settings: Specifies the Diff Disk Settings for the - operating system disk used by the virtual machine scale set. + :param diff_disk_settings: Specifies the differencing Disk Settings for + the operating system disk used by the virtual machine scale set. :type diff_disk_settings: ~azure.mgmt.compute.v2018_06_01.models.DiffDiskSettings :param disk_size_gb: Specifies the size of the operating system disk in diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_os_disk_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_os_disk_py3.py index d6ed9a20c92a..eafdd640f3a2 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_os_disk_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_os_disk_py3.py @@ -36,8 +36,8 @@ class VirtualMachineScaleSetOSDisk(Model): Possible values include: 'FromImage', 'Empty', 'Attach' :type create_option: str or ~azure.mgmt.compute.v2018_06_01.models.DiskCreateOptionTypes - :param diff_disk_settings: Specifies the Diff Disk Settings for the - operating system disk used by the virtual machine scale set. + :param diff_disk_settings: Specifies the differencing Disk Settings for + the operating system disk used by the virtual machine scale set. :type diff_disk_settings: ~azure.mgmt.compute.v2018_06_01.models.DiffDiskSettings :param disk_size_gb: Specifies the size of the operating system disk in diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/galleries_operations.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/galleries_operations.py index f58f5b0e2301..e65047809cfa 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/galleries_operations.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/galleries_operations.py @@ -95,14 +95,16 @@ def _create_or_update_initial( def create_or_update( self, resource_group_name, gallery_name, gallery, custom_headers=None, raw=False, polling=True, **operation_config): - """Create or update a gallery. + """Create or update a Shared Image Gallery. :param resource_group_name: The name of the resource group. :type resource_group_name: str - :param gallery_name: The name of the gallery. + :param gallery_name: The name of the Shared Image Gallery. The allowed + characters are alphabets and numbers with dots, dashes, and periods + allowed in the middle. The maximum length is 80 characters. :type gallery_name: str - :param gallery: Parameters supplied to the create or update gallery - operation. + :param gallery: Parameters supplied to the create or update Shared + Image Gallery operation. :type gallery: ~azure.mgmt.compute.v2018_06_01.models.Gallery :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the @@ -146,11 +148,11 @@ def get_long_running_output(response): def get( self, resource_group_name, gallery_name, custom_headers=None, raw=False, **operation_config): - """Retrieves information about a gallery. + """Retrieves information about a Shared Image Gallery. :param resource_group_name: The name of the resource group. :type resource_group_name: str - :param gallery_name: The name of the gallery. + :param gallery_name: The name of the Shared Image Gallery. :type gallery_name: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the @@ -246,11 +248,12 @@ def _delete_initial( def delete( self, resource_group_name, gallery_name, custom_headers=None, raw=False, polling=True, **operation_config): - """Delete a gallery. + """Delete a Shared Image Gallery. :param resource_group_name: The name of the resource group. :type resource_group_name: str - :param gallery_name: The name of the gallery. + :param gallery_name: The name of the Shared Image Gallery to be + deleted. :type gallery_name: str :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/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/gallery_image_versions_operations.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/gallery_image_versions_operations.py index d46449b5920c..cb024e59c299 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/gallery_image_versions_operations.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/gallery_image_versions_operations.py @@ -97,21 +97,24 @@ def _create_or_update_initial( def create_or_update( self, resource_group_name, gallery_name, gallery_image_name, gallery_image_version_name, gallery_image_version, custom_headers=None, raw=False, polling=True, **operation_config): - """Create or update a gallery image version. + """Create or update a gallery Image Version. :param resource_group_name: The name of the resource group. :type resource_group_name: str - :param gallery_name: The name of the gallery. + :param gallery_name: The name of the Shared Image Gallery in which the + Image Definition resides. :type gallery_name: str - :param gallery_image_name: The name of the gallery image. + :param gallery_image_name: The name of the gallery Image Definition in + which the Image Version is to be created. :type gallery_image_name: str - :param gallery_image_version_name: The name of the gallery image - version. Needs to follow semantic version name pattern: The allowed - characters are digit and period. Digits must be within the range of a - 32-bit integer. Format: .. + :param gallery_image_version_name: The name of the gallery Image + Version to be created. Needs to follow semantic version name pattern: + The allowed characters are digit and period. Digits must be within the + range of a 32-bit integer. Format: + .. :type gallery_image_version_name: str :param gallery_image_version: Parameters supplied to the create or - update gallery image version operation. + update gallery Image Version operation. :type gallery_image_version: ~azure.mgmt.compute.v2018_06_01.models.GalleryImageVersion :param dict custom_headers: headers that will be added to the request @@ -158,16 +161,18 @@ def get_long_running_output(response): def get( self, resource_group_name, gallery_name, gallery_image_name, gallery_image_version_name, expand=None, custom_headers=None, raw=False, **operation_config): - """Retrieves information about a gallery image version. + """Retrieves information about a gallery Image Version. :param resource_group_name: The name of the resource group. :type resource_group_name: str - :param gallery_name: The name of the gallery. + :param gallery_name: The name of the Shared Image Gallery in which the + Image Definition resides. :type gallery_name: str - :param gallery_image_name: The name of the gallery image. + :param gallery_image_name: The name of the gallery Image Definition in + which the Image Version resides. :type gallery_image_name: str - :param gallery_image_version_name: The name of the gallery image - version. + :param gallery_image_version_name: The name of the gallery Image + Version to be retrieved. :type gallery_image_version_name: str :param expand: The expand expression to apply on the operation. Possible values include: 'ReplicationStatus' @@ -273,16 +278,18 @@ def _delete_initial( def delete( self, resource_group_name, gallery_name, gallery_image_name, gallery_image_version_name, custom_headers=None, raw=False, polling=True, **operation_config): - """Delete a gallery image version. + """Delete a gallery Image Version. :param resource_group_name: The name of the resource group. :type resource_group_name: str - :param gallery_name: The name of the gallery. + :param gallery_name: The name of the Shared Image Gallery in which the + Image Definition resides. :type gallery_name: str - :param gallery_image_name: The name of the gallery image. + :param gallery_image_name: The name of the gallery Image Definition in + which the Image Version resides. :type gallery_image_name: str - :param gallery_image_version_name: The name of the gallery image - version. + :param gallery_image_version_name: The name of the gallery Image + Version to be deleted. :type gallery_image_version_name: str :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the @@ -321,13 +328,15 @@ def get_long_running_output(response): def list_by_gallery_image( self, resource_group_name, gallery_name, gallery_image_name, custom_headers=None, raw=False, **operation_config): - """List gallery image versions under a gallery image. + """List gallery Image Versions in a gallery Image Definition. :param resource_group_name: The name of the resource group. :type resource_group_name: str - :param gallery_name: The name of the gallery. + :param gallery_name: The name of the Shared Image Gallery in which the + Image Definition resides. :type gallery_name: str - :param gallery_image_name: The name of the gallery image. + :param gallery_image_name: The name of the Shared Image Gallery Image + Definition from which the Image Versions are to be listed. :type gallery_image_name: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/gallery_images_operations.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/gallery_images_operations.py index 310e941acdaa..3a73ceb60df4 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/gallery_images_operations.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/gallery_images_operations.py @@ -96,13 +96,17 @@ def _create_or_update_initial( def create_or_update( self, resource_group_name, gallery_name, gallery_image_name, gallery_image, custom_headers=None, raw=False, polling=True, **operation_config): - """Create or update a gallery image. + """Create or update a gallery Image Definition. :param resource_group_name: The name of the resource group. :type resource_group_name: str - :param gallery_name: The name of the gallery. + :param gallery_name: The name of the Shared Image Gallery in which the + Image Definition is to be created. :type gallery_name: str - :param gallery_image_name: The name of the gallery image. + :param gallery_image_name: The name of the gallery Image Definition to + be created or updated. The allowed characters are alphabets and + numbers with dots, dashes, and periods allowed in the middle. The + maximum length is 80 characters. :type gallery_image_name: str :param gallery_image: Parameters supplied to the create or update gallery image operation. @@ -151,13 +155,15 @@ def get_long_running_output(response): def get( self, resource_group_name, gallery_name, gallery_image_name, custom_headers=None, raw=False, **operation_config): - """Retrieves information about a gallery image. + """Retrieves information about a gallery Image Definition. :param resource_group_name: The name of the resource group. :type resource_group_name: str - :param gallery_name: The name of the gallery. + :param gallery_name: The name of the Shared Image Gallery from which + the Image Definitions are to be retrieved. :type gallery_name: str - :param gallery_image_name: The name of the gallery image. + :param gallery_image_name: The name of the gallery Image Definition to + be retrieved. :type gallery_image_name: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the @@ -259,9 +265,11 @@ def delete( :param resource_group_name: The name of the resource group. :type resource_group_name: str - :param gallery_name: The name of the gallery. + :param gallery_name: The name of the Shared Image Gallery in which the + Image Definition is to be deleted. :type gallery_name: str - :param gallery_image_name: The name of the gallery image. + :param gallery_image_name: The name of the gallery Image Definition to + be deleted. :type gallery_image_name: str :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the @@ -299,11 +307,12 @@ def get_long_running_output(response): def list_by_gallery( self, resource_group_name, gallery_name, custom_headers=None, raw=False, **operation_config): - """List gallery images under a gallery. + """List gallery Image Definitions in a gallery. :param resource_group_name: The name of the resource group. :type resource_group_name: str - :param gallery_name: The name of the gallery. + :param gallery_name: The name of the Shared Image Gallery from which + Image Definitions are to be listed. :type gallery_name: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the From df94f34316f2c97a0b5cb670f0198ee58d3b03dc Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Sat, 22 Sep 2018 00:42:23 +0000 Subject: [PATCH 4/4] Generated from 474d5b03008f5780dcb546ed5264bae7eb3d8e59 updated 2018-10-01 version specs with diffdisk property --- .../azure/mgmt/compute/v2018_06_01/models/__init__.py | 6 ++++-- .../v2018_06_01/models/additional_capabilities.py | 10 +++++----- .../v2018_06_01/models/additional_capabilities_py3.py | 10 +++++----- .../compute/v2018_06_01/models/availability_set.py | 5 ++++- .../compute/v2018_06_01/models/availability_set_py3.py | 5 ++++- .../models/compute_management_client_enums.py | 8 +++++++- .../compute/v2018_06_01/models/diff_disk_settings.py | 7 +++++-- .../v2018_06_01/models/diff_disk_settings_py3.py | 7 +++++-- .../mgmt/compute/v2018_06_01/models/image_data_disk.py | 6 +++--- .../compute/v2018_06_01/models/image_data_disk_py3.py | 6 +++--- .../mgmt/compute/v2018_06_01/models/image_os_disk.py | 5 ++--- .../compute/v2018_06_01/models/image_os_disk_py3.py | 5 ++--- .../v2018_06_01/models/managed_disk_parameters.py | 6 +++--- .../v2018_06_01/models/managed_disk_parameters_py3.py | 6 +++--- .../mgmt/compute/v2018_06_01/models/target_region.py | 8 +++++++- .../compute/v2018_06_01/models/target_region_py3.py | 10 ++++++++-- .../mgmt/compute/v2018_06_01/models/virtual_machine.py | 4 +--- .../compute/v2018_06_01/models/virtual_machine_py3.py | 4 +--- ...irtual_machine_scale_set_managed_disk_parameters.py | 6 +++--- ...al_machine_scale_set_managed_disk_parameters_py3.py | 6 +++--- .../v2018_06_01/models/virtual_machine_update.py | 4 +--- .../v2018_06_01/models/virtual_machine_update_py3.py | 4 +--- .../v2018_06_01/operations/galleries_operations.py | 4 ++-- 23 files changed, 82 insertions(+), 60 deletions(-) diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/__init__.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/__init__.py index 678ad2136829..808f4e80e256 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/__init__.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/__init__.py @@ -358,12 +358,13 @@ from .snapshot_paged import SnapshotPaged from .compute_management_client_enums import ( StatusLevelTypes, + AvailabilitySetSkuTypes, OperatingSystemTypes, VirtualMachineSizeTypes, CachingTypes, DiskCreateOptionTypes, StorageAccountTypes, - DiffDiskOption, + DiffDiskOptions, PassNames, ComponentNames, SettingNames, @@ -575,12 +576,13 @@ 'DiskPaged', 'SnapshotPaged', 'StatusLevelTypes', + 'AvailabilitySetSkuTypes', 'OperatingSystemTypes', 'VirtualMachineSizeTypes', 'CachingTypes', 'DiskCreateOptionTypes', 'StorageAccountTypes', - 'DiffDiskOption', + 'DiffDiskOptions', 'PassNames', 'ComponentNames', 'SettingNames', diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/additional_capabilities.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/additional_capabilities.py index 8b572a90c593..18ff109310c8 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/additional_capabilities.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/additional_capabilities.py @@ -16,11 +16,11 @@ class AdditionalCapabilities(Model): """Enables or disables a capability on the virtual machine or virtual machine scale set. - :param ultra_ssd_enabled: Enables or disables a capability to have 1 or - more managed data disks with UltraSSD_LRS storage account on the VM or - VMSS. Managed disks with storage account type UltraSSD_LRS can be added to - a virtual machine or virtual machine scale set only if this property is - enabled. + :param ultra_ssd_enabled: The flag that enables or disables a capability + to have one or more managed data disks with UltraSSD_LRS storage account + type on the VM or VMSS. Managed disks with storage account type + UltraSSD_LRS can be added to a virtual machine or virtual machine scale + set only if this property is enabled. :type ultra_ssd_enabled: bool """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/additional_capabilities_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/additional_capabilities_py3.py index 746fccf9c049..db83a0a4eacb 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/additional_capabilities_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/additional_capabilities_py3.py @@ -16,11 +16,11 @@ class AdditionalCapabilities(Model): """Enables or disables a capability on the virtual machine or virtual machine scale set. - :param ultra_ssd_enabled: Enables or disables a capability to have 1 or - more managed data disks with UltraSSD_LRS storage account on the VM or - VMSS. Managed disks with storage account type UltraSSD_LRS can be added to - a virtual machine or virtual machine scale set only if this property is - enabled. + :param ultra_ssd_enabled: The flag that enables or disables a capability + to have one or more managed data disks with UltraSSD_LRS storage account + type on the VM or VMSS. Managed disks with storage account type + UltraSSD_LRS can be added to a virtual machine or virtual machine scale + set only if this property is enabled. :type ultra_ssd_enabled: bool """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/availability_set.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/availability_set.py index cc99cdb180b4..704e78065073 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/availability_set.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/availability_set.py @@ -51,7 +51,10 @@ class AvailabilitySet(Resource): :ivar statuses: The resource status information. :vartype statuses: list[~azure.mgmt.compute.v2018_06_01.models.InstanceViewStatus] - :param sku: Sku of the availability set + :param sku: Sku of the availability set, only name is required to be set. + See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for + virtual machines with managed disks and 'Classic' for virtual machines + with unmanaged disks. Default value is 'Classic'. :type sku: ~azure.mgmt.compute.v2018_06_01.models.Sku """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/availability_set_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/availability_set_py3.py index 64ea887cb556..cb768ff708d8 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/availability_set_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/availability_set_py3.py @@ -51,7 +51,10 @@ class AvailabilitySet(Resource): :ivar statuses: The resource status information. :vartype statuses: list[~azure.mgmt.compute.v2018_06_01.models.InstanceViewStatus] - :param sku: Sku of the availability set + :param sku: Sku of the availability set, only name is required to be set. + See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for + virtual machines with managed disks and 'Classic' for virtual machines + with unmanaged disks. Default value is 'Classic'. :type sku: ~azure.mgmt.compute.v2018_06_01.models.Sku """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/compute_management_client_enums.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/compute_management_client_enums.py index 5129fda0218f..9c58eaa0f157 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/compute_management_client_enums.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/compute_management_client_enums.py @@ -19,6 +19,12 @@ class StatusLevelTypes(str, Enum): error = "Error" +class AvailabilitySetSkuTypes(str, Enum): + + classic = "Classic" + aligned = "Aligned" + + class OperatingSystemTypes(str, Enum): windows = "Windows" @@ -217,7 +223,7 @@ class StorageAccountTypes(str, Enum): ultra_ssd_lrs = "UltraSSD_LRS" -class DiffDiskOption(str, Enum): +class DiffDiskOptions(str, Enum): local = "Local" diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings.py index f6eb11c0dca6..028ade1b9cb8 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings.py @@ -13,11 +13,14 @@ class DiffDiskSettings(Model): - """The parameters of a DiffDiskSettings for operating system disk. + """Describes the parameters of differencing disk settings that can be be + specified for operating system disk.

NOTE: The differencing disk + settings can only be specified for managed disk. :param option: Specifies the differencing disk settings for operating system disk. Possible values include: 'Local' - :type option: str or ~azure.mgmt.compute.v2018_06_01.models.DiffDiskOption + :type option: str or + ~azure.mgmt.compute.v2018_06_01.models.DiffDiskOptions """ _attribute_map = { diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings_py3.py index 4eb7bf757475..25c1bfa697fa 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/diff_disk_settings_py3.py @@ -13,11 +13,14 @@ class DiffDiskSettings(Model): - """The parameters of a DiffDiskSettings for operating system disk. + """Describes the parameters of differencing disk settings that can be be + specified for operating system disk.

NOTE: The differencing disk + settings can only be specified for managed disk. :param option: Specifies the differencing disk settings for operating system disk. Possible values include: 'Local' - :type option: str or ~azure.mgmt.compute.v2018_06_01.models.DiffDiskOption + :type option: str or + ~azure.mgmt.compute.v2018_06_01.models.DiffDiskOptions """ _attribute_map = { diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_data_disk.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_data_disk.py index 4bfaaa550c3d..55dd251aa125 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_data_disk.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_data_disk.py @@ -37,9 +37,9 @@ class ImageDataDisk(Model): machine image.

This value cannot be larger than 1023 GB :type disk_size_gb: int :param storage_account_type: Specifies the storage account type for the - managed disk. Possible values are: Standard_LRS, Premium_LRS, and - StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS', - 'StandardSSD_LRS', 'UltraSSD_LRS' + managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it + cannot be used with OS Disk. Possible values include: 'Standard_LRS', + 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS' :type storage_account_type: str or ~azure.mgmt.compute.v2018_06_01.models.StorageAccountTypes """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_data_disk_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_data_disk_py3.py index 6f612bf9ca37..cad193d6eef7 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_data_disk_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_data_disk_py3.py @@ -37,9 +37,9 @@ class ImageDataDisk(Model): machine image.

This value cannot be larger than 1023 GB :type disk_size_gb: int :param storage_account_type: Specifies the storage account type for the - managed disk. Possible values are: Standard_LRS, Premium_LRS, and - StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS', - 'StandardSSD_LRS', 'UltraSSD_LRS' + managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it + cannot be used with OS Disk. Possible values include: 'Standard_LRS', + 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS' :type storage_account_type: str or ~azure.mgmt.compute.v2018_06_01.models.StorageAccountTypes """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_os_disk.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_os_disk.py index 6ce481da0418..db287a53c829 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_os_disk.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_os_disk.py @@ -43,9 +43,8 @@ class ImageOSDisk(Model): machine image.

This value cannot be larger than 1023 GB :type disk_size_gb: int :param storage_account_type: Specifies the storage account type for the - managed disk. Possible values are: Standard_LRS, Premium_LRS, and - StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS', - 'StandardSSD_LRS', 'UltraSSD_LRS' + managed disk. UltraSSD_LRS cannot be used with OS Disk. Possible values + include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS' :type storage_account_type: str or ~azure.mgmt.compute.v2018_06_01.models.StorageAccountTypes """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_os_disk_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_os_disk_py3.py index f7fdc99b7235..983e63d672e2 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_os_disk_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/image_os_disk_py3.py @@ -43,9 +43,8 @@ class ImageOSDisk(Model): machine image.

This value cannot be larger than 1023 GB :type disk_size_gb: int :param storage_account_type: Specifies the storage account type for the - managed disk. Possible values are: Standard_LRS, Premium_LRS, and - StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS', - 'StandardSSD_LRS', 'UltraSSD_LRS' + managed disk. UltraSSD_LRS cannot be used with OS Disk. Possible values + include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS' :type storage_account_type: str or ~azure.mgmt.compute.v2018_06_01.models.StorageAccountTypes """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/managed_disk_parameters.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/managed_disk_parameters.py index 41d023a94be0..9fa397ac98d7 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/managed_disk_parameters.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/managed_disk_parameters.py @@ -18,9 +18,9 @@ class ManagedDiskParameters(SubResource): :param id: Resource Id :type id: str :param storage_account_type: Specifies the storage account type for the - managed disk. UltraSSD_LRS can only be used for data disks. Possible - values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', - 'UltraSSD_LRS' + managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it + cannot be used with OS Disk. Possible values include: 'Standard_LRS', + 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS' :type storage_account_type: str or ~azure.mgmt.compute.v2018_06_01.models.StorageAccountTypes """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/managed_disk_parameters_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/managed_disk_parameters_py3.py index 50e3273c5d0a..bbf6a7770b56 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/managed_disk_parameters_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/managed_disk_parameters_py3.py @@ -18,9 +18,9 @@ class ManagedDiskParameters(SubResource): :param id: Resource Id :type id: str :param storage_account_type: Specifies the storage account type for the - managed disk. UltraSSD_LRS can only be used for data disks. Possible - values include: 'Standard_LRS', 'Premium_LRS', 'StandardSSD_LRS', - 'UltraSSD_LRS' + managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it + cannot be used with OS Disk. Possible values include: 'Standard_LRS', + 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS' :type storage_account_type: str or ~azure.mgmt.compute.v2018_06_01.models.StorageAccountTypes """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/target_region.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/target_region.py index 6f78878b7ba4..b320fae5716d 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/target_region.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/target_region.py @@ -15,13 +15,19 @@ class TargetRegion(Model): """Describes the target region information. - :param name: The name of the region. + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the region. :type name: str :param regional_replica_count: The number of replicas of the Image Version to be created per region. This property is updateable. :type regional_replica_count: int """ + _validation = { + 'name': {'required': True}, + } + _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'regional_replica_count': {'key': 'regionalReplicaCount', 'type': 'int'}, diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/target_region_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/target_region_py3.py index cb5f4ee5933e..955aa63044d6 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/target_region_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/target_region_py3.py @@ -15,19 +15,25 @@ class TargetRegion(Model): """Describes the target region information. - :param name: The name of the region. + All required parameters must be populated in order to send to Azure. + + :param name: Required. The name of the region. :type name: str :param regional_replica_count: The number of replicas of the Image Version to be created per region. This property is updateable. :type regional_replica_count: int """ + _validation = { + 'name': {'required': True}, + } + _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'regional_replica_count': {'key': 'regionalReplicaCount', 'type': 'int'}, } - def __init__(self, *, name: str=None, regional_replica_count: int=None, **kwargs) -> None: + def __init__(self, *, name: str, regional_replica_count: int=None, **kwargs) -> None: super(TargetRegion, self).__init__(**kwargs) self.name = name self.regional_replica_count = regional_replica_count diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine.py index d0f2e256fb12..ca243338a572 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine.py @@ -47,9 +47,7 @@ class VirtualMachine(Resource): :type storage_profile: ~azure.mgmt.compute.v2018_06_01.models.StorageProfile :param additional_capabilities: Specifies additional capabilities enabled - or disabled on the virtual machine. For instance: whether the virtual - machine has the capability to support attaching managed data disks with - UltraSSD_LRS storage account type. + or disabled on the virtual machine. :type additional_capabilities: ~azure.mgmt.compute.v2018_06_01.models.AdditionalCapabilities :param os_profile: Specifies the operating system settings for the virtual diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_py3.py index b9c9658ce5bc..82f24e63291c 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_py3.py @@ -47,9 +47,7 @@ class VirtualMachine(Resource): :type storage_profile: ~azure.mgmt.compute.v2018_06_01.models.StorageProfile :param additional_capabilities: Specifies additional capabilities enabled - or disabled on the virtual machine. For instance: whether the virtual - machine has the capability to support attaching managed data disks with - UltraSSD_LRS storage account type. + or disabled on the virtual machine. :type additional_capabilities: ~azure.mgmt.compute.v2018_06_01.models.AdditionalCapabilities :param os_profile: Specifies the operating system settings for the virtual diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_managed_disk_parameters.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_managed_disk_parameters.py index bd63a7ca4295..9abca6a1818e 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_managed_disk_parameters.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_managed_disk_parameters.py @@ -16,9 +16,9 @@ class VirtualMachineScaleSetManagedDiskParameters(Model): """Describes the parameters of a ScaleSet managed disk. :param storage_account_type: Specifies the storage account type for the - managed disk. Possible values are: Standard_LRS, Premium_LRS, and - StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS', - 'StandardSSD_LRS', 'UltraSSD_LRS' + managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it + cannot be used with OS Disk. Possible values include: 'Standard_LRS', + 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS' :type storage_account_type: str or ~azure.mgmt.compute.v2018_06_01.models.StorageAccountTypes """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_managed_disk_parameters_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_managed_disk_parameters_py3.py index 2fc6dd798d98..1df9ec0b5415 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_managed_disk_parameters_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_scale_set_managed_disk_parameters_py3.py @@ -16,9 +16,9 @@ class VirtualMachineScaleSetManagedDiskParameters(Model): """Describes the parameters of a ScaleSet managed disk. :param storage_account_type: Specifies the storage account type for the - managed disk. Possible values are: Standard_LRS, Premium_LRS, and - StandardSSD_LRS. Possible values include: 'Standard_LRS', 'Premium_LRS', - 'StandardSSD_LRS', 'UltraSSD_LRS' + managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it + cannot be used with OS Disk. Possible values include: 'Standard_LRS', + 'Premium_LRS', 'StandardSSD_LRS', 'UltraSSD_LRS' :type storage_account_type: str or ~azure.mgmt.compute.v2018_06_01.models.StorageAccountTypes """ diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_update.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_update.py index 56fad5834158..a52aa4f3abce 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_update.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_update.py @@ -37,9 +37,7 @@ class VirtualMachineUpdate(UpdateResource): :type storage_profile: ~azure.mgmt.compute.v2018_06_01.models.StorageProfile :param additional_capabilities: Specifies additional capabilities enabled - or disabled on the virtual machine. For instance: whether the virtual - machine has the capability to support attaching managed data disks with - UltraSSD_LRS storage account type. + or disabled on the virtual machine. :type additional_capabilities: ~azure.mgmt.compute.v2018_06_01.models.AdditionalCapabilities :param os_profile: Specifies the operating system settings for the virtual diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_update_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_update_py3.py index 59fe215d0b53..f122de2d3c2d 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_update_py3.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/virtual_machine_update_py3.py @@ -37,9 +37,7 @@ class VirtualMachineUpdate(UpdateResource): :type storage_profile: ~azure.mgmt.compute.v2018_06_01.models.StorageProfile :param additional_capabilities: Specifies additional capabilities enabled - or disabled on the virtual machine. For instance: whether the virtual - machine has the capability to support attaching managed data disks with - UltraSSD_LRS storage account type. + or disabled on the virtual machine. :type additional_capabilities: ~azure.mgmt.compute.v2018_06_01.models.AdditionalCapabilities :param os_profile: Specifies the operating system settings for the virtual diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/galleries_operations.py b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/galleries_operations.py index e65047809cfa..9a04fb8a60e8 100644 --- a/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/galleries_operations.py +++ b/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/operations/galleries_operations.py @@ -100,8 +100,8 @@ def create_or_update( :param resource_group_name: The name of the resource group. :type resource_group_name: str :param gallery_name: The name of the Shared Image Gallery. The allowed - characters are alphabets and numbers with dots, dashes, and periods - allowed in the middle. The maximum length is 80 characters. + characters are alphabets and numbers with dots and periods allowed in + the middle. The maximum length is 80 characters. :type gallery_name: str :param gallery: Parameters supplied to the create or update Shared Image Gallery operation.