diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/image_storage_profile.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/image_storage_profile.py
index 38ddf6bf5927..96fbc8a86600 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/image_storage_profile.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/image_storage_profile.py
@@ -15,11 +15,9 @@
class ImageStorageProfile(Model):
"""Describes a storage profile.
- All required parameters must be populated in order to send to Azure.
-
- :param os_disk: Required. Specifies information about the operating system
- disk used by the virtual machine.
For more information about
- disks, see [About disks and VHDs for Azure virtual
+ :param os_disk: Specifies information about the operating system disk used
+ by the virtual machine.
For more information about disks, see
+ [About disks and VHDs for Azure virtual
machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
:type os_disk: ~azure.mgmt.compute.v2017_12_01.models.ImageOSDisk
:param data_disks: Specifies the parameters that are used to add a data
@@ -34,10 +32,6 @@ class ImageStorageProfile(Model):
:type zone_resilient: bool
"""
- _validation = {
- 'os_disk': {'required': True},
- }
-
_attribute_map = {
'os_disk': {'key': 'osDisk', 'type': 'ImageOSDisk'},
'data_disks': {'key': 'dataDisks', 'type': '[ImageDataDisk]'},
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/image_storage_profile_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/image_storage_profile_py3.py
index 39e3c9892e38..be49697f8a8f 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/image_storage_profile_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01/models/image_storage_profile_py3.py
@@ -15,11 +15,9 @@
class ImageStorageProfile(Model):
"""Describes a storage profile.
- All required parameters must be populated in order to send to Azure.
-
- :param os_disk: Required. Specifies information about the operating system
- disk used by the virtual machine.
For more information about
- disks, see [About disks and VHDs for Azure virtual
+ :param os_disk: Specifies information about the operating system disk used
+ by the virtual machine.
For more information about disks, see
+ [About disks and VHDs for Azure virtual
machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
:type os_disk: ~azure.mgmt.compute.v2017_12_01.models.ImageOSDisk
:param data_disks: Specifies the parameters that are used to add a data
@@ -34,17 +32,13 @@ class ImageStorageProfile(Model):
:type zone_resilient: bool
"""
- _validation = {
- 'os_disk': {'required': True},
- }
-
_attribute_map = {
'os_disk': {'key': 'osDisk', 'type': 'ImageOSDisk'},
'data_disks': {'key': 'dataDisks', 'type': '[ImageDataDisk]'},
'zone_resilient': {'key': 'zoneResilient', 'type': 'bool'},
}
- def __init__(self, *, os_disk, data_disks=None, zone_resilient: bool=None, **kwargs) -> None:
+ def __init__(self, *, os_disk=None, data_disks=None, zone_resilient: bool=None, **kwargs) -> None:
super(ImageStorageProfile, self).__init__(**kwargs)
self.os_disk = os_disk
self.data_disks = data_disks