From 044eafa3c063e542c4f5a1ab26bfbe910e6588b6 Mon Sep 17 00:00:00 2001
From: Azure SDK for Python bot <aspysdk2@microsoft.com>
Date: Fri, 25 May 2018 16:02:48 -0700
Subject: [PATCH] Generated from 3892c33f2003ff05365839e7ebb356dec18687c7
 (#2627)

Fixed syntax error in example
---
 .../azure/mgmt/sql/models/__init__.py          | 18 +++++++++---------
 .../azure/mgmt/sql/models/database.py          |  6 +++---
 .../azure/mgmt/sql/models/database_py3.py      |  8 ++++----
 .../azure/mgmt/sql/models/elastic_pool.py      |  6 +++---
 .../azure/mgmt/sql/models/elastic_pool_py3.py  |  8 ++++----
 .../azure/mgmt/sql/models/job_agent.py         |  6 +++---
 .../azure/mgmt/sql/models/job_agent_py3.py     |  8 ++++----
 .../azure/mgmt/sql/models/managed_database.py  |  6 +++---
 .../mgmt/sql/models/managed_database_py3.py    |  8 ++++----
 .../azure/mgmt/sql/models/managed_instance.py  |  6 +++---
 .../mgmt/sql/models/managed_instance_py3.py    |  8 ++++----
 azure-mgmt-sql/azure/mgmt/sql/models/server.py |  6 +++---
 .../azure/mgmt/sql/models/server_py3.py        |  8 ++++----
 azure-mgmt-sql/azure/mgmt/sql/models/sku.py    | 17 +++++++++++------
 .../azure/mgmt/sql/models/sku_py3.py           | 17 +++++++++++------
 .../azure/mgmt/sql/models/tracked_resource.py  |  8 ++++----
 .../mgmt/sql/models/tracked_resource_py3.py    |  8 ++++----
 azure-mgmt-sql/azure/mgmt/sql/version.py       |  2 +-
 18 files changed, 82 insertions(+), 72 deletions(-)

diff --git a/azure-mgmt-sql/azure/mgmt/sql/models/__init__.py b/azure-mgmt-sql/azure/mgmt/sql/models/__init__.py
index 1643e6e9dcec7..fb3533b20adf5 100644
--- a/azure-mgmt-sql/azure/mgmt/sql/models/__init__.py
+++ b/azure-mgmt-sql/azure/mgmt/sql/models/__init__.py
@@ -10,11 +10,11 @@
 # --------------------------------------------------------------------------
 
 try:
-    from .resource_py3 import Resource
-    from .tracked_resource_py3 import TrackedResource
-    from .proxy_resource_py3 import ProxyResource
     from .recoverable_database_py3 import RecoverableDatabase
     from .restorable_dropped_database_py3 import RestorableDroppedDatabase
+    from .tracked_resource_py3 import TrackedResource
+    from .resource_py3 import Resource
+    from .proxy_resource_py3 import ProxyResource
     from .check_name_availability_request_py3 import CheckNameAvailabilityRequest
     from .check_name_availability_response_py3 import CheckNameAvailabilityResponse
     from .server_connection_policy_py3 import ServerConnectionPolicy
@@ -145,11 +145,11 @@
     from .instance_failover_group_py3 import InstanceFailoverGroup
     from .backup_short_term_retention_policy_py3 import BackupShortTermRetentionPolicy
 except (SyntaxError, ImportError):
-    from .resource import Resource
-    from .tracked_resource import TrackedResource
-    from .proxy_resource import ProxyResource
     from .recoverable_database import RecoverableDatabase
     from .restorable_dropped_database import RestorableDroppedDatabase
+    from .tracked_resource import TrackedResource
+    from .resource import Resource
+    from .proxy_resource import ProxyResource
     from .check_name_availability_request import CheckNameAvailabilityRequest
     from .check_name_availability_response import CheckNameAvailabilityResponse
     from .server_connection_policy import ServerConnectionPolicy
@@ -409,11 +409,11 @@
 )
 
 __all__ = [
-    'Resource',
-    'TrackedResource',
-    'ProxyResource',
     'RecoverableDatabase',
     'RestorableDroppedDatabase',
+    'TrackedResource',
+    'Resource',
+    'ProxyResource',
     'CheckNameAvailabilityRequest',
     'CheckNameAvailabilityResponse',
     'ServerConnectionPolicy',
diff --git a/azure-mgmt-sql/azure/mgmt/sql/models/database.py b/azure-mgmt-sql/azure/mgmt/sql/models/database.py
index 01a91639b523e..f3f66d024a7ae 100644
--- a/azure-mgmt-sql/azure/mgmt/sql/models/database.py
+++ b/azure-mgmt-sql/azure/mgmt/sql/models/database.py
@@ -26,10 +26,10 @@ class Database(TrackedResource):
     :vartype name: str
     :ivar type: Resource type.
     :vartype type: str
-    :param tags: Resource tags.
-    :type tags: dict[str, str]
     :param location: Required. Resource location.
     :type location: str
+    :param tags: Resource tags.
+    :type tags: dict[str, str]
     :param sku: The name and tier of the SKU.
     :type sku: ~azure.mgmt.sql.models.Sku
     :ivar kind: Kind of database. This is metadata used for the Azure portal
@@ -171,8 +171,8 @@ class Database(TrackedResource):
         'id': {'key': 'id', 'type': 'str'},
         'name': {'key': 'name', 'type': 'str'},
         'type': {'key': 'type', 'type': 'str'},
-        'tags': {'key': 'tags', 'type': '{str}'},
         'location': {'key': 'location', 'type': 'str'},
+        'tags': {'key': 'tags', 'type': '{str}'},
         'sku': {'key': 'sku', 'type': 'Sku'},
         'kind': {'key': 'kind', 'type': 'str'},
         'managed_by': {'key': 'managedBy', 'type': 'str'},
diff --git a/azure-mgmt-sql/azure/mgmt/sql/models/database_py3.py b/azure-mgmt-sql/azure/mgmt/sql/models/database_py3.py
index d8292104953ff..9cfb4d07a7e6d 100644
--- a/azure-mgmt-sql/azure/mgmt/sql/models/database_py3.py
+++ b/azure-mgmt-sql/azure/mgmt/sql/models/database_py3.py
@@ -26,10 +26,10 @@ class Database(TrackedResource):
     :vartype name: str
     :ivar type: Resource type.
     :vartype type: str
-    :param tags: Resource tags.
-    :type tags: dict[str, str]
     :param location: Required. Resource location.
     :type location: str
+    :param tags: Resource tags.
+    :type tags: dict[str, str]
     :param sku: The name and tier of the SKU.
     :type sku: ~azure.mgmt.sql.models.Sku
     :ivar kind: Kind of database. This is metadata used for the Azure portal
@@ -171,8 +171,8 @@ class Database(TrackedResource):
         'id': {'key': 'id', 'type': 'str'},
         'name': {'key': 'name', 'type': 'str'},
         'type': {'key': 'type', 'type': 'str'},
-        'tags': {'key': 'tags', 'type': '{str}'},
         'location': {'key': 'location', 'type': 'str'},
+        'tags': {'key': 'tags', 'type': '{str}'},
         'sku': {'key': 'sku', 'type': 'Sku'},
         'kind': {'key': 'kind', 'type': 'str'},
         'managed_by': {'key': 'managedBy', 'type': 'str'},
@@ -205,7 +205,7 @@ class Database(TrackedResource):
     }
 
     def __init__(self, *, location: str, tags=None, sku=None, create_mode=None, collation: str=None, max_size_bytes: int=None, sample_name=None, elastic_pool_id: str=None, source_database_id: str=None, restore_point_in_time=None, source_database_deletion_date=None, recovery_services_recovery_point_id: str=None, long_term_retention_backup_resource_id: str=None, recoverable_database_id: str=None, restorable_dropped_database_id: str=None, catalog_collation=None, zone_redundant: bool=None, license_type=None, read_scale=None, **kwargs) -> None:
