diff --git a/azure-mgmt-blueprint/azure/mgmt/blueprint/models/assignment_status.py b/azure-mgmt-blueprint/azure/mgmt/blueprint/models/assignment_status.py index c6527422db0a..ed3f00bbbb86 100644 --- a/azure-mgmt-blueprint/azure/mgmt/blueprint/models/assignment_status.py +++ b/azure-mgmt-blueprint/azure/mgmt/blueprint/models/assignment_status.py @@ -19,9 +19,9 @@ class AssignmentStatus(BlueprintResourceStatusBase): sending a request. :ivar time_created: Creation time of this blueprint definition. - :vartype time_created: str + :vartype time_created: datetime :ivar last_modified: Last modified time of this blueprint definition. - :vartype last_modified: str + :vartype last_modified: datetime """ _validation = { @@ -30,8 +30,8 @@ class AssignmentStatus(BlueprintResourceStatusBase): } _attribute_map = { - 'time_created': {'key': 'timeCreated', 'type': 'str'}, - 'last_modified': {'key': 'lastModified', 'type': 'str'}, + 'time_created': {'key': 'timeCreated', 'type': 'iso-8601'}, + 'last_modified': {'key': 'lastModified', 'type': 'iso-8601'}, } def __init__(self, **kwargs): diff --git a/azure-mgmt-blueprint/azure/mgmt/blueprint/models/assignment_status_py3.py b/azure-mgmt-blueprint/azure/mgmt/blueprint/models/assignment_status_py3.py index 8bacd999ebe8..a6fc93d5aaa7 100644 --- a/azure-mgmt-blueprint/azure/mgmt/blueprint/models/assignment_status_py3.py +++ b/azure-mgmt-blueprint/azure/mgmt/blueprint/models/assignment_status_py3.py @@ -19,9 +19,9 @@ class AssignmentStatus(BlueprintResourceStatusBase): sending a request. :ivar time_created: Creation time of this blueprint definition. - :vartype time_created: str + :vartype time_created: datetime :ivar last_modified: Last modified time of this blueprint definition. - :vartype last_modified: str + :vartype last_modified: datetime """ _validation = { @@ -30,8 +30,8 @@ class AssignmentStatus(BlueprintResourceStatusBase): } _attribute_map = { - 'time_created': {'key': 'timeCreated', 'type': 'str'}, - 'last_modified': {'key': 'lastModified', 'type': 'str'}, + 'time_created': {'key': 'timeCreated', 'type': 'iso-8601'}, + 'last_modified': {'key': 'lastModified', 'type': 'iso-8601'}, } def __init__(self, **kwargs) -> None: diff --git a/azure-mgmt-blueprint/azure/mgmt/blueprint/models/blueprint_resource_status_base.py b/azure-mgmt-blueprint/azure/mgmt/blueprint/models/blueprint_resource_status_base.py index fc74840327df..32214aaef08d 100644 --- a/azure-mgmt-blueprint/azure/mgmt/blueprint/models/blueprint_resource_status_base.py +++ b/azure-mgmt-blueprint/azure/mgmt/blueprint/models/blueprint_resource_status_base.py @@ -19,9 +19,9 @@ class BlueprintResourceStatusBase(Model): sending a request. :ivar time_created: Creation time of this blueprint definition. - :vartype time_created: str + :vartype time_created: datetime :ivar last_modified: Last modified time of this blueprint definition. - :vartype last_modified: str + :vartype last_modified: datetime """ _validation = { @@ -30,8 +30,8 @@ class BlueprintResourceStatusBase(Model): } _attribute_map = { - 'time_created': {'key': 'timeCreated', 'type': 'str'}, - 'last_modified': {'key': 'lastModified', 'type': 'str'}, + 'time_created': {'key': 'timeCreated', 'type': 'iso-8601'}, + 'last_modified': {'key': 'lastModified', 'type': 'iso-8601'}, } def __init__(self, **kwargs): diff --git a/azure-mgmt-blueprint/azure/mgmt/blueprint/models/blueprint_resource_status_base_py3.py b/azure-mgmt-blueprint/azure/mgmt/blueprint/models/blueprint_resource_status_base_py3.py index 44813f768184..057e1dc32bd0 100644 --- a/azure-mgmt-blueprint/azure/mgmt/blueprint/models/blueprint_resource_status_base_py3.py +++ b/azure-mgmt-blueprint/azure/mgmt/blueprint/models/blueprint_resource_status_base_py3.py @@ -19,9 +19,9 @@ class BlueprintResourceStatusBase(Model): sending a request. :ivar time_created: Creation time of this blueprint definition. - :vartype time_created: str + :vartype time_created: datetime :ivar last_modified: Last modified time of this blueprint definition. - :vartype last_modified: str + :vartype last_modified: datetime """ _validation = { @@ -30,8 +30,8 @@ class BlueprintResourceStatusBase(Model): } _attribute_map = { - 'time_created': {'key': 'timeCreated', 'type': 'str'}, - 'last_modified': {'key': 'lastModified', 'type': 'str'}, + 'time_created': {'key': 'timeCreated', 'type': 'iso-8601'}, + 'last_modified': {'key': 'lastModified', 'type': 'iso-8601'}, } def __init__(self, **kwargs) -> None: diff --git a/azure-mgmt-blueprint/azure/mgmt/blueprint/models/blueprint_status.py b/azure-mgmt-blueprint/azure/mgmt/blueprint/models/blueprint_status.py index 92a803bd8864..d775a7e66847 100644 --- a/azure-mgmt-blueprint/azure/mgmt/blueprint/models/blueprint_status.py +++ b/azure-mgmt-blueprint/azure/mgmt/blueprint/models/blueprint_status.py @@ -19,9 +19,9 @@ class BlueprintStatus(BlueprintResourceStatusBase): sending a request. :ivar time_created: Creation time of this blueprint definition. - :vartype time_created: str + :vartype time_created: datetime :ivar last_modified: Last modified time of this blueprint definition. - :vartype last_modified: str + :vartype last_modified: datetime """ _validation = { @@ -30,8 +30,8 @@ class BlueprintStatus(BlueprintResourceStatusBase): } _attribute_map = { - 'time_created': {'key': 'timeCreated', 'type': 'str'}, - 'last_modified': {'key': 'lastModified', 'type': 'str'}, + 'time_created': {'key': 'timeCreated', 'type': 'iso-8601'}, + 'last_modified': {'key': 'lastModified', 'type': 'iso-8601'}, } def __init__(self, **kwargs): diff --git a/azure-mgmt-blueprint/azure/mgmt/blueprint/models/blueprint_status_py3.py b/azure-mgmt-blueprint/azure/mgmt/blueprint/models/blueprint_status_py3.py index 73154742f011..279758289a21 100644 --- a/azure-mgmt-blueprint/azure/mgmt/blueprint/models/blueprint_status_py3.py +++ b/azure-mgmt-blueprint/azure/mgmt/blueprint/models/blueprint_status_py3.py @@ -19,9 +19,9 @@ class BlueprintStatus(BlueprintResourceStatusBase): sending a request. :ivar time_created: Creation time of this blueprint definition. - :vartype time_created: str + :vartype time_created: datetime :ivar last_modified: Last modified time of this blueprint definition. - :vartype last_modified: str + :vartype last_modified: datetime """ _validation = { @@ -30,8 +30,8 @@ class BlueprintStatus(BlueprintResourceStatusBase): } _attribute_map = { - 'time_created': {'key': 'timeCreated', 'type': 'str'}, - 'last_modified': {'key': 'lastModified', 'type': 'str'}, + 'time_created': {'key': 'timeCreated', 'type': 'iso-8601'}, + 'last_modified': {'key': 'lastModified', 'type': 'iso-8601'}, } def __init__(self, **kwargs) -> None: diff --git a/azure-mgmt-blueprint/setup.py b/azure-mgmt-blueprint/setup.py index 15c987860b9a..8b7c3a5fba0d 100644 --- a/azure-mgmt-blueprint/setup.py +++ b/azure-mgmt-blueprint/setup.py @@ -53,6 +53,7 @@ version=version, description='Microsoft Azure {} Client Library for Python'.format(PACKAGE_PPRINT_NAME), long_description=readme + '\n\n' + history, + long_description_content_type='text/x-rst', license='MIT License', author='Microsoft Corporation', author_email='azpysdkhelp@microsoft.com',