diff --git a/sdk/compute/azure-mgmt-vmwarecloudsimple/_meta.json b/sdk/compute/azure-mgmt-vmwarecloudsimple/_meta.json index 451fd9110194..8da1c120c97f 100644 --- a/sdk/compute/azure-mgmt-vmwarecloudsimple/_meta.json +++ b/sdk/compute/azure-mgmt-vmwarecloudsimple/_meta.json @@ -1,11 +1,11 @@ { - "autorest": "3.4.2", + "autorest": "3.4.5", "use": [ - "@autorest/python@5.8.0", - "@autorest/modelerfour@4.19.1" + "@autorest/python@5.8.4", + "@autorest/modelerfour@4.19.2" ], - "commit": "b983192c03c5db5072c6090976753dc7218a096a", + "commit": "152a1069f362bc4b5824fa16f3494677a4a083cb", "repository_url": "https://github.com/Azure/azure-rest-api-specs", - "autorest_command": "autorest specification/vmwarecloudsimple/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.0 --use=@autorest/modelerfour@4.19.1 --version=3.4.2", + "autorest_command": "autorest specification/vmwarecloudsimple/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/python@5.8.4 --use=@autorest/modelerfour@4.19.2 --version=3.4.5", "readme": "specification/vmwarecloudsimple/resource-manager/readme.md" } \ No newline at end of file diff --git a/sdk/compute/azure-mgmt-vmwarecloudsimple/azure/mgmt/vmwarecloudsimple/models/_models.py b/sdk/compute/azure-mgmt-vmwarecloudsimple/azure/mgmt/vmwarecloudsimple/models/_models.py index ac556e248b9a..5c0fe6559ca8 100644 --- a/sdk/compute/azure-mgmt-vmwarecloudsimple/azure/mgmt/vmwarecloudsimple/models/_models.py +++ b/sdk/compute/azure-mgmt-vmwarecloudsimple/azure/mgmt/vmwarecloudsimple/models/_models.py @@ -510,7 +510,7 @@ class DedicatedCloudNode(msrest.serialization.Model): :ivar cloud_rack_name: VMWare Cloud Rack Name. :vartype cloud_rack_name: str :ivar created: date time the resource was created. - :vartype created: any + :vartype created: ~datetime.datetime :param nodes_count: count of nodes to create. :type nodes_count: int :param placement_group_id: Placement Group id, e.g. "n1". @@ -562,7 +562,7 @@ class DedicatedCloudNode(msrest.serialization.Model): 'availability_zone_id': {'key': 'properties.availabilityZoneId', 'type': 'str'}, 'availability_zone_name': {'key': 'properties.availabilityZoneName', 'type': 'str'}, 'cloud_rack_name': {'key': 'properties.cloudRackName', 'type': 'str'}, - 'created': {'key': 'properties.created', 'type': 'object'}, + 'created': {'key': 'properties.created', 'type': 'iso-8601'}, 'nodes_count': {'key': 'properties.nodesCount', 'type': 'int'}, 'placement_group_id': {'key': 'properties.placementGroupId', 'type': 'str'}, 'placement_group_name': {'key': 'properties.placementGroupName', 'type': 'str'}, @@ -897,8 +897,6 @@ def __init__( class PrivateCloud(msrest.serialization.Model): """Private cloud model. - Variables are only populated by the server, and will be ignored when sending a request. - :param id: Azure Id, e.g. "/subscriptions/4da99247-a172-4ed6-8ae9-ebed2d12f839/providers/Microsoft.VMwareCloudSimple/privateClouds/cloud123". :type id: str @@ -906,8 +904,9 @@ class PrivateCloud(msrest.serialization.Model): :type location: str :param name: Private cloud name. :type name: str - :ivar type: Azure Resource type. Default value: "Microsoft.VMwareCloudSimple/privateClouds". - :vartype type: str + :param type: Azure Resource type. The only acceptable values to pass in are None and + "Microsoft.VMwareCloudSimple/privateClouds". The default value is None. + :type type: str :param availability_zone_id: Availability Zone id, e.g. "az1". :type availability_zone_id: str :param availability_zone_name: Availability Zone name, e.g. "Availability Zone 1". @@ -959,10 +958,6 @@ class PrivateCloud(msrest.serialization.Model): :type vr_ops_enabled: bool """ - _validation = { - 'type': {'constant': True}, - } - _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, @@ -994,8 +989,6 @@ class PrivateCloud(msrest.serialization.Model): 'vr_ops_enabled': {'key': 'properties.vrOpsEnabled', 'type': 'bool'}, } - type = "Microsoft.VMwareCloudSimple/privateClouds" - def __init__( self, **kwargs @@ -1004,6 +997,7 @@ def __init__( self.id = kwargs.get('id', None) self.location = kwargs.get('location', None) self.name = kwargs.get('name', None) + self.type = kwargs.get('type', None) self.availability_zone_id = kwargs.get('availability_zone_id', None) self.availability_zone_name = kwargs.get('availability_zone_name', None) self.clusters_number = kwargs.get('clusters_number', None) diff --git a/sdk/compute/azure-mgmt-vmwarecloudsimple/azure/mgmt/vmwarecloudsimple/models/_models_py3.py b/sdk/compute/azure-mgmt-vmwarecloudsimple/azure/mgmt/vmwarecloudsimple/models/_models_py3.py index f2068b0fcba0..6a931623acc8 100644 --- a/sdk/compute/azure-mgmt-vmwarecloudsimple/azure/mgmt/vmwarecloudsimple/models/_models_py3.py +++ b/sdk/compute/azure-mgmt-vmwarecloudsimple/azure/mgmt/vmwarecloudsimple/models/_models_py3.py @@ -576,7 +576,7 @@ class DedicatedCloudNode(msrest.serialization.Model): :ivar cloud_rack_name: VMWare Cloud Rack Name. :vartype cloud_rack_name: str :ivar created: date time the resource was created. - :vartype created: any + :vartype created: ~datetime.datetime :param nodes_count: count of nodes to create. :type nodes_count: int :param placement_group_id: Placement Group id, e.g. "n1". @@ -628,7 +628,7 @@ class DedicatedCloudNode(msrest.serialization.Model): 'availability_zone_id': {'key': 'properties.availabilityZoneId', 'type': 'str'}, 'availability_zone_name': {'key': 'properties.availabilityZoneName', 'type': 'str'}, 'cloud_rack_name': {'key': 'properties.cloudRackName', 'type': 'str'}, - 'created': {'key': 'properties.created', 'type': 'object'}, + 'created': {'key': 'properties.created', 'type': 'iso-8601'}, 'nodes_count': {'key': 'properties.nodesCount', 'type': 'int'}, 'placement_group_id': {'key': 'properties.placementGroupId', 'type': 'str'}, 'placement_group_name': {'key': 'properties.placementGroupName', 'type': 'str'}, @@ -1004,8 +1004,6 @@ def __init__( class PrivateCloud(msrest.serialization.Model): """Private cloud model. - Variables are only populated by the server, and will be ignored when sending a request. - :param id: Azure Id, e.g. "/subscriptions/4da99247-a172-4ed6-8ae9-ebed2d12f839/providers/Microsoft.VMwareCloudSimple/privateClouds/cloud123". :type id: str @@ -1013,8 +1011,9 @@ class PrivateCloud(msrest.serialization.Model): :type location: str :param name: Private cloud name. :type name: str - :ivar type: Azure Resource type. Default value: "Microsoft.VMwareCloudSimple/privateClouds". - :vartype type: str + :param type: Azure Resource type. The only acceptable values to pass in are None and + "Microsoft.VMwareCloudSimple/privateClouds". The default value is None. + :type type: str :param availability_zone_id: Availability Zone id, e.g. "az1". :type availability_zone_id: str :param availability_zone_name: Availability Zone name, e.g. "Availability Zone 1". @@ -1066,10 +1065,6 @@ class PrivateCloud(msrest.serialization.Model): :type vr_ops_enabled: bool """ - _validation = { - 'type': {'constant': True}, - } - _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'location': {'key': 'location', 'type': 'str'}, @@ -1101,14 +1096,13 @@ class PrivateCloud(msrest.serialization.Model): 'vr_ops_enabled': {'key': 'properties.vrOpsEnabled', 'type': 'bool'}, } - type = "Microsoft.VMwareCloudSimple/privateClouds" - def __init__( self, *, id: Optional[str] = None, location: Optional[str] = None, name: Optional[str] = None, + type: Optional[str] = None, availability_zone_id: Optional[str] = None, availability_zone_name: Optional[str] = None, clusters_number: Optional[int] = None, @@ -1139,6 +1133,7 @@ def __init__( self.id = id self.location = location self.name = name + self.type = type self.availability_zone_id = availability_zone_id self.availability_zone_name = availability_zone_name self.clusters_number = clusters_number