diff --git a/sdk/managementgroups/azure-mgmt-managementgroups/_meta.json b/sdk/managementgroups/azure-mgmt-managementgroups/_meta.json index dd31d1077c15..8f7eeeccac79 100644 --- a/sdk/managementgroups/azure-mgmt-managementgroups/_meta.json +++ b/sdk/managementgroups/azure-mgmt-managementgroups/_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": "e5bdbb00cf31e34dfaffe74432b80a110f86e06a", + "commit": "6ba37b7279bbd0d69042743246780cc3af9257b9", "repository_url": "https://github.com/Azure/azure-rest-api-specs", - "autorest_command": "autorest specification/managementgroups/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/managementgroups/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/managementgroups/resource-manager/readme.md" } \ No newline at end of file diff --git a/sdk/managementgroups/azure-mgmt-managementgroups/azure/mgmt/managementgroups/_version.py b/sdk/managementgroups/azure-mgmt-managementgroups/azure/mgmt/managementgroups/_version.py index c47f66669f1b..fe0d5a0b414c 100644 --- a/sdk/managementgroups/azure-mgmt-managementgroups/azure/mgmt/managementgroups/_version.py +++ b/sdk/managementgroups/azure-mgmt-managementgroups/azure/mgmt/managementgroups/_version.py @@ -6,4 +6,4 @@ # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -VERSION = "1.0.0" +VERSION = "2019-05-01T00:00:00.000Z" diff --git a/sdk/managementgroups/azure-mgmt-managementgroups/azure/mgmt/managementgroups/models/_models.py b/sdk/managementgroups/azure-mgmt-managementgroups/azure/mgmt/managementgroups/models/_models.py index 5baa1bc0c0cf..1b707a2987ce 100644 --- a/sdk/managementgroups/azure-mgmt-managementgroups/azure/mgmt/managementgroups/models/_models.py +++ b/sdk/managementgroups/azure-mgmt-managementgroups/azure/mgmt/managementgroups/models/_models.py @@ -65,32 +65,26 @@ def __init__( class CheckNameAvailabilityRequest(msrest.serialization.Model): """Management group name availability check parameters. - Variables are only populated by the server, and will be ignored when sending a request. - :param name: the name to check for availability. :type name: str - :ivar type: fully qualified resource type which includes provider namespace. Default value: - "Microsoft.Management/managementGroups". - :vartype type: str + :param type: fully qualified resource type which includes provider namespace. The only + acceptable values to pass in are None and "Microsoft.Management/managementGroups". The default + value is None. + :type type: str """ - _validation = { - 'type': {'constant': True}, - } - _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, } - type = "Microsoft.Management/managementGroups" - def __init__( self, **kwargs ): super(CheckNameAvailabilityRequest, self).__init__(**kwargs) self.name = kwargs.get('name', None) + self.type = kwargs.get('type', None) class CheckNameAvailabilityResult(msrest.serialization.Model): diff --git a/sdk/managementgroups/azure-mgmt-managementgroups/azure/mgmt/managementgroups/models/_models_py3.py b/sdk/managementgroups/azure-mgmt-managementgroups/azure/mgmt/managementgroups/models/_models_py3.py index d516780d606c..974dfe1361c6 100644 --- a/sdk/managementgroups/azure-mgmt-managementgroups/azure/mgmt/managementgroups/models/_models_py3.py +++ b/sdk/managementgroups/azure-mgmt-managementgroups/azure/mgmt/managementgroups/models/_models_py3.py @@ -73,34 +73,29 @@ def __init__( class CheckNameAvailabilityRequest(msrest.serialization.Model): """Management group name availability check parameters. - Variables are only populated by the server, and will be ignored when sending a request. - :param name: the name to check for availability. :type name: str - :ivar type: fully qualified resource type which includes provider namespace. Default value: - "Microsoft.Management/managementGroups". - :vartype type: str + :param type: fully qualified resource type which includes provider namespace. The only + acceptable values to pass in are None and "Microsoft.Management/managementGroups". The default + value is None. + :type type: str """ - _validation = { - 'type': {'constant': True}, - } - _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, } - type = "Microsoft.Management/managementGroups" - def __init__( self, *, name: Optional[str] = None, + type: Optional[str] = None, **kwargs ): super(CheckNameAvailabilityRequest, self).__init__(**kwargs) self.name = name + self.type = type class CheckNameAvailabilityResult(msrest.serialization.Model):