-        super(Database, self).__init__(tags=tags, location=location, **kwargs)
+        super(Database, self).__init__(location=location, tags=tags, **kwargs)
         self.sku = sku
         self.kind = None
         self.managed_by = None
diff --git a/azure-mgmt-sql/azure/mgmt/sql/models/elastic_pool.py b/azure-mgmt-sql/azure/mgmt/sql/models/elastic_pool.py
index fa076856c7dee..10a28ea0f6e34 100644
--- a/azure-mgmt-sql/azure/mgmt/sql/models/elastic_pool.py
+++ b/azure-mgmt-sql/azure/mgmt/sql/models/elastic_pool.py
@@ -26,10 +26,10 @@ class ElasticPool(TrackedResource):
     :vartype name: str
     :ivar type: Resource type.
     :vartype type: str
-    :param tags: Resource tags.
-    :type tags: dict[str, str]
     :param location: Required. Resource location.
     :type location: str
+    :param tags: Resource tags.
+    :type tags: dict[str, str]
     :param sku:
     :type sku: ~azure.mgmt.sql.models.Sku
     :ivar kind: Kind of elastic pool. This is metadata used for the Azure
@@ -71,8 +71,8 @@ class ElasticPool(TrackedResource):
         'id': {'key': 'id', 'type': 'str'},
         'name': {'key': 'name', 'type': 'str'},
         'type': {'key': 'type', 'type': 'str'},
-        'tags': {'key': 'tags', 'type': '{str}'},
         'location': {'key': 'location', 'type': 'str'},
+        'tags': {'key': 'tags', 'type': '{str}'},
         'sku': {'key': 'sku', 'type': 'Sku'},
         'kind': {'key': 'kind', 'type': 'str'},
         'state': {'key': 'properties.state', 'type': 'str'},
diff --git a/azure-mgmt-sql/azure/mgmt/sql/models/elastic_pool_py3.py b/azure-mgmt-sql/azure/mgmt/sql/models/elastic_pool_py3.py
index 4a925d9ec66d7..eb092529ac3be 100644
--- a/azure-mgmt-sql/azure/mgmt/sql/models/elastic_pool_py3.py
+++ b/azure-mgmt-sql/azure/mgmt/sql/models/elastic_pool_py3.py
@@ -26,10 +26,10 @@ class ElasticPool(TrackedResource):
     :vartype name: str
     :ivar type: Resource type.
     :vartype type: str
-    :param tags: Resource tags.
-    :type tags: dict[str, str]
     :param location: Required. Resource location.
     :type location: str
+    :param tags: Resource tags.
+    :type tags: dict[str, str]
     :param sku:
     :type sku: ~azure.mgmt.sql.models.Sku
     :ivar kind: Kind of elastic pool. This is metadata used for the Azure
@@ -71,8 +71,8 @@ class ElasticPool(TrackedResource):
         'id': {'key': 'id', 'type': 'str'},
         'name': {'key': 'name', 'type': 'str'},
         'type': {'key': 'type', 'type': 'str'},
-        'tags': {'key': 'tags', 'type': '{str}'},
         'location': {'key': 'location', 'type': 'str'},
+        'tags': {'key': 'tags', 'type': '{str}'},
         'sku': {'key': 'sku', 'type': 'Sku'},
         'kind': {'key': 'kind', 'type': 'str'},
         'state': {'key': 'properties.state', 'type': 'str'},
@@ -84,7 +84,7 @@ class ElasticPool(TrackedResource):
     }
 
     def __init__(self, *, location: str, tags=None, sku=None, max_size_bytes: int=None, per_database_settings=None, zone_redundant: bool=None, license_type=None, **kwargs) -> None:
-        super(ElasticPool, self).__init__(tags=tags, location=location, **kwargs)
+        super(ElasticPool, self).__init__(location=location, tags=tags, **kwargs)
         self.sku = sku
         self.kind = None
         self.state = None
diff --git a/azure-mgmt-sql/azure/mgmt/sql/models/job_agent.py b/azure-mgmt-sql/azure/mgmt/sql/models/job_agent.py
index 3cb0df4642c42..48d42c28260cc 100644
--- a/azure-mgmt-sql/azure/mgmt/sql/models/job_agent.py
+++ b/azure-mgmt-sql/azure/mgmt/sql/models/job_agent.py
@@ -26,10 +26,10 @@ class JobAgent(TrackedResource):
     :vartype name: str
     :ivar type: Resource type.
     :vartype type: str
-    :param tags: Resource tags.
-    :type tags: dict[str, str]
     :param location: Required. Resource location.
     :type location: str
+    :param tags: Resource tags.
+    :type tags: dict[str, str]
     :param sku: The name and tier of the SKU.
     :type sku: ~azure.mgmt.sql.models.Sku
     :param database_id: Required. Resource ID of the database to store job
@@ -53,8 +53,8 @@ class JobAgent(TrackedResource):
         'id': {'key': 'id', 'type': 'str'},
         'name': {'key': 'name', 'type': 'str'},
         'type': {'key': 'type', 'type': 'str'},
-        'tags': {'key': 'tags', 'type': '{str}'},
         'location': {'key': 'location', 'type': 'str'},
+        'tags': {'key': 'tags', 'type': '{str}'},
         'sku': {'key': 'sku', 'type': 'Sku'},
         'database_id': {'key': 'properties.databaseId', 'type': 'str'},
         'state': {'key': 'properties.state', 'type': 'str'},
diff --git a/azure-mgmt-sql/azure/mgmt/sql/models/job_agent_py3.py b/azure-mgmt-sql/azure/mgmt/sql/models/job_agent_py3.py
index 4a2fa86da554b..936d87932ebcf 100644
--- a/azure-mgmt-sql/azure/mgmt/sql/models/job_agent_py3.py
+++ b/azure-mgmt-sql/azure/mgmt/sql/models/job_agent_py3.py
@@ -26,10 +26,10 @@ class JobAgent(TrackedResource):
     :vartype name: str
     :ivar type: Resource type.
     :vartype type: str
-    :param tags: Resource tags.
-    :type tags: dict[str, str]
     :param location: Required. Resource location.
     :type location: str
+    :param tags: Resource tags.
+    :type tags: dict[str, str]
     :param sku: The name and tier of the SKU.
     :type sku: ~azure.mgmt.sql.models.Sku
     :param database_id: Required. Resource ID of the database to store job
@@ -53,15 +53,15 @@ class JobAgent(TrackedResource):
         'id': {'key': 'id', 'type': 'str'},
         'name': {'key': 'name', 'type': 'str'},
         'type': {'key': 'type', 'type': 'str'},
-        'tags': {'key': 'tags', 'type': '{str}'},
         'location': {'key': 'location', 'type': 'str'},
+        'tags': {'key': 'tags', 'type': '{str}'},
         'sku': {'key': 'sku', 'type': 'Sku'},
         'database_id': {'key': 'properties.databaseId', 'type': 'str'},
         'state': {'key': 'properties.state', 'type': 'str'},
     }
 
     def __init__(self, *, location: str, database_id: str, tags=None, sku=None, **kwargs) -> None:
-        super(JobAgent, self).__init__(tags=tags, location=location, **kwargs)
+        super(JobAgent, self).__init__(location=location, tags=tags, **kwargs)
         self.sku = sku
         self.database_id = database_id
         self.state = None
diff --git a/azure-mgmt-sql/azure/mgmt/sql/models/managed_database.py b/azure-mgmt-sql/azure/mgmt/sql/models/managed_database.py
index cdc79bb248efd..92d1c06510f01 100644
--- a/azure-mgmt-sql/azure/mgmt/sql/models/managed_database.py
+++ b/azure-mgmt-sql/azure/mgmt/sql/models/managed_database.py
@@ -26,10 +26,10 @@ class ManagedDatabase(TrackedResource):
     :vartype name: str
     :ivar type: Resource type.
     :vartype type: str
-    :param tags: Resource tags.
-    :type tags: dict[str, str]
     :param location: Required. Resource location.
     :type location: str
+    :param tags: Resource tags.
+    :type tags: dict[str, str]
     :param collation: Collation of the managed database.
     :type collation: str
     :ivar status: Status for the database. Possible values include: 'Online',
@@ -91,8 +91,8 @@ class ManagedDatabase(TrackedResource):
         'id': {'key': 'id', 'type': 'str'},
         'name': {'key': 'name', 'type': 'str'},
         'type': {'key': 'type', 'type': 'str'},
-        'tags': {'key': 'tags', 'type': '{str}'},
         'location': {'key': 'location', 'type': 'str'},
+        'tags': {'key': 'tags', 'type': '{str}'},
         'collation': {'key': 'properties.collation', 'type': 'str'},
         'status': {'key': 'properties.status', 'type': 'str'},
         'creation_date': {'key': 'properties.creationDate', 'type': 'iso-8601'},
diff --git a/azure-mgmt-sql/azure/mgmt/sql/models/managed_database_py3.py b/azure-mgmt-sql/azure/mgmt/sql/models/managed_database_py3.py
index a7f14a2f6bfce..4470afe5bb7e9 100644
--- a/azure-mgmt-sql/azure/mgmt/sql/models/managed_database_py3.py
+++ b/azure-mgmt-sql/azure/mgmt/sql/models/managed_database_py3.py
@@ -26,10 +26,10 @@ class ManagedDatabase(TrackedResource):
     :vartype name: str
     :ivar type: Resource type.
     :vartype type: str
-    :param tags: Resource tags.
-    :type tags: dict[str, str]
     :param location: Required. Resource location.
     :type location: str
+    :param tags: Resource tags.
+    :type tags: dict[str, str]
     :param collation: Collation of the managed database.
     :type collation: str
     :ivar status: Status for the database. Possible values include: 'Online',
@@ -91,8 +91,8 @@ class ManagedDatabase(TrackedResource):
         'id': {'key': 'id', 'type': 'str'},
         'name': {'key': 'name', 'type': 'str'},
         'type': {'key': 'type', 'type': 'str'},
-        'tags': {'key': 'tags', 'type': '{str}'},
         'location': {'key': 'location', 'type': 'str'},
+        'tags': {'key': 'tags', 'type': '{str}'},
         'collation': {'key': 'properties.collation', 'type': 'str'},
         'status': {'key': 'properties.status', 'type': 'str'},
         'creation_date': {'key': 'properties.creationDate', 'type': 'iso-8601'},
@@ -108,7 +108,7 @@ class ManagedDatabase(TrackedResource):
     }
 
     def __init__(self, *, location: str, tags=None, collation: str=None, restore_point_in_time=None, catalog_collation=None, create_mode=None, storage_container_uri: str=None, source_database_id: str=None, storage_container_sas_token: str=None, **kwargs) -> None:
-        super(ManagedDatabase, self).__init__(tags=tags, location=location, **kwargs)
+        super(ManagedDatabase, self).__init__(location=location, tags=tags, **kwargs)
         self.collation = collation
         self.status = None
         self.creation_date = None
diff --git a/azure-mgmt-sql/azure/mgmt/sql/models/managed_instance.py b/azure-mgmt-sql/azure/mgmt/sql/models/managed_instance.py
index 6af89171cd354..9239f4aa347dd 100644
--- a/azure-mgmt-sql/azure/mgmt/sql/models/managed_instance.py
+++ b/azure-mgmt-sql/azure/mgmt/sql/models/managed_instance.py
@@ -26,10 +26,10 @@ class ManagedInstance(TrackedResource):
     :vartype name: str
     :ivar type: Resource type.
     :vartype type: str
-    :param tags: Resource tags.
-    :type tags: dict[str, str]
     :param location: Required. Resource location.
     :type location: str
+    :param tags: Resource tags.
+    :type tags: dict[str, str]
     :param identity: The Azure Active Directory identity of the managed
      instance.
     :type identity: ~azure.mgmt.sql.models.ResourceIdentity
@@ -71,8 +71,8 @@ class ManagedInstance(TrackedResource):
         'id': {'key': 'id', 'type': 'str'},
         'name': {'key': 'name', 'type': 'str'},
         'type': {'key': 'type', 'type': 'str'},
-        'tags': {'key': 'tags', 'type': '{str}'},
         'location': {'key': 'location', 'type': 'str'},
+        'tags': {'key': 'tags', 'type': '{str}'},
         'identity': {'key': 'identity', 'type': 'ResourceIdentity'},
         'sku': {'key': 'sku', 'type': 'Sku'},
         'fully_qualified_domain_name': {'key': 'properties.fullyQualifiedDomainName', 'type': 'str'},
diff --git a/azure-mgmt-sql/azure/mgmt/sql/models/managed_instance_py3.py b/azure-mgmt-sql/azure/mgmt/sql/models/managed_instance_py3.py
index 1532bba0f0607..1cf2899bbfee4 100644
--- a/azure-mgmt-sql/azure/mgmt/sql/models/managed_instance_py3.py
+++ b/azure-mgmt-sql/azure/mgmt/sql/models/managed_instance_py3.py
@@ -26,10 +26,10 @@ class ManagedInstance(TrackedResource):
     :vartype name: str
     :ivar type: Resource type.
     :vartype type: str
-    :param tags: Resource tags.
-    :type tags: dict[str, str]
     :param location: Required. Resource location.
     :type location: str
+    :param tags: Resource tags.
+    :type tags: dict[str, str]
     :param identity: The Azure Active Directory identity of the managed
      instance.
     :type identity: ~azure.mgmt.sql.models.ResourceIdentity
@@ -71,8 +71,8 @@ class ManagedInstance(TrackedResource):
         'id': {'key': 'id', 'type': 'str'},
         'name': {'key': 'name', 'type': 'str'},
         'type': {'key': 'type', 'type': 'str'},
-        'tags': {'key': 'tags', 'type': '{str}'},
         'location': {'key': 'location', 'type': 'str'},
+        'tags': {'key': 'tags', 'type': '{str}'},
         'identity': {'key': 'identity', 'type': 'ResourceIdentity'},
         'sku': {'key': 'sku', 'type': 'Sku'},
         'fully_qualified_domain_name': {'key': 'properties.fullyQualifiedDomainName', 'type': 'str'},
@@ -86,7 +86,7 @@ class ManagedInstance(TrackedResource):
     }
 
     def __init__(self, *, location: str, tags=None, identity=None, sku=None, administrator_login: str=None, administrator_login_password: str=None, subnet_id: str=None, license_type: str=None, v_cores: int=None, storage_size_in_gb: int=None, **kwargs) -> None:
-        super(ManagedInstance, self).__init__(tags=tags, location=location, **kwargs)
+        super(ManagedInstance, self).__init__(location=location, tags=tags, **kwargs)
         self.identity = identity
         self.sku = sku
         self.fully_qualified_domain_name = None
diff --git a/azure-mgmt-sql/azure/mgmt/sql/models/server.py b/azure-mgmt-sql/azure/mgmt/sql/models/server.py
index dada32666e04a..1c399fadb3536 100644
--- a/azure-mgmt-sql/azure/mgmt/sql/models/server.py
+++ b/azure-mgmt-sql/azure/mgmt/sql/models/server.py
@@ -26,10 +26,10 @@ class Server(TrackedResource):
     :vartype name: str
     :ivar type: Resource type.
     :vartype type: str
-    :param tags: Resource tags.
-    :type tags: dict[str, str]
     :param location: Required. Resource location.
     :type location: str
+    :param tags: Resource tags.
+    :type tags: dict[str, str]
     :param identity: The Azure Active Directory identity of the server.
     :type identity: ~azure.mgmt.sql.models.ResourceIdentity
     :ivar kind: Kind of sql server. This is metadata used for the Azure portal
@@ -64,8 +64,8 @@ class Server(TrackedResource):
         'id': {'key': 'id', 'type': 'str'},
         'name': {'key': 'name', 'type': 'str'},
         'type': {'key': 'type', 'type': 'str'},
-        'tags': {'key': 'tags', 'type': '{str}'},
         'location': {'key': 'location', 'type': 'str'},
+        'tags': {'key': 'tags', 'type': '{str}'},
         'identity': {'key': 'identity', 'type': 'ResourceIdentity'},
         'kind': {'key': 'kind', 'type': 'str'},
         'administrator_login': {'key': 'properties.administratorLogin', 'type': 'str'},
diff --git a/azure-mgmt-sql/azure/mgmt/sql/models/server_py3.py b/azure-mgmt-sql/azure/mgmt/sql/models/server_py3.py
index 0d0308dc06532..625c4d0aea4c7 100644
--- a/azure-mgmt-sql/azure/mgmt/sql/models/server_py3.py
+++ b/azure-mgmt-sql/azure/mgmt/sql/models/server_py3.py
@@ -26,10 +26,10 @@ class Server(TrackedResource):
     :vartype name: str
     :ivar type: Resource type.
     :vartype type: str
-    :param tags: Resource tags.
-    :type tags: dict[str, str]
     :param location: Required. Resource location.
     :type location: str
+    :param tags: Resource tags.
+    :type tags: dict[str, str]
     :param identity: The Azure Active Directory identity of the server.
     :type identity: ~azure.mgmt.sql.models.ResourceIdentity
     :ivar kind: Kind of sql server. This is metadata used for the Azure portal
@@ -64,8 +64,8 @@ class Server(TrackedResource):
         'id': {'key': 'id', 'type': 'str'},
         'name': {'key': 'name', 'type': 'str'},
         'type': {'key': 'type', 'type': 'str'},
-        'tags': {'key': 'tags', 'type': '{str}'},
         'location': {'key': 'location', 'type': 'str'},
+        'tags': {'key': 'tags', 'type': '{str}'},
         'identity': {'key': 'identity', 'type': 'ResourceIdentity'},
         'kind': {'key': 'kind', 'type': 'str'},
         'administrator_login': {'key': 'properties.administratorLogin', 'type': 'str'},
@@ -76,7 +76,7 @@ class Server(TrackedResource):
     }
 
     def __init__(self, *, location: str, tags=None, identity=None, administrator_login: str=None, administrator_login_password: str=None, version: str=None, **kwargs) -> None:
-        super(Server, self).__init__(tags=tags, location=location, **kwargs)
+        super(Server, self).__init__(location=location, tags=tags, **kwargs)
         self.identity = identity
         self.kind = None
         self.administrator_login = administrator_login
diff --git a/azure-mgmt-sql/azure/mgmt/sql/models/sku.py b/azure-mgmt-sql/azure/mgmt/sql/models/sku.py
index 6605594386e75..e37091dc4e2fc 100644
--- a/azure-mgmt-sql/azure/mgmt/sql/models/sku.py
+++ b/azure-mgmt-sql/azure/mgmt/sql/models/sku.py
@@ -13,21 +13,26 @@
 
 
 class Sku(Model):
-    """An ARM Resource SKU.
+    """The resource model definition representing SKU.
 
     All required parameters must be populated in order to send to Azure.
 
-    :param name: Required. The name of the SKU, typically, a letter + Number
-     code, e.g. P3.
+    :param name: Required. The name of the SKU. Ex - P3. It is typically a
+     letter+number code
     :type name: str
-    :param tier: The tier of the particular SKU, e.g. Basic, Premium.
+    :param tier: This field is required to be implemented by the Resource
+     Provider if the service has more than one tier, but is not required on a
+     PUT.
     :type tier: str
-    :param size: Size of the particular SKU
+    :param size: The SKU size. When the name field is the combination of tier
+     and some other value, this would be the standalone code.
     :type size: str
     :param family: If the service has different generations of hardware, for
      the same SKU, then that can be captured here.
     :type family: str
-    :param capacity: Capacity of the particular SKU.
+    :param capacity: If the SKU supports scale out/in then the capacity
+     integer should be included. If scale out/in is not possible for the
+     resource this may be omitted.
     :type capacity: int
     """
 
diff --git a/azure-mgmt-sql/azure/mgmt/sql/models/sku_py3.py b/azure-mgmt-sql/azure/mgmt/sql/models/sku_py3.py
index d998a023ec227..a6f04765e87cd 100644
--- a/azure-mgmt-sql/azure/mgmt/sql/models/sku_py3.py
+++ b/azure-mgmt-sql/azure/mgmt/sql/models/sku_py3.py
@@ -13,21 +13,26 @@
 
 
 class Sku(Model):
-    """An ARM Resource SKU.
+    """The resource model definition representing SKU.
 
     All required parameters must be populated in order to send to Azure.
 
-    :param name: Required. The name of the SKU, typically, a letter + Number
-     code, e.g. P3.
+    :param name: Required. The name of the SKU. Ex - P3. It is typically a
+     letter+number code
     :type name: str
-    :param tier: The tier of the particular SKU, e.g. Basic, Premium.
+    :param tier: This field is required to be implemented by the Resource
+     Provider if the service has more than one tier, but is not required on a
+     PUT.
     :type tier: str
-    :param size: Size of the particular SKU
+    :param size: The SKU size. When the name field is the combination of tier
+     and some other value, this would be the standalone code.
     :type size: str
     :param family: If the service has different generations of hardware, for
      the same SKU, then that can be captured here.
     :type family: str
-    :param capacity: Capacity of the particular SKU.
+    :param capacity: If the SKU supports scale out/in then the capacity
+     integer should be included. If scale out/in is not possible for the
+     resource this may be omitted.
     :type capacity: int
     """
 
diff --git a/azure-mgmt-sql/azure/mgmt/sql/models/tracked_resource.py b/azure-mgmt-sql/azure/mgmt/sql/models/tracked_resource.py
index 71fc851de040a..dc99e096cf18d 100644
--- a/azure-mgmt-sql/azure/mgmt/sql/models/tracked_resource.py
+++ b/azure-mgmt-sql/azure/mgmt/sql/models/tracked_resource.py
@@ -26,10 +26,10 @@ class TrackedResource(Resource):
     :vartype name: str
     :ivar type: Resource type.
     :vartype type: str
-    :param tags: Resource tags.
-    :type tags: dict[str, str]
     :param location: Required. Resource location.
     :type location: str
+    :param tags: Resource tags.
+    :type tags: dict[str, str]
     """
 
     _validation = {
@@ -43,11 +43,11 @@ class TrackedResource(Resource):
         'id': {'key': 'id', 'type': 'str'},
         'name': {'key': 'name', 'type': 'str'},
         'type': {'key': 'type', 'type': 'str'},
-        'tags': {'key': 'tags', 'type': '{str}'},
         'location': {'key': 'location', 'type': 'str'},
+        'tags': {'key': 'tags', 'type': '{str}'},
     }
 
     def __init__(self, **kwargs):
         super(TrackedResource, self).__init__(**kwargs)
-        self.tags = kwargs.get('tags', None)
         self.location = kwargs.get('location', None)
+        self.tags = kwargs.get('tags', None)
diff --git a/azure-mgmt-sql/azure/mgmt/sql/models/tracked_resource_py3.py b/azure-mgmt-sql/azure/mgmt/sql/models/tracked_resource_py3.py
index 6375e9a90eba2..5edf04ac0a73d 100644
--- a/azure-mgmt-sql/azure/mgmt/sql/models/tracked_resource_py3.py
+++ b/azure-mgmt-sql/azure/mgmt/sql/models/tracked_resource_py3.py
@@ -26,10 +26,10 @@ class TrackedResource(Resource):
     :vartype name: str
     :ivar type: Resource type.
     :vartype type: str
-    :param tags: Resource tags.
-    :type tags: dict[str, str]
     :param location: Required. Resource location.
     :type location: str
+    :param tags: Resource tags.
+    :type tags: dict[str, str]
     """
 
     _validation = {
@@ -43,11 +43,11 @@ class TrackedResource(Resource):
         'id': {'key': 'id', 'type': 'str'},
         'name': {'key': 'name', 'type': 'str'},
         'type': {'key': 'type', 'type': 'str'},
-        'tags': {'key': 'tags', 'type': '{str}'},
         'location': {'key': 'location', 'type': 'str'},
+        'tags': {'key': 'tags', 'type': '{str}'},
     }
 
     def __init__(self, *, location: str, tags=None, **kwargs) -> None:
         super(TrackedResource, self).__init__(**kwargs)
-        self.tags = tags
         self.location = location
+        self.tags = tags
diff --git a/azure-mgmt-sql/azure/mgmt/sql/version.py b/azure-mgmt-sql/azure/mgmt/sql/version.py
index 413a68a462da9..3697d9b717398 100644
--- a/azure-mgmt-sql/azure/mgmt/sql/version.py
+++ b/azure-mgmt-sql/azure/mgmt/sql/version.py
@@ -9,5 +9,5 @@
 # regenerated.
 # --------------------------------------------------------------------------
 
-VERSION = "0.9.1"
+VERSION = "0.9.0"