diff --git a/eng/Directory.Build.Common.targets b/eng/Directory.Build.Common.targets
index f6f54e7bece56..eb60f4eef63f0 100644
--- a/eng/Directory.Build.Common.targets
+++ b/eng/Directory.Build.Common.targets
@@ -204,7 +204,6 @@
-
diff --git a/eng/Packages.Data.props b/eng/Packages.Data.props
index 5379885a7ab11..423e8c44951c0 100644
--- a/eng/Packages.Data.props
+++ b/eng/Packages.Data.props
@@ -203,7 +203,7 @@
All should have PrivateAssets="All" set so they don't become package dependencies
-->
-
+
diff --git a/eng/emitter-package-lock.json b/eng/emitter-package-lock.json
index 465bc3d735292..c353afb40c371 100644
--- a/eng/emitter-package-lock.json
+++ b/eng/emitter-package-lock.json
@@ -5,7 +5,7 @@
"packages": {
"": {
"dependencies": {
- "@azure-tools/typespec-csharp": "0.2.0-beta.20240303.1"
+ "@azure-tools/typespec-csharp": "0.2.0-beta.20240304.1"
},
"devDependencies": {
"@azure-tools/typespec-azure-core": "0.39.1",
@@ -18,9 +18,9 @@
}
},
"node_modules/@autorest/csharp": {
- "version": "3.0.0-beta.20240303.1",
- "resolved": "https://registry.npmjs.org/@autorest/csharp/-/csharp-3.0.0-beta.20240303.1.tgz",
- "integrity": "sha512-gD1PtPIxGBt8ExsM6tW0+dSHBlRh5jH1m9QDtvgiQ3cSL/R/0X6lgcpA4tmT0pMyQcksDF8xmvkunaLJjGIE4g=="
+ "version": "3.0.0-beta.20240304.1",
+ "resolved": "https://registry.npmjs.org/@autorest/csharp/-/csharp-3.0.0-beta.20240304.1.tgz",
+ "integrity": "sha512-EKhX3sepZTORsjOdAFw3JqvjHVPKics5vSXtQzJBH0AwA4mMZJtdm9B4SOiH8iJRSS3DrQm/yJPBai7IkMvmnw=="
},
"node_modules/@azure-tools/typespec-azure-core": {
"version": "0.39.1",
@@ -56,11 +56,11 @@
}
},
"node_modules/@azure-tools/typespec-csharp": {
- "version": "0.2.0-beta.20240303.1",
- "resolved": "https://registry.npmjs.org/@azure-tools/typespec-csharp/-/typespec-csharp-0.2.0-beta.20240303.1.tgz",
- "integrity": "sha512-jiwpDYV3ehtJNauTT1f7XZ8Bhrd5w3YuI6sZGKqe+EYx7kxNMf/nHBmG1Djqy+ZAgnhdwCkpa7aSszDtkNdOWA==",
+ "version": "0.2.0-beta.20240304.1",
+ "resolved": "https://registry.npmjs.org/@azure-tools/typespec-csharp/-/typespec-csharp-0.2.0-beta.20240304.1.tgz",
+ "integrity": "sha512-Nvr+HkktrFbf0HvWQIHby7OBAxo4HX+OktAzpjGsqcpd0MwcBMYehhtjpJy6NVwWDHM2PRnqS/FQK/H3tSdIng==",
"dependencies": {
- "@autorest/csharp": "3.0.0-beta.20240303.1",
+ "@autorest/csharp": "3.0.0-beta.20240304.1",
"json-serialize-refs": "0.1.0-0",
"winston": "^3.8.2"
},
diff --git a/eng/emitter-package.json b/eng/emitter-package.json
index 63ae831ab909f..dd93ba00cc7d5 100644
--- a/eng/emitter-package.json
+++ b/eng/emitter-package.json
@@ -1,15 +1,15 @@
{
"main": "dist/src/index.js",
"dependencies": {
- "@azure-tools/typespec-csharp": "0.2.0-beta.20240303.1"
+ "@azure-tools/typespec-csharp": "0.2.0-beta.20240304.1"
},
"devDependencies": {
"@typespec/versioning": "0.53.0",
"@azure-tools/typespec-azure-core": "0.39.1",
- "@typespec/compiler": "0.53.1",
- "@azure-tools/typespec-client-generator-core": "0.40.0-dev.14",
"@typespec/openapi": "0.53.0",
"@typespec/http": "0.53.0",
- "@typespec/rest": "0.53.0"
+ "@typespec/rest": "0.53.0",
+ "@typespec/compiler": "0.53.1",
+ "@azure-tools/typespec-client-generator-core": "0.40.0-dev.14"
}
}
diff --git a/sdk/advisor/Azure.ResourceManager.Advisor/src/Generated/Internal/ChangeTrackingList.cs b/sdk/advisor/Azure.ResourceManager.Advisor/src/Generated/Internal/ChangeTrackingList.cs
new file mode 100644
index 0000000000000..2e5ceb9480bcc
--- /dev/null
+++ b/sdk/advisor/Azure.ResourceManager.Advisor/src/Generated/Internal/ChangeTrackingList.cs
@@ -0,0 +1,153 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace Azure.ResourceManager.Advisor
+{
+ internal class ChangeTrackingList : IList, IReadOnlyList
+ {
+ private IList _innerList;
+
+ public ChangeTrackingList()
+ {
+ }
+
+ public ChangeTrackingList(IList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList;
+ }
+ }
+
+ public ChangeTrackingList(IReadOnlyList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList.ToList();
+ }
+ }
+
+ public bool IsUndefined => _innerList == null;
+
+ public int Count => IsUndefined ? 0 : EnsureList().Count;
+
+ public bool IsReadOnly => IsUndefined ? false : EnsureList().IsReadOnly;
+
+ public T this[int index]
+ {
+ get
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ return EnsureList()[index];
+ }
+ set
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList()[index] = value;
+ }
+ }
+
+ public void Reset()
+ {
+ _innerList = null;
+ }
+
+ public IEnumerator GetEnumerator()
+ {
+ if (IsUndefined)
+ {
+ IEnumerator enumerateEmpty()
+ {
+ yield break;
+ }
+ return enumerateEmpty();
+ }
+ return EnsureList().GetEnumerator();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator()
+ {
+ return GetEnumerator();
+ }
+
+ public void Add(T item)
+ {
+ EnsureList().Add(item);
+ }
+
+ public void Clear()
+ {
+ EnsureList().Clear();
+ }
+
+ public bool Contains(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Contains(item);
+ }
+
+ public void CopyTo(T[] array, int arrayIndex)
+ {
+ if (IsUndefined)
+ {
+ return;
+ }
+ EnsureList().CopyTo(array, arrayIndex);
+ }
+
+ public bool Remove(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Remove(item);
+ }
+
+ public int IndexOf(T item)
+ {
+ if (IsUndefined)
+ {
+ return -1;
+ }
+ return EnsureList().IndexOf(item);
+ }
+
+ public void Insert(int index, T item)
+ {
+ EnsureList().Insert(index, item);
+ }
+
+ public void RemoveAt(int index)
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList().RemoveAt(index);
+ }
+
+ public IList EnsureList()
+ {
+ return _innerList ??= new List();
+ }
+ }
+}
diff --git a/sdk/advisor/Azure.ResourceManager.Advisor/src/Generated/Models/ConfigData.cs b/sdk/advisor/Azure.ResourceManager.Advisor/src/Generated/Models/ConfigData.cs
index 47f4b9b13cc1b..90ea81077b44c 100644
--- a/sdk/advisor/Azure.ResourceManager.Advisor/src/Generated/Models/ConfigData.cs
+++ b/sdk/advisor/Azure.ResourceManager.Advisor/src/Generated/Models/ConfigData.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.Advisor;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.Advisor.Models
diff --git a/sdk/advisor/Azure.ResourceManager.Advisor/src/Generated/Models/ConfigurationListResult.cs b/sdk/advisor/Azure.ResourceManager.Advisor/src/Generated/Models/ConfigurationListResult.cs
index 1fa81ea74525c..ad66bdcf6da3d 100644
--- a/sdk/advisor/Azure.ResourceManager.Advisor/src/Generated/Models/ConfigurationListResult.cs
+++ b/sdk/advisor/Azure.ResourceManager.Advisor/src/Generated/Models/ConfigurationListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Advisor;
namespace Azure.ResourceManager.Advisor.Models
{
diff --git a/sdk/advisor/Azure.ResourceManager.Advisor/src/Generated/Models/DigestConfig.cs b/sdk/advisor/Azure.ResourceManager.Advisor/src/Generated/Models/DigestConfig.cs
index 155d9c99d1f41..b3f25016f7efe 100644
--- a/sdk/advisor/Azure.ResourceManager.Advisor/src/Generated/Models/DigestConfig.cs
+++ b/sdk/advisor/Azure.ResourceManager.Advisor/src/Generated/Models/DigestConfig.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Advisor;
namespace Azure.ResourceManager.Advisor.Models
{
diff --git a/sdk/advisor/Azure.ResourceManager.Advisor/src/Generated/Models/MetadataEntityListResult.cs b/sdk/advisor/Azure.ResourceManager.Advisor/src/Generated/Models/MetadataEntityListResult.cs
index a72064a5cd053..e6e06a9b39778 100644
--- a/sdk/advisor/Azure.ResourceManager.Advisor/src/Generated/Models/MetadataEntityListResult.cs
+++ b/sdk/advisor/Azure.ResourceManager.Advisor/src/Generated/Models/MetadataEntityListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Advisor;
namespace Azure.ResourceManager.Advisor.Models
diff --git a/sdk/advisor/Azure.ResourceManager.Advisor/src/Generated/Models/ResourceRecommendationBaseListResult.cs b/sdk/advisor/Azure.ResourceManager.Advisor/src/Generated/Models/ResourceRecommendationBaseListResult.cs
index 6c24bcaae2b5f..89d8b05fd7bc7 100644
--- a/sdk/advisor/Azure.ResourceManager.Advisor/src/Generated/Models/ResourceRecommendationBaseListResult.cs
+++ b/sdk/advisor/Azure.ResourceManager.Advisor/src/Generated/Models/ResourceRecommendationBaseListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Advisor;
namespace Azure.ResourceManager.Advisor.Models
diff --git a/sdk/advisor/Azure.ResourceManager.Advisor/src/Generated/Models/SuppressionContractListResult.cs b/sdk/advisor/Azure.ResourceManager.Advisor/src/Generated/Models/SuppressionContractListResult.cs
index 6580c69a71190..71bed0a2f5e2a 100644
--- a/sdk/advisor/Azure.ResourceManager.Advisor/src/Generated/Models/SuppressionContractListResult.cs
+++ b/sdk/advisor/Azure.ResourceManager.Advisor/src/Generated/Models/SuppressionContractListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Advisor;
namespace Azure.ResourceManager.Advisor.Models
diff --git a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/src/Generated/Internal/ChangeTrackingList.cs b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/src/Generated/Internal/ChangeTrackingList.cs
new file mode 100644
index 0000000000000..c57fc48660fe2
--- /dev/null
+++ b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/src/Generated/Internal/ChangeTrackingList.cs
@@ -0,0 +1,153 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace Azure.ResourceManager.AgFoodPlatform
+{
+ internal class ChangeTrackingList : IList, IReadOnlyList
+ {
+ private IList _innerList;
+
+ public ChangeTrackingList()
+ {
+ }
+
+ public ChangeTrackingList(IList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList;
+ }
+ }
+
+ public ChangeTrackingList(IReadOnlyList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList.ToList();
+ }
+ }
+
+ public bool IsUndefined => _innerList == null;
+
+ public int Count => IsUndefined ? 0 : EnsureList().Count;
+
+ public bool IsReadOnly => IsUndefined ? false : EnsureList().IsReadOnly;
+
+ public T this[int index]
+ {
+ get
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ return EnsureList()[index];
+ }
+ set
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList()[index] = value;
+ }
+ }
+
+ public void Reset()
+ {
+ _innerList = null;
+ }
+
+ public IEnumerator GetEnumerator()
+ {
+ if (IsUndefined)
+ {
+ IEnumerator enumerateEmpty()
+ {
+ yield break;
+ }
+ return enumerateEmpty();
+ }
+ return EnsureList().GetEnumerator();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator()
+ {
+ return GetEnumerator();
+ }
+
+ public void Add(T item)
+ {
+ EnsureList().Add(item);
+ }
+
+ public void Clear()
+ {
+ EnsureList().Clear();
+ }
+
+ public bool Contains(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Contains(item);
+ }
+
+ public void CopyTo(T[] array, int arrayIndex)
+ {
+ if (IsUndefined)
+ {
+ return;
+ }
+ EnsureList().CopyTo(array, arrayIndex);
+ }
+
+ public bool Remove(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Remove(item);
+ }
+
+ public int IndexOf(T item)
+ {
+ if (IsUndefined)
+ {
+ return -1;
+ }
+ return EnsureList().IndexOf(item);
+ }
+
+ public void Insert(int index, T item)
+ {
+ EnsureList().Insert(index, item);
+ }
+
+ public void RemoveAt(int index)
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList().RemoveAt(index);
+ }
+
+ public IList EnsureList()
+ {
+ return _innerList ??= new List();
+ }
+ }
+}
diff --git a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/src/Generated/Models/AgFoodPlatformPrivateEndpointConnectionListResult.cs b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/src/Generated/Models/AgFoodPlatformPrivateEndpointConnectionListResult.cs
index 95bf818effae0..ceb2a4ffba654 100644
--- a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/src/Generated/Models/AgFoodPlatformPrivateEndpointConnectionListResult.cs
+++ b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/src/Generated/Models/AgFoodPlatformPrivateEndpointConnectionListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AgFoodPlatform;
namespace Azure.ResourceManager.AgFoodPlatform.Models
diff --git a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/src/Generated/Models/AgFoodPlatformPrivateLinkResourceListResult.cs b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/src/Generated/Models/AgFoodPlatformPrivateLinkResourceListResult.cs
index aa46fe13ab354..e3dca636849df 100644
--- a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/src/Generated/Models/AgFoodPlatformPrivateLinkResourceListResult.cs
+++ b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/src/Generated/Models/AgFoodPlatformPrivateLinkResourceListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AgFoodPlatform;
namespace Azure.ResourceManager.AgFoodPlatform.Models
diff --git a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/src/Generated/Models/DetailedInformation.cs b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/src/Generated/Models/DetailedInformation.cs
index d01b86412fb04..2702f0001799b 100644
--- a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/src/Generated/Models/DetailedInformation.cs
+++ b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/src/Generated/Models/DetailedInformation.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AgFoodPlatform;
namespace Azure.ResourceManager.AgFoodPlatform.Models
{
diff --git a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/src/Generated/Models/ExtensionListResponse.cs b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/src/Generated/Models/ExtensionListResponse.cs
index 07fe0981a65b3..b39bfacf8cc57 100644
--- a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/src/Generated/Models/ExtensionListResponse.cs
+++ b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/src/Generated/Models/ExtensionListResponse.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AgFoodPlatform;
namespace Azure.ResourceManager.AgFoodPlatform.Models
diff --git a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/src/Generated/Models/FarmBeatsExtensionListResponse.cs b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/src/Generated/Models/FarmBeatsExtensionListResponse.cs
index 2bba24e790147..84e592a27725b 100644
--- a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/src/Generated/Models/FarmBeatsExtensionListResponse.cs
+++ b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/src/Generated/Models/FarmBeatsExtensionListResponse.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AgFoodPlatform;
namespace Azure.ResourceManager.AgFoodPlatform.Models
diff --git a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/src/Generated/Models/FarmBeatsListResponse.cs b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/src/Generated/Models/FarmBeatsListResponse.cs
index fb6f5895a805d..d058a3a9c40ac 100644
--- a/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/src/Generated/Models/FarmBeatsListResponse.cs
+++ b/sdk/agrifood/Azure.ResourceManager.AgFoodPlatform/src/Generated/Models/FarmBeatsListResponse.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AgFoodPlatform;
namespace Azure.ResourceManager.AgFoodPlatform.Models
diff --git a/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/Internal/ChangeTrackingList.cs b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/Internal/ChangeTrackingList.cs
new file mode 100644
index 0000000000000..eb58e58709352
--- /dev/null
+++ b/sdk/agrifood/Azure.Verticals.AgriFood.Farming/src/Generated/Internal/ChangeTrackingList.cs
@@ -0,0 +1,153 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace Azure.Verticals.AgriFood.Farming
+{
+ internal class ChangeTrackingList : IList, IReadOnlyList
+ {
+ private IList _innerList;
+
+ public ChangeTrackingList()
+ {
+ }
+
+ public ChangeTrackingList(IList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList;
+ }
+ }
+
+ public ChangeTrackingList(IReadOnlyList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList.ToList();
+ }
+ }
+
+ public bool IsUndefined => _innerList == null;
+
+ public int Count => IsUndefined ? 0 : EnsureList().Count;
+
+ public bool IsReadOnly => IsUndefined ? false : EnsureList().IsReadOnly;
+
+ public T this[int index]
+ {
+ get
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ return EnsureList()[index];
+ }
+ set
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList()[index] = value;
+ }
+ }
+
+ public void Reset()
+ {
+ _innerList = null;
+ }
+
+ public IEnumerator GetEnumerator()
+ {
+ if (IsUndefined)
+ {
+ IEnumerator enumerateEmpty()
+ {
+ yield break;
+ }
+ return enumerateEmpty();
+ }
+ return EnsureList().GetEnumerator();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator()
+ {
+ return GetEnumerator();
+ }
+
+ public void Add(T item)
+ {
+ EnsureList().Add(item);
+ }
+
+ public void Clear()
+ {
+ EnsureList().Clear();
+ }
+
+ public bool Contains(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Contains(item);
+ }
+
+ public void CopyTo(T[] array, int arrayIndex)
+ {
+ if (IsUndefined)
+ {
+ return;
+ }
+ EnsureList().CopyTo(array, arrayIndex);
+ }
+
+ public bool Remove(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Remove(item);
+ }
+
+ public int IndexOf(T item)
+ {
+ if (IsUndefined)
+ {
+ return -1;
+ }
+ return EnsureList().IndexOf(item);
+ }
+
+ public void Insert(int index, T item)
+ {
+ EnsureList().Insert(index, item);
+ }
+
+ public void RemoveAt(int index)
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList().RemoveAt(index);
+ }
+
+ public IList EnsureList()
+ {
+ return _innerList ??= new List();
+ }
+ }
+}
diff --git a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Internal/ChangeTrackingList.cs b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Internal/ChangeTrackingList.cs
new file mode 100644
index 0000000000000..da645c56f48b2
--- /dev/null
+++ b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Internal/ChangeTrackingList.cs
@@ -0,0 +1,153 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace Azure.ResourceManager.AlertsManagement
+{
+ internal class ChangeTrackingList : IList, IReadOnlyList
+ {
+ private IList _innerList;
+
+ public ChangeTrackingList()
+ {
+ }
+
+ public ChangeTrackingList(IList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList;
+ }
+ }
+
+ public ChangeTrackingList(IReadOnlyList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList.ToList();
+ }
+ }
+
+ public bool IsUndefined => _innerList == null;
+
+ public int Count => IsUndefined ? 0 : EnsureList().Count;
+
+ public bool IsReadOnly => IsUndefined ? false : EnsureList().IsReadOnly;
+
+ public T this[int index]
+ {
+ get
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ return EnsureList()[index];
+ }
+ set
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList()[index] = value;
+ }
+ }
+
+ public void Reset()
+ {
+ _innerList = null;
+ }
+
+ public IEnumerator GetEnumerator()
+ {
+ if (IsUndefined)
+ {
+ IEnumerator enumerateEmpty()
+ {
+ yield break;
+ }
+ return enumerateEmpty();
+ }
+ return EnsureList().GetEnumerator();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator()
+ {
+ return GetEnumerator();
+ }
+
+ public void Add(T item)
+ {
+ EnsureList().Add(item);
+ }
+
+ public void Clear()
+ {
+ EnsureList().Clear();
+ }
+
+ public bool Contains(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Contains(item);
+ }
+
+ public void CopyTo(T[] array, int arrayIndex)
+ {
+ if (IsUndefined)
+ {
+ return;
+ }
+ EnsureList().CopyTo(array, arrayIndex);
+ }
+
+ public bool Remove(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Remove(item);
+ }
+
+ public int IndexOf(T item)
+ {
+ if (IsUndefined)
+ {
+ return -1;
+ }
+ return EnsureList().IndexOf(item);
+ }
+
+ public void Insert(int index, T item)
+ {
+ EnsureList().Insert(index, item);
+ }
+
+ public void RemoveAt(int index)
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList().RemoveAt(index);
+ }
+
+ public IList EnsureList()
+ {
+ return _innerList ??= new List();
+ }
+ }
+}
diff --git a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/AlertProcessingRuleCondition.cs b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/AlertProcessingRuleCondition.cs
index a0de5a4b97798..7b589dc12b385 100644
--- a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/AlertProcessingRuleCondition.cs
+++ b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/AlertProcessingRuleCondition.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AlertsManagement;
namespace Azure.ResourceManager.AlertsManagement.Models
{
diff --git a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/AlertProcessingRuleProperties.cs b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/AlertProcessingRuleProperties.cs
index ba86057141dac..9f6803ece5e67 100644
--- a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/AlertProcessingRuleProperties.cs
+++ b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/AlertProcessingRuleProperties.cs
@@ -8,7 +8,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
-using Azure.Core;
+using Azure.ResourceManager.AlertsManagement;
namespace Azure.ResourceManager.AlertsManagement.Models
{
diff --git a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/AlertProcessingRuleSchedule.cs b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/AlertProcessingRuleSchedule.cs
index 0c4949fb41385..37ade0794ec1f 100644
--- a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/AlertProcessingRuleSchedule.cs
+++ b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/AlertProcessingRuleSchedule.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AlertsManagement;
namespace Azure.ResourceManager.AlertsManagement.Models
{
diff --git a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/AlertProcessingRulesList.cs b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/AlertProcessingRulesList.cs
index dd4b700718f21..8136928469f65 100644
--- a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/AlertProcessingRulesList.cs
+++ b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/AlertProcessingRulesList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AlertsManagement;
namespace Azure.ResourceManager.AlertsManagement.Models
diff --git a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/ServiceAlertListResult.cs b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/ServiceAlertListResult.cs
index 3202b256a5334..cd8623a9be9ca 100644
--- a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/ServiceAlertListResult.cs
+++ b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/ServiceAlertListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AlertsManagement;
namespace Azure.ResourceManager.AlertsManagement.Models
diff --git a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/ServiceAlertModificationProperties.cs b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/ServiceAlertModificationProperties.cs
index 6712951837713..a641536dc6829 100644
--- a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/ServiceAlertModificationProperties.cs
+++ b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/ServiceAlertModificationProperties.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AlertsManagement;
namespace Azure.ResourceManager.AlertsManagement.Models
{
diff --git a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/ServiceAlertSummaryGroup.cs b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/ServiceAlertSummaryGroup.cs
index 78934559f7f18..edf94e32a75f1 100644
--- a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/ServiceAlertSummaryGroup.cs
+++ b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/ServiceAlertSummaryGroup.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AlertsManagement;
namespace Azure.ResourceManager.AlertsManagement.Models
{
diff --git a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/ServiceAlertSummaryGroupItemInfo.cs b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/ServiceAlertSummaryGroupItemInfo.cs
index 407418f47ad10..848bef2486028 100644
--- a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/ServiceAlertSummaryGroupItemInfo.cs
+++ b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/ServiceAlertSummaryGroupItemInfo.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AlertsManagement;
namespace Azure.ResourceManager.AlertsManagement.Models
{
diff --git a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/SmartGroupModificationProperties.cs b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/SmartGroupModificationProperties.cs
index 2ebc258172f4b..3148a89d7ecca 100644
--- a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/SmartGroupModificationProperties.cs
+++ b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/SmartGroupModificationProperties.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AlertsManagement;
namespace Azure.ResourceManager.AlertsManagement.Models
{
diff --git a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/SmartGroupsList.cs b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/SmartGroupsList.cs
index 9478778ecc7fa..e5e45d6b67692 100644
--- a/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/SmartGroupsList.cs
+++ b/sdk/alertsmanagement/Azure.ResourceManager.AlertsManagement/src/Generated/Models/SmartGroupsList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AlertsManagement;
namespace Azure.ResourceManager.AlertsManagement.Models
diff --git a/sdk/analysisservices/Azure.ResourceManager.Analysis/src/Generated/Internal/ChangeTrackingList.cs b/sdk/analysisservices/Azure.ResourceManager.Analysis/src/Generated/Internal/ChangeTrackingList.cs
new file mode 100644
index 0000000000000..1ab7c6e57df0b
--- /dev/null
+++ b/sdk/analysisservices/Azure.ResourceManager.Analysis/src/Generated/Internal/ChangeTrackingList.cs
@@ -0,0 +1,153 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace Azure.ResourceManager.Analysis
+{
+ internal class ChangeTrackingList : IList, IReadOnlyList
+ {
+ private IList _innerList;
+
+ public ChangeTrackingList()
+ {
+ }
+
+ public ChangeTrackingList(IList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList;
+ }
+ }
+
+ public ChangeTrackingList(IReadOnlyList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList.ToList();
+ }
+ }
+
+ public bool IsUndefined => _innerList == null;
+
+ public int Count => IsUndefined ? 0 : EnsureList().Count;
+
+ public bool IsReadOnly => IsUndefined ? false : EnsureList().IsReadOnly;
+
+ public T this[int index]
+ {
+ get
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ return EnsureList()[index];
+ }
+ set
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList()[index] = value;
+ }
+ }
+
+ public void Reset()
+ {
+ _innerList = null;
+ }
+
+ public IEnumerator GetEnumerator()
+ {
+ if (IsUndefined)
+ {
+ IEnumerator enumerateEmpty()
+ {
+ yield break;
+ }
+ return enumerateEmpty();
+ }
+ return EnsureList().GetEnumerator();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator()
+ {
+ return GetEnumerator();
+ }
+
+ public void Add(T item)
+ {
+ EnsureList().Add(item);
+ }
+
+ public void Clear()
+ {
+ EnsureList().Clear();
+ }
+
+ public bool Contains(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Contains(item);
+ }
+
+ public void CopyTo(T[] array, int arrayIndex)
+ {
+ if (IsUndefined)
+ {
+ return;
+ }
+ EnsureList().CopyTo(array, arrayIndex);
+ }
+
+ public bool Remove(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Remove(item);
+ }
+
+ public int IndexOf(T item)
+ {
+ if (IsUndefined)
+ {
+ return -1;
+ }
+ return EnsureList().IndexOf(item);
+ }
+
+ public void Insert(int index, T item)
+ {
+ EnsureList().Insert(index, item);
+ }
+
+ public void RemoveAt(int index)
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList().RemoveAt(index);
+ }
+
+ public IList EnsureList()
+ {
+ return _innerList ??= new List();
+ }
+ }
+}
diff --git a/sdk/analysisservices/Azure.ResourceManager.Analysis/src/Generated/Models/AnalysisIPv4FirewallSettings.cs b/sdk/analysisservices/Azure.ResourceManager.Analysis/src/Generated/Models/AnalysisIPv4FirewallSettings.cs
index 4dad00b902ab2..8b8b5abce71fa 100644
--- a/sdk/analysisservices/Azure.ResourceManager.Analysis/src/Generated/Models/AnalysisIPv4FirewallSettings.cs
+++ b/sdk/analysisservices/Azure.ResourceManager.Analysis/src/Generated/Models/AnalysisIPv4FirewallSettings.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Analysis;
namespace Azure.ResourceManager.Analysis.Models
{
diff --git a/sdk/analysisservices/Azure.ResourceManager.Analysis/src/Generated/Models/ExistingResourceResultSkuEnumeration.cs b/sdk/analysisservices/Azure.ResourceManager.Analysis/src/Generated/Models/ExistingResourceResultSkuEnumeration.cs
index b5da8bf2c1ad1..f3506bbdfbd47 100644
--- a/sdk/analysisservices/Azure.ResourceManager.Analysis/src/Generated/Models/ExistingResourceResultSkuEnumeration.cs
+++ b/sdk/analysisservices/Azure.ResourceManager.Analysis/src/Generated/Models/ExistingResourceResultSkuEnumeration.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Analysis;
namespace Azure.ResourceManager.Analysis.Models
{
diff --git a/sdk/analysisservices/Azure.ResourceManager.Analysis/src/Generated/Models/NewResourceResultSkuEnumeration.cs b/sdk/analysisservices/Azure.ResourceManager.Analysis/src/Generated/Models/NewResourceResultSkuEnumeration.cs
index f482b7df68fe7..c5ad3a8603148 100644
--- a/sdk/analysisservices/Azure.ResourceManager.Analysis/src/Generated/Models/NewResourceResultSkuEnumeration.cs
+++ b/sdk/analysisservices/Azure.ResourceManager.Analysis/src/Generated/Models/NewResourceResultSkuEnumeration.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Analysis;
namespace Azure.ResourceManager.Analysis.Models
{
diff --git a/sdk/analysisservices/Azure.ResourceManager.Analysis/src/Generated/Models/ServerAdministrators.cs b/sdk/analysisservices/Azure.ResourceManager.Analysis/src/Generated/Models/ServerAdministrators.cs
index 2cf549efcb66c..5a1570d03903a 100644
--- a/sdk/analysisservices/Azure.ResourceManager.Analysis/src/Generated/Models/ServerAdministrators.cs
+++ b/sdk/analysisservices/Azure.ResourceManager.Analysis/src/Generated/Models/ServerAdministrators.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Analysis;
namespace Azure.ResourceManager.Analysis.Models
{
diff --git a/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/AnomalyState.cs b/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/AnomalyState.cs
index 44e9f3b1c21f7..5eb76bea55b4e 100644
--- a/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/AnomalyState.cs
+++ b/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/AnomalyState.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
namespace Azure.AI.AnomalyDetector
{
diff --git a/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/AnomalyValue.cs b/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/AnomalyValue.cs
index c40794ef139bc..636f981364d59 100644
--- a/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/AnomalyValue.cs
+++ b/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/AnomalyValue.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
namespace Azure.AI.AnomalyDetector
{
diff --git a/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/CorrelationChanges.cs b/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/CorrelationChanges.cs
index 394d29cc62202..a15516beee303 100644
--- a/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/CorrelationChanges.cs
+++ b/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/CorrelationChanges.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
namespace Azure.AI.AnomalyDetector
{
diff --git a/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/DiagnosticsInfo.cs b/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/DiagnosticsInfo.cs
index c61c8f1645d09..41c14716b5fc5 100644
--- a/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/DiagnosticsInfo.cs
+++ b/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/DiagnosticsInfo.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
namespace Azure.AI.AnomalyDetector
{
diff --git a/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/Internal/ChangeTrackingList.cs b/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/Internal/ChangeTrackingList.cs
new file mode 100644
index 0000000000000..f6bc141694f56
--- /dev/null
+++ b/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/Internal/ChangeTrackingList.cs
@@ -0,0 +1,153 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace Azure.AI.AnomalyDetector
+{
+ internal class ChangeTrackingList : IList, IReadOnlyList
+ {
+ private IList _innerList;
+
+ public ChangeTrackingList()
+ {
+ }
+
+ public ChangeTrackingList(IList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList;
+ }
+ }
+
+ public ChangeTrackingList(IReadOnlyList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList.ToList();
+ }
+ }
+
+ public bool IsUndefined => _innerList == null;
+
+ public int Count => IsUndefined ? 0 : EnsureList().Count;
+
+ public bool IsReadOnly => IsUndefined ? false : EnsureList().IsReadOnly;
+
+ public T this[int index]
+ {
+ get
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ return EnsureList()[index];
+ }
+ set
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList()[index] = value;
+ }
+ }
+
+ public void Reset()
+ {
+ _innerList = null;
+ }
+
+ public IEnumerator GetEnumerator()
+ {
+ if (IsUndefined)
+ {
+ IEnumerator enumerateEmpty()
+ {
+ yield break;
+ }
+ return enumerateEmpty();
+ }
+ return EnsureList().GetEnumerator();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator()
+ {
+ return GetEnumerator();
+ }
+
+ public void Add(T item)
+ {
+ EnsureList().Add(item);
+ }
+
+ public void Clear()
+ {
+ EnsureList().Clear();
+ }
+
+ public bool Contains(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Contains(item);
+ }
+
+ public void CopyTo(T[] array, int arrayIndex)
+ {
+ if (IsUndefined)
+ {
+ return;
+ }
+ EnsureList().CopyTo(array, arrayIndex);
+ }
+
+ public bool Remove(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Remove(item);
+ }
+
+ public int IndexOf(T item)
+ {
+ if (IsUndefined)
+ {
+ return -1;
+ }
+ return EnsureList().IndexOf(item);
+ }
+
+ public void Insert(int index, T item)
+ {
+ EnsureList().Insert(index, item);
+ }
+
+ public void RemoveAt(int index)
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList().RemoveAt(index);
+ }
+
+ public IList EnsureList()
+ {
+ return _innerList ??= new List();
+ }
+ }
+}
diff --git a/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/ModelInfo.cs b/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/ModelInfo.cs
index 75b7c14295667..7bacd7858b80e 100644
--- a/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/ModelInfo.cs
+++ b/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/ModelInfo.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
namespace Azure.AI.AnomalyDetector
{
diff --git a/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/ModelState.cs b/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/ModelState.cs
index 02429a81e23db..c14eb505af847 100644
--- a/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/ModelState.cs
+++ b/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/ModelState.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
namespace Azure.AI.AnomalyDetector
{
diff --git a/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/MultivariateBatchDetectionResultSummary.cs b/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/MultivariateBatchDetectionResultSummary.cs
index 94e75fe218d18..2a81b3cfbf70d 100644
--- a/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/MultivariateBatchDetectionResultSummary.cs
+++ b/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/MultivariateBatchDetectionResultSummary.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
namespace Azure.AI.AnomalyDetector
{
diff --git a/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/MultivariateLastDetectionResult.cs b/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/MultivariateLastDetectionResult.cs
index 48aeb78a4e89f..be55f168d87c2 100644
--- a/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/MultivariateLastDetectionResult.cs
+++ b/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/MultivariateLastDetectionResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
namespace Azure.AI.AnomalyDetector
{
diff --git a/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/UnivariateChangePointDetectionResult.cs b/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/UnivariateChangePointDetectionResult.cs
index 8221b2198ea97..7b5e2b4197033 100644
--- a/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/UnivariateChangePointDetectionResult.cs
+++ b/sdk/anomalydetector/Azure.AI.AnomalyDetector/src/Generated/UnivariateChangePointDetectionResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
namespace Azure.AI.AnomalyDetector
{
diff --git a/sdk/apicenter/Azure.ResourceManager.ApiCenter/src/Generated/Internal/ChangeTrackingList.cs b/sdk/apicenter/Azure.ResourceManager.ApiCenter/src/Generated/Internal/ChangeTrackingList.cs
new file mode 100644
index 0000000000000..7cbe16a442737
--- /dev/null
+++ b/sdk/apicenter/Azure.ResourceManager.ApiCenter/src/Generated/Internal/ChangeTrackingList.cs
@@ -0,0 +1,153 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace Azure.ResourceManager.ApiCenter
+{
+ internal class ChangeTrackingList : IList, IReadOnlyList
+ {
+ private IList _innerList;
+
+ public ChangeTrackingList()
+ {
+ }
+
+ public ChangeTrackingList(IList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList;
+ }
+ }
+
+ public ChangeTrackingList(IReadOnlyList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList.ToList();
+ }
+ }
+
+ public bool IsUndefined => _innerList == null;
+
+ public int Count => IsUndefined ? 0 : EnsureList().Count;
+
+ public bool IsReadOnly => IsUndefined ? false : EnsureList().IsReadOnly;
+
+ public T this[int index]
+ {
+ get
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ return EnsureList()[index];
+ }
+ set
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList()[index] = value;
+ }
+ }
+
+ public void Reset()
+ {
+ _innerList = null;
+ }
+
+ public IEnumerator GetEnumerator()
+ {
+ if (IsUndefined)
+ {
+ IEnumerator enumerateEmpty()
+ {
+ yield break;
+ }
+ return enumerateEmpty();
+ }
+ return EnsureList().GetEnumerator();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator()
+ {
+ return GetEnumerator();
+ }
+
+ public void Add(T item)
+ {
+ EnsureList().Add(item);
+ }
+
+ public void Clear()
+ {
+ EnsureList().Clear();
+ }
+
+ public bool Contains(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Contains(item);
+ }
+
+ public void CopyTo(T[] array, int arrayIndex)
+ {
+ if (IsUndefined)
+ {
+ return;
+ }
+ EnsureList().CopyTo(array, arrayIndex);
+ }
+
+ public bool Remove(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Remove(item);
+ }
+
+ public int IndexOf(T item)
+ {
+ if (IsUndefined)
+ {
+ return -1;
+ }
+ return EnsureList().IndexOf(item);
+ }
+
+ public void Insert(int index, T item)
+ {
+ EnsureList().Insert(index, item);
+ }
+
+ public void RemoveAt(int index)
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList().RemoveAt(index);
+ }
+
+ public IList EnsureList()
+ {
+ return _innerList ??= new List();
+ }
+ }
+}
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Internal/ChangeTrackingList.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Internal/ChangeTrackingList.cs
new file mode 100644
index 0000000000000..f82c02dcc028a
--- /dev/null
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Internal/ChangeTrackingList.cs
@@ -0,0 +1,153 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace Azure.ResourceManager.ApiManagement
+{
+ internal class ChangeTrackingList : IList, IReadOnlyList
+ {
+ private IList _innerList;
+
+ public ChangeTrackingList()
+ {
+ }
+
+ public ChangeTrackingList(IList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList;
+ }
+ }
+
+ public ChangeTrackingList(IReadOnlyList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList.ToList();
+ }
+ }
+
+ public bool IsUndefined => _innerList == null;
+
+ public int Count => IsUndefined ? 0 : EnsureList().Count;
+
+ public bool IsReadOnly => IsUndefined ? false : EnsureList().IsReadOnly;
+
+ public T this[int index]
+ {
+ get
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ return EnsureList()[index];
+ }
+ set
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList()[index] = value;
+ }
+ }
+
+ public void Reset()
+ {
+ _innerList = null;
+ }
+
+ public IEnumerator GetEnumerator()
+ {
+ if (IsUndefined)
+ {
+ IEnumerator enumerateEmpty()
+ {
+ yield break;
+ }
+ return enumerateEmpty();
+ }
+ return EnsureList().GetEnumerator();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator()
+ {
+ return GetEnumerator();
+ }
+
+ public void Add(T item)
+ {
+ EnsureList().Add(item);
+ }
+
+ public void Clear()
+ {
+ EnsureList().Clear();
+ }
+
+ public bool Contains(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Contains(item);
+ }
+
+ public void CopyTo(T[] array, int arrayIndex)
+ {
+ if (IsUndefined)
+ {
+ return;
+ }
+ EnsureList().CopyTo(array, arrayIndex);
+ }
+
+ public bool Remove(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Remove(item);
+ }
+
+ public int IndexOf(T item)
+ {
+ if (IsUndefined)
+ {
+ return -1;
+ }
+ return EnsureList().IndexOf(item);
+ }
+
+ public void Insert(int index, T item)
+ {
+ EnsureList().Insert(index, item);
+ }
+
+ public void RemoveAt(int index)
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList().RemoveAt(index);
+ }
+
+ public IList EnsureList()
+ {
+ return _innerList ??= new List();
+ }
+ }
+}
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/AccessInformationListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/AccessInformationListResult.cs
index 549b2ed113623..1cc0fdac186e5 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/AccessInformationListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/AccessInformationListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/AdditionalLocation.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/AdditionalLocation.cs
index c551a86f99a2c..bbe57c4bc8136 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/AdditionalLocation.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/AdditionalLocation.cs
@@ -9,6 +9,7 @@
using System.Collections.Generic;
using System.Net;
using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiCreateOrUpdateContent.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiCreateOrUpdateContent.cs
index 3e1bb078a59ed..8a8b7aec313c0 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiCreateOrUpdateContent.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiCreateOrUpdateContent.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiListResult.cs
index 452c200a0f111..7a82e53cc506d 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementAuthorizationServerPatch.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementAuthorizationServerPatch.cs
index ffa2d8d830857..953ee8b4cf057 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementAuthorizationServerPatch.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementAuthorizationServerPatch.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementEmailTemplateCreateOrUpdateContent.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementEmailTemplateCreateOrUpdateContent.cs
index e4b7f9d9b6fe1..71e2580a9cb87 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementEmailTemplateCreateOrUpdateContent.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementEmailTemplateCreateOrUpdateContent.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementGatewayApiListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementGatewayApiListResult.cs
index 30708a29a2816..9d4091715b5b4 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementGatewayApiListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementGatewayApiListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementGroupUserData.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementGroupUserData.cs
index dafc8c7505ac5..a24fcf3566ea5 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementGroupUserData.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementGroupUserData.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementGroupUserListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementGroupUserListResult.cs
index e6e582f5ed5ad..d63a34f1b780b 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementGroupUserListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementGroupUserListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementIdentityProviderCreateOrUpdateContent.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementIdentityProviderCreateOrUpdateContent.cs
index ff7a762ce17bf..8e92029000737 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementIdentityProviderCreateOrUpdateContent.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementIdentityProviderCreateOrUpdateContent.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementIdentityProviderPatch.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementIdentityProviderPatch.cs
index 6c73e82f287ce..e1a45f1ca80d4 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementIdentityProviderPatch.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementIdentityProviderPatch.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementNamedValueCreateOrUpdateContent.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementNamedValueCreateOrUpdateContent.cs
index 0bc095dd436f9..226b3eadf8c4e 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementNamedValueCreateOrUpdateContent.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementNamedValueCreateOrUpdateContent.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementNamedValuePatch.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementNamedValuePatch.cs
index ccaf6d052b648..700eb3b07e4e2 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementNamedValuePatch.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementNamedValuePatch.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementPrivateEndpointConnectionListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementPrivateEndpointConnectionListResult.cs
index 7a6922ef2ead0..edb1776cb4f45 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementPrivateEndpointConnectionListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementPrivateEndpointConnectionListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementPrivateLinkResourceListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementPrivateLinkResourceListResult.cs
index fa1877a9ae5a3..a60047acccf17 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementPrivateLinkResourceListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementPrivateLinkResourceListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementProductApiListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementProductApiListResult.cs
index 5891822b8b5b7..d89693a8ec664 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementProductApiListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementProductApiListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementProductGroupListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementProductGroupListResult.cs
index 7016243805cc8..14ba189ffd249 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementProductGroupListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementProductGroupListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementServicePatch.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementServicePatch.cs
index a54a2322187e0..491fbed671430 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementServicePatch.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementServicePatch.cs
@@ -10,6 +10,7 @@
using System.Net;
using Azure;
using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementSku.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementSku.cs
index 3f4eeb4a5797b..e4e79a6236466 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementSku.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementSku.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementSkuLocationInfo.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementSkuLocationInfo.cs
index c720f9b91925b..79399534335bf 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementSkuLocationInfo.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementSkuLocationInfo.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementSkuRestrictionInfo.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementSkuRestrictionInfo.cs
index b042e005cc76b..3dbe26ffc258f 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementSkuRestrictionInfo.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementSkuRestrictionInfo.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementSkuRestrictions.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementSkuRestrictions.cs
index 029e723e2708a..72a96571078c2 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementSkuRestrictions.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementSkuRestrictions.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementSkuZoneDetails.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementSkuZoneDetails.cs
index 12b1b21643ba6..2e97a04bc812b 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementSkuZoneDetails.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementSkuZoneDetails.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementUserCreateOrUpdateContent.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementUserCreateOrUpdateContent.cs
index 47c3deab57ca8..6c4e9ec339c79 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementUserCreateOrUpdateContent.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementUserCreateOrUpdateContent.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementUserPatch.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementUserPatch.cs
index 1b693986da253..87e3d235e0546 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementUserPatch.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiManagementUserPatch.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiOperationPatch.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiOperationPatch.cs
index 7b502441f29f1..9350bf0b97f0c 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiOperationPatch.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiOperationPatch.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiPatch.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiPatch.cs
index 20c7154dacb9c..2ddd85a583cce 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiPatch.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiPatch.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiReleaseListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiReleaseListResult.cs
index cebe92a39c819..c789af483c9a2 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiReleaseListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiReleaseListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiRevisionListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiRevisionListResult.cs
index 916a3108c383f..21038b43daded 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiRevisionListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiRevisionListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiVersionSetListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiVersionSetListResult.cs
index e2844e7b7e815..9ff2a349fa1cd 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiVersionSetListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ApiVersionSetListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/AssociatedApiProperties.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/AssociatedApiProperties.cs
index 5da1ed5a1d1b2..ee42456b3151a 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/AssociatedApiProperties.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/AssociatedApiProperties.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/AuthorizationServerListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/AuthorizationServerListResult.cs
index 3eca352b01671..44ec91c4a8bb9 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/AuthorizationServerListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/AuthorizationServerListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/BackendCredentialsContract.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/BackendCredentialsContract.cs
index 8850072a3bcbc..ec79f450ba94b 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/BackendCredentialsContract.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/BackendCredentialsContract.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/BackendListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/BackendListResult.cs
index 6434e0d7b41af..6032820cc2816 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/BackendListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/BackendListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/BackendServiceFabricClusterProperties.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/BackendServiceFabricClusterProperties.cs
index 1f8adb849027d..becf3e09ed856 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/BackendServiceFabricClusterProperties.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/BackendServiceFabricClusterProperties.cs
@@ -8,7 +8,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/CacheListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/CacheListResult.cs
index 5b6036ee84794..bd74e39b20958 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/CacheListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/CacheListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/CertificateListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/CertificateListResult.cs
index 152c665b01e25..ce80e70715bb9 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/CertificateListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/CertificateListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ConnectivityCheckRequestHttpConfiguration.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ConnectivityCheckRequestHttpConfiguration.cs
index e89de84045065..0b922a38c7f7d 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ConnectivityCheckRequestHttpConfiguration.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ConnectivityCheckRequestHttpConfiguration.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ConnectivityCheckResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ConnectivityCheckResult.cs
index 99a973bfbb3df..b1d3aeba5ed5e 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ConnectivityCheckResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ConnectivityCheckResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ConnectivityHop.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ConnectivityHop.cs
index 39c512bbd1163..0079ed2880568 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ConnectivityHop.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ConnectivityHop.cs
@@ -9,6 +9,7 @@
using System.Collections.Generic;
using System.Net;
using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ConnectivityIssue.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ConnectivityIssue.cs
index 77f0e7453e6be..68d0fbd281bd1 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ConnectivityIssue.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ConnectivityIssue.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ContentItemListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ContentItemListResult.cs
index 952e78d8a9120..9e07708d2e916 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ContentItemListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ContentItemListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ContentTypeListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ContentTypeListResult.cs
index 1c6aa1a66d5a1..86429cc048227 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ContentTypeListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ContentTypeListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/DataMasking.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/DataMasking.cs
index 4c39fef421471..595959efaf746 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/DataMasking.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/DataMasking.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/DeletedServicesListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/DeletedServicesListResult.cs
index ec64eb4bc2c34..2190785eef664 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/DeletedServicesListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/DeletedServicesListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/DiagnosticListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/DiagnosticListResult.cs
index 5d1d34b730094..1fb689030a48d 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/DiagnosticListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/DiagnosticListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/EmailTemplateListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/EmailTemplateListResult.cs
index 427df73acd987..61aa834788b5d 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/EmailTemplateListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/EmailTemplateListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/EndpointDependency.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/EndpointDependency.cs
index 03cafd97a2403..f6e61a20457c6 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/EndpointDependency.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/EndpointDependency.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ErrorResponseBody.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ErrorResponseBody.cs
index 11729d992eb5a..ed4b02490b3d9 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ErrorResponseBody.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ErrorResponseBody.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/GatewayApiData.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/GatewayApiData.cs
index 7f3bbccc08fd9..7d6703c191ce2 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/GatewayApiData.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/GatewayApiData.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/GatewayCertificateAuthorityListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/GatewayCertificateAuthorityListResult.cs
index 3a3373fc372d4..0069e6bb5ee56 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/GatewayCertificateAuthorityListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/GatewayCertificateAuthorityListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/GatewayHostnameConfigurationListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/GatewayHostnameConfigurationListResult.cs
index 52e959d84f8b7..c6f9656431a20 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/GatewayHostnameConfigurationListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/GatewayHostnameConfigurationListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/GatewayListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/GatewayListResult.cs
index 675bab9608895..2c7aa33c5cc90 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/GatewayListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/GatewayListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/GitOperationResultContractData.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/GitOperationResultContractData.cs
index cb917e7f6198a..59c4041c5cc9b 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/GitOperationResultContractData.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/GitOperationResultContractData.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/GlobalSchemaListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/GlobalSchemaListResult.cs
index 3fda776948671..28b6daded8623 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/GlobalSchemaListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/GlobalSchemaListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/GroupListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/GroupListResult.cs
index 1e16f10757cea..8750dfb524cc6 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/GroupListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/GroupListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/HttpMessageDiagnostic.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/HttpMessageDiagnostic.cs
index b4f8969ac047c..5121a2cb5a95a 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/HttpMessageDiagnostic.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/HttpMessageDiagnostic.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/IdentityProviderList.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/IdentityProviderList.cs
index 3fbfe64ee5633..9e9eed0fb562b 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/IdentityProviderList.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/IdentityProviderList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/IssueAttachmentListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/IssueAttachmentListResult.cs
index 74b7b06828059..0d596e5b68c04 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/IssueAttachmentListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/IssueAttachmentListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/IssueCommentListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/IssueCommentListResult.cs
index b31fe38c1e99d..0ef5bd9154774 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/IssueCommentListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/IssueCommentListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/IssueListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/IssueListResult.cs
index 5e605cdcb02d4..797db87d0bdd2 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/IssueListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/IssueListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/LoggerListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/LoggerListResult.cs
index 504cbc5195f70..374471691b5b7 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/LoggerListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/LoggerListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/NamedValueListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/NamedValueListResult.cs
index e76e8c4672d80..2692dbf86fe98 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/NamedValueListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/NamedValueListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/NotificationListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/NotificationListResult.cs
index 38f47b91ba85e..e8ae387947454 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/NotificationListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/NotificationListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/OpenIdAuthenticationSettingsContract.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/OpenIdAuthenticationSettingsContract.cs
index 339fcda456d7d..d722aa0406839 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/OpenIdAuthenticationSettingsContract.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/OpenIdAuthenticationSettingsContract.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/OpenIdConnectProviderListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/OpenIdConnectProviderListResult.cs
index 1561fdc9473ce..132f7abc08b89 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/OpenIdConnectProviderListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/OpenIdConnectProviderListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/OperationListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/OperationListResult.cs
index 0ea13d8338911..f012d3ad857c7 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/OperationListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/OperationListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/OutboundEnvironmentEndpoint.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/OutboundEnvironmentEndpoint.cs
index 76aba28ed7aec..e2296629a3c5f 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/OutboundEnvironmentEndpoint.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/OutboundEnvironmentEndpoint.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ParameterContract.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ParameterContract.cs
index 190aacd2558a8..74bd4b6f52e61 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ParameterContract.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ParameterContract.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/PolicyDescriptionListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/PolicyDescriptionListResult.cs
index 037bd6d513f3e..5f5be45b39630 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/PolicyDescriptionListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/PolicyDescriptionListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/PolicyListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/PolicyListResult.cs
index c176044d61656..4d200026b19db 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/PolicyListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/PolicyListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/PortalRevisionListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/PortalRevisionListResult.cs
index 30c52e833d254..90d397a4af79d 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/PortalRevisionListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/PortalRevisionListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/PortalSettingsListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/PortalSettingsListResult.cs
index b25a9f4ac5236..01cfd1da9211d 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/PortalSettingsListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/PortalSettingsListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ProductApiData.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ProductApiData.cs
index b20aac0e30c3f..4c1460420b9cf 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ProductApiData.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ProductApiData.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ProductListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ProductListResult.cs
index 0fb1108016fb3..e79e0b6938d51 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ProductListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ProductListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/QuotaCounterListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/QuotaCounterListResult.cs
index 1d1b7a91fe1f4..a36eed006e4e6 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/QuotaCounterListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/QuotaCounterListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/RecipientEmailListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/RecipientEmailListResult.cs
index 9891f5265af0a..9ab9d6eabd3c9 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/RecipientEmailListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/RecipientEmailListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/RecipientUserListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/RecipientUserListResult.cs
index ef52fcb1c6680..cb1d6e2e93eaa 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/RecipientUserListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/RecipientUserListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/RecipientsContractProperties.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/RecipientsContractProperties.cs
index 4afdf630fb742..53351072237ab 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/RecipientsContractProperties.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/RecipientsContractProperties.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/RegionListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/RegionListResult.cs
index 8f037ab3387ea..b8dec6323fc97 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/RegionListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/RegionListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/RemotePrivateEndpointConnectionWrapper.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/RemotePrivateEndpointConnectionWrapper.cs
index 0e3942efc0256..434617d6112e0 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/RemotePrivateEndpointConnectionWrapper.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/RemotePrivateEndpointConnectionWrapper.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
using Azure.ResourceManager.Resources.Models;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ReportListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ReportListResult.cs
index c1f3637a73a51..8f932522db9de 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ReportListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ReportListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/RepresentationContract.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/RepresentationContract.cs
index 2c97d08fcc9eb..b33f6cad6dd30 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/RepresentationContract.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/RepresentationContract.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/RequestContract.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/RequestContract.cs
index 980566253a593..944503edd460f 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/RequestContract.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/RequestContract.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/RequestReportListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/RequestReportListResult.cs
index ca7aec6e57630..6bc9f29794ddb 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/RequestReportListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/RequestReportListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ResponseContract.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ResponseContract.cs
index 2428090206804..8b6c6894f4354 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ResponseContract.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/ResponseContract.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/SchemaListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/SchemaListResult.cs
index f7c96fd957e71..a0d79ff432e02 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/SchemaListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/SchemaListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/SubscriptionListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/SubscriptionListResult.cs
index 7971da9d600cd..8fa6f14f88985 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/SubscriptionListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/SubscriptionListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/TagDescriptionListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/TagDescriptionListResult.cs
index 7d34369cbec45..d6181210edf8e 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/TagDescriptionListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/TagDescriptionListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/TagListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/TagListResult.cs
index fcc105d5d5417..68473b4340fb9 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/TagListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/TagListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/TagResourceListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/TagResourceListResult.cs
index 4c0b3d767e834..5e1a0131c7ef3 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/TagResourceListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/TagResourceListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/TenantSettingsListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/TenantSettingsListResult.cs
index 3555b8b0ba37e..9a6a20d3ac118 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/TenantSettingsListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/TenantSettingsListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/UserIdentityListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/UserIdentityListResult.cs
index c5b947d4f9b00..330556858b367 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/UserIdentityListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/UserIdentityListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
{
diff --git a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/UserListResult.cs b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/UserListResult.cs
index 17087a4809a4b..6e072af9818d3 100644
--- a/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/UserListResult.cs
+++ b/sdk/apimanagement/Azure.ResourceManager.ApiManagement/src/Generated/Models/UserListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApiManagement;
namespace Azure.ResourceManager.ApiManagement.Models
diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Internal/ChangeTrackingList.cs b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Internal/ChangeTrackingList.cs
new file mode 100644
index 0000000000000..eab3ae09e4224
--- /dev/null
+++ b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Internal/ChangeTrackingList.cs
@@ -0,0 +1,153 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace Azure.ResourceManager.AppComplianceAutomation
+{
+ internal class ChangeTrackingList : IList, IReadOnlyList
+ {
+ private IList _innerList;
+
+ public ChangeTrackingList()
+ {
+ }
+
+ public ChangeTrackingList(IList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList;
+ }
+ }
+
+ public ChangeTrackingList(IReadOnlyList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList.ToList();
+ }
+ }
+
+ public bool IsUndefined => _innerList == null;
+
+ public int Count => IsUndefined ? 0 : EnsureList().Count;
+
+ public bool IsReadOnly => IsUndefined ? false : EnsureList().IsReadOnly;
+
+ public T this[int index]
+ {
+ get
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ return EnsureList()[index];
+ }
+ set
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList()[index] = value;
+ }
+ }
+
+ public void Reset()
+ {
+ _innerList = null;
+ }
+
+ public IEnumerator GetEnumerator()
+ {
+ if (IsUndefined)
+ {
+ IEnumerator enumerateEmpty()
+ {
+ yield break;
+ }
+ return enumerateEmpty();
+ }
+ return EnsureList().GetEnumerator();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator()
+ {
+ return GetEnumerator();
+ }
+
+ public void Add(T item)
+ {
+ EnsureList().Add(item);
+ }
+
+ public void Clear()
+ {
+ EnsureList().Clear();
+ }
+
+ public bool Contains(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Contains(item);
+ }
+
+ public void CopyTo(T[] array, int arrayIndex)
+ {
+ if (IsUndefined)
+ {
+ return;
+ }
+ EnsureList().CopyTo(array, arrayIndex);
+ }
+
+ public bool Remove(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Remove(item);
+ }
+
+ public int IndexOf(T item)
+ {
+ if (IsUndefined)
+ {
+ return -1;
+ }
+ return EnsureList().IndexOf(item);
+ }
+
+ public void Insert(int index, T item)
+ {
+ EnsureList().Insert(index, item);
+ }
+
+ public void RemoveAt(int index)
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList().RemoveAt(index);
+ }
+
+ public IList EnsureList()
+ {
+ return _innerList ??= new List();
+ }
+ }
+}
diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/Assessment.cs b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/Assessment.cs
index 0b69aaa2a04cf..8fa1451184487 100644
--- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/Assessment.cs
+++ b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/Assessment.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppComplianceAutomation;
namespace Azure.ResourceManager.AppComplianceAutomation.Models
{
diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/Category.cs b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/Category.cs
index c667077d9e50a..31873bafc0994 100644
--- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/Category.cs
+++ b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/Category.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppComplianceAutomation;
namespace Azure.ResourceManager.AppComplianceAutomation.Models
{
diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/ComplianceResult.cs b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/ComplianceResult.cs
index 94fc20e9b0ed7..09cb00d033e70 100644
--- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/ComplianceResult.cs
+++ b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/ComplianceResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppComplianceAutomation;
namespace Azure.ResourceManager.AppComplianceAutomation.Models
{
diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/Control.cs b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/Control.cs
index 67f41537ad7c2..f1dff5394335b 100644
--- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/Control.cs
+++ b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/Control.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppComplianceAutomation;
namespace Azure.ResourceManager.AppComplianceAutomation.Models
{
diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/ControlFamily.cs b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/ControlFamily.cs
index d1b9b80e9e237..0e41ebc8b67fd 100644
--- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/ControlFamily.cs
+++ b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/ControlFamily.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppComplianceAutomation;
namespace Azure.ResourceManager.AppComplianceAutomation.Models
{
diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/DownloadResponse.cs b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/DownloadResponse.cs
index a86590543235c..aba619bd51b9f 100644
--- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/DownloadResponse.cs
+++ b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/DownloadResponse.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppComplianceAutomation;
namespace Azure.ResourceManager.AppComplianceAutomation.Models
{
diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/ReportProperties.cs b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/ReportProperties.cs
index 0e3c07d1f4fae..b69049a85a9d8 100644
--- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/ReportProperties.cs
+++ b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/ReportProperties.cs
@@ -8,7 +8,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
-using Azure.Core;
+using Azure.ResourceManager.AppComplianceAutomation;
namespace Azure.ResourceManager.AppComplianceAutomation.Models
{
diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/ReportResourceList.cs b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/ReportResourceList.cs
index 9e34ca1f723ca..aeed5876ee8a0 100644
--- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/ReportResourceList.cs
+++ b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/ReportResourceList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AppComplianceAutomation;
namespace Azure.ResourceManager.AppComplianceAutomation.Models
diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/SnapshotProperties.cs b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/SnapshotProperties.cs
index 110d96ec84211..4dd7cc1bdabc6 100644
--- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/SnapshotProperties.cs
+++ b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/SnapshotProperties.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppComplianceAutomation;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.AppComplianceAutomation.Models
diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/SnapshotResourceList.cs b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/SnapshotResourceList.cs
index 243ce95e7e57d..9047b51d3dbdb 100644
--- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/SnapshotResourceList.cs
+++ b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/Generated/Models/SnapshotResourceList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AppComplianceAutomation;
namespace Azure.ResourceManager.AppComplianceAutomation.Models
diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/src/Generated/Internal/ChangeTrackingList.cs b/sdk/appconfiguration/Azure.Data.AppConfiguration/src/Generated/Internal/ChangeTrackingList.cs
new file mode 100644
index 0000000000000..1017dab26715f
--- /dev/null
+++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/src/Generated/Internal/ChangeTrackingList.cs
@@ -0,0 +1,153 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace Azure.Data.AppConfiguration
+{
+ internal class ChangeTrackingList : IList, IReadOnlyList
+ {
+ private IList _innerList;
+
+ public ChangeTrackingList()
+ {
+ }
+
+ public ChangeTrackingList(IList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList;
+ }
+ }
+
+ public ChangeTrackingList(IReadOnlyList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList.ToList();
+ }
+ }
+
+ public bool IsUndefined => _innerList == null;
+
+ public int Count => IsUndefined ? 0 : EnsureList().Count;
+
+ public bool IsReadOnly => IsUndefined ? false : EnsureList().IsReadOnly;
+
+ public T this[int index]
+ {
+ get
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ return EnsureList()[index];
+ }
+ set
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList()[index] = value;
+ }
+ }
+
+ public void Reset()
+ {
+ _innerList = null;
+ }
+
+ public IEnumerator GetEnumerator()
+ {
+ if (IsUndefined)
+ {
+ IEnumerator enumerateEmpty()
+ {
+ yield break;
+ }
+ return enumerateEmpty();
+ }
+ return EnsureList().GetEnumerator();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator()
+ {
+ return GetEnumerator();
+ }
+
+ public void Add(T item)
+ {
+ EnsureList().Add(item);
+ }
+
+ public void Clear()
+ {
+ EnsureList().Clear();
+ }
+
+ public bool Contains(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Contains(item);
+ }
+
+ public void CopyTo(T[] array, int arrayIndex)
+ {
+ if (IsUndefined)
+ {
+ return;
+ }
+ EnsureList().CopyTo(array, arrayIndex);
+ }
+
+ public bool Remove(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Remove(item);
+ }
+
+ public int IndexOf(T item)
+ {
+ if (IsUndefined)
+ {
+ return -1;
+ }
+ return EnsureList().IndexOf(item);
+ }
+
+ public void Insert(int index, T item)
+ {
+ EnsureList().Insert(index, item);
+ }
+
+ public void RemoveAt(int index)
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList().RemoveAt(index);
+ }
+
+ public IList EnsureList()
+ {
+ return _innerList ??= new List();
+ }
+ }
+}
diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Internal/ChangeTrackingList.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Internal/ChangeTrackingList.cs
new file mode 100644
index 0000000000000..9fe82a83582d9
--- /dev/null
+++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Internal/ChangeTrackingList.cs
@@ -0,0 +1,153 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace Azure.ResourceManager.AppConfiguration
+{
+ internal class ChangeTrackingList : IList, IReadOnlyList
+ {
+ private IList _innerList;
+
+ public ChangeTrackingList()
+ {
+ }
+
+ public ChangeTrackingList(IList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList;
+ }
+ }
+
+ public ChangeTrackingList(IReadOnlyList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList.ToList();
+ }
+ }
+
+ public bool IsUndefined => _innerList == null;
+
+ public int Count => IsUndefined ? 0 : EnsureList().Count;
+
+ public bool IsReadOnly => IsUndefined ? false : EnsureList().IsReadOnly;
+
+ public T this[int index]
+ {
+ get
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ return EnsureList()[index];
+ }
+ set
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList()[index] = value;
+ }
+ }
+
+ public void Reset()
+ {
+ _innerList = null;
+ }
+
+ public IEnumerator GetEnumerator()
+ {
+ if (IsUndefined)
+ {
+ IEnumerator enumerateEmpty()
+ {
+ yield break;
+ }
+ return enumerateEmpty();
+ }
+ return EnsureList().GetEnumerator();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator()
+ {
+ return GetEnumerator();
+ }
+
+ public void Add(T item)
+ {
+ EnsureList().Add(item);
+ }
+
+ public void Clear()
+ {
+ EnsureList().Clear();
+ }
+
+ public bool Contains(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Contains(item);
+ }
+
+ public void CopyTo(T[] array, int arrayIndex)
+ {
+ if (IsUndefined)
+ {
+ return;
+ }
+ EnsureList().CopyTo(array, arrayIndex);
+ }
+
+ public bool Remove(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Remove(item);
+ }
+
+ public int IndexOf(T item)
+ {
+ if (IsUndefined)
+ {
+ return -1;
+ }
+ return EnsureList().IndexOf(item);
+ }
+
+ public void Insert(int index, T item)
+ {
+ EnsureList().Insert(index, item);
+ }
+
+ public void RemoveAt(int index)
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList().RemoveAt(index);
+ }
+
+ public IList EnsureList()
+ {
+ return _innerList ??= new List();
+ }
+ }
+}
diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/AppConfigurationPrivateEndpointConnectionListResult.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/AppConfigurationPrivateEndpointConnectionListResult.cs
index 53c86b3547816..700d9f5b4ec69 100644
--- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/AppConfigurationPrivateEndpointConnectionListResult.cs
+++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/AppConfigurationPrivateEndpointConnectionListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AppConfiguration;
namespace Azure.ResourceManager.AppConfiguration.Models
diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/AppConfigurationPrivateLinkResourceListResult.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/AppConfigurationPrivateLinkResourceListResult.cs
index e4840396ab0be..d3f68fb41decc 100644
--- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/AppConfigurationPrivateLinkResourceListResult.cs
+++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/AppConfigurationPrivateLinkResourceListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AppConfiguration;
namespace Azure.ResourceManager.AppConfiguration.Models
diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/AppConfigurationStoreApiKeyListResult.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/AppConfigurationStoreApiKeyListResult.cs
index 7dc4e27dbee4f..d204c7a76162c 100644
--- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/AppConfigurationStoreApiKeyListResult.cs
+++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/AppConfigurationStoreApiKeyListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppConfiguration;
namespace Azure.ResourceManager.AppConfiguration.Models
{
diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/AppConfigurationStoreListResult.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/AppConfigurationStoreListResult.cs
index 02589e9456f74..8717bf1185e3c 100644
--- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/AppConfigurationStoreListResult.cs
+++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/AppConfigurationStoreListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AppConfiguration;
namespace Azure.ResourceManager.AppConfiguration.Models
diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/DeletedConfigurationStoreListResult.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/DeletedConfigurationStoreListResult.cs
index a877f628f0304..ea8748fba15fd 100644
--- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/DeletedConfigurationStoreListResult.cs
+++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/DeletedConfigurationStoreListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AppConfiguration;
namespace Azure.ResourceManager.AppConfiguration.Models
diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/ReplicaListResult.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/ReplicaListResult.cs
index 6bbebea43c033..ad24f5b7a5bec 100644
--- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/ReplicaListResult.cs
+++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/ReplicaListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AppConfiguration;
namespace Azure.ResourceManager.AppConfiguration.Models
diff --git a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Internal/ChangeTrackingList.cs b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Internal/ChangeTrackingList.cs
new file mode 100644
index 0000000000000..9494c38c0f27c
--- /dev/null
+++ b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Internal/ChangeTrackingList.cs
@@ -0,0 +1,153 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace Azure.ResourceManager.ApplicationInsights
+{
+ internal class ChangeTrackingList : IList, IReadOnlyList
+ {
+ private IList _innerList;
+
+ public ChangeTrackingList()
+ {
+ }
+
+ public ChangeTrackingList(IList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList;
+ }
+ }
+
+ public ChangeTrackingList(IReadOnlyList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList.ToList();
+ }
+ }
+
+ public bool IsUndefined => _innerList == null;
+
+ public int Count => IsUndefined ? 0 : EnsureList().Count;
+
+ public bool IsReadOnly => IsUndefined ? false : EnsureList().IsReadOnly;
+
+ public T this[int index]
+ {
+ get
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ return EnsureList()[index];
+ }
+ set
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList()[index] = value;
+ }
+ }
+
+ public void Reset()
+ {
+ _innerList = null;
+ }
+
+ public IEnumerator GetEnumerator()
+ {
+ if (IsUndefined)
+ {
+ IEnumerator enumerateEmpty()
+ {
+ yield break;
+ }
+ return enumerateEmpty();
+ }
+ return EnsureList().GetEnumerator();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator()
+ {
+ return GetEnumerator();
+ }
+
+ public void Add(T item)
+ {
+ EnsureList().Add(item);
+ }
+
+ public void Clear()
+ {
+ EnsureList().Clear();
+ }
+
+ public bool Contains(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Contains(item);
+ }
+
+ public void CopyTo(T[] array, int arrayIndex)
+ {
+ if (IsUndefined)
+ {
+ return;
+ }
+ EnsureList().CopyTo(array, arrayIndex);
+ }
+
+ public bool Remove(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Remove(item);
+ }
+
+ public int IndexOf(T item)
+ {
+ if (IsUndefined)
+ {
+ return -1;
+ }
+ return EnsureList().IndexOf(item);
+ }
+
+ public void Insert(int index, T item)
+ {
+ EnsureList().Insert(index, item);
+ }
+
+ public void RemoveAt(int index)
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList().RemoveAt(index);
+ }
+
+ public IList EnsureList()
+ {
+ return _innerList ??= new List();
+ }
+ }
+}
diff --git a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/APIKeyContent.cs b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/APIKeyContent.cs
index 6c82000885e9e..95ae4187a76b8 100644
--- a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/APIKeyContent.cs
+++ b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/APIKeyContent.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApplicationInsights;
namespace Azure.ResourceManager.ApplicationInsights.Models
{
diff --git a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/AnnotationsListResult.cs b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/AnnotationsListResult.cs
index ab8eadbb69d7f..3d9c570785567 100644
--- a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/AnnotationsListResult.cs
+++ b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/AnnotationsListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApplicationInsights;
namespace Azure.ResourceManager.ApplicationInsights.Models
{
diff --git a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/ApplicationInsightsComponentAPIKey.cs b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/ApplicationInsightsComponentAPIKey.cs
index 6f4196a7975c7..f97dc8946301f 100644
--- a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/ApplicationInsightsComponentAPIKey.cs
+++ b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/ApplicationInsightsComponentAPIKey.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApplicationInsights;
namespace Azure.ResourceManager.ApplicationInsights.Models
{
diff --git a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/ApplicationInsightsComponentAvailableFeatures.cs b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/ApplicationInsightsComponentAvailableFeatures.cs
index 6c27b833461f6..5ec47206b316f 100644
--- a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/ApplicationInsightsComponentAvailableFeatures.cs
+++ b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/ApplicationInsightsComponentAvailableFeatures.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApplicationInsights;
namespace Azure.ResourceManager.ApplicationInsights.Models
{
diff --git a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/ApplicationInsightsComponentBillingFeatures.cs b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/ApplicationInsightsComponentBillingFeatures.cs
index bd9d9c23a4c4b..121d1897eef37 100644
--- a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/ApplicationInsightsComponentBillingFeatures.cs
+++ b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/ApplicationInsightsComponentBillingFeatures.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApplicationInsights;
namespace Azure.ResourceManager.ApplicationInsights.Models
{
diff --git a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/ApplicationInsightsComponentFavorite.cs b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/ApplicationInsightsComponentFavorite.cs
index 8e0c334488a6b..8104a82edf96e 100644
--- a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/ApplicationInsightsComponentFavorite.cs
+++ b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/ApplicationInsightsComponentFavorite.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApplicationInsights;
namespace Azure.ResourceManager.ApplicationInsights.Models
{
diff --git a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/ApplicationInsightsComponentFeature.cs b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/ApplicationInsightsComponentFeature.cs
index 073999e9f0951..e0aa5364ec86d 100644
--- a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/ApplicationInsightsComponentFeature.cs
+++ b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/ApplicationInsightsComponentFeature.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApplicationInsights;
namespace Azure.ResourceManager.ApplicationInsights.Models
{
diff --git a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/ApplicationInsightsComponentProactiveDetectionConfiguration.cs b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/ApplicationInsightsComponentProactiveDetectionConfiguration.cs
index 44a3c10d02860..12a8cf0f69b7b 100644
--- a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/ApplicationInsightsComponentProactiveDetectionConfiguration.cs
+++ b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/ApplicationInsightsComponentProactiveDetectionConfiguration.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApplicationInsights;
namespace Azure.ResourceManager.ApplicationInsights.Models
{
diff --git a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/MyWorkbooksListResult.cs b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/MyWorkbooksListResult.cs
index 2f82bf5d013f4..38ad30e6a9bf1 100644
--- a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/MyWorkbooksListResult.cs
+++ b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/MyWorkbooksListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApplicationInsights;
namespace Azure.ResourceManager.ApplicationInsights.Models
diff --git a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/WebTestPropertiesRequest.cs b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/WebTestPropertiesRequest.cs
index dcba3b8f437d4..60092b5b75b8f 100644
--- a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/WebTestPropertiesRequest.cs
+++ b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/WebTestPropertiesRequest.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApplicationInsights;
namespace Azure.ResourceManager.ApplicationInsights.Models
{
diff --git a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/WorkItemConfigurationsListResult.cs b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/WorkItemConfigurationsListResult.cs
index d4bf0b39a7d8a..bac632b1fb254 100644
--- a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/WorkItemConfigurationsListResult.cs
+++ b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/WorkItemConfigurationsListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApplicationInsights;
namespace Azure.ResourceManager.ApplicationInsights.Models
{
diff --git a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/WorkbookPatch.cs b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/WorkbookPatch.cs
index 6d3976e9effac..820d55a3c8b76 100644
--- a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/WorkbookPatch.cs
+++ b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/WorkbookPatch.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.ApplicationInsights;
namespace Azure.ResourceManager.ApplicationInsights.Models
{
diff --git a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/WorkbookTemplateLocalizedGallery.cs b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/WorkbookTemplateLocalizedGallery.cs
index 0c1b3b0193d13..e9c1557bf0a7a 100644
--- a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/WorkbookTemplateLocalizedGallery.cs
+++ b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/WorkbookTemplateLocalizedGallery.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ApplicationInsights;
namespace Azure.ResourceManager.ApplicationInsights.Models
{
diff --git a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/WorkbookTemplatePatch.cs b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/WorkbookTemplatePatch.cs
index f75d73347ea05..4c614ebe5880d 100644
--- a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/WorkbookTemplatePatch.cs
+++ b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/WorkbookTemplatePatch.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.ApplicationInsights;
namespace Azure.ResourceManager.ApplicationInsights.Models
{
diff --git a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/WorkbooksListResult.cs b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/WorkbooksListResult.cs
index d8d3ae032fd59..57e451a26d71c 100644
--- a/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/WorkbooksListResult.cs
+++ b/sdk/applicationinsights/Azure.ResourceManager.ApplicationInsights/src/Generated/Models/WorkbooksListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ApplicationInsights;
namespace Azure.ResourceManager.ApplicationInsights.Models
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Internal/ChangeTrackingList.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Internal/ChangeTrackingList.cs
new file mode 100644
index 0000000000000..13b0c9db44e39
--- /dev/null
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Internal/ChangeTrackingList.cs
@@ -0,0 +1,153 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace Azure.ResourceManager.AppPlatform
+{
+ internal class ChangeTrackingList : IList, IReadOnlyList
+ {
+ private IList _innerList;
+
+ public ChangeTrackingList()
+ {
+ }
+
+ public ChangeTrackingList(IList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList;
+ }
+ }
+
+ public ChangeTrackingList(IReadOnlyList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList.ToList();
+ }
+ }
+
+ public bool IsUndefined => _innerList == null;
+
+ public int Count => IsUndefined ? 0 : EnsureList().Count;
+
+ public bool IsReadOnly => IsUndefined ? false : EnsureList().IsReadOnly;
+
+ public T this[int index]
+ {
+ get
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ return EnsureList()[index];
+ }
+ set
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList()[index] = value;
+ }
+ }
+
+ public void Reset()
+ {
+ _innerList = null;
+ }
+
+ public IEnumerator GetEnumerator()
+ {
+ if (IsUndefined)
+ {
+ IEnumerator enumerateEmpty()
+ {
+ yield break;
+ }
+ return enumerateEmpty();
+ }
+ return EnsureList().GetEnumerator();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator()
+ {
+ return GetEnumerator();
+ }
+
+ public void Add(T item)
+ {
+ EnsureList().Add(item);
+ }
+
+ public void Clear()
+ {
+ EnsureList().Clear();
+ }
+
+ public bool Contains(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Contains(item);
+ }
+
+ public void CopyTo(T[] array, int arrayIndex)
+ {
+ if (IsUndefined)
+ {
+ return;
+ }
+ EnsureList().CopyTo(array, arrayIndex);
+ }
+
+ public bool Remove(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Remove(item);
+ }
+
+ public int IndexOf(T item)
+ {
+ if (IsUndefined)
+ {
+ return -1;
+ }
+ return EnsureList().IndexOf(item);
+ }
+
+ public void Insert(int index, T item)
+ {
+ EnsureList().Insert(index, item);
+ }
+
+ public void RemoveAt(int index)
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList().RemoveAt(index);
+ }
+
+ public IList EnsureList()
+ {
+ return _innerList ??= new List();
+ }
+ }
+}
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ActiveAppPlatformDeploymentsContent.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ActiveAppPlatformDeploymentsContent.cs
index ab33ef44532e4..ee92a416030a5 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ActiveAppPlatformDeploymentsContent.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ActiveAppPlatformDeploymentsContent.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ApiPortalCustomDomainResourceList.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ApiPortalCustomDomainResourceList.cs
index 4861b60ce1eb1..a950ee36e68e3 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ApiPortalCustomDomainResourceList.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ApiPortalCustomDomainResourceList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ApiPortalResourceList.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ApiPortalResourceList.cs
index c49eb05006347..3892d1304aafc 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ApiPortalResourceList.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ApiPortalResourceList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppBuildList.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppBuildList.cs
index c5b40693d85df..033ea7ddc2a37 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppBuildList.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppBuildList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppBuildResultList.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppBuildResultList.cs
index e59cb720dfda1..9ef536429bc74 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppBuildResultList.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppBuildResultList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppBuildServiceList.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppBuildServiceList.cs
index 501e04ce89fbd..6813b55b28bc3 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppBuildServiceList.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppBuildServiceList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppBuilderResourceList.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppBuilderResourceList.cs
index 11b6cd96623aa..9a1fcec4d5fea 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppBuilderResourceList.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppBuilderResourceList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppCustomPersistentDiskProperties.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppCustomPersistentDiskProperties.cs
index 720babce65d6c..79486bdf3affa 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppCustomPersistentDiskProperties.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppCustomPersistentDiskProperties.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppInstanceExecAction.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppInstanceExecAction.cs
index d709de2ac76fb..174e2dccc2579 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppInstanceExecAction.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppInstanceExecAction.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformApiPortalProperties.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformApiPortalProperties.cs
index f3ffa80d84856..112d7306ef639 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformApiPortalProperties.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformApiPortalProperties.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformAppProperties.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformAppProperties.cs
index a4d8018fb007a..95e61ed79bd42 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformAppProperties.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformAppProperties.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformBuildResultProperties.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformBuildResultProperties.cs
index db4e3fca68e5d..02bcb619840a5 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformBuildResultProperties.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformBuildResultProperties.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformBuilderProperties.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformBuilderProperties.cs
index 3dff743176de2..24ca8bc9cb910 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformBuilderProperties.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformBuilderProperties.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformCertificateProperties.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformCertificateProperties.cs
index 3e9e871e74842..472824335c3c9 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformCertificateProperties.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformCertificateProperties.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformConfigServerGitProperty.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformConfigServerGitProperty.cs
index b47b52c6380ac..6b72e2d1afea4 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformConfigServerGitProperty.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformConfigServerGitProperty.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformConfigurationServiceGitReposValidationMessages.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformConfigurationServiceGitReposValidationMessages.cs
index 332557f1eed27..3b55846570e37 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformConfigurationServiceGitReposValidationMessages.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformConfigurationServiceGitReposValidationMessages.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformConfigurationServiceGitRepository.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformConfigurationServiceGitRepository.cs
index 1aedd9fa7db39..c703ae670986d 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformConfigurationServiceGitRepository.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformConfigurationServiceGitRepository.cs
@@ -8,7 +8,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
-using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformConfigurationServiceGitValidateResult.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformConfigurationServiceGitValidateResult.cs
index 860ea01098c1f..973896b91faf3 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformConfigurationServiceGitValidateResult.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformConfigurationServiceGitValidateResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformConfigurationServiceProperties.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformConfigurationServiceProperties.cs
index 6e52b9cf4d0e3..ff378945dd612 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformConfigurationServiceProperties.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformConfigurationServiceProperties.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformCustomContainer.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformCustomContainer.cs
index c9df85f797eff..50a192c6f7c53 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformCustomContainer.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformCustomContainer.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformDeploymentProperties.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformDeploymentProperties.cs
index deac8ced1e86f..a2551609d92f8 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformDeploymentProperties.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformDeploymentProperties.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformGatewayApiRoute.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformGatewayApiRoute.cs
index aae7937e60d2d..079dee3cd3d33 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformGatewayApiRoute.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformGatewayApiRoute.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformGatewayCorsProperties.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformGatewayCorsProperties.cs
index 5eeccb537a16d..6dc700739086f 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformGatewayCorsProperties.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformGatewayCorsProperties.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformGatewayOperatorProperties.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformGatewayOperatorProperties.cs
index e153bea20ad52..094bdde483fd0 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformGatewayOperatorProperties.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformGatewayOperatorProperties.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformGatewayProperties.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformGatewayProperties.cs
index 32b9f198504bc..97d8c6589f82c 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformGatewayProperties.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformGatewayProperties.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformGatewayRouteConfigProperties.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformGatewayRouteConfigProperties.cs
index 5dea3e1414896..e4f3cd5d390f6 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformGatewayRouteConfigProperties.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformGatewayRouteConfigProperties.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformServiceNetworkProfile.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformServiceNetworkProfile.cs
index 56cfb5f805c50..4e14462759f90 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformServiceNetworkProfile.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformServiceNetworkProfile.cs
@@ -9,6 +9,7 @@
using System.Collections.Generic;
using System.Net;
using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformServiceRegistryProperties.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformServiceRegistryProperties.cs
index 0c31c8e02ed98..66a5de93605dd 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformServiceRegistryProperties.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformServiceRegistryProperties.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformServiceRequiredTraffic.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformServiceRequiredTraffic.cs
index 65023ec66977c..39dee17542612 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformServiceRequiredTraffic.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformServiceRequiredTraffic.cs
@@ -8,7 +8,7 @@
using System;
using System.Collections.Generic;
using System.Net;
-using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformSkuLocationInfo.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformSkuLocationInfo.cs
index 3b3b08727f94e..6179a2d25c934 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformSkuLocationInfo.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformSkuLocationInfo.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformSkuRestrictionInfo.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformSkuRestrictionInfo.cs
index 6a79da3b4fa42..63f084200ff53 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformSkuRestrictionInfo.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformSkuRestrictionInfo.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformSkuRestrictions.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformSkuRestrictions.cs
index 41538fd07285d..2ef686c8d0484 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformSkuRestrictions.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformSkuRestrictions.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformSkuZoneDetails.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformSkuZoneDetails.cs
index 9b96df30af327..d6058197297e1 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformSkuZoneDetails.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformSkuZoneDetails.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformSsoProperties.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformSsoProperties.cs
index 51905391f099e..3a3e17f8b4046 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformSsoProperties.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppPlatformSsoProperties.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppResourceList.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppResourceList.cs
index 46cff2edce554..b6caed1c84b8a 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppResourceList.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AppResourceList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AvailableAppPlatformSku.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AvailableAppPlatformSku.cs
index f29be4dc6168f..ba8b475b31408 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AvailableAppPlatformSku.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AvailableAppPlatformSku.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AvailableRuntimeVersions.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AvailableRuntimeVersions.cs
index 5a34715f19385..b7b0ddbe33b26 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AvailableRuntimeVersions.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/AvailableRuntimeVersions.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/BindingResourceList.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/BindingResourceList.cs
index 02cf0d3ec2444..aea843bb1cace 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/BindingResourceList.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/BindingResourceList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/BuildServiceAgentPoolResourceList.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/BuildServiceAgentPoolResourceList.cs
index 34679213d0f3d..3dce92e618cfc 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/BuildServiceAgentPoolResourceList.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/BuildServiceAgentPoolResourceList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/BuildpackBindingResourceList.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/BuildpackBindingResourceList.cs
index 3e5ada46bc211..84ed8fa763a92 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/BuildpackBindingResourceList.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/BuildpackBindingResourceList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/BuildpacksGroupProperties.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/BuildpacksGroupProperties.cs
index 11e86d34d97e6..6ddc29545fd01 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/BuildpacksGroupProperties.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/BuildpacksGroupProperties.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
using Azure.ResourceManager.Resources.Models;
namespace Azure.ResourceManager.AppPlatform.Models
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/CertificateResourceList.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/CertificateResourceList.cs
index b82ebf583aeed..ae45afc367cc5 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/CertificateResourceList.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/CertificateResourceList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ConfigServerGitPatternRepository.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ConfigServerGitPatternRepository.cs
index 3fbfb7b1e0726..57ffade15b787 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ConfigServerGitPatternRepository.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ConfigServerGitPatternRepository.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ConfigServerSettingsErrorRecord.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ConfigServerSettingsErrorRecord.cs
index e68d99c386f63..c1d82320a8c3f 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ConfigServerSettingsErrorRecord.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ConfigServerSettingsErrorRecord.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ConfigServerSettingsValidateResult.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ConfigServerSettingsValidateResult.cs
index 69a296b669b9c..9096aacc9332d 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ConfigServerSettingsValidateResult.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ConfigServerSettingsValidateResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ConfigurationServiceGitProperty.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ConfigurationServiceGitProperty.cs
index 9a3035ee5d878..cef8fc356a2c0 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ConfigurationServiceGitProperty.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ConfigurationServiceGitProperty.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ConfigurationServiceResourceList.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ConfigurationServiceResourceList.cs
index 0ed8d63c79c9c..bcc2328f99c3d 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ConfigurationServiceResourceList.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ConfigurationServiceResourceList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/CustomDomainResourceList.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/CustomDomainResourceList.cs
index 7c8dfdb10588c..3ff608c779669 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/CustomDomainResourceList.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/CustomDomainResourceList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/DeploymentList.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/DeploymentList.cs
index ebeae82560dec..c70a3b2a751fe 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/DeploymentList.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/DeploymentList.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/DeploymentResourceList.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/DeploymentResourceList.cs
index b8fe9d112c755..9f67c5910efd2 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/DeploymentResourceList.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/DeploymentResourceList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/GatewayCustomDomainResourceList.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/GatewayCustomDomainResourceList.cs
index b894a055f34da..9bc25555acda9 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/GatewayCustomDomainResourceList.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/GatewayCustomDomainResourceList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/GatewayResourceList.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/GatewayResourceList.cs
index 0aab6e9ccbd92..189f1a6734f60 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/GatewayResourceList.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/GatewayResourceList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/GatewayRouteConfigResourceList.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/GatewayRouteConfigResourceList.cs
index 18a0fabf95d93..023dbf59682f4 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/GatewayRouteConfigResourceList.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/GatewayRouteConfigResourceList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/IngressSettingsClientAuth.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/IngressSettingsClientAuth.cs
index dee08a8865def..30190a2d988e7 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/IngressSettingsClientAuth.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/IngressSettingsClientAuth.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/NetworkProfileOutboundIPs.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/NetworkProfileOutboundIPs.cs
index b58adfd7c794b..6c6b82fc13e2e 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/NetworkProfileOutboundIPs.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/NetworkProfileOutboundIPs.cs
@@ -8,7 +8,7 @@
using System;
using System.Collections.Generic;
using System.Net;
-using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ResourceSkuList.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ResourceSkuList.cs
index 25eda4ffe7d8f..3e19bf1019018 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ResourceSkuList.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ResourceSkuList.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
{
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ServiceRegistryResourceList.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ServiceRegistryResourceList.cs
index 8e1ee60b79dbf..e5534cfd28dbc 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ServiceRegistryResourceList.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ServiceRegistryResourceList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ServiceResourceList.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ServiceResourceList.cs
index 390f52ba6ae8b..348b569200132 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ServiceResourceList.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/ServiceResourceList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/StorageResourceList.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/StorageResourceList.cs
index 5448fe52d5bbe..08e5784fbb381 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/StorageResourceList.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/StorageResourceList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/SupportedBuildpacksList.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/SupportedBuildpacksList.cs
index eb68fafb7b252..63848f15e649b 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/SupportedBuildpacksList.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/SupportedBuildpacksList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
diff --git a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/SupportedStacksList.cs b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/SupportedStacksList.cs
index eeae2813d56a5..8c9d760f445ef 100644
--- a/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/SupportedStacksList.cs
+++ b/sdk/appplatform/Azure.ResourceManager.AppPlatform/src/Generated/Models/SupportedStacksList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.AppPlatform;
namespace Azure.ResourceManager.AppPlatform.Models
diff --git a/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Internal/ChangeTrackingList.cs b/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Internal/ChangeTrackingList.cs
new file mode 100644
index 0000000000000..7bcf9ab55f1a9
--- /dev/null
+++ b/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Internal/ChangeTrackingList.cs
@@ -0,0 +1,153 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace Azure.ResourceManager.ArcScVmm
+{
+ internal class ChangeTrackingList : IList, IReadOnlyList
+ {
+ private IList _innerList;
+
+ public ChangeTrackingList()
+ {
+ }
+
+ public ChangeTrackingList(IList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList;
+ }
+ }
+
+ public ChangeTrackingList(IReadOnlyList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList.ToList();
+ }
+ }
+
+ public bool IsUndefined => _innerList == null;
+
+ public int Count => IsUndefined ? 0 : EnsureList().Count;
+
+ public bool IsReadOnly => IsUndefined ? false : EnsureList().IsReadOnly;
+
+ public T this[int index]
+ {
+ get
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ return EnsureList()[index];
+ }
+ set
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList()[index] = value;
+ }
+ }
+
+ public void Reset()
+ {
+ _innerList = null;
+ }
+
+ public IEnumerator GetEnumerator()
+ {
+ if (IsUndefined)
+ {
+ IEnumerator enumerateEmpty()
+ {
+ yield break;
+ }
+ return enumerateEmpty();
+ }
+ return EnsureList().GetEnumerator();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator()
+ {
+ return GetEnumerator();
+ }
+
+ public void Add(T item)
+ {
+ EnsureList().Add(item);
+ }
+
+ public void Clear()
+ {
+ EnsureList().Clear();
+ }
+
+ public bool Contains(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Contains(item);
+ }
+
+ public void CopyTo(T[] array, int arrayIndex)
+ {
+ if (IsUndefined)
+ {
+ return;
+ }
+ EnsureList().CopyTo(array, arrayIndex);
+ }
+
+ public bool Remove(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Remove(item);
+ }
+
+ public int IndexOf(T item)
+ {
+ if (IsUndefined)
+ {
+ return -1;
+ }
+ return EnsureList().IndexOf(item);
+ }
+
+ public void Insert(int index, T item)
+ {
+ EnsureList().Insert(index, item);
+ }
+
+ public void RemoveAt(int index)
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList().RemoveAt(index);
+ }
+
+ public IList EnsureList()
+ {
+ return _innerList ??= new List();
+ }
+ }
+}
diff --git a/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/AvailabilitySetListResult.cs b/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/AvailabilitySetListResult.cs
index abd1482dd628e..f9423af8fe635 100644
--- a/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/AvailabilitySetListResult.cs
+++ b/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/AvailabilitySetListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ArcScVmm;
namespace Azure.ResourceManager.ArcScVmm.Models
diff --git a/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/CloudListResult.cs b/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/CloudListResult.cs
index 94b38201b4b57..2c377ed2aa570 100644
--- a/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/CloudListResult.cs
+++ b/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/CloudListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ArcScVmm;
namespace Azure.ResourceManager.ArcScVmm.Models
diff --git a/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/NetworkInterfaces.cs b/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/NetworkInterfaces.cs
index 13fe66055f30e..4ef334f19a826 100644
--- a/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/NetworkInterfaces.cs
+++ b/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/NetworkInterfaces.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ArcScVmm;
namespace Azure.ResourceManager.ArcScVmm.Models
{
diff --git a/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/NetworkProfile.cs b/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/NetworkProfile.cs
index 5bf0539d008aa..c3ddf890d27c0 100644
--- a/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/NetworkProfile.cs
+++ b/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/NetworkProfile.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ArcScVmm;
namespace Azure.ResourceManager.ArcScVmm.Models
{
diff --git a/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/NetworkProfileUpdate.cs b/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/NetworkProfileUpdate.cs
index 494a1846c66bb..fb2d6c96f13fe 100644
--- a/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/NetworkProfileUpdate.cs
+++ b/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/NetworkProfileUpdate.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ArcScVmm;
namespace Azure.ResourceManager.ArcScVmm.Models
{
diff --git a/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/StorageProfile.cs b/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/StorageProfile.cs
index 81363e654521c..52173be052237 100644
--- a/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/StorageProfile.cs
+++ b/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/StorageProfile.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ArcScVmm;
namespace Azure.ResourceManager.ArcScVmm.Models
{
diff --git a/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/StorageProfileUpdate.cs b/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/StorageProfileUpdate.cs
index 0a3a5d123b634..902152a21bfdb 100644
--- a/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/StorageProfileUpdate.cs
+++ b/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/StorageProfileUpdate.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ArcScVmm;
namespace Azure.ResourceManager.ArcScVmm.Models
{
diff --git a/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/VirtualMachineInventoryItem.cs b/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/VirtualMachineInventoryItem.cs
index ae674c3af2733..6462045989c6b 100644
--- a/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/VirtualMachineInventoryItem.cs
+++ b/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/VirtualMachineInventoryItem.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ArcScVmm;
namespace Azure.ResourceManager.ArcScVmm.Models
{
diff --git a/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/VirtualMachineListResult.cs b/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/VirtualMachineListResult.cs
index b88acad57efaf..c86ec42fa770f 100644
--- a/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/VirtualMachineListResult.cs
+++ b/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/VirtualMachineListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ArcScVmm;
namespace Azure.ResourceManager.ArcScVmm.Models
diff --git a/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/VirtualMachineTemplateListResult.cs b/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/VirtualMachineTemplateListResult.cs
index 5fe58a54c561a..b9120b7ba5de3 100644
--- a/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/VirtualMachineTemplateListResult.cs
+++ b/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/VirtualMachineTemplateListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ArcScVmm;
namespace Azure.ResourceManager.ArcScVmm.Models
diff --git a/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/VirtualMachineUpdateProperties.cs b/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/VirtualMachineUpdateProperties.cs
index 64735bb0adce9..52543227973e4 100644
--- a/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/VirtualMachineUpdateProperties.cs
+++ b/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/VirtualMachineUpdateProperties.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.ArcScVmm;
namespace Azure.ResourceManager.ArcScVmm.Models
{
diff --git a/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/VirtualNetworkListResult.cs b/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/VirtualNetworkListResult.cs
index 5390aeafa9341..49c0a7a121523 100644
--- a/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/VirtualNetworkListResult.cs
+++ b/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/VirtualNetworkListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ArcScVmm;
namespace Azure.ResourceManager.ArcScVmm.Models
diff --git a/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/VmmServerListResult.cs b/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/VmmServerListResult.cs
index 92a27ab01d97f..6ab9f4bbefaca 100644
--- a/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/VmmServerListResult.cs
+++ b/sdk/arc-scvmm/Azure.ResourceManager.ArcScVmm/src/Generated/Models/VmmServerListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.ArcScVmm;
namespace Azure.ResourceManager.ArcScVmm.Models
diff --git a/sdk/attestation/Azure.ResourceManager.Attestation/src/Generated/Internal/ChangeTrackingList.cs b/sdk/attestation/Azure.ResourceManager.Attestation/src/Generated/Internal/ChangeTrackingList.cs
new file mode 100644
index 0000000000000..83bb4835a6e88
--- /dev/null
+++ b/sdk/attestation/Azure.ResourceManager.Attestation/src/Generated/Internal/ChangeTrackingList.cs
@@ -0,0 +1,153 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace Azure.ResourceManager.Attestation
+{
+ internal class ChangeTrackingList : IList, IReadOnlyList
+ {
+ private IList _innerList;
+
+ public ChangeTrackingList()
+ {
+ }
+
+ public ChangeTrackingList(IList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList;
+ }
+ }
+
+ public ChangeTrackingList(IReadOnlyList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList.ToList();
+ }
+ }
+
+ public bool IsUndefined => _innerList == null;
+
+ public int Count => IsUndefined ? 0 : EnsureList().Count;
+
+ public bool IsReadOnly => IsUndefined ? false : EnsureList().IsReadOnly;
+
+ public T this[int index]
+ {
+ get
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ return EnsureList()[index];
+ }
+ set
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList()[index] = value;
+ }
+ }
+
+ public void Reset()
+ {
+ _innerList = null;
+ }
+
+ public IEnumerator GetEnumerator()
+ {
+ if (IsUndefined)
+ {
+ IEnumerator enumerateEmpty()
+ {
+ yield break;
+ }
+ return enumerateEmpty();
+ }
+ return EnsureList().GetEnumerator();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator()
+ {
+ return GetEnumerator();
+ }
+
+ public void Add(T item)
+ {
+ EnsureList().Add(item);
+ }
+
+ public void Clear()
+ {
+ EnsureList().Clear();
+ }
+
+ public bool Contains(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Contains(item);
+ }
+
+ public void CopyTo(T[] array, int arrayIndex)
+ {
+ if (IsUndefined)
+ {
+ return;
+ }
+ EnsureList().CopyTo(array, arrayIndex);
+ }
+
+ public bool Remove(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Remove(item);
+ }
+
+ public int IndexOf(T item)
+ {
+ if (IsUndefined)
+ {
+ return -1;
+ }
+ return EnsureList().IndexOf(item);
+ }
+
+ public void Insert(int index, T item)
+ {
+ EnsureList().Insert(index, item);
+ }
+
+ public void RemoveAt(int index)
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList().RemoveAt(index);
+ }
+
+ public IList EnsureList()
+ {
+ return _innerList ??= new List();
+ }
+ }
+}
diff --git a/sdk/attestation/Azure.ResourceManager.Attestation/src/Generated/Models/AttestationPrivateEndpointConnectionListResult.cs b/sdk/attestation/Azure.ResourceManager.Attestation/src/Generated/Models/AttestationPrivateEndpointConnectionListResult.cs
index df6e15b74e54c..2d564497536fa 100644
--- a/sdk/attestation/Azure.ResourceManager.Attestation/src/Generated/Models/AttestationPrivateEndpointConnectionListResult.cs
+++ b/sdk/attestation/Azure.ResourceManager.Attestation/src/Generated/Models/AttestationPrivateEndpointConnectionListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Attestation;
namespace Azure.ResourceManager.Attestation.Models
diff --git a/sdk/attestation/Azure.ResourceManager.Attestation/src/Generated/Models/AttestationPrivateLinkResource.cs b/sdk/attestation/Azure.ResourceManager.Attestation/src/Generated/Models/AttestationPrivateLinkResource.cs
index c9efa34cb66fa..1e1bbcff12e42 100644
--- a/sdk/attestation/Azure.ResourceManager.Attestation/src/Generated/Models/AttestationPrivateLinkResource.cs
+++ b/sdk/attestation/Azure.ResourceManager.Attestation/src/Generated/Models/AttestationPrivateLinkResource.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.Attestation;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.Attestation.Models
diff --git a/sdk/attestation/Azure.ResourceManager.Attestation/src/Generated/Models/AttestationPrivateLinkResourceListResult.cs b/sdk/attestation/Azure.ResourceManager.Attestation/src/Generated/Models/AttestationPrivateLinkResourceListResult.cs
index e26698df8c8f2..724d63c05e3ce 100644
--- a/sdk/attestation/Azure.ResourceManager.Attestation/src/Generated/Models/AttestationPrivateLinkResourceListResult.cs
+++ b/sdk/attestation/Azure.ResourceManager.Attestation/src/Generated/Models/AttestationPrivateLinkResourceListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Attestation;
namespace Azure.ResourceManager.Attestation.Models
{
diff --git a/sdk/attestation/Azure.ResourceManager.Attestation/src/Generated/Models/AttestationProviderListResult.cs b/sdk/attestation/Azure.ResourceManager.Attestation/src/Generated/Models/AttestationProviderListResult.cs
index 23dd9dce200f9..0084e18ba8986 100644
--- a/sdk/attestation/Azure.ResourceManager.Attestation/src/Generated/Models/AttestationProviderListResult.cs
+++ b/sdk/attestation/Azure.ResourceManager.Attestation/src/Generated/Models/AttestationProviderListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Attestation;
using Azure.ResourceManager.Models;
diff --git a/sdk/attestation/Azure.ResourceManager.Attestation/src/Generated/Models/JsonWebKey.cs b/sdk/attestation/Azure.ResourceManager.Attestation/src/Generated/Models/JsonWebKey.cs
index 6fa7cb07f4929..02bd791f88955 100644
--- a/sdk/attestation/Azure.ResourceManager.Attestation/src/Generated/Models/JsonWebKey.cs
+++ b/sdk/attestation/Azure.ResourceManager.Attestation/src/Generated/Models/JsonWebKey.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Attestation;
namespace Azure.ResourceManager.Attestation.Models
{
diff --git a/sdk/attestation/Azure.ResourceManager.Attestation/src/Generated/Models/JsonWebKeySet.cs b/sdk/attestation/Azure.ResourceManager.Attestation/src/Generated/Models/JsonWebKeySet.cs
index f3913e9e87002..3e1d229412183 100644
--- a/sdk/attestation/Azure.ResourceManager.Attestation/src/Generated/Models/JsonWebKeySet.cs
+++ b/sdk/attestation/Azure.ResourceManager.Attestation/src/Generated/Models/JsonWebKeySet.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Attestation;
namespace Azure.ResourceManager.Attestation.Models
{
diff --git a/sdk/attestation/Azure.Security.Attestation/src/Generated/Internal/ChangeTrackingList.cs b/sdk/attestation/Azure.Security.Attestation/src/Generated/Internal/ChangeTrackingList.cs
new file mode 100644
index 0000000000000..8c8bd8478f74f
--- /dev/null
+++ b/sdk/attestation/Azure.Security.Attestation/src/Generated/Internal/ChangeTrackingList.cs
@@ -0,0 +1,153 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace Azure.Security.Attestation
+{
+ internal class ChangeTrackingList : IList, IReadOnlyList
+ {
+ private IList _innerList;
+
+ public ChangeTrackingList()
+ {
+ }
+
+ public ChangeTrackingList(IList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList;
+ }
+ }
+
+ public ChangeTrackingList(IReadOnlyList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList.ToList();
+ }
+ }
+
+ public bool IsUndefined => _innerList == null;
+
+ public int Count => IsUndefined ? 0 : EnsureList().Count;
+
+ public bool IsReadOnly => IsUndefined ? false : EnsureList().IsReadOnly;
+
+ public T this[int index]
+ {
+ get
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ return EnsureList()[index];
+ }
+ set
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList()[index] = value;
+ }
+ }
+
+ public void Reset()
+ {
+ _innerList = null;
+ }
+
+ public IEnumerator GetEnumerator()
+ {
+ if (IsUndefined)
+ {
+ IEnumerator enumerateEmpty()
+ {
+ yield break;
+ }
+ return enumerateEmpty();
+ }
+ return EnsureList().GetEnumerator();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator()
+ {
+ return GetEnumerator();
+ }
+
+ public void Add(T item)
+ {
+ EnsureList().Add(item);
+ }
+
+ public void Clear()
+ {
+ EnsureList().Clear();
+ }
+
+ public bool Contains(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Contains(item);
+ }
+
+ public void CopyTo(T[] array, int arrayIndex)
+ {
+ if (IsUndefined)
+ {
+ return;
+ }
+ EnsureList().CopyTo(array, arrayIndex);
+ }
+
+ public bool Remove(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Remove(item);
+ }
+
+ public int IndexOf(T item)
+ {
+ if (IsUndefined)
+ {
+ return -1;
+ }
+ return EnsureList().IndexOf(item);
+ }
+
+ public void Insert(int index, T item)
+ {
+ EnsureList().Insert(index, item);
+ }
+
+ public void RemoveAt(int index)
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList().RemoveAt(index);
+ }
+
+ public IList EnsureList()
+ {
+ return _innerList ??= new List();
+ }
+ }
+}
diff --git a/sdk/attestation/Azure.Security.Attestation/src/Generated/Models/JsonWebKey.cs b/sdk/attestation/Azure.Security.Attestation/src/Generated/Models/JsonWebKey.cs
index 943df1c53a927..6588c28656d43 100644
--- a/sdk/attestation/Azure.Security.Attestation/src/Generated/Models/JsonWebKey.cs
+++ b/sdk/attestation/Azure.Security.Attestation/src/Generated/Models/JsonWebKey.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
namespace Azure.Security.Attestation
{
diff --git a/sdk/attestation/Azure.Security.Attestation/src/Generated/Models/JsonWebKeySet.Serialization.cs b/sdk/attestation/Azure.Security.Attestation/src/Generated/Models/JsonWebKeySet.Serialization.cs
index a3d0aa64f58a2..c170420c14cbb 100644
--- a/sdk/attestation/Azure.Security.Attestation/src/Generated/Models/JsonWebKeySet.Serialization.cs
+++ b/sdk/attestation/Azure.Security.Attestation/src/Generated/Models/JsonWebKeySet.Serialization.cs
@@ -7,7 +7,6 @@
using System.Collections.Generic;
using System.Text.Json;
-using Azure.Core;
namespace Azure.Security.Attestation
{
diff --git a/sdk/attestation/Azure.Security.Attestation/src/Generated/Models/JsonWebKeySet.cs b/sdk/attestation/Azure.Security.Attestation/src/Generated/Models/JsonWebKeySet.cs
index 1df5d32d63d1b..ed2fa6077d4e0 100644
--- a/sdk/attestation/Azure.Security.Attestation/src/Generated/Models/JsonWebKeySet.cs
+++ b/sdk/attestation/Azure.Security.Attestation/src/Generated/Models/JsonWebKeySet.cs
@@ -6,7 +6,6 @@
#nullable disable
using System.Collections.Generic;
-using Azure.Core;
namespace Azure.Security.Attestation
{
diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Internal/ChangeTrackingList.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Internal/ChangeTrackingList.cs
new file mode 100644
index 0000000000000..3e6a87d9d7a7a
--- /dev/null
+++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Internal/ChangeTrackingList.cs
@@ -0,0 +1,153 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace Azure.ResourceManager.Authorization
+{
+ internal class ChangeTrackingList : IList, IReadOnlyList
+ {
+ private IList _innerList;
+
+ public ChangeTrackingList()
+ {
+ }
+
+ public ChangeTrackingList(IList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList;
+ }
+ }
+
+ public ChangeTrackingList(IReadOnlyList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList.ToList();
+ }
+ }
+
+ public bool IsUndefined => _innerList == null;
+
+ public int Count => IsUndefined ? 0 : EnsureList().Count;
+
+ public bool IsReadOnly => IsUndefined ? false : EnsureList().IsReadOnly;
+
+ public T this[int index]
+ {
+ get
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ return EnsureList()[index];
+ }
+ set
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList()[index] = value;
+ }
+ }
+
+ public void Reset()
+ {
+ _innerList = null;
+ }
+
+ public IEnumerator GetEnumerator()
+ {
+ if (IsUndefined)
+ {
+ IEnumerator enumerateEmpty()
+ {
+ yield break;
+ }
+ return enumerateEmpty();
+ }
+ return EnsureList().GetEnumerator();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator()
+ {
+ return GetEnumerator();
+ }
+
+ public void Add(T item)
+ {
+ EnsureList().Add(item);
+ }
+
+ public void Clear()
+ {
+ EnsureList().Clear();
+ }
+
+ public bool Contains(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Contains(item);
+ }
+
+ public void CopyTo(T[] array, int arrayIndex)
+ {
+ if (IsUndefined)
+ {
+ return;
+ }
+ EnsureList().CopyTo(array, arrayIndex);
+ }
+
+ public bool Remove(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Remove(item);
+ }
+
+ public int IndexOf(T item)
+ {
+ if (IsUndefined)
+ {
+ return -1;
+ }
+ return EnsureList().IndexOf(item);
+ }
+
+ public void Insert(int index, T item)
+ {
+ EnsureList().Insert(index, item);
+ }
+
+ public void RemoveAt(int index)
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList().RemoveAt(index);
+ }
+
+ public IList EnsureList()
+ {
+ return _innerList ??= new List();
+ }
+ }
+}
diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/AuthorizationClassicAdministratorListResult.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/AuthorizationClassicAdministratorListResult.cs
index 7cc420621e723..e4a33fbe183ce 100644
--- a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/AuthorizationClassicAdministratorListResult.cs
+++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/AuthorizationClassicAdministratorListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Authorization;
namespace Azure.ResourceManager.Authorization.Models
{
diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/AuthorizationProviderOperationsMetadataListResult.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/AuthorizationProviderOperationsMetadataListResult.cs
index fec1e7eb5a86a..d3383009f10d4 100644
--- a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/AuthorizationProviderOperationsMetadataListResult.cs
+++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/AuthorizationProviderOperationsMetadataListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Authorization;
namespace Azure.ResourceManager.Authorization.Models
diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/AuthorizationProviderResourceType.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/AuthorizationProviderResourceType.cs
index 3c80dfca5fe1f..e4342eac9cd4e 100644
--- a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/AuthorizationProviderResourceType.cs
+++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/AuthorizationProviderResourceType.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Authorization;
namespace Azure.ResourceManager.Authorization.Models
{
diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/DenyAssignmentListResult.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/DenyAssignmentListResult.cs
index ff0ac70ffbd36..cf80c58a527b2 100644
--- a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/DenyAssignmentListResult.cs
+++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/DenyAssignmentListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Authorization;
namespace Azure.ResourceManager.Authorization.Models
diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/DenyAssignmentPermission.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/DenyAssignmentPermission.cs
index 2920ed9180490..6c01673bcbd77 100644
--- a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/DenyAssignmentPermission.cs
+++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/DenyAssignmentPermission.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Authorization;
namespace Azure.ResourceManager.Authorization.Models
{
diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/EligibleChildResourcesListResult.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/EligibleChildResourcesListResult.cs
index b1a238afcc991..291e5e42a6e77 100644
--- a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/EligibleChildResourcesListResult.cs
+++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/EligibleChildResourcesListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Authorization;
namespace Azure.ResourceManager.Authorization.Models
{
diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleAssignmentListResult.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleAssignmentListResult.cs
index be54037d013e5..f62526d5c6203 100644
--- a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleAssignmentListResult.cs
+++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleAssignmentListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Authorization;
namespace Azure.ResourceManager.Authorization.Models
diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleAssignmentScheduleInstanceListResult.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleAssignmentScheduleInstanceListResult.cs
index ffd417572d033..12c408b1bb8be 100644
--- a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleAssignmentScheduleInstanceListResult.cs
+++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleAssignmentScheduleInstanceListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Authorization;
namespace Azure.ResourceManager.Authorization.Models
diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleAssignmentScheduleListResult.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleAssignmentScheduleListResult.cs
index 187d1d124ddb5..9db519c4d76ae 100644
--- a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleAssignmentScheduleListResult.cs
+++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleAssignmentScheduleListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Authorization;
namespace Azure.ResourceManager.Authorization.Models
diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleAssignmentScheduleRequestListResult.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleAssignmentScheduleRequestListResult.cs
index 59236d260ac5e..12d40007e418c 100644
--- a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleAssignmentScheduleRequestListResult.cs
+++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleAssignmentScheduleRequestListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Authorization;
namespace Azure.ResourceManager.Authorization.Models
diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleDefinitionListResult.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleDefinitionListResult.cs
index 5aedbaa07cf51..cdebae71b1859 100644
--- a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleDefinitionListResult.cs
+++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleDefinitionListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Authorization;
namespace Azure.ResourceManager.Authorization.Models
diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleDefinitionPermission.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleDefinitionPermission.cs
index 1b33a9b67d5fc..9cc6fc232db70 100644
--- a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleDefinitionPermission.cs
+++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleDefinitionPermission.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Authorization;
namespace Azure.ResourceManager.Authorization.Models
{
diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleDefinitionPermissionListResult.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleDefinitionPermissionListResult.cs
index 80ad55df45125..903c549ebf1ab 100644
--- a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleDefinitionPermissionListResult.cs
+++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleDefinitionPermissionListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Authorization;
namespace Azure.ResourceManager.Authorization.Models
{
diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleEligibilityScheduleInstanceListResult.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleEligibilityScheduleInstanceListResult.cs
index 174ad939bbc98..34a6f7e0adb6d 100644
--- a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleEligibilityScheduleInstanceListResult.cs
+++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleEligibilityScheduleInstanceListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Authorization;
namespace Azure.ResourceManager.Authorization.Models
diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleEligibilityScheduleListResult.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleEligibilityScheduleListResult.cs
index bf2a3d928f078..687917666ffbc 100644
--- a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleEligibilityScheduleListResult.cs
+++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleEligibilityScheduleListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Authorization;
namespace Azure.ResourceManager.Authorization.Models
diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleEligibilityScheduleRequestListResult.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleEligibilityScheduleRequestListResult.cs
index 5781d3c538a8f..b3b1b807f1e0e 100644
--- a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleEligibilityScheduleRequestListResult.cs
+++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleEligibilityScheduleRequestListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Authorization;
namespace Azure.ResourceManager.Authorization.Models
diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleManagementApprovalSettings.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleManagementApprovalSettings.cs
index 1f51f32387720..6b77403c16802 100644
--- a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleManagementApprovalSettings.cs
+++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleManagementApprovalSettings.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Authorization;
namespace Azure.ResourceManager.Authorization.Models
{
diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleManagementApprovalStage.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleManagementApprovalStage.cs
index 0d5c9f3115a92..1a9763de0526e 100644
--- a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleManagementApprovalStage.cs
+++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleManagementApprovalStage.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Authorization;
namespace Azure.ResourceManager.Authorization.Models
{
diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleManagementPolicyAssignmentListResult.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleManagementPolicyAssignmentListResult.cs
index c531f6693efe2..028c03d4dbc07 100644
--- a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleManagementPolicyAssignmentListResult.cs
+++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleManagementPolicyAssignmentListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Authorization;
namespace Azure.ResourceManager.Authorization.Models
diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleManagementPolicyEnablementRule.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleManagementPolicyEnablementRule.cs
index 392b709b109b0..9bc376cd511a6 100644
--- a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleManagementPolicyEnablementRule.cs
+++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleManagementPolicyEnablementRule.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Authorization;
namespace Azure.ResourceManager.Authorization.Models
{
diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleManagementPolicyListResult.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleManagementPolicyListResult.cs
index 043111c04c511..cb403bf685eb1 100644
--- a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleManagementPolicyListResult.cs
+++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleManagementPolicyListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Authorization;
namespace Azure.ResourceManager.Authorization.Models
diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleManagementPolicyNotificationRule.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleManagementPolicyNotificationRule.cs
index e906eee3f2d97..b255d6f07ec7f 100644
--- a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleManagementPolicyNotificationRule.cs
+++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleManagementPolicyNotificationRule.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Authorization;
namespace Azure.ResourceManager.Authorization.Models
{
diff --git a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleManagementPolicyRuleTarget.cs b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleManagementPolicyRuleTarget.cs
index 982fc6a7e870c..36be8331d5ddf 100644
--- a/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleManagementPolicyRuleTarget.cs
+++ b/sdk/authorization/Azure.ResourceManager.Authorization/src/Generated/Models/RoleManagementPolicyRuleTarget.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Authorization;
namespace Azure.ResourceManager.Authorization.Models
{
diff --git a/sdk/automanage/Azure.ResourceManager.Automanage/src/Generated/Internal/ChangeTrackingList.cs b/sdk/automanage/Azure.ResourceManager.Automanage/src/Generated/Internal/ChangeTrackingList.cs
new file mode 100644
index 0000000000000..0a63fe5aa28c6
--- /dev/null
+++ b/sdk/automanage/Azure.ResourceManager.Automanage/src/Generated/Internal/ChangeTrackingList.cs
@@ -0,0 +1,153 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace Azure.ResourceManager.Automanage
+{
+ internal class ChangeTrackingList : IList, IReadOnlyList
+ {
+ private IList _innerList;
+
+ public ChangeTrackingList()
+ {
+ }
+
+ public ChangeTrackingList(IList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList;
+ }
+ }
+
+ public ChangeTrackingList(IReadOnlyList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList.ToList();
+ }
+ }
+
+ public bool IsUndefined => _innerList == null;
+
+ public int Count => IsUndefined ? 0 : EnsureList().Count;
+
+ public bool IsReadOnly => IsUndefined ? false : EnsureList().IsReadOnly;
+
+ public T this[int index]
+ {
+ get
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ return EnsureList()[index];
+ }
+ set
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList()[index] = value;
+ }
+ }
+
+ public void Reset()
+ {
+ _innerList = null;
+ }
+
+ public IEnumerator GetEnumerator()
+ {
+ if (IsUndefined)
+ {
+ IEnumerator enumerateEmpty()
+ {
+ yield break;
+ }
+ return enumerateEmpty();
+ }
+ return EnsureList().GetEnumerator();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator()
+ {
+ return GetEnumerator();
+ }
+
+ public void Add(T item)
+ {
+ EnsureList().Add(item);
+ }
+
+ public void Clear()
+ {
+ EnsureList().Clear();
+ }
+
+ public bool Contains(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Contains(item);
+ }
+
+ public void CopyTo(T[] array, int arrayIndex)
+ {
+ if (IsUndefined)
+ {
+ return;
+ }
+ EnsureList().CopyTo(array, arrayIndex);
+ }
+
+ public bool Remove(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Remove(item);
+ }
+
+ public int IndexOf(T item)
+ {
+ if (IsUndefined)
+ {
+ return -1;
+ }
+ return EnsureList().IndexOf(item);
+ }
+
+ public void Insert(int index, T item)
+ {
+ EnsureList().Insert(index, item);
+ }
+
+ public void RemoveAt(int index)
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList().RemoveAt(index);
+ }
+
+ public IList EnsureList()
+ {
+ return _innerList ??= new List();
+ }
+ }
+}
diff --git a/sdk/automanage/Azure.ResourceManager.Automanage/src/Generated/Models/BestPracticeList.cs b/sdk/automanage/Azure.ResourceManager.Automanage/src/Generated/Models/BestPracticeList.cs
index 04b169f8cab8c..802043f0171c4 100644
--- a/sdk/automanage/Azure.ResourceManager.Automanage/src/Generated/Models/BestPracticeList.cs
+++ b/sdk/automanage/Azure.ResourceManager.Automanage/src/Generated/Models/BestPracticeList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Automanage;
namespace Azure.ResourceManager.Automanage.Models
diff --git a/sdk/automanage/Azure.ResourceManager.Automanage/src/Generated/Models/ConfigurationProfileAssignmentList.cs b/sdk/automanage/Azure.ResourceManager.Automanage/src/Generated/Models/ConfigurationProfileAssignmentList.cs
index 5882c6f893cc9..5e2e4942bc804 100644
--- a/sdk/automanage/Azure.ResourceManager.Automanage/src/Generated/Models/ConfigurationProfileAssignmentList.cs
+++ b/sdk/automanage/Azure.ResourceManager.Automanage/src/Generated/Models/ConfigurationProfileAssignmentList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Automanage;
namespace Azure.ResourceManager.Automanage.Models
diff --git a/sdk/automanage/Azure.ResourceManager.Automanage/src/Generated/Models/ConfigurationProfileList.cs b/sdk/automanage/Azure.ResourceManager.Automanage/src/Generated/Models/ConfigurationProfileList.cs
index f412b933adba4..7830fd25ce4d3 100644
--- a/sdk/automanage/Azure.ResourceManager.Automanage/src/Generated/Models/ConfigurationProfileList.cs
+++ b/sdk/automanage/Azure.ResourceManager.Automanage/src/Generated/Models/ConfigurationProfileList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Automanage;
namespace Azure.ResourceManager.Automanage.Models
diff --git a/sdk/automanage/Azure.ResourceManager.Automanage/src/Generated/Models/ReportList.cs b/sdk/automanage/Azure.ResourceManager.Automanage/src/Generated/Models/ReportList.cs
index e9a59b285ad9c..7df4291cde304 100644
--- a/sdk/automanage/Azure.ResourceManager.Automanage/src/Generated/Models/ReportList.cs
+++ b/sdk/automanage/Azure.ResourceManager.Automanage/src/Generated/Models/ReportList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Automanage;
namespace Azure.ResourceManager.Automanage.Models
diff --git a/sdk/automanage/Azure.ResourceManager.Automanage/src/Generated/Models/ServicePrincipalListResult.cs b/sdk/automanage/Azure.ResourceManager.Automanage/src/Generated/Models/ServicePrincipalListResult.cs
index c75b12876d9c7..e56a8a88c0444 100644
--- a/sdk/automanage/Azure.ResourceManager.Automanage/src/Generated/Models/ServicePrincipalListResult.cs
+++ b/sdk/automanage/Azure.ResourceManager.Automanage/src/Generated/Models/ServicePrincipalListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Automanage;
namespace Azure.ResourceManager.Automanage.Models
{
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Internal/ChangeTrackingList.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Internal/ChangeTrackingList.cs
new file mode 100644
index 0000000000000..05b1918bb5ac3
--- /dev/null
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Internal/ChangeTrackingList.cs
@@ -0,0 +1,153 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace Azure.ResourceManager.Automation
+{
+ internal class ChangeTrackingList : IList, IReadOnlyList
+ {
+ private IList _innerList;
+
+ public ChangeTrackingList()
+ {
+ }
+
+ public ChangeTrackingList(IList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList;
+ }
+ }
+
+ public ChangeTrackingList(IReadOnlyList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList.ToList();
+ }
+ }
+
+ public bool IsUndefined => _innerList == null;
+
+ public int Count => IsUndefined ? 0 : EnsureList().Count;
+
+ public bool IsReadOnly => IsUndefined ? false : EnsureList().IsReadOnly;
+
+ public T this[int index]
+ {
+ get
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ return EnsureList()[index];
+ }
+ set
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList()[index] = value;
+ }
+ }
+
+ public void Reset()
+ {
+ _innerList = null;
+ }
+
+ public IEnumerator GetEnumerator()
+ {
+ if (IsUndefined)
+ {
+ IEnumerator enumerateEmpty()
+ {
+ yield break;
+ }
+ return enumerateEmpty();
+ }
+ return EnsureList().GetEnumerator();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator()
+ {
+ return GetEnumerator();
+ }
+
+ public void Add(T item)
+ {
+ EnsureList().Add(item);
+ }
+
+ public void Clear()
+ {
+ EnsureList().Clear();
+ }
+
+ public bool Contains(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Contains(item);
+ }
+
+ public void CopyTo(T[] array, int arrayIndex)
+ {
+ if (IsUndefined)
+ {
+ return;
+ }
+ EnsureList().CopyTo(array, arrayIndex);
+ }
+
+ public bool Remove(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Remove(item);
+ }
+
+ public int IndexOf(T item)
+ {
+ if (IsUndefined)
+ {
+ return -1;
+ }
+ return EnsureList().IndexOf(item);
+ }
+
+ public void Insert(int index, T item)
+ {
+ EnsureList().Insert(index, item);
+ }
+
+ public void RemoveAt(int index)
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList().RemoveAt(index);
+ }
+
+ public IList EnsureList()
+ {
+ return _innerList ??= new List();
+ }
+ }
+}
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationAccountListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationAccountListResult.cs
index bbbe629e2bd43..6befab7b90b3f 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationAccountListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationAccountListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationAccountStatisticsListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationAccountStatisticsListResult.cs
index 1ed9b8e050225..4d513301e7c5f 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationAccountStatisticsListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationAccountStatisticsListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
{
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationActivity.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationActivity.cs
index 948c733e8aa55..3a09c1ca5333b 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationActivity.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationActivity.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
{
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationActivityListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationActivityListResult.cs
index 2a53dc5d2d67c..f15e22d1fa56a 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationActivityListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationActivityListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
{
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationActivityParameterDefinition.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationActivityParameterDefinition.cs
index b2301a5d8a6d1..dc3c8c73b57ce 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationActivityParameterDefinition.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationActivityParameterDefinition.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
{
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationActivityParameterSet.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationActivityParameterSet.cs
index d16e01d07b9de..0a41dcca1ed3f 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationActivityParameterSet.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationActivityParameterSet.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
{
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationAdvancedSchedule.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationAdvancedSchedule.cs
index 0541eafd7f183..ba3443c2592df 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationAdvancedSchedule.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationAdvancedSchedule.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
{
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationCertificateListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationCertificateListResult.cs
index 7e71d09ac1067..d3fa7ecebcdf3 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationCertificateListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationCertificateListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationConnectionListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationConnectionListResult.cs
index 225395cf46cd7..1ce26dcc70867 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationConnectionListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationConnectionListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationConnectionTypeListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationConnectionTypeListResult.cs
index bc1db19e965c4..dd978e6a84ace 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationConnectionTypeListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationConnectionTypeListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationCredentialListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationCredentialListResult.cs
index d3d3839a956d6..6e73d960d3c78 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationCredentialListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationCredentialListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationJobListResultV2.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationJobListResultV2.cs
index 655cb4638228f..ba46d40ab629b 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationJobListResultV2.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationJobListResultV2.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
{
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationJobScheduleListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationJobScheduleListResult.cs
index 209d91d1bd2ee..6c9ab5e75fdc4 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationJobScheduleListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationJobScheduleListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationJobStreamListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationJobStreamListResult.cs
index 8e28ace6b6c23..ed5428c4a2283 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationJobStreamListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationJobStreamListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
{
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationKeyListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationKeyListResult.cs
index 511cb7ab42468..2ab050507c661 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationKeyListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationKeyListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
{
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationModuleFieldListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationModuleFieldListResult.cs
index 12dfe67512341..3956047d64caa 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationModuleFieldListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationModuleFieldListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
{
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationModuleListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationModuleListResult.cs
index b2ba483b257eb..2e04d472a14f0 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationModuleListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationModuleListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationPrivateEndpointConnectionListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationPrivateEndpointConnectionListResult.cs
index 45f7af51a1cad..46d8a27f95ef4 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationPrivateEndpointConnectionListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationPrivateEndpointConnectionListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationPrivateLinkResource.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationPrivateLinkResource.cs
index aeba83cd1fba9..8144bb10a8b81 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationPrivateLinkResource.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationPrivateLinkResource.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.Automation;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.Automation.Models
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationPrivateLinkResourceListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationPrivateLinkResourceListResult.cs
index f74d1c81efe28..1c8654e9cd89d 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationPrivateLinkResourceListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationPrivateLinkResourceListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
{
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationRunbookDraft.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationRunbookDraft.cs
index 7f6b1557888b8..be6519ccc1a77 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationRunbookDraft.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationRunbookDraft.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
{
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationRunbookListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationRunbookListResult.cs
index 07b6a873b0f20..7e813a2eb4034 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationRunbookListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationRunbookListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationScheduleListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationScheduleListResult.cs
index 72e241fa201b7..20733cafe1183 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationScheduleListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationScheduleListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationSourceControlListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationSourceControlListResult.cs
index 308451d5877d0..f1e6fdf6280d9 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationSourceControlListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationSourceControlListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationUsageListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationUsageListResult.cs
index bcae7fdaff7df..d51a632398f13 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationUsageListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationUsageListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
{
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationVariableListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationVariableListResult.cs
index 1947e80b752dd..6eef7fee6ac16 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationVariableListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationVariableListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationWatcherListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationWatcherListResult.cs
index 75fff287eb248..fb3d305a1f301 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationWatcherListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationWatcherListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationWebhookListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationWebhookListResult.cs
index 8feac381dcbae..e004227aa6b5a 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationWebhookListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AutomationWebhookListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AzureQueryProperties.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AzureQueryProperties.cs
index 10153df5dca69..d4013e8a9271b 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AzureQueryProperties.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/AzureQueryProperties.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
{
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DeletedAutomationAccountListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DeletedAutomationAccountListResult.cs
index f13ed793959a5..c2994aca2d6b9 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DeletedAutomationAccountListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DeletedAutomationAccountListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
{
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DscCompilationJobListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DscCompilationJobListResult.cs
index 34cff157c3124..56fbc963722c3 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DscCompilationJobListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DscCompilationJobListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DscConfigurationListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DscConfigurationListResult.cs
index 7ad8e719fecf8..52f040b23c367 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DscConfigurationListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DscConfigurationListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DscNodeConfigurationListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DscNodeConfigurationListResult.cs
index 1ba923db02932..cc520441d63a9 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DscNodeConfigurationListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DscNodeConfigurationListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DscNodeCountListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DscNodeCountListResult.cs
index 4eeb95fc4258e..459d19c51766e 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DscNodeCountListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DscNodeCountListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
{
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DscNodeListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DscNodeListResult.cs
index c1107b011a196..7d54fcfbbeb16 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DscNodeListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DscNodeListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DscNodeReport.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DscNodeReport.cs
index b6c34096b7999..4cf92d8acbc08 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DscNodeReport.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DscNodeReport.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
{
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DscNodeReportListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DscNodeReportListResult.cs
index f96ed597787a5..d7e6e8a38762f 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DscNodeReportListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DscNodeReportListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
{
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DscReportResource.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DscReportResource.cs
index 426227d3e3336..a75d6ff400e83 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DscReportResource.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/DscReportResource.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
{
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/HybridRunbookWorkerGroupsListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/HybridRunbookWorkerGroupsListResult.cs
index bc643f52057ca..5beaf93cd4719 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/HybridRunbookWorkerGroupsListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/HybridRunbookWorkerGroupsListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/HybridRunbookWorkersListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/HybridRunbookWorkersListResult.cs
index 3c84077d9f228..b0850cc394786 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/HybridRunbookWorkersListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/HybridRunbookWorkersListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/LinuxUpdateConfigurationProperties.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/LinuxUpdateConfigurationProperties.cs
index e53c5c5b1a63d..7fa3607384b21 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/LinuxUpdateConfigurationProperties.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/LinuxUpdateConfigurationProperties.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
{
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/SoftwareUpdateConfigurationListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/SoftwareUpdateConfigurationListResult.cs
index dc872506aa09a..06831d0763df9 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/SoftwareUpdateConfigurationListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/SoftwareUpdateConfigurationListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
{
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/SoftwareUpdateConfigurationMachineRunListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/SoftwareUpdateConfigurationMachineRunListResult.cs
index ff28400d010e6..65a2a991eacfd 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/SoftwareUpdateConfigurationMachineRunListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/SoftwareUpdateConfigurationMachineRunListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
{
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/SoftwareUpdateConfigurationRunListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/SoftwareUpdateConfigurationRunListResult.cs
index 5e2ee5037aca2..9f4e1f73a87d0 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/SoftwareUpdateConfigurationRunListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/SoftwareUpdateConfigurationRunListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
{
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/SoftwareUpdateConfigurationSpecificProperties.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/SoftwareUpdateConfigurationSpecificProperties.cs
index 4bf23ffc3e312..ab5fea651b078 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/SoftwareUpdateConfigurationSpecificProperties.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/SoftwareUpdateConfigurationSpecificProperties.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
{
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/SoftwareUpdateConfigurationTargetProperties.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/SoftwareUpdateConfigurationTargetProperties.cs
index 99a562633670a..ee1ea0a219fb3 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/SoftwareUpdateConfigurationTargetProperties.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/SoftwareUpdateConfigurationTargetProperties.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
{
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/SourceControlSyncJobListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/SourceControlSyncJobListResult.cs
index 3b7d2e8c3d9af..fe9c3efd3bd1a 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/SourceControlSyncJobListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/SourceControlSyncJobListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
{
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/SourceControlSyncJobStreamListResult.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/SourceControlSyncJobStreamListResult.cs
index d8f21f8e8e1e3..2acbbc7d1c598 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/SourceControlSyncJobStreamListResult.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/SourceControlSyncJobStreamListResult.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
{
diff --git a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/WindowsUpdateConfigurationProperties.cs b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/WindowsUpdateConfigurationProperties.cs
index f2be8cb20dff3..005d34720c94e 100644
--- a/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/WindowsUpdateConfigurationProperties.cs
+++ b/sdk/automation/Azure.ResourceManager.Automation/src/Generated/Models/WindowsUpdateConfigurationProperties.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Automation;
namespace Azure.ResourceManager.Automation.Models
{
diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Internal/ChangeTrackingList.cs b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Internal/ChangeTrackingList.cs
new file mode 100644
index 0000000000000..bb33d13661ab5
--- /dev/null
+++ b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Internal/ChangeTrackingList.cs
@@ -0,0 +1,153 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace Azure.ResourceManager.Avs
+{
+ internal class ChangeTrackingList : IList, IReadOnlyList
+ {
+ private IList _innerList;
+
+ public ChangeTrackingList()
+ {
+ }
+
+ public ChangeTrackingList(IList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList;
+ }
+ }
+
+ public ChangeTrackingList(IReadOnlyList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList.ToList();
+ }
+ }
+
+ public bool IsUndefined => _innerList == null;
+
+ public int Count => IsUndefined ? 0 : EnsureList().Count;
+
+ public bool IsReadOnly => IsUndefined ? false : EnsureList().IsReadOnly;
+
+ public T this[int index]
+ {
+ get
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ return EnsureList()[index];
+ }
+ set
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList()[index] = value;
+ }
+ }
+
+ public void Reset()
+ {
+ _innerList = null;
+ }
+
+ public IEnumerator GetEnumerator()
+ {
+ if (IsUndefined)
+ {
+ IEnumerator enumerateEmpty()
+ {
+ yield break;
+ }
+ return enumerateEmpty();
+ }
+ return EnsureList().GetEnumerator();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator()
+ {
+ return GetEnumerator();
+ }
+
+ public void Add(T item)
+ {
+ EnsureList().Add(item);
+ }
+
+ public void Clear()
+ {
+ EnsureList().Clear();
+ }
+
+ public bool Contains(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Contains(item);
+ }
+
+ public void CopyTo(T[] array, int arrayIndex)
+ {
+ if (IsUndefined)
+ {
+ return;
+ }
+ EnsureList().CopyTo(array, arrayIndex);
+ }
+
+ public bool Remove(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Remove(item);
+ }
+
+ public int IndexOf(T item)
+ {
+ if (IsUndefined)
+ {
+ return -1;
+ }
+ return EnsureList().IndexOf(item);
+ }
+
+ public void Insert(int index, T item)
+ {
+ EnsureList().Insert(index, item);
+ }
+
+ public void RemoveAt(int index)
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList().RemoveAt(index);
+ }
+
+ public IList EnsureList()
+ {
+ return _innerList ??= new List();
+ }
+ }
+}
diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/AddonList.cs b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/AddonList.cs
index 4806b8a90046e..4c12c0cf6d952 100644
--- a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/AddonList.cs
+++ b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/AddonList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Avs;
namespace Azure.ResourceManager.Avs.Models
diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/AvsClusterZone.cs b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/AvsClusterZone.cs
index 35a3585a5c5a8..2993d4f40d258 100644
--- a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/AvsClusterZone.cs
+++ b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/AvsClusterZone.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Avs;
namespace Azure.ResourceManager.Avs.Models
{
diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/AvsPrivateCloudClusterPatch.cs b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/AvsPrivateCloudClusterPatch.cs
index 481e519dc07fc..39485e2c38b14 100644
--- a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/AvsPrivateCloudClusterPatch.cs
+++ b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/AvsPrivateCloudClusterPatch.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Avs;
namespace Azure.ResourceManager.Avs.Models
{
diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/AvsPrivateCloudPatch.cs b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/AvsPrivateCloudPatch.cs
index 4cf7b378bc180..a08393290d6d9 100644
--- a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/AvsPrivateCloudPatch.cs
+++ b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/AvsPrivateCloudPatch.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.Avs;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.Avs.Models
diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/CloudLinkList.cs b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/CloudLinkList.cs
index 244d3850042bb..0ac0e955f8fe5 100644
--- a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/CloudLinkList.cs
+++ b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/CloudLinkList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Avs;
namespace Azure.ResourceManager.Avs.Models
diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/ClusterList.cs b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/ClusterList.cs
index fbcb93f2e63aa..6df816d292b14 100644
--- a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/ClusterList.cs
+++ b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/ClusterList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Avs;
namespace Azure.ResourceManager.Avs.Models
diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/ClusterZoneList.cs b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/ClusterZoneList.cs
index 59c0e7eeba162..038735a8f55d6 100644
--- a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/ClusterZoneList.cs
+++ b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/ClusterZoneList.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Avs;
namespace Azure.ResourceManager.Avs.Models
{
diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/CommonClusterProperties.cs b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/CommonClusterProperties.cs
index db852fa886da5..5d6467578f86b 100644
--- a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/CommonClusterProperties.cs
+++ b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/CommonClusterProperties.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Avs;
namespace Azure.ResourceManager.Avs.Models
{
diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/DatastoreList.cs b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/DatastoreList.cs
index 818ebdc5355f0..cc1967ad4d54a 100644
--- a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/DatastoreList.cs
+++ b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/DatastoreList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Avs;
namespace Azure.ResourceManager.Avs.Models
diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/ExpressRouteAuthorizationList.cs b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/ExpressRouteAuthorizationList.cs
index 1a497f7714609..0cc98aff7bada 100644
--- a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/ExpressRouteAuthorizationList.cs
+++ b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/ExpressRouteAuthorizationList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Avs;
namespace Azure.ResourceManager.Avs.Models
diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/GlobalReachConnectionList.cs b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/GlobalReachConnectionList.cs
index 987a9b4bd3b0a..28320d909d94f 100644
--- a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/GlobalReachConnectionList.cs
+++ b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/GlobalReachConnectionList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Avs;
namespace Azure.ResourceManager.Avs.Models
diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/HcxEnterpriseSiteList.cs b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/HcxEnterpriseSiteList.cs
index 6993895f913d7..29580bc26d951 100644
--- a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/HcxEnterpriseSiteList.cs
+++ b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/HcxEnterpriseSiteList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Avs;
namespace Azure.ResourceManager.Avs.Models
diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/PlacementPoliciesList.cs b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/PlacementPoliciesList.cs
index 5f91221fb1292..826e92b5e5984 100644
--- a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/PlacementPoliciesList.cs
+++ b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/PlacementPoliciesList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Avs;
namespace Azure.ResourceManager.Avs.Models
diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/PlacementPolicyPatch.cs b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/PlacementPolicyPatch.cs
index 9845898b43d3b..3d26830973b4e 100644
--- a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/PlacementPolicyPatch.cs
+++ b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/PlacementPolicyPatch.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.Avs;
namespace Azure.ResourceManager.Avs.Models
{
diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/PrivateCloudList.cs b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/PrivateCloudList.cs
index 644c34ca179b0..b5f03f0251a49 100644
--- a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/PrivateCloudList.cs
+++ b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/PrivateCloudList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Avs;
namespace Azure.ResourceManager.Avs.Models
diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/ScriptCmdletsList.cs b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/ScriptCmdletsList.cs
index be9be4b3fc63b..4dbe7b53e21c7 100644
--- a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/ScriptCmdletsList.cs
+++ b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/ScriptCmdletsList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Avs;
namespace Azure.ResourceManager.Avs.Models
diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/ScriptExecutionsList.cs b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/ScriptExecutionsList.cs
index 481af0660a84c..a92597b8bbbbe 100644
--- a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/ScriptExecutionsList.cs
+++ b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/ScriptExecutionsList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Avs;
namespace Azure.ResourceManager.Avs.Models
diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/ScriptPackagesList.cs b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/ScriptPackagesList.cs
index 82cc36c78fc77..c14c633e5fd70 100644
--- a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/ScriptPackagesList.cs
+++ b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/ScriptPackagesList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Avs;
namespace Azure.ResourceManager.Avs.Models
diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/VirtualMachinesList.cs b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/VirtualMachinesList.cs
index f9aa0c5c5b284..eec86ed9a21b9 100644
--- a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/VirtualMachinesList.cs
+++ b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/VirtualMachinesList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Avs;
namespace Azure.ResourceManager.Avs.Models
diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkDhcpEntity.cs b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkDhcpEntity.cs
index 9bc2b6bbcff6d..97c624dcf2347 100644
--- a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkDhcpEntity.cs
+++ b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkDhcpEntity.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Avs;
namespace Azure.ResourceManager.Avs.Models
{
diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkDhcpList.cs b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkDhcpList.cs
index dd956e076806c..e30bc6196b0a0 100644
--- a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkDhcpList.cs
+++ b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkDhcpList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Avs;
namespace Azure.ResourceManager.Avs.Models
diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkDhcpRelay.cs b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkDhcpRelay.cs
index 3977fc01d84b9..9fed121e94ac8 100644
--- a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkDhcpRelay.cs
+++ b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkDhcpRelay.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Avs;
namespace Azure.ResourceManager.Avs.Models
{
diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkDnsServicesList.cs b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkDnsServicesList.cs
index 51baf3e12e545..d8abbb3b2bd1e 100644
--- a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkDnsServicesList.cs
+++ b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkDnsServicesList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Avs;
namespace Azure.ResourceManager.Avs.Models
diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkDnsZonesList.cs b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkDnsZonesList.cs
index 3b10c4dd65037..b37f3d85b1e60 100644
--- a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkDnsZonesList.cs
+++ b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkDnsZonesList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Avs;
namespace Azure.ResourceManager.Avs.Models
diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkGatewayList.cs b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkGatewayList.cs
index 7098844143ffe..a56d05ed9bc7b 100644
--- a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkGatewayList.cs
+++ b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkGatewayList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Avs;
namespace Azure.ResourceManager.Avs.Models
diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkList.cs b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkList.cs
index a30808de7fe64..589c253ed206e 100644
--- a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkList.cs
+++ b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Avs;
namespace Azure.ResourceManager.Avs.Models
diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkPortMirroringList.cs b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkPortMirroringList.cs
index e0caca633a289..048bd69f447d9 100644
--- a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkPortMirroringList.cs
+++ b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkPortMirroringList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Avs;
namespace Azure.ResourceManager.Avs.Models
diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkPublicIPsList.cs b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkPublicIPsList.cs
index 2c2f4938ca8ce..4574ae7732b3c 100644
--- a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkPublicIPsList.cs
+++ b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkPublicIPsList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Avs;
namespace Azure.ResourceManager.Avs.Models
diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkSegmentSubnet.cs b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkSegmentSubnet.cs
index b5b8c8423f15a..18a9b357f16cc 100644
--- a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkSegmentSubnet.cs
+++ b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkSegmentSubnet.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Avs;
namespace Azure.ResourceManager.Avs.Models
{
diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkSegmentsList.cs b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkSegmentsList.cs
index 7b9d86d197d6f..c0e950bbdc272 100644
--- a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkSegmentsList.cs
+++ b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkSegmentsList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Avs;
namespace Azure.ResourceManager.Avs.Models
diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkVirtualMachinesList.cs b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkVirtualMachinesList.cs
index 7534d19304926..b6797750959d1 100644
--- a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkVirtualMachinesList.cs
+++ b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkVirtualMachinesList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Avs;
namespace Azure.ResourceManager.Avs.Models
diff --git a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkVmGroupsList.cs b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkVmGroupsList.cs
index 01a379410b652..baf7a067475d3 100644
--- a/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkVmGroupsList.cs
+++ b/sdk/avs/Azure.ResourceManager.Avs/src/Generated/Models/WorkloadNetworkVmGroupsList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Avs;
namespace Azure.ResourceManager.Avs.Models
diff --git a/sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/src/Generated/Internal/ChangeTrackingList.cs b/sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/src/Generated/Internal/ChangeTrackingList.cs
new file mode 100644
index 0000000000000..16b32b378b220
--- /dev/null
+++ b/sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/src/Generated/Internal/ChangeTrackingList.cs
@@ -0,0 +1,153 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace Azure.ResourceManager.LargeInstance
+{
+ internal class ChangeTrackingList : IList, IReadOnlyList
+ {
+ private IList _innerList;
+
+ public ChangeTrackingList()
+ {
+ }
+
+ public ChangeTrackingList(IList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList;
+ }
+ }
+
+ public ChangeTrackingList(IReadOnlyList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList.ToList();
+ }
+ }
+
+ public bool IsUndefined => _innerList == null;
+
+ public int Count => IsUndefined ? 0 : EnsureList().Count;
+
+ public bool IsReadOnly => IsUndefined ? false : EnsureList().IsReadOnly;
+
+ public T this[int index]
+ {
+ get
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ return EnsureList()[index];
+ }
+ set
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList()[index] = value;
+ }
+ }
+
+ public void Reset()
+ {
+ _innerList = null;
+ }
+
+ public IEnumerator GetEnumerator()
+ {
+ if (IsUndefined)
+ {
+ IEnumerator enumerateEmpty()
+ {
+ yield break;
+ }
+ return enumerateEmpty();
+ }
+ return EnsureList().GetEnumerator();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator()
+ {
+ return GetEnumerator();
+ }
+
+ public void Add(T item)
+ {
+ EnsureList().Add(item);
+ }
+
+ public void Clear()
+ {
+ EnsureList().Clear();
+ }
+
+ public bool Contains(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Contains(item);
+ }
+
+ public void CopyTo(T[] array, int arrayIndex)
+ {
+ if (IsUndefined)
+ {
+ return;
+ }
+ EnsureList().CopyTo(array, arrayIndex);
+ }
+
+ public bool Remove(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Remove(item);
+ }
+
+ public int IndexOf(T item)
+ {
+ if (IsUndefined)
+ {
+ return -1;
+ }
+ return EnsureList().IndexOf(item);
+ }
+
+ public void Insert(int index, T item)
+ {
+ EnsureList().Insert(index, item);
+ }
+
+ public void RemoveAt(int index)
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList().RemoveAt(index);
+ }
+
+ public IList EnsureList()
+ {
+ return _innerList ??= new List();
+ }
+ }
+}
diff --git a/sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/src/Generated/Models/LargeInstanceNetworkProfile.cs b/sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/src/Generated/Models/LargeInstanceNetworkProfile.cs
index 7ee4d1ea27b68..d345b431b82cb 100644
--- a/sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/src/Generated/Models/LargeInstanceNetworkProfile.cs
+++ b/sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/src/Generated/Models/LargeInstanceNetworkProfile.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.LargeInstance;
namespace Azure.ResourceManager.LargeInstance.Models
{
diff --git a/sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/src/Generated/Models/LargeInstanceOperationStatusResult.cs b/sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/src/Generated/Models/LargeInstanceOperationStatusResult.cs
index 3def4c3cb8088..577cc619cc01a 100644
--- a/sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/src/Generated/Models/LargeInstanceOperationStatusResult.cs
+++ b/sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/src/Generated/Models/LargeInstanceOperationStatusResult.cs
@@ -9,6 +9,7 @@
using System.Collections.Generic;
using Azure;
using Azure.Core;
+using Azure.ResourceManager.LargeInstance;
namespace Azure.ResourceManager.LargeInstance.Models
{
diff --git a/sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/src/Generated/Models/LargeInstanceStorageProfile.cs b/sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/src/Generated/Models/LargeInstanceStorageProfile.cs
index d9e15e63edf10..8a98f7aa82a34 100644
--- a/sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/src/Generated/Models/LargeInstanceStorageProfile.cs
+++ b/sdk/azurelargeinstance/Azure.ResourceManager.LargeInstance/src/Generated/Models/LargeInstanceStorageProfile.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.LargeInstance;
namespace Azure.ResourceManager.LargeInstance.Models
{
diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Internal/ChangeTrackingList.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Internal/ChangeTrackingList.cs
new file mode 100644
index 0000000000000..62058a870174f
--- /dev/null
+++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Internal/ChangeTrackingList.cs
@@ -0,0 +1,153 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace Azure.ResourceManager.Hci
+{
+ internal class ChangeTrackingList : IList, IReadOnlyList
+ {
+ private IList _innerList;
+
+ public ChangeTrackingList()
+ {
+ }
+
+ public ChangeTrackingList(IList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList;
+ }
+ }
+
+ public ChangeTrackingList(IReadOnlyList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList.ToList();
+ }
+ }
+
+ public bool IsUndefined => _innerList == null;
+
+ public int Count => IsUndefined ? 0 : EnsureList().Count;
+
+ public bool IsReadOnly => IsUndefined ? false : EnsureList().IsReadOnly;
+
+ public T this[int index]
+ {
+ get
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ return EnsureList()[index];
+ }
+ set
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList()[index] = value;
+ }
+ }
+
+ public void Reset()
+ {
+ _innerList = null;
+ }
+
+ public IEnumerator GetEnumerator()
+ {
+ if (IsUndefined)
+ {
+ IEnumerator enumerateEmpty()
+ {
+ yield break;
+ }
+ return enumerateEmpty();
+ }
+ return EnsureList().GetEnumerator();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator()
+ {
+ return GetEnumerator();
+ }
+
+ public void Add(T item)
+ {
+ EnsureList().Add(item);
+ }
+
+ public void Clear()
+ {
+ EnsureList().Clear();
+ }
+
+ public bool Contains(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Contains(item);
+ }
+
+ public void CopyTo(T[] array, int arrayIndex)
+ {
+ if (IsUndefined)
+ {
+ return;
+ }
+ EnsureList().CopyTo(array, arrayIndex);
+ }
+
+ public bool Remove(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Remove(item);
+ }
+
+ public int IndexOf(T item)
+ {
+ if (IsUndefined)
+ {
+ return -1;
+ }
+ return EnsureList().IndexOf(item);
+ }
+
+ public void Insert(int index, T item)
+ {
+ EnsureList().Insert(index, item);
+ }
+
+ public void RemoveAt(int index)
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList().RemoveAt(index);
+ }
+
+ public IList EnsureList()
+ {
+ return _innerList ??= new List();
+ }
+ }
+}
diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/ArcExtensionListResult.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/ArcExtensionListResult.cs
index 616b655b42724..4d49618acb2da 100644
--- a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/ArcExtensionListResult.cs
+++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/ArcExtensionListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Hci;
namespace Azure.ResourceManager.Hci.Models
diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/ArcSettingList.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/ArcSettingList.cs
index cdbb825d8af0e..015b8134d5fe4 100644
--- a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/ArcSettingList.cs
+++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/ArcSettingList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Hci;
namespace Azure.ResourceManager.Hci.Models
diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/GalleryImagesListResult.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/GalleryImagesListResult.cs
index 6740786fc94b1..dda7c23965df9 100644
--- a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/GalleryImagesListResult.cs
+++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/GalleryImagesListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Hci;
namespace Azure.ResourceManager.Hci.Models
diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/GuestAgentInstallStatus.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/GuestAgentInstallStatus.cs
index 2d09f64f272cf..46b12b54b38c8 100644
--- a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/GuestAgentInstallStatus.cs
+++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/GuestAgentInstallStatus.cs
@@ -8,7 +8,7 @@
using System;
using System.Collections.Generic;
using Azure;
-using Azure.Core;
+using Azure.ResourceManager.Hci;
namespace Azure.ResourceManager.Hci.Models
{
diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciClusterListResult.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciClusterListResult.cs
index 3d9f5f13c7c42..76f0bb4d01a4f 100644
--- a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciClusterListResult.cs
+++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciClusterListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Hci;
namespace Azure.ResourceManager.Hci.Models
diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciClusterRawCertificate.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciClusterRawCertificate.cs
index 195f58c0f5c46..44210ac17a0c8 100644
--- a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciClusterRawCertificate.cs
+++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciClusterRawCertificate.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Hci;
namespace Azure.ResourceManager.Hci.Models
{
diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciClusterReportedProperties.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciClusterReportedProperties.cs
index cedb785483500..f9a38052cbe39 100644
--- a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciClusterReportedProperties.cs
+++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciClusterReportedProperties.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Hci;
namespace Azure.ResourceManager.Hci.Models
{
diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciOfferList.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciOfferList.cs
index 72f89614a4835..a97d3ac9bdaa4 100644
--- a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciOfferList.cs
+++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciOfferList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Hci;
namespace Azure.ResourceManager.Hci.Models
diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciPublisherList.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciPublisherList.cs
index aee408b68b61f..c46da1a2b7505 100644
--- a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciPublisherList.cs
+++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciPublisherList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Hci;
namespace Azure.ResourceManager.Hci.Models
diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciSkuList.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciSkuList.cs
index 9c2f84874079b..1546e60fce315 100644
--- a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciSkuList.cs
+++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciSkuList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Hci;
namespace Azure.ResourceManager.Hci.Models
diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciSkuMappings.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciSkuMappings.cs
index 865990ff65f81..5cbba14eab563 100644
--- a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciSkuMappings.cs
+++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciSkuMappings.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Hci;
namespace Azure.ResourceManager.Hci.Models
{
diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciUpdateList.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciUpdateList.cs
index 0bd03b9cbacc3..46ed85ef9686d 100644
--- a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciUpdateList.cs
+++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciUpdateList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Hci;
namespace Azure.ResourceManager.Hci.Models
diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciUpdateStep.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciUpdateStep.cs
index e555c5c1b55b4..73e1cfd7058f7 100644
--- a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciUpdateStep.cs
+++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HciUpdateStep.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Hci;
namespace Azure.ResourceManager.Hci.Models
{
diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HttpProxyConfiguration.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HttpProxyConfiguration.cs
index 0fb832dfe9d9c..71ab780ddcc0d 100644
--- a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HttpProxyConfiguration.cs
+++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/HttpProxyConfiguration.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Hci;
namespace Azure.ResourceManager.Hci.Models
{
diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/InterfaceDnsSettings.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/InterfaceDnsSettings.cs
index 90e33dda7f12c..480165a459ad1 100644
--- a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/InterfaceDnsSettings.cs
+++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/InterfaceDnsSettings.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Hci;
namespace Azure.ResourceManager.Hci.Models
{
diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/LogicalNetworkPropertiesDhcpOptions.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/LogicalNetworkPropertiesDhcpOptions.cs
index 66f884940a6bc..53ba52cad64bf 100644
--- a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/LogicalNetworkPropertiesDhcpOptions.cs
+++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/LogicalNetworkPropertiesDhcpOptions.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Hci;
namespace Azure.ResourceManager.Hci.Models
{
diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/LogicalNetworksListResult.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/LogicalNetworksListResult.cs
index 5b474971b5a79..d2d8a17bc9be4 100644
--- a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/LogicalNetworksListResult.cs
+++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/LogicalNetworksListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Hci;
namespace Azure.ResourceManager.Hci.Models
diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/MarketplaceGalleryImagesListResult.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/MarketplaceGalleryImagesListResult.cs
index 99370713342c0..02748920cce68 100644
--- a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/MarketplaceGalleryImagesListResult.cs
+++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/MarketplaceGalleryImagesListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Hci;
namespace Azure.ResourceManager.Hci.Models
diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/NetworkInterfacesListResult.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/NetworkInterfacesListResult.cs
index ffd40120c2f7e..61ae1e8dcb096 100644
--- a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/NetworkInterfacesListResult.cs
+++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/NetworkInterfacesListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Hci;
namespace Azure.ResourceManager.Hci.Models
diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/NetworkProfileUpdate.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/NetworkProfileUpdate.cs
index 777df49c9e5ae..3c72f8c2a7092 100644
--- a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/NetworkProfileUpdate.cs
+++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/NetworkProfileUpdate.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Hci;
using Azure.ResourceManager.Resources.Models;
namespace Azure.ResourceManager.Hci.Models
diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/RouteTable.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/RouteTable.cs
index 81bb9e1ed1db8..a96d91a7147bf 100644
--- a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/RouteTable.cs
+++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/RouteTable.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Hci;
namespace Azure.ResourceManager.Hci.Models
{
diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/SshConfiguration.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/SshConfiguration.cs
index 8655f4015be20..60d3886e1465c 100644
--- a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/SshConfiguration.cs
+++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/SshConfiguration.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Hci;
namespace Azure.ResourceManager.Hci.Models
{
diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/StorageContainersListResult.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/StorageContainersListResult.cs
index c281a7cbabd23..a8dfa3fe664de 100644
--- a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/StorageContainersListResult.cs
+++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/StorageContainersListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Hci;
namespace Azure.ResourceManager.Hci.Models
diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/StorageProfileUpdate.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/StorageProfileUpdate.cs
index 7fcdde94cd328..2884140d5beff 100644
--- a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/StorageProfileUpdate.cs
+++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/StorageProfileUpdate.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Hci;
using Azure.ResourceManager.Resources.Models;
namespace Azure.ResourceManager.Hci.Models
diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/Subnet.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/Subnet.cs
index 52cafe608f35c..f1d24317a89cf 100644
--- a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/Subnet.cs
+++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/Subnet.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Hci;
using Azure.ResourceManager.Resources.Models;
namespace Azure.ResourceManager.Hci.Models
diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/UpdateRunList.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/UpdateRunList.cs
index d9e406cfcb260..4d5c4d3bf5f42 100644
--- a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/UpdateRunList.cs
+++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/UpdateRunList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Hci;
namespace Azure.ResourceManager.Hci.Models
diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/UpdateSummariesList.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/UpdateSummariesList.cs
index 2544149b7db9a..ca4ebeb54b7c2 100644
--- a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/UpdateSummariesList.cs
+++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/UpdateSummariesList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Hci;
namespace Azure.ResourceManager.Hci.Models
diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/VirtualHardDisksListResult.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/VirtualHardDisksListResult.cs
index 7b476528714ce..ab1feabdc5b0d 100644
--- a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/VirtualHardDisksListResult.cs
+++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/VirtualHardDisksListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Hci;
namespace Azure.ResourceManager.Hci.Models
diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/VirtualMachineConfigAgentInstanceView.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/VirtualMachineConfigAgentInstanceView.cs
index 94e61fc43ca9b..a52b633f4a664 100644
--- a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/VirtualMachineConfigAgentInstanceView.cs
+++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/VirtualMachineConfigAgentInstanceView.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Hci;
namespace Azure.ResourceManager.Hci.Models
{
diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/VirtualMachineInstanceListResult.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/VirtualMachineInstanceListResult.cs
index 78358bb527819..37f2ac22fd654 100644
--- a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/VirtualMachineInstanceListResult.cs
+++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/VirtualMachineInstanceListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Hci;
namespace Azure.ResourceManager.Hci.Models
diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/VirtualMachineInstancePropertiesNetworkProfile.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/VirtualMachineInstancePropertiesNetworkProfile.cs
index d97cc24ab7e6b..d043caa295033 100644
--- a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/VirtualMachineInstancePropertiesNetworkProfile.cs
+++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/VirtualMachineInstancePropertiesNetworkProfile.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Hci;
using Azure.ResourceManager.Resources.Models;
namespace Azure.ResourceManager.Hci.Models
diff --git a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/VirtualMachineInstancePropertiesStorageProfile.cs b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/VirtualMachineInstancePropertiesStorageProfile.cs
index a5ae2e33757ac..468bbd783f453 100644
--- a/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/VirtualMachineInstancePropertiesStorageProfile.cs
+++ b/sdk/azurestackhci/Azure.ResourceManager.Hci/src/Generated/Models/VirtualMachineInstancePropertiesStorageProfile.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.Hci;
using Azure.ResourceManager.Resources.Models;
namespace Azure.ResourceManager.Hci.Models
diff --git a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Internal/ChangeTrackingList.cs b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Internal/ChangeTrackingList.cs
new file mode 100644
index 0000000000000..4cc9691af9207
--- /dev/null
+++ b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Internal/ChangeTrackingList.cs
@@ -0,0 +1,153 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace Azure.ResourceManager.Batch
+{
+ internal class ChangeTrackingList : IList, IReadOnlyList
+ {
+ private IList _innerList;
+
+ public ChangeTrackingList()
+ {
+ }
+
+ public ChangeTrackingList(IList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList;
+ }
+ }
+
+ public ChangeTrackingList(IReadOnlyList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList.ToList();
+ }
+ }
+
+ public bool IsUndefined => _innerList == null;
+
+ public int Count => IsUndefined ? 0 : EnsureList().Count;
+
+ public bool IsReadOnly => IsUndefined ? false : EnsureList().IsReadOnly;
+
+ public T this[int index]
+ {
+ get
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ return EnsureList()[index];
+ }
+ set
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList()[index] = value;
+ }
+ }
+
+ public void Reset()
+ {
+ _innerList = null;
+ }
+
+ public IEnumerator GetEnumerator()
+ {
+ if (IsUndefined)
+ {
+ IEnumerator enumerateEmpty()
+ {
+ yield break;
+ }
+ return enumerateEmpty();
+ }
+ return EnsureList().GetEnumerator();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator()
+ {
+ return GetEnumerator();
+ }
+
+ public void Add(T item)
+ {
+ EnsureList().Add(item);
+ }
+
+ public void Clear()
+ {
+ EnsureList().Clear();
+ }
+
+ public bool Contains(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Contains(item);
+ }
+
+ public void CopyTo(T[] array, int arrayIndex)
+ {
+ if (IsUndefined)
+ {
+ return;
+ }
+ EnsureList().CopyTo(array, arrayIndex);
+ }
+
+ public bool Remove(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Remove(item);
+ }
+
+ public int IndexOf(T item)
+ {
+ if (IsUndefined)
+ {
+ return -1;
+ }
+ return EnsureList().IndexOf(item);
+ }
+
+ public void Insert(int index, T item)
+ {
+ EnsureList().Insert(index, item);
+ }
+
+ public void RemoveAt(int index)
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList().RemoveAt(index);
+ }
+
+ public IList EnsureList()
+ {
+ return _innerList ??= new List();
+ }
+ }
+}
diff --git a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchAccountCreateOrUpdateContent.cs b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchAccountCreateOrUpdateContent.cs
index 70b121dc09d6a..ab52e58ed81e6 100644
--- a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchAccountCreateOrUpdateContent.cs
+++ b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchAccountCreateOrUpdateContent.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.Batch;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.Batch.Models
diff --git a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchAccountEndpointDependency.cs b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchAccountEndpointDependency.cs
index ca72d4dec6561..c83d73fc383e8 100644
--- a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchAccountEndpointDependency.cs
+++ b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchAccountEndpointDependency.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Batch;
namespace Azure.ResourceManager.Batch.Models
{
diff --git a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchAccountListResult.cs b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchAccountListResult.cs
index 3f113951a3d95..656b569195af1 100644
--- a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchAccountListResult.cs
+++ b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchAccountListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Batch;
namespace Azure.ResourceManager.Batch.Models
diff --git a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchAccountOutboundEnvironmentEndpoint.cs b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchAccountOutboundEnvironmentEndpoint.cs
index ec23397611ffb..321cd298f9c9e 100644
--- a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchAccountOutboundEnvironmentEndpoint.cs
+++ b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchAccountOutboundEnvironmentEndpoint.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Batch;
namespace Azure.ResourceManager.Batch.Models
{
diff --git a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchAccountPatch.cs b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchAccountPatch.cs
index 4762c3518bca8..6120f82c4cdf9 100644
--- a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchAccountPatch.cs
+++ b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchAccountPatch.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.Batch;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.Batch.Models
diff --git a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchAccountPoolStartTask.cs b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchAccountPoolStartTask.cs
index d2cb17139b014..9f14d9c0cf39a 100644
--- a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchAccountPoolStartTask.cs
+++ b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchAccountPoolStartTask.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Batch;
namespace Azure.ResourceManager.Batch.Models
{
diff --git a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchCertificateReference.cs b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchCertificateReference.cs
index 2a405055ad05e..307afb040904c 100644
--- a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchCertificateReference.cs
+++ b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchCertificateReference.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.Batch;
namespace Azure.ResourceManager.Batch.Models
{
diff --git a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchEndpointAccessProfile.cs b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchEndpointAccessProfile.cs
index 580d1fd4fd70c..40bdca8f2561f 100644
--- a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchEndpointAccessProfile.cs
+++ b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchEndpointAccessProfile.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Batch;
namespace Azure.ResourceManager.Batch.Models
{
diff --git a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchInboundNatPool.cs b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchInboundNatPool.cs
index 5ba042abd25dc..1cbc9089379ec 100644
--- a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchInboundNatPool.cs
+++ b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchInboundNatPool.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Batch;
namespace Azure.ResourceManager.Batch.Models
{
diff --git a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchNetworkSecurityGroupRule.cs b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchNetworkSecurityGroupRule.cs
index 3f80af0918fbb..ef739f8eaf1b6 100644
--- a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchNetworkSecurityGroupRule.cs
+++ b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchNetworkSecurityGroupRule.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Batch;
namespace Azure.ResourceManager.Batch.Models
{
diff --git a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchPublicIPAddressConfiguration.cs b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchPublicIPAddressConfiguration.cs
index e1dca2f0df24a..b075fcd077b0f 100644
--- a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchPublicIPAddressConfiguration.cs
+++ b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchPublicIPAddressConfiguration.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.Batch;
namespace Azure.ResourceManager.Batch.Models
{
diff --git a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchResizeOperationStatus.cs b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchResizeOperationStatus.cs
index 352e7ab3f717c..59f0544b8fbb7 100644
--- a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchResizeOperationStatus.cs
+++ b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchResizeOperationStatus.cs
@@ -8,7 +8,7 @@
using System;
using System.Collections.Generic;
using Azure;
-using Azure.Core;
+using Azure.ResourceManager.Batch;
namespace Azure.ResourceManager.Batch.Models
{
diff --git a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchSupportedSku.cs b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchSupportedSku.cs
index 88b5214d9c1d5..954a3e2da5b36 100644
--- a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchSupportedSku.cs
+++ b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchSupportedSku.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Batch;
namespace Azure.ResourceManager.Batch.Models
{
diff --git a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchVmConfiguration.cs b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchVmConfiguration.cs
index 1ff26f841c56d..e54213b84a8c9 100644
--- a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchVmConfiguration.cs
+++ b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchVmConfiguration.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.Batch;
using Azure.ResourceManager.Resources.Models;
namespace Azure.ResourceManager.Batch.Models
diff --git a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchVmContainerConfiguration.cs b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchVmContainerConfiguration.cs
index 0b3caa5d4504d..2058a1f7b0865 100644
--- a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchVmContainerConfiguration.cs
+++ b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchVmContainerConfiguration.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Batch;
namespace Azure.ResourceManager.Batch.Models
{
diff --git a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchVmExtension.cs b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchVmExtension.cs
index 8cc20ad21c80e..cb6a685ac9f17 100644
--- a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchVmExtension.cs
+++ b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/BatchVmExtension.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Batch;
namespace Azure.ResourceManager.Batch.Models
{
diff --git a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/DetectorListResult.cs b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/DetectorListResult.cs
index 45c4d2e310352..dd15bf35f6028 100644
--- a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/DetectorListResult.cs
+++ b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/DetectorListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Batch;
namespace Azure.ResourceManager.Batch.Models
diff --git a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/DiskEncryptionConfiguration.cs b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/DiskEncryptionConfiguration.cs
index 3ffbf34f54147..67152521c6c93 100644
--- a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/DiskEncryptionConfiguration.cs
+++ b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/DiskEncryptionConfiguration.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Batch;
namespace Azure.ResourceManager.Batch.Models
{
diff --git a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/ListApplicationPackagesResult.cs b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/ListApplicationPackagesResult.cs
index 75533321c90ed..155bba8e64fd2 100644
--- a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/ListApplicationPackagesResult.cs
+++ b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/ListApplicationPackagesResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Batch;
namespace Azure.ResourceManager.Batch.Models
diff --git a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/ListApplicationsResult.cs b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/ListApplicationsResult.cs
index 7a329236b5c81..23d8e7c07164d 100644
--- a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/ListApplicationsResult.cs
+++ b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/ListApplicationsResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Batch;
namespace Azure.ResourceManager.Batch.Models
diff --git a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/ListCertificatesResult.cs b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/ListCertificatesResult.cs
index 0249f4b14f6c8..aaf28d35d0227 100644
--- a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/ListCertificatesResult.cs
+++ b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/ListCertificatesResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Batch;
namespace Azure.ResourceManager.Batch.Models
diff --git a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/ListPoolsResult.cs b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/ListPoolsResult.cs
index 07c262fbda00d..d47e4df65835f 100644
--- a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/ListPoolsResult.cs
+++ b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/ListPoolsResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Batch;
namespace Azure.ResourceManager.Batch.Models
diff --git a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/ListPrivateEndpointConnectionsResult.cs b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/ListPrivateEndpointConnectionsResult.cs
index 4bce5d4425040..dcff7d8b5f1df 100644
--- a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/ListPrivateEndpointConnectionsResult.cs
+++ b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/ListPrivateEndpointConnectionsResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Batch;
namespace Azure.ResourceManager.Batch.Models
diff --git a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/ListPrivateLinkResourcesResult.cs b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/ListPrivateLinkResourcesResult.cs
index bb19eed4d4f53..67eccb3ee9212 100644
--- a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/ListPrivateLinkResourcesResult.cs
+++ b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/ListPrivateLinkResourcesResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Batch;
namespace Azure.ResourceManager.Batch.Models
diff --git a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/OutboundEnvironmentEndpointCollection.cs b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/OutboundEnvironmentEndpointCollection.cs
index 9ad0d54757f0f..6081504afd700 100644
--- a/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/OutboundEnvironmentEndpointCollection.cs
+++ b/sdk/batch/Azure.ResourceManager.Batch/src/Generated/Models/OutboundEnvironmentEndpointCollection.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.Batch;
namespace Azure.ResourceManager.Batch.Models
{
diff --git a/sdk/billing/Azure.ResourceManager.Billing/src/Generated/Internal/ChangeTrackingList.cs b/sdk/billing/Azure.ResourceManager.Billing/src/Generated/Internal/ChangeTrackingList.cs
new file mode 100644
index 0000000000000..ab0084b8b1c43
--- /dev/null
+++ b/sdk/billing/Azure.ResourceManager.Billing/src/Generated/Internal/ChangeTrackingList.cs
@@ -0,0 +1,153 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace Azure.ResourceManager.Billing
+{
+ internal class ChangeTrackingList : IList, IReadOnlyList
+ {
+ private IList _innerList;
+
+ public ChangeTrackingList()
+ {
+ }
+
+ public ChangeTrackingList(IList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList;
+ }
+ }
+
+ public ChangeTrackingList(IReadOnlyList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList.ToList();
+ }
+ }
+
+ public bool IsUndefined => _innerList == null;
+
+ public int Count => IsUndefined ? 0 : EnsureList().Count;
+
+ public bool IsReadOnly => IsUndefined ? false : EnsureList().IsReadOnly;
+
+ public T this[int index]
+ {
+ get
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ return EnsureList()[index];
+ }
+ set
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList()[index] = value;
+ }
+ }
+
+ public void Reset()
+ {
+ _innerList = null;
+ }
+
+ public IEnumerator GetEnumerator()
+ {
+ if (IsUndefined)
+ {
+ IEnumerator enumerateEmpty()
+ {
+ yield break;
+ }
+ return enumerateEmpty();
+ }
+ return EnsureList().GetEnumerator();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator()
+ {
+ return GetEnumerator();
+ }
+
+ public void Add(T item)
+ {
+ EnsureList().Add(item);
+ }
+
+ public void Clear()
+ {
+ EnsureList().Clear();
+ }
+
+ public bool Contains(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Contains(item);
+ }
+
+ public void CopyTo(T[] array, int arrayIndex)
+ {
+ if (IsUndefined)
+ {
+ return;
+ }
+ EnsureList().CopyTo(array, arrayIndex);
+ }
+
+ public bool Remove(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Remove(item);
+ }
+
+ public int IndexOf(T item)
+ {
+ if (IsUndefined)
+ {
+ return -1;
+ }
+ return EnsureList().IndexOf(item);
+ }
+
+ public void Insert(int index, T item)
+ {
+ EnsureList().Insert(index, item);
+ }
+
+ public void RemoveAt(int index)
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList().RemoveAt(index);
+ }
+
+ public IList EnsureList()
+ {
+ return _innerList ??= new List();
+ }
+ }
+}
diff --git a/sdk/billing/Azure.ResourceManager.Billing/src/Generated/Models/BillingSubscriptionAliasListResult.cs b/sdk/billing/Azure.ResourceManager.Billing/src/Generated/Models/BillingSubscriptionAliasListResult.cs
index 17e90936e1a76..68c585b7810a3 100644
--- a/sdk/billing/Azure.ResourceManager.Billing/src/Generated/Models/BillingSubscriptionAliasListResult.cs
+++ b/sdk/billing/Azure.ResourceManager.Billing/src/Generated/Models/BillingSubscriptionAliasListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Billing;
namespace Azure.ResourceManager.Billing.Models
diff --git a/sdk/billing/Azure.ResourceManager.Billing/src/Generated/Models/BillingSubscriptionsListResult.cs b/sdk/billing/Azure.ResourceManager.Billing/src/Generated/Models/BillingSubscriptionsListResult.cs
index b617e23a36990..94758e05d95e6 100644
--- a/sdk/billing/Azure.ResourceManager.Billing/src/Generated/Models/BillingSubscriptionsListResult.cs
+++ b/sdk/billing/Azure.ResourceManager.Billing/src/Generated/Models/BillingSubscriptionsListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Billing;
namespace Azure.ResourceManager.Billing.Models
diff --git a/sdk/billing/Azure.ResourceManager.Billing/src/Generated/Models/PaymentMethodLinksListResult.cs b/sdk/billing/Azure.ResourceManager.Billing/src/Generated/Models/PaymentMethodLinksListResult.cs
index 9eebcfcb009d9..afa67e263e5e3 100644
--- a/sdk/billing/Azure.ResourceManager.Billing/src/Generated/Models/PaymentMethodLinksListResult.cs
+++ b/sdk/billing/Azure.ResourceManager.Billing/src/Generated/Models/PaymentMethodLinksListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Billing;
namespace Azure.ResourceManager.Billing.Models
diff --git a/sdk/billing/Azure.ResourceManager.Billing/src/Generated/Models/PaymentMethodProjectionProperties.cs b/sdk/billing/Azure.ResourceManager.Billing/src/Generated/Models/PaymentMethodProjectionProperties.cs
index 6f46e66a9d02c..c1acc2db2fdf0 100644
--- a/sdk/billing/Azure.ResourceManager.Billing/src/Generated/Models/PaymentMethodProjectionProperties.cs
+++ b/sdk/billing/Azure.ResourceManager.Billing/src/Generated/Models/PaymentMethodProjectionProperties.cs
@@ -8,6 +8,7 @@
using System;
using System.Collections.Generic;
using Azure.Core;
+using Azure.ResourceManager.Billing;
namespace Azure.ResourceManager.Billing.Models
{
diff --git a/sdk/billing/Azure.ResourceManager.Billing/src/Generated/Models/PaymentMethodsListResult.cs b/sdk/billing/Azure.ResourceManager.Billing/src/Generated/Models/PaymentMethodsListResult.cs
index 0003bdda2368d..c0e8fe7e0b1f6 100644
--- a/sdk/billing/Azure.ResourceManager.Billing/src/Generated/Models/PaymentMethodsListResult.cs
+++ b/sdk/billing/Azure.ResourceManager.Billing/src/Generated/Models/PaymentMethodsListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.Billing;
namespace Azure.ResourceManager.Billing.Models
diff --git a/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Internal/ChangeTrackingList.cs b/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Internal/ChangeTrackingList.cs
new file mode 100644
index 0000000000000..cf5bdf84c95e4
--- /dev/null
+++ b/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Internal/ChangeTrackingList.cs
@@ -0,0 +1,153 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace Azure.ResourceManager.BillingBenefits
+{
+ internal class ChangeTrackingList : IList, IReadOnlyList
+ {
+ private IList _innerList;
+
+ public ChangeTrackingList()
+ {
+ }
+
+ public ChangeTrackingList(IList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList;
+ }
+ }
+
+ public ChangeTrackingList(IReadOnlyList innerList)
+ {
+ if (innerList != null)
+ {
+ _innerList = innerList.ToList();
+ }
+ }
+
+ public bool IsUndefined => _innerList == null;
+
+ public int Count => IsUndefined ? 0 : EnsureList().Count;
+
+ public bool IsReadOnly => IsUndefined ? false : EnsureList().IsReadOnly;
+
+ public T this[int index]
+ {
+ get
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ return EnsureList()[index];
+ }
+ set
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList()[index] = value;
+ }
+ }
+
+ public void Reset()
+ {
+ _innerList = null;
+ }
+
+ public IEnumerator GetEnumerator()
+ {
+ if (IsUndefined)
+ {
+ IEnumerator enumerateEmpty()
+ {
+ yield break;
+ }
+ return enumerateEmpty();
+ }
+ return EnsureList().GetEnumerator();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator()
+ {
+ return GetEnumerator();
+ }
+
+ public void Add(T item)
+ {
+ EnsureList().Add(item);
+ }
+
+ public void Clear()
+ {
+ EnsureList().Clear();
+ }
+
+ public bool Contains(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Contains(item);
+ }
+
+ public void CopyTo(T[] array, int arrayIndex)
+ {
+ if (IsUndefined)
+ {
+ return;
+ }
+ EnsureList().CopyTo(array, arrayIndex);
+ }
+
+ public bool Remove(T item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureList().Remove(item);
+ }
+
+ public int IndexOf(T item)
+ {
+ if (IsUndefined)
+ {
+ return -1;
+ }
+ return EnsureList().IndexOf(item);
+ }
+
+ public void Insert(int index, T item)
+ {
+ EnsureList().Insert(index, item);
+ }
+
+ public void RemoveAt(int index)
+ {
+ if (IsUndefined)
+ {
+ throw new ArgumentOutOfRangeException(nameof(index));
+ }
+ EnsureList().RemoveAt(index);
+ }
+
+ public IList EnsureList()
+ {
+ return _innerList ??= new List();
+ }
+ }
+}
diff --git a/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Models/BillingBenefitsSavingsPlanUtilization.cs b/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Models/BillingBenefitsSavingsPlanUtilization.cs
index 09c86d170a5c8..a9a904bf080e4 100644
--- a/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Models/BillingBenefitsSavingsPlanUtilization.cs
+++ b/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Models/BillingBenefitsSavingsPlanUtilization.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.BillingBenefits;
namespace Azure.ResourceManager.BillingBenefits.Models
{
diff --git a/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Models/BillingPlanInformation.cs b/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Models/BillingPlanInformation.cs
index 1a2d047d9116c..28a2425fe68ea 100644
--- a/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Models/BillingPlanInformation.cs
+++ b/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Models/BillingPlanInformation.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.BillingBenefits;
namespace Azure.ResourceManager.BillingBenefits.Models
{
diff --git a/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Models/SavingsPlanModelList.cs b/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Models/SavingsPlanModelList.cs
index 41f80cae139ef..2d34d5c5bdfe1 100644
--- a/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Models/SavingsPlanModelList.cs
+++ b/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Models/SavingsPlanModelList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.BillingBenefits;
namespace Azure.ResourceManager.BillingBenefits.Models
diff --git a/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Models/SavingsPlanModelListResult.cs b/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Models/SavingsPlanModelListResult.cs
index c403b861db21f..b808629051613 100644
--- a/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Models/SavingsPlanModelListResult.cs
+++ b/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Models/SavingsPlanModelListResult.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.BillingBenefits;
namespace Azure.ResourceManager.BillingBenefits.Models
diff --git a/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Models/SavingsPlanOrderModelList.cs b/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Models/SavingsPlanOrderModelList.cs
index 140a883a4ac19..e0095d3305a5f 100644
--- a/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Models/SavingsPlanOrderModelList.cs
+++ b/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Models/SavingsPlanOrderModelList.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.BillingBenefits;
namespace Azure.ResourceManager.BillingBenefits.Models
diff --git a/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Models/SavingsPlanPurchaseValidateContent.cs b/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Models/SavingsPlanPurchaseValidateContent.cs
index dad80da6b0fd7..15c8bba6491c3 100644
--- a/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Models/SavingsPlanPurchaseValidateContent.cs
+++ b/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Models/SavingsPlanPurchaseValidateContent.cs
@@ -7,7 +7,6 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
using Azure.ResourceManager.BillingBenefits;
namespace Azure.ResourceManager.BillingBenefits.Models
diff --git a/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Models/SavingsPlanUpdateValidateContent.cs b/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Models/SavingsPlanUpdateValidateContent.cs
index 7ff75567b67ac..aa19e47432fcd 100644
--- a/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Models/SavingsPlanUpdateValidateContent.cs
+++ b/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Models/SavingsPlanUpdateValidateContent.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.BillingBenefits;
namespace Azure.ResourceManager.BillingBenefits.Models
{
diff --git a/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Models/SavingsPlanValidateResponse.cs b/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Models/SavingsPlanValidateResponse.cs
index 89ca9b0642334..0a2846470f2a5 100644
--- a/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Models/SavingsPlanValidateResponse.cs
+++ b/sdk/billingbenefits/Azure.ResourceManager.BillingBenefits/src/Generated/Models/SavingsPlanValidateResponse.cs
@@ -7,7 +7,7 @@
using System;
using System.Collections.Generic;
-using Azure.Core;
+using Azure.ResourceManager.BillingBenefits;
namespace Azure.ResourceManager.BillingBenefits.Models
{
diff --git a/sdk/blueprint/Azure.ResourceManager.Blueprint/src/Generated/Internal/ChangeTrackingList.cs b/sdk/blueprint/Azure.ResourceManager.Blueprint/src/Generated/Internal/ChangeTrackingList.cs
new file mode 100644
index 0000000000000..1d12107e77040
--- /dev/null
+++ b/sdk/blueprint/Azure.ResourceManager.Blueprint/src/Generated/Internal/ChangeTrackingList.cs
@@ -0,0 +1,153 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+
+namespace Azure.ResourceManager.Blueprint
+{
+ internal class ChangeTrackingList : IList, IReadOnlyList
+ {
+ private IList