diff --git a/sdk/maintenance/azure-mgmt-maintenance/_meta.json b/sdk/maintenance/azure-mgmt-maintenance/_meta.json index 414559047419..7609e279be14 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/_meta.json +++ b/sdk/maintenance/azure-mgmt-maintenance/_meta.json @@ -1,8 +1,11 @@ { - "autorest": "3.3.0", - "use": "@autorest/python@5.6.6", - "commit": "6300f518091891b00c993e538dc2d282c9b814de", + "autorest": "3.4.2", + "use": [ + "@autorest/python@5.8.1", + "@autorest/modelerfour@4.19.2" + ], + "commit": "c803720c6bcfcb0fcf4c97f3463ec33a18f9e55c", "repository_url": "https://github.com/Azure/azure-rest-api-specs", - "autorest_command": "autorest specification/maintenance/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.6.6 --version=3.3.0", + "autorest_command": "autorest specification/maintenance/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.1 --use=@autorest/modelerfour@4.19.2 --version=3.4.2", "readme": "specification/maintenance/resource-manager/readme.md" } \ No newline at end of file diff --git a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/_version.py b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/_version.py index 48944bf3938a..e5754a47ce68 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/_version.py +++ b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "2.0.0" +VERSION = "1.0.0b1" diff --git a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/operations/_apply_update_for_resource_group_operations.py b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/operations/_apply_update_for_resource_group_operations.py index e46f1f219956..585e28597cfe 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/operations/_apply_update_for_resource_group_operations.py +++ b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/operations/_apply_update_for_resource_group_operations.py @@ -44,7 +44,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, resource_group_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ListApplyUpdate"]: """Get Configuration records within a subscription and resource group. diff --git a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/operations/_apply_updates_operations.py b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/operations/_apply_updates_operations.py index bba2d3be0d73..31349caff178 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/operations/_apply_updates_operations.py +++ b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/operations/_apply_updates_operations.py @@ -50,7 +50,7 @@ async def get_parent( resource_type: str, resource_name: str, apply_update_name: str, - **kwargs + **kwargs: Any ) -> "_models.ApplyUpdate": """Track Updates to resource with parent. @@ -129,7 +129,7 @@ async def get( resource_type: str, resource_name: str, apply_update_name: str, - **kwargs + **kwargs: Any ) -> "_models.ApplyUpdate": """Track Updates to resource. @@ -203,7 +203,7 @@ async def create_or_update_parent( resource_parent_name: str, resource_type: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ApplyUpdate": """Apply Updates to resource with parent. @@ -278,7 +278,7 @@ async def create_or_update( provider_name: str, resource_type: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.ApplyUpdate": """Apply Updates to resource. @@ -343,7 +343,7 @@ async def create_or_update( def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ListApplyUpdate"]: """Get Configuration records within a subscription. diff --git a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/operations/_configuration_assignments_operations.py b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/operations/_configuration_assignments_operations.py index b94aacc6e776..c4e03d581cce 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/operations/_configuration_assignments_operations.py +++ b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/operations/_configuration_assignments_operations.py @@ -51,7 +51,7 @@ async def create_or_update_parent( resource_name: str, configuration_assignment_name: str, configuration_assignment: "_models.ConfigurationAssignment", - **kwargs + **kwargs: Any ) -> "_models.ConfigurationAssignment": """Create configuration assignment. @@ -139,7 +139,7 @@ async def delete_parent( resource_type: str, resource_name: str, configuration_assignment_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.ConfigurationAssignment"]: """Unregister configuration for resource. @@ -221,7 +221,7 @@ async def create_or_update( resource_name: str, configuration_assignment_name: str, configuration_assignment: "_models.ConfigurationAssignment", - **kwargs + **kwargs: Any ) -> "_models.ConfigurationAssignment": """Create configuration assignment. @@ -301,7 +301,7 @@ async def delete( resource_type: str, resource_name: str, configuration_assignment_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.ConfigurationAssignment"]: """Unregister configuration for resource. @@ -377,7 +377,7 @@ def list_parent( resource_parent_name: str, resource_type: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ListConfigurationAssignmentsResult"]: """List configurationAssignments for resource. @@ -468,7 +468,7 @@ def list( provider_name: str, resource_type: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ListConfigurationAssignmentsResult"]: """List configurationAssignments for resource. diff --git a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/operations/_maintenance_configurations_for_resource_group_operations.py b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/operations/_maintenance_configurations_for_resource_group_operations.py index 4b17136c5ef0..d8c1d816b175 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/operations/_maintenance_configurations_for_resource_group_operations.py +++ b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/operations/_maintenance_configurations_for_resource_group_operations.py @@ -44,7 +44,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, resource_group_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ListMaintenanceConfigurationsResult"]: """Get Configuration records within a subscription and resource group. diff --git a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/operations/_maintenance_configurations_operations.py b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/operations/_maintenance_configurations_operations.py index d28a810b6f4b..dad3ff5d1fa4 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/operations/_maintenance_configurations_operations.py +++ b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/operations/_maintenance_configurations_operations.py @@ -45,7 +45,7 @@ async def get( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.MaintenanceConfiguration": """Get Configuration record. @@ -107,7 +107,7 @@ async def create_or_update( resource_group_name: str, resource_name: str, configuration: "_models.MaintenanceConfiguration", - **kwargs + **kwargs: Any ) -> "_models.MaintenanceConfiguration": """Create or Update configuration record. @@ -175,7 +175,7 @@ async def delete( self, resource_group_name: str, resource_name: str, - **kwargs + **kwargs: Any ) -> Optional["_models.MaintenanceConfiguration"]: """Delete Configuration record. @@ -239,7 +239,7 @@ async def update( resource_group_name: str, resource_name: str, configuration: "_models.MaintenanceConfiguration", - **kwargs + **kwargs: Any ) -> "_models.MaintenanceConfiguration": """Patch configuration record. @@ -305,7 +305,7 @@ async def update( def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ListMaintenanceConfigurationsResult"]: """Get Configuration records within a subscription. diff --git a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/operations/_operations.py b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/operations/_operations.py index edcba5340450..1129a8b86f36 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/operations/_operations.py +++ b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/operations/_operations.py @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.OperationsListResult"]: """List available operations. diff --git a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/operations/_public_maintenance_configurations_operations.py b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/operations/_public_maintenance_configurations_operations.py index 3ff55c068fc9..a72e8c263fdd 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/operations/_public_maintenance_configurations_operations.py +++ b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/operations/_public_maintenance_configurations_operations.py @@ -43,7 +43,7 @@ def __init__(self, client, config, serializer, deserializer) -> None: def list( self, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ListMaintenanceConfigurationsResult"]: """Get Public Maintenance Configuration records. @@ -113,7 +113,7 @@ async def get_next(next_link=None): async def get( self, resource_name: str, - **kwargs + **kwargs: Any ) -> "_models.MaintenanceConfiguration": """Get Public Maintenance Configuration record. diff --git a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/operations/_updates_operations.py b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/operations/_updates_operations.py index ec92532a33d7..3abf693872a2 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/operations/_updates_operations.py +++ b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/aio/operations/_updates_operations.py @@ -49,7 +49,7 @@ def list_parent( resource_parent_name: str, resource_type: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ListUpdatesResult"]: """Get Updates to resource. @@ -140,7 +140,7 @@ def list( provider_name: str, resource_type: str, resource_name: str, - **kwargs + **kwargs: Any ) -> AsyncIterable["_models.ListUpdatesResult"]: """Get Updates to resource. diff --git a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/models/_models.py b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/models/_models.py index 01153758c032..91dafd12b35d 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/models/_models.py +++ b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/models/_models.py @@ -380,7 +380,7 @@ class Operation(msrest.serialization.Model): :param origin: Origin of the operation. :type origin: str :param properties: Properties of the operation. - :type properties: str + :type properties: any :param is_data_action: Indicates whether the operation is a data action. :type is_data_action: bool """ @@ -389,7 +389,7 @@ class Operation(msrest.serialization.Model): 'name': {'key': 'name', 'type': 'str'}, 'display': {'key': 'display', 'type': 'OperationInfo'}, 'origin': {'key': 'origin', 'type': 'str'}, - 'properties': {'key': 'properties', 'type': 'str'}, + 'properties': {'key': 'properties', 'type': 'object'}, 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, } diff --git a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/models/_models_py3.py b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/models/_models_py3.py index 8b9d72ed726e..a724f8abbe48 100644 --- a/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/models/_models_py3.py +++ b/sdk/maintenance/azure-mgmt-maintenance/azure/mgmt/maintenance/models/_models_py3.py @@ -7,7 +7,7 @@ # -------------------------------------------------------------------------- import datetime -from typing import Dict, List, Optional, Union +from typing import Any, Dict, List, Optional, Union from azure.core.exceptions import HttpResponseError import msrest.serialization @@ -418,7 +418,7 @@ class Operation(msrest.serialization.Model): :param origin: Origin of the operation. :type origin: str :param properties: Properties of the operation. - :type properties: str + :type properties: any :param is_data_action: Indicates whether the operation is a data action. :type is_data_action: bool """ @@ -427,7 +427,7 @@ class Operation(msrest.serialization.Model): 'name': {'key': 'name', 'type': 'str'}, 'display': {'key': 'display', 'type': 'OperationInfo'}, 'origin': {'key': 'origin', 'type': 'str'}, - 'properties': {'key': 'properties', 'type': 'str'}, + 'properties': {'key': 'properties', 'type': 'object'}, 'is_data_action': {'key': 'isDataAction', 'type': 'bool'}, } @@ -437,7 +437,7 @@ def __init__( name: Optional[str] = None, display: Optional["OperationInfo"] = None, origin: Optional[str] = None, - properties: Optional[str] = None, + properties: Optional[Any] = None, is_data_action: Optional[bool] = None, **kwargs ):