diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/image_os_disk.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/image_os_disk.py
index f1d05ae32c94..eb77112c12c4 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/image_os_disk.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/image_os_disk.py
@@ -32,7 +32,7 @@ class ImageOSDisk(Model):
:param managed_disk: The managedDisk.
:type managed_disk: ~azure.mgmt.compute.v2017_03_30.models.SubResource
:param blob_uri: The Virtual Hard Disk.
- :type blob_uri: str
+ :type blob_uri: int
:param caching: Specifies the caching requirements.
Possible
values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium
@@ -41,7 +41,7 @@ class ImageOSDisk(Model):
:param disk_size_gb: Specifies the size of empty data disks in gigabytes.
This element can be used to overwrite the name of the disk in a virtual
machine image.
This value cannot be larger than 1023 GB
- :type disk_size_gb: int
+ :type disk_size_gb: str
:param storage_account_type: Specifies the storage account type for the
managed disk. Possible values are: Standard_LRS or Premium_LRS. Possible
values include: 'Standard_LRS', 'Premium_LRS'
@@ -59,9 +59,9 @@ class ImageOSDisk(Model):
'os_state': {'key': 'osState', 'type': 'OperatingSystemStateTypes'},
'snapshot': {'key': 'snapshot', 'type': 'SubResource'},
'managed_disk': {'key': 'managedDisk', 'type': 'SubResource'},
- 'blob_uri': {'key': 'blobUri', 'type': 'str'},
+ 'blob_uri': {'key': 'blobUri', 'type': 'int'},
'caching': {'key': 'caching', 'type': 'CachingTypes'},
- 'disk_size_gb': {'key': 'diskSizeGB', 'type': 'int'},
+ 'disk_size_gb': {'key': 'diskSizeGB', 'type': 'str'},
'storage_account_type': {'key': 'storageAccountType', 'type': 'StorageAccountTypes'},
}
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/image_os_disk_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/image_os_disk_py3.py
index 1e7ac3e5bd13..eab48aeccd46 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/image_os_disk_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/image_os_disk_py3.py
@@ -32,7 +32,7 @@ class ImageOSDisk(Model):
:param managed_disk: The managedDisk.
:type managed_disk: ~azure.mgmt.compute.v2017_03_30.models.SubResource
:param blob_uri: The Virtual Hard Disk.
- :type blob_uri: str
+ :type blob_uri: int
:param caching: Specifies the caching requirements.
Possible
values are:
**None**
**ReadOnly**
**ReadWrite**
Default: **None for Standard storage. ReadOnly for Premium
@@ -41,7 +41,7 @@ class ImageOSDisk(Model):
:param disk_size_gb: Specifies the size of empty data disks in gigabytes.
This element can be used to overwrite the name of the disk in a virtual
machine image.
This value cannot be larger than 1023 GB
- :type disk_size_gb: int
+ :type disk_size_gb: str
:param storage_account_type: Specifies the storage account type for the
managed disk. Possible values are: Standard_LRS or Premium_LRS. Possible
values include: 'Standard_LRS', 'Premium_LRS'
@@ -59,13 +59,13 @@ class ImageOSDisk(Model):
'os_state': {'key': 'osState', 'type': 'OperatingSystemStateTypes'},
'snapshot': {'key': 'snapshot', 'type': 'SubResource'},
'managed_disk': {'key': 'managedDisk', 'type': 'SubResource'},
- 'blob_uri': {'key': 'blobUri', 'type': 'str'},
+ 'blob_uri': {'key': 'blobUri', 'type': 'int'},
'caching': {'key': 'caching', 'type': 'CachingTypes'},
- 'disk_size_gb': {'key': 'diskSizeGB', 'type': 'int'},
+ 'disk_size_gb': {'key': 'diskSizeGB', 'type': 'str'},
'storage_account_type': {'key': 'storageAccountType', 'type': 'StorageAccountTypes'},
}
- def __init__(self, *, os_type, os_state, snapshot=None, managed_disk=None, blob_uri: str=None, caching=None, disk_size_gb: int=None, storage_account_type=None, **kwargs) -> None:
+ def __init__(self, *, os_type, os_state, snapshot=None, managed_disk=None, blob_uri: int=None, caching=None, disk_size_gb: str=None, storage_account_type=None, **kwargs) -> None:
super(ImageOSDisk, self).__init__(**kwargs)
self.os_type = os_type
self.os_state = os_state
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine.py
index 91200e1f8905..38084a3f96fd 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine.py
@@ -84,11 +84,11 @@ class VirtualMachine(Resource):
[Azure Hybrid Use Benefit for Windows
Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15
- :type license_type: str
+ :type license_type: int
:ivar vm_id: Specifies the VM unique ID which is a 128-bits identifier
that is encoded and stored in all Azure IaaS VMs SMBIOS and can be read
using platform BIOS commands.
- :vartype vm_id: str
+ :vartype vm_id: int
:ivar resources: The virtual machine child extension resources.
:vartype resources:
list[~azure.mgmt.compute.v2017_03_30.models.VirtualMachineExtension]
@@ -125,8 +125,8 @@ class VirtualMachine(Resource):
'availability_set': {'key': 'properties.availabilitySet', 'type': 'SubResource'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'instance_view': {'key': 'properties.instanceView', 'type': 'VirtualMachineInstanceView'},
- 'license_type': {'key': 'properties.licenseType', 'type': 'str'},
- 'vm_id': {'key': 'properties.vmId', 'type': 'str'},
+ 'license_type': {'key': 'properties.licenseType', 'type': 'int'},
+ 'vm_id': {'key': 'properties.vmId', 'type': 'int'},
'resources': {'key': 'resources', 'type': '[VirtualMachineExtension]'},
'identity': {'key': 'identity', 'type': 'VirtualMachineIdentity'},
'zones': {'key': 'zones', 'type': '[str]'},
diff --git a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine_py3.py b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine_py3.py
index 791291568f1b..f4b20eb89b4f 100644
--- a/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine_py3.py
+++ b/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30/models/virtual_machine_py3.py
@@ -84,11 +84,11 @@ class VirtualMachine(Resource):
[Azure Hybrid Use Benefit for Windows
Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Minimum api-version: 2015-06-15
- :type license_type: str
+ :type license_type: int
:ivar vm_id: Specifies the VM unique ID which is a 128-bits identifier
that is encoded and stored in all Azure IaaS VMs SMBIOS and can be read
using platform BIOS commands.
- :vartype vm_id: str
+ :vartype vm_id: int
:ivar resources: The virtual machine child extension resources.
:vartype resources:
list[~azure.mgmt.compute.v2017_03_30.models.VirtualMachineExtension]
@@ -125,14 +125,14 @@ class VirtualMachine(Resource):
'availability_set': {'key': 'properties.availabilitySet', 'type': 'SubResource'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'instance_view': {'key': 'properties.instanceView', 'type': 'VirtualMachineInstanceView'},
- 'license_type': {'key': 'properties.licenseType', 'type': 'str'},
- 'vm_id': {'key': 'properties.vmId', 'type': 'str'},
+ 'license_type': {'key': 'properties.licenseType', 'type': 'int'},
+ 'vm_id': {'key': 'properties.vmId', 'type': 'int'},
'resources': {'key': 'resources', 'type': '[VirtualMachineExtension]'},
'identity': {'key': 'identity', 'type': 'VirtualMachineIdentity'},
'zones': {'key': 'zones', 'type': '[str]'},
}
- def __init__(self, *, location: str, tags=None, plan=None, hardware_profile=None, storage_profile=None, os_profile=None, network_profile=None, diagnostics_profile=None, availability_set=None, license_type: str=None, identity=None, zones=None, **kwargs) -> None:
+ def __init__(self, *, location: str, tags=None, plan=None, hardware_profile=None, storage_profile=None, os_profile=None, network_profile=None, diagnostics_profile=None, availability_set=None, license_type: int=None, identity=None, zones=None, **kwargs) -> None:
super(VirtualMachine, self).__init__(location=location, tags=tags, **kwargs)
self.plan = plan
self.hardware_profile = hardware_profile