From a9435335c4b3a2185176429513e7ad4b4202fbe0 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Sat, 19 Sep 2020 05:58:45 +0000 Subject: [PATCH] Generated from 7a1461008e6adf4565276b06a8dfd131ebcb36b7 --- .../azure/mgmt/compute/v2020_06_01/models/_models.py | 8 ++++---- .../azure/mgmt/compute/v2020_06_01/models/_models_py3.py | 8 ++++---- sdk/compute/azure-mgmt-compute/setup.py | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/models/_models.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/models/_models.py index efa163dc3795..99dafe0b6c18 100644 --- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/models/_models.py +++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/models/_models.py @@ -843,7 +843,7 @@ class DedicatedHost(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, - 'platform_fault_domain': {'maximum': 2, 'minimum': 0}, + 'platform_fault_domain': {'minimum': 0}, 'host_id': {'readonly': True}, 'virtual_machines': {'readonly': True}, 'provisioning_time': {'readonly': True}, @@ -976,7 +976,7 @@ class DedicatedHostGroup(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, - 'platform_fault_domain_count': {'required': True, 'maximum': 3, 'minimum': 1}, + 'platform_fault_domain_count': {'required': True, 'minimum': 1}, 'hosts': {'readonly': True}, 'instance_view': {'readonly': True}, } @@ -1059,7 +1059,7 @@ class DedicatedHostGroupUpdate(UpdateResource): """ _validation = { - 'platform_fault_domain_count': {'required': True, 'maximum': 3, 'minimum': 1}, + 'platform_fault_domain_count': {'required': True, 'minimum': 1}, 'hosts': {'readonly': True}, 'instance_view': {'readonly': True}, } @@ -1196,7 +1196,7 @@ class DedicatedHostUpdate(UpdateResource): """ _validation = { - 'platform_fault_domain': {'maximum': 2, 'minimum': 0}, + 'platform_fault_domain': {'minimum': 0}, 'host_id': {'readonly': True}, 'virtual_machines': {'readonly': True}, 'provisioning_time': {'readonly': True}, diff --git a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/models/_models_py3.py b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/models/_models_py3.py index cfad7bff11f0..b7b792891fc6 100644 --- a/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/models/_models_py3.py +++ b/sdk/compute/azure-mgmt-compute/azure/mgmt/compute/v2020_06_01/models/_models_py3.py @@ -843,7 +843,7 @@ class DedicatedHost(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, - 'platform_fault_domain': {'maximum': 2, 'minimum': 0}, + 'platform_fault_domain': {'minimum': 0}, 'host_id': {'readonly': True}, 'virtual_machines': {'readonly': True}, 'provisioning_time': {'readonly': True}, @@ -976,7 +976,7 @@ class DedicatedHostGroup(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, - 'platform_fault_domain_count': {'required': True, 'maximum': 3, 'minimum': 1}, + 'platform_fault_domain_count': {'required': True, 'minimum': 1}, 'hosts': {'readonly': True}, 'instance_view': {'readonly': True}, } @@ -1059,7 +1059,7 @@ class DedicatedHostGroupUpdate(UpdateResource): """ _validation = { - 'platform_fault_domain_count': {'required': True, 'maximum': 3, 'minimum': 1}, + 'platform_fault_domain_count': {'required': True, 'minimum': 1}, 'hosts': {'readonly': True}, 'instance_view': {'readonly': True}, } @@ -1196,7 +1196,7 @@ class DedicatedHostUpdate(UpdateResource): """ _validation = { - 'platform_fault_domain': {'maximum': 2, 'minimum': 0}, + 'platform_fault_domain': {'minimum': 0}, 'host_id': {'readonly': True}, 'virtual_machines': {'readonly': True}, 'provisioning_time': {'readonly': True}, diff --git a/sdk/compute/azure-mgmt-compute/setup.py b/sdk/compute/azure-mgmt-compute/setup.py index cfcaa1edbaea..9c66a4d27b46 100644 --- a/sdk/compute/azure-mgmt-compute/setup.py +++ b/sdk/compute/azure-mgmt-compute/setup.py @@ -36,7 +36,7 @@ pass # Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py') +with open(os.path.join(package_folder_path, 'version.py') if os.path.exists(os.path.join(package_folder_path, 'version.py')) else os.path.join(package_folder_path, '_version.py'), 'r') as fd: version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]',