diff --git a/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/Azure.ResourceManager.StorageDiscovery.sln b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/Azure.ResourceManager.StorageDiscovery.sln
new file mode 100644
index 000000000000..e0a88ae4af5e
--- /dev/null
+++ b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/Azure.ResourceManager.StorageDiscovery.sln
@@ -0,0 +1,56 @@
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.29709.97
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.ResourceManager.StorageDiscovery.Samples", "samples\Azure.ResourceManager.StorageDiscovery.Samples.csproj", "{7A2DFF15-5746-49F4-BD0F-C6C35337088A}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.ResourceManager.StorageDiscovery", "src\Azure.ResourceManager.StorageDiscovery.csproj", "{28FF4005-4467-4E36-92E7-DEA27DEB1519}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.ResourceManager.StorageDiscovery.Tests", "tests\Azure.ResourceManager.StorageDiscovery.Tests.csproj", "{1F1CD1D4-9932-4B73-99D8-C252A67D4B46}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Release|Any CPU.Build.0 = Release|Any CPU
+ {8E9A77AC-792A-4432-8320-ACFD46730401}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {8E9A77AC-792A-4432-8320-ACFD46730401}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {8E9A77AC-792A-4432-8320-ACFD46730401}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {8E9A77AC-792A-4432-8320-ACFD46730401}.Release|Any CPU.Build.0 = Release|Any CPU
+ {7A2DFF15-5746-49F4-BD0F-C6C35337088A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {7A2DFF15-5746-49F4-BD0F-C6C35337088A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {7A2DFF15-5746-49F4-BD0F-C6C35337088A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {7A2DFF15-5746-49F4-BD0F-C6C35337088A}.Release|Any CPU.Build.0 = Release|Any CPU
+ {A4241C1F-A53D-474C-9E4E-075054407E74}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A4241C1F-A53D-474C-9E4E-075054407E74}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A4241C1F-A53D-474C-9E4E-075054407E74}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A4241C1F-A53D-474C-9E4E-075054407E74}.Release|Any CPU.Build.0 = Release|Any CPU
+ {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Release|Any CPU.Build.0 = Release|Any CPU
+ {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Release|Any CPU.Build.0 = Release|Any CPU
+ {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {A97F4B90-2591-4689-B1F8-5F21FE6D6CAE}
+ EndGlobalSection
+EndGlobal
diff --git a/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/CHANGELOG.md b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/CHANGELOG.md
new file mode 100644
index 000000000000..f62466bb9175
--- /dev/null
+++ b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/CHANGELOG.md
@@ -0,0 +1,21 @@
+# Release History
+
+## 1.0.0-beta.1 (2025-07-25)
+
+### Features Added
+
+This is the first beta release of Azure Storage Discovery client library.
+
+### General New Features
+
+This package follows the [new Azure SDK guidelines](https://azure.github.io/azure-sdk/general_introduction.html), and provides many core capabilities:
+
+ - Support MSAL.NET, Azure.Identity is out of box for supporting MSAL.NET.
+ - Support [OpenTelemetry](https://opentelemetry.io/) for distributed tracing.
+ - HTTP pipeline with custom policies.
+ - Better error-handling.
+ - Support uniform telemetry across all languages.
+
+This package is a Public Preview version, so expect incompatible changes in subsequent releases as we improve the product. To provide feedback, submit an issue in our [Azure SDK for .NET GitHub repo](https://github.com/Azure/azure-sdk-for-net/issues).
+
+> NOTE: For more information about unified authentication, please refer to [Microsoft Azure Identity documentation for .NET](https://learn.microsoft.com/dotnet/api/overview/azure/identity-readme?view=azure-dotnet).
diff --git a/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/Directory.Build.props b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/Directory.Build.props
new file mode 100644
index 000000000000..63bd836ad44b
--- /dev/null
+++ b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/Directory.Build.props
@@ -0,0 +1,6 @@
+
+
+
+
diff --git a/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/README.md b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/README.md
new file mode 100644
index 000000000000..af0772774445
--- /dev/null
+++ b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/README.md
@@ -0,0 +1,80 @@
+# Microsoft Azure StorageDiscovery management client library for .NET
+
+**[Describe the service briefly first.]**
+
+This library follows the [new Azure SDK guidelines](https://azure.github.io/azure-sdk/general_introduction.html), and provides many core capabilities:
+
+ - Support MSAL.NET, Azure.Identity is out of box for supporting MSAL.NET.
+ - Support [OpenTelemetry](https://opentelemetry.io/) for distributed tracing.
+ - HTTP pipeline with custom policies.
+ - Better error-handling.
+ - Support uniform telemetry across all languages.
+
+## Getting started
+
+### Install the package
+
+Install the Microsoft Azure StorageDiscovery management library for .NET with [NuGet](https://www.nuget.org/):
+
+```dotnetcli
+dotnet add package Azure.ResourceManager.StorageDiscovery --prerelease
+```
+
+### Prerequisites
+
+* You must have an [Microsoft Azure subscription](https://azure.microsoft.com/free/dotnet/).
+
+### Authenticate the Client
+
+To create an authenticated client and start interacting with Microsoft Azure resources, see the [quickstart guide here](https://github.com/Azure/azure-sdk-for-net/blob/main/doc/dev/mgmt_quickstart.md).
+
+## Key concepts
+
+Key concepts of the Microsoft Azure SDK for .NET can be found [here](https://azure.github.io/azure-sdk/dotnet_introduction.html)
+
+## Documentation
+
+Documentation is available to help you learn how to use this package:
+
+- [Quickstart](https://github.com/Azure/azure-sdk-for-net/blob/main/doc/dev/mgmt_quickstart.md).
+- [API References](https://learn.microsoft.com/dotnet/api/?view=azure-dotnet).
+- [Authentication](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/identity/Azure.Identity/README.md).
+
+## Examples
+
+Code samples for using the management library for .NET can be found in the following locations
+- [.NET Management Library Code Samples](https://aka.ms/azuresdk-net-mgmt-samples)
+
+## Troubleshooting
+
+- File an issue via [GitHub Issues](https://github.com/Azure/azure-sdk-for-net/issues).
+- Check [previous questions](https://stackoverflow.com/questions/tagged/azure+.net) or ask new ones on Stack Overflow using Azure and .NET tags.
+
+## Next steps
+
+For more information about Microsoft Azure SDK, see [this website](https://azure.github.io/azure-sdk/).
+
+## Contributing
+
+For details on contributing to this repository, see the [contributing
+guide][cg].
+
+This project welcomes contributions and suggestions. Most contributions
+require you to agree to a Contributor License Agreement (CLA) declaring
+that you have the right to, and actually do, grant us the rights to use
+your contribution. For details, visit .
+
+When you submit a pull request, a CLA-bot will automatically determine
+whether you need to provide a CLA and decorate the PR appropriately
+(for example, label, comment). Follow the instructions provided by the
+bot. You'll only need to do this action once across all repositories
+using our CLA.
+
+This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For
+more information, see the [Code of Conduct FAQ][coc_faq] or contact
+ with any other questions or comments.
+
+
+[cg]: https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/resourcemanager/Azure.ResourceManager/docs/CONTRIBUTING.md
+[coc]: https://opensource.microsoft.com/codeofconduct/
+[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
\ No newline at end of file
diff --git a/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/api/Azure.ResourceManager.StorageDiscovery.net8.0.cs b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/api/Azure.ResourceManager.StorageDiscovery.net8.0.cs
new file mode 100644
index 000000000000..a0bcaa7d75a9
--- /dev/null
+++ b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/api/Azure.ResourceManager.StorageDiscovery.net8.0.cs
@@ -0,0 +1,209 @@
+namespace Azure.ResourceManager.StorageDiscovery
+{
+ public partial class AzureResourceManagerStorageDiscoveryContext : System.ClientModel.Primitives.ModelReaderWriterContext
+ {
+ internal AzureResourceManagerStorageDiscoveryContext() { }
+ public static Azure.ResourceManager.StorageDiscovery.AzureResourceManagerStorageDiscoveryContext Default { get { throw null; } }
+ protected override bool TryGetTypeBuilderCore(System.Type type, out System.ClientModel.Primitives.ModelReaderWriterTypeBuilder builder) { throw null; }
+ }
+ public static partial class StorageDiscoveryExtensions
+ {
+ public static Azure.Response GetStorageDiscoveryWorkspace(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string storageDiscoveryWorkspaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public static System.Threading.Tasks.Task> GetStorageDiscoveryWorkspaceAsync(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string storageDiscoveryWorkspaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public static Azure.ResourceManager.StorageDiscovery.StorageDiscoveryWorkspaceResource GetStorageDiscoveryWorkspaceResource(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id) { throw null; }
+ public static Azure.ResourceManager.StorageDiscovery.StorageDiscoveryWorkspaceCollection GetStorageDiscoveryWorkspaces(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource) { throw null; }
+ public static Azure.Pageable GetStorageDiscoveryWorkspaces(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public static Azure.AsyncPageable GetStorageDiscoveryWorkspacesAsync(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ }
+ public partial class StorageDiscoveryWorkspaceCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable
+ {
+ protected StorageDiscoveryWorkspaceCollection() { }
+ public virtual Azure.ResourceManager.ArmOperation CreateOrUpdate(Azure.WaitUntil waitUntil, string storageDiscoveryWorkspaceName, Azure.ResourceManager.StorageDiscovery.StorageDiscoveryWorkspaceData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(Azure.WaitUntil waitUntil, string storageDiscoveryWorkspaceName, Azure.ResourceManager.StorageDiscovery.StorageDiscoveryWorkspaceData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.Response Exists(string storageDiscoveryWorkspaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> ExistsAsync(string storageDiscoveryWorkspaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.Response Get(string storageDiscoveryWorkspaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.Pageable GetAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.AsyncPageable GetAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> GetAsync(string storageDiscoveryWorkspaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.NullableResponse GetIfExists(string storageDiscoveryWorkspaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> GetIfExistsAsync(string storageDiscoveryWorkspaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ System.Collections.Generic.IAsyncEnumerator System.Collections.Generic.IAsyncEnumerable.GetAsyncEnumerator(System.Threading.CancellationToken cancellationToken) { throw null; }
+ System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; }
+ System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; }
+ }
+ public partial class StorageDiscoveryWorkspaceData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public StorageDiscoveryWorkspaceData(Azure.Core.AzureLocation location) { }
+ public Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryWorkspaceProperties Properties { get { throw null; } set { } }
+ protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.StorageDiscovery.StorageDiscoveryWorkspaceData System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.StorageDiscovery.StorageDiscoveryWorkspaceData System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ }
+ public partial class StorageDiscoveryWorkspaceResource : Azure.ResourceManager.ArmResource, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public static readonly Azure.Core.ResourceType ResourceType;
+ protected StorageDiscoveryWorkspaceResource() { }
+ public virtual Azure.ResourceManager.StorageDiscovery.StorageDiscoveryWorkspaceData Data { get { throw null; } }
+ public virtual bool HasData { get { throw null; } }
+ public virtual Azure.Response AddTag(string key, string value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> AddTagAsync(string key, string value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public static Azure.Core.ResourceIdentifier CreateResourceIdentifier(string subscriptionId, string resourceGroupName, string storageDiscoveryWorkspaceName) { throw null; }
+ public virtual Azure.ResourceManager.ArmOperation Delete(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task DeleteAsync(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.Response Get(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> GetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.Response RemoveTag(string key, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> RemoveTagAsync(string key, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.Response SetTags(System.Collections.Generic.IDictionary tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> SetTagsAsync(System.Collections.Generic.IDictionary tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ Azure.ResourceManager.StorageDiscovery.StorageDiscoveryWorkspaceData System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.StorageDiscovery.StorageDiscoveryWorkspaceData System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ public virtual Azure.Response Update(Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryWorkspacePatch patch, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> UpdateAsync(Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryWorkspacePatch patch, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ }
+}
+namespace Azure.ResourceManager.StorageDiscovery.Mocking
+{
+ public partial class MockableStorageDiscoveryArmClient : Azure.ResourceManager.ArmResource
+ {
+ protected MockableStorageDiscoveryArmClient() { }
+ public virtual Azure.ResourceManager.StorageDiscovery.StorageDiscoveryWorkspaceResource GetStorageDiscoveryWorkspaceResource(Azure.Core.ResourceIdentifier id) { throw null; }
+ }
+ public partial class MockableStorageDiscoveryResourceGroupResource : Azure.ResourceManager.ArmResource
+ {
+ protected MockableStorageDiscoveryResourceGroupResource() { }
+ public virtual Azure.Response GetStorageDiscoveryWorkspace(string storageDiscoveryWorkspaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> GetStorageDiscoveryWorkspaceAsync(string storageDiscoveryWorkspaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.ResourceManager.StorageDiscovery.StorageDiscoveryWorkspaceCollection GetStorageDiscoveryWorkspaces() { throw null; }
+ }
+ public partial class MockableStorageDiscoverySubscriptionResource : Azure.ResourceManager.ArmResource
+ {
+ protected MockableStorageDiscoverySubscriptionResource() { }
+ public virtual Azure.Pageable GetStorageDiscoveryWorkspaces(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.AsyncPageable GetStorageDiscoveryWorkspacesAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ }
+}
+namespace Azure.ResourceManager.StorageDiscovery.Models
+{
+ public static partial class ArmStorageDiscoveryModelFactory
+ {
+ public static Azure.ResourceManager.StorageDiscovery.StorageDiscoveryWorkspaceData StorageDiscoveryWorkspaceData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryWorkspaceProperties properties = null) { throw null; }
+ public static Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryWorkspaceProperties StorageDiscoveryWorkspaceProperties(Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoverySku? sku = default(Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoverySku?), string description = null, System.Collections.Generic.IEnumerable workspaceRoots = null, System.Collections.Generic.IEnumerable scopes = null, Azure.ResourceManager.StorageDiscovery.Models.ResourceProvisioningState? provisioningState = default(Azure.ResourceManager.StorageDiscovery.Models.ResourceProvisioningState?)) { throw null; }
+ }
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
+ public readonly partial struct ResourceProvisioningState : System.IEquatable
+ {
+ private readonly object _dummy;
+ private readonly int _dummyPrimitive;
+ public ResourceProvisioningState(string value) { throw null; }
+ public static Azure.ResourceManager.StorageDiscovery.Models.ResourceProvisioningState Canceled { get { throw null; } }
+ public static Azure.ResourceManager.StorageDiscovery.Models.ResourceProvisioningState Failed { get { throw null; } }
+ public static Azure.ResourceManager.StorageDiscovery.Models.ResourceProvisioningState Succeeded { get { throw null; } }
+ public bool Equals(Azure.ResourceManager.StorageDiscovery.Models.ResourceProvisioningState other) { throw null; }
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ public override bool Equals(object obj) { throw null; }
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ public override int GetHashCode() { throw null; }
+ public static bool operator ==(Azure.ResourceManager.StorageDiscovery.Models.ResourceProvisioningState left, Azure.ResourceManager.StorageDiscovery.Models.ResourceProvisioningState right) { throw null; }
+ public static implicit operator Azure.ResourceManager.StorageDiscovery.Models.ResourceProvisioningState (string value) { throw null; }
+ public static bool operator !=(Azure.ResourceManager.StorageDiscovery.Models.ResourceProvisioningState left, Azure.ResourceManager.StorageDiscovery.Models.ResourceProvisioningState right) { throw null; }
+ public override string ToString() { throw null; }
+ }
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
+ public readonly partial struct StorageDiscoveryResourceType : System.IEquatable
+ {
+ private readonly object _dummy;
+ private readonly int _dummyPrimitive;
+ public StorageDiscoveryResourceType(string value) { throw null; }
+ public static Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryResourceType StorageAccounts { get { throw null; } }
+ public bool Equals(Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryResourceType other) { throw null; }
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ public override bool Equals(object obj) { throw null; }
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ public override int GetHashCode() { throw null; }
+ public static bool operator ==(Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryResourceType left, Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryResourceType right) { throw null; }
+ public static implicit operator Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryResourceType (string value) { throw null; }
+ public static bool operator !=(Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryResourceType left, Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryResourceType right) { throw null; }
+ public override string ToString() { throw null; }
+ }
+ public partial class StorageDiscoveryScope : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public StorageDiscoveryScope(string displayName, System.Collections.Generic.IEnumerable resourceTypes) { }
+ public string DisplayName { get { throw null; } set { } }
+ public System.Collections.Generic.IList ResourceTypes { get { throw null; } }
+ public System.Collections.Generic.IList TagKeysOnly { get { throw null; } }
+ public System.Collections.Generic.IDictionary Tags { get { throw null; } }
+ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryScope System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryScope System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ }
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
+ public readonly partial struct StorageDiscoverySku : System.IEquatable
+ {
+ private readonly object _dummy;
+ private readonly int _dummyPrimitive;
+ public StorageDiscoverySku(string value) { throw null; }
+ public static Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoverySku Free { get { throw null; } }
+ public static Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoverySku Standard { get { throw null; } }
+ public bool Equals(Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoverySku other) { throw null; }
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ public override bool Equals(object obj) { throw null; }
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ public override int GetHashCode() { throw null; }
+ public static bool operator ==(Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoverySku left, Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoverySku right) { throw null; }
+ public static implicit operator Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoverySku (string value) { throw null; }
+ public static bool operator !=(Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoverySku left, Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoverySku right) { throw null; }
+ public override string ToString() { throw null; }
+ }
+ public partial class StorageDiscoveryWorkspacePatch : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public StorageDiscoveryWorkspacePatch() { }
+ public Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryWorkspacePropertiesUpdate Properties { get { throw null; } set { } }
+ public System.Collections.Generic.IDictionary Tags { get { throw null; } }
+ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryWorkspacePatch System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryWorkspacePatch System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ }
+ public partial class StorageDiscoveryWorkspaceProperties : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public StorageDiscoveryWorkspaceProperties(System.Collections.Generic.IEnumerable workspaceRoots, System.Collections.Generic.IEnumerable scopes) { }
+ public string Description { get { throw null; } set { } }
+ public Azure.ResourceManager.StorageDiscovery.Models.ResourceProvisioningState? ProvisioningState { get { throw null; } }
+ public System.Collections.Generic.IList Scopes { get { throw null; } }
+ public Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoverySku? Sku { get { throw null; } set { } }
+ public System.Collections.Generic.IList WorkspaceRoots { get { throw null; } }
+ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryWorkspaceProperties System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryWorkspaceProperties System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ }
+ public partial class StorageDiscoveryWorkspacePropertiesUpdate : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public StorageDiscoveryWorkspacePropertiesUpdate() { }
+ public string Description { get { throw null; } set { } }
+ public System.Collections.Generic.IList Scopes { get { throw null; } }
+ public Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoverySku? Sku { get { throw null; } set { } }
+ public System.Collections.Generic.IList WorkspaceRoots { get { throw null; } }
+ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryWorkspacePropertiesUpdate System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryWorkspacePropertiesUpdate System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ }
+}
diff --git a/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/api/Azure.ResourceManager.StorageDiscovery.netstandard2.0.cs b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/api/Azure.ResourceManager.StorageDiscovery.netstandard2.0.cs
new file mode 100644
index 000000000000..a0bcaa7d75a9
--- /dev/null
+++ b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/api/Azure.ResourceManager.StorageDiscovery.netstandard2.0.cs
@@ -0,0 +1,209 @@
+namespace Azure.ResourceManager.StorageDiscovery
+{
+ public partial class AzureResourceManagerStorageDiscoveryContext : System.ClientModel.Primitives.ModelReaderWriterContext
+ {
+ internal AzureResourceManagerStorageDiscoveryContext() { }
+ public static Azure.ResourceManager.StorageDiscovery.AzureResourceManagerStorageDiscoveryContext Default { get { throw null; } }
+ protected override bool TryGetTypeBuilderCore(System.Type type, out System.ClientModel.Primitives.ModelReaderWriterTypeBuilder builder) { throw null; }
+ }
+ public static partial class StorageDiscoveryExtensions
+ {
+ public static Azure.Response GetStorageDiscoveryWorkspace(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string storageDiscoveryWorkspaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public static System.Threading.Tasks.Task> GetStorageDiscoveryWorkspaceAsync(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string storageDiscoveryWorkspaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public static Azure.ResourceManager.StorageDiscovery.StorageDiscoveryWorkspaceResource GetStorageDiscoveryWorkspaceResource(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id) { throw null; }
+ public static Azure.ResourceManager.StorageDiscovery.StorageDiscoveryWorkspaceCollection GetStorageDiscoveryWorkspaces(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource) { throw null; }
+ public static Azure.Pageable GetStorageDiscoveryWorkspaces(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public static Azure.AsyncPageable GetStorageDiscoveryWorkspacesAsync(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ }
+ public partial class StorageDiscoveryWorkspaceCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable
+ {
+ protected StorageDiscoveryWorkspaceCollection() { }
+ public virtual Azure.ResourceManager.ArmOperation CreateOrUpdate(Azure.WaitUntil waitUntil, string storageDiscoveryWorkspaceName, Azure.ResourceManager.StorageDiscovery.StorageDiscoveryWorkspaceData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(Azure.WaitUntil waitUntil, string storageDiscoveryWorkspaceName, Azure.ResourceManager.StorageDiscovery.StorageDiscoveryWorkspaceData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.Response Exists(string storageDiscoveryWorkspaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> ExistsAsync(string storageDiscoveryWorkspaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.Response Get(string storageDiscoveryWorkspaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.Pageable GetAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.AsyncPageable GetAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> GetAsync(string storageDiscoveryWorkspaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.NullableResponse GetIfExists(string storageDiscoveryWorkspaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> GetIfExistsAsync(string storageDiscoveryWorkspaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ System.Collections.Generic.IAsyncEnumerator System.Collections.Generic.IAsyncEnumerable.GetAsyncEnumerator(System.Threading.CancellationToken cancellationToken) { throw null; }
+ System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; }
+ System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; }
+ }
+ public partial class StorageDiscoveryWorkspaceData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public StorageDiscoveryWorkspaceData(Azure.Core.AzureLocation location) { }
+ public Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryWorkspaceProperties Properties { get { throw null; } set { } }
+ protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.StorageDiscovery.StorageDiscoveryWorkspaceData System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.StorageDiscovery.StorageDiscoveryWorkspaceData System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ }
+ public partial class StorageDiscoveryWorkspaceResource : Azure.ResourceManager.ArmResource, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public static readonly Azure.Core.ResourceType ResourceType;
+ protected StorageDiscoveryWorkspaceResource() { }
+ public virtual Azure.ResourceManager.StorageDiscovery.StorageDiscoveryWorkspaceData Data { get { throw null; } }
+ public virtual bool HasData { get { throw null; } }
+ public virtual Azure.Response AddTag(string key, string value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> AddTagAsync(string key, string value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public static Azure.Core.ResourceIdentifier CreateResourceIdentifier(string subscriptionId, string resourceGroupName, string storageDiscoveryWorkspaceName) { throw null; }
+ public virtual Azure.ResourceManager.ArmOperation Delete(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task DeleteAsync(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.Response Get(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> GetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.Response RemoveTag(string key, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> RemoveTagAsync(string key, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.Response SetTags(System.Collections.Generic.IDictionary tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> SetTagsAsync(System.Collections.Generic.IDictionary tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ Azure.ResourceManager.StorageDiscovery.StorageDiscoveryWorkspaceData System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.StorageDiscovery.StorageDiscoveryWorkspaceData System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ public virtual Azure.Response Update(Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryWorkspacePatch patch, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> UpdateAsync(Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryWorkspacePatch patch, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ }
+}
+namespace Azure.ResourceManager.StorageDiscovery.Mocking
+{
+ public partial class MockableStorageDiscoveryArmClient : Azure.ResourceManager.ArmResource
+ {
+ protected MockableStorageDiscoveryArmClient() { }
+ public virtual Azure.ResourceManager.StorageDiscovery.StorageDiscoveryWorkspaceResource GetStorageDiscoveryWorkspaceResource(Azure.Core.ResourceIdentifier id) { throw null; }
+ }
+ public partial class MockableStorageDiscoveryResourceGroupResource : Azure.ResourceManager.ArmResource
+ {
+ protected MockableStorageDiscoveryResourceGroupResource() { }
+ public virtual Azure.Response GetStorageDiscoveryWorkspace(string storageDiscoveryWorkspaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> GetStorageDiscoveryWorkspaceAsync(string storageDiscoveryWorkspaceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.ResourceManager.StorageDiscovery.StorageDiscoveryWorkspaceCollection GetStorageDiscoveryWorkspaces() { throw null; }
+ }
+ public partial class MockableStorageDiscoverySubscriptionResource : Azure.ResourceManager.ArmResource
+ {
+ protected MockableStorageDiscoverySubscriptionResource() { }
+ public virtual Azure.Pageable GetStorageDiscoveryWorkspaces(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.AsyncPageable GetStorageDiscoveryWorkspacesAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ }
+}
+namespace Azure.ResourceManager.StorageDiscovery.Models
+{
+ public static partial class ArmStorageDiscoveryModelFactory
+ {
+ public static Azure.ResourceManager.StorageDiscovery.StorageDiscoveryWorkspaceData StorageDiscoveryWorkspaceData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryWorkspaceProperties properties = null) { throw null; }
+ public static Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryWorkspaceProperties StorageDiscoveryWorkspaceProperties(Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoverySku? sku = default(Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoverySku?), string description = null, System.Collections.Generic.IEnumerable workspaceRoots = null, System.Collections.Generic.IEnumerable scopes = null, Azure.ResourceManager.StorageDiscovery.Models.ResourceProvisioningState? provisioningState = default(Azure.ResourceManager.StorageDiscovery.Models.ResourceProvisioningState?)) { throw null; }
+ }
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
+ public readonly partial struct ResourceProvisioningState : System.IEquatable
+ {
+ private readonly object _dummy;
+ private readonly int _dummyPrimitive;
+ public ResourceProvisioningState(string value) { throw null; }
+ public static Azure.ResourceManager.StorageDiscovery.Models.ResourceProvisioningState Canceled { get { throw null; } }
+ public static Azure.ResourceManager.StorageDiscovery.Models.ResourceProvisioningState Failed { get { throw null; } }
+ public static Azure.ResourceManager.StorageDiscovery.Models.ResourceProvisioningState Succeeded { get { throw null; } }
+ public bool Equals(Azure.ResourceManager.StorageDiscovery.Models.ResourceProvisioningState other) { throw null; }
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ public override bool Equals(object obj) { throw null; }
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ public override int GetHashCode() { throw null; }
+ public static bool operator ==(Azure.ResourceManager.StorageDiscovery.Models.ResourceProvisioningState left, Azure.ResourceManager.StorageDiscovery.Models.ResourceProvisioningState right) { throw null; }
+ public static implicit operator Azure.ResourceManager.StorageDiscovery.Models.ResourceProvisioningState (string value) { throw null; }
+ public static bool operator !=(Azure.ResourceManager.StorageDiscovery.Models.ResourceProvisioningState left, Azure.ResourceManager.StorageDiscovery.Models.ResourceProvisioningState right) { throw null; }
+ public override string ToString() { throw null; }
+ }
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
+ public readonly partial struct StorageDiscoveryResourceType : System.IEquatable
+ {
+ private readonly object _dummy;
+ private readonly int _dummyPrimitive;
+ public StorageDiscoveryResourceType(string value) { throw null; }
+ public static Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryResourceType StorageAccounts { get { throw null; } }
+ public bool Equals(Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryResourceType other) { throw null; }
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ public override bool Equals(object obj) { throw null; }
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ public override int GetHashCode() { throw null; }
+ public static bool operator ==(Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryResourceType left, Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryResourceType right) { throw null; }
+ public static implicit operator Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryResourceType (string value) { throw null; }
+ public static bool operator !=(Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryResourceType left, Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryResourceType right) { throw null; }
+ public override string ToString() { throw null; }
+ }
+ public partial class StorageDiscoveryScope : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public StorageDiscoveryScope(string displayName, System.Collections.Generic.IEnumerable resourceTypes) { }
+ public string DisplayName { get { throw null; } set { } }
+ public System.Collections.Generic.IList ResourceTypes { get { throw null; } }
+ public System.Collections.Generic.IList TagKeysOnly { get { throw null; } }
+ public System.Collections.Generic.IDictionary Tags { get { throw null; } }
+ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryScope System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryScope System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ }
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
+ public readonly partial struct StorageDiscoverySku : System.IEquatable
+ {
+ private readonly object _dummy;
+ private readonly int _dummyPrimitive;
+ public StorageDiscoverySku(string value) { throw null; }
+ public static Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoverySku Free { get { throw null; } }
+ public static Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoverySku Standard { get { throw null; } }
+ public bool Equals(Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoverySku other) { throw null; }
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ public override bool Equals(object obj) { throw null; }
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ public override int GetHashCode() { throw null; }
+ public static bool operator ==(Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoverySku left, Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoverySku right) { throw null; }
+ public static implicit operator Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoverySku (string value) { throw null; }
+ public static bool operator !=(Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoverySku left, Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoverySku right) { throw null; }
+ public override string ToString() { throw null; }
+ }
+ public partial class StorageDiscoveryWorkspacePatch : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public StorageDiscoveryWorkspacePatch() { }
+ public Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryWorkspacePropertiesUpdate Properties { get { throw null; } set { } }
+ public System.Collections.Generic.IDictionary Tags { get { throw null; } }
+ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryWorkspacePatch System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryWorkspacePatch System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ }
+ public partial class StorageDiscoveryWorkspaceProperties : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public StorageDiscoveryWorkspaceProperties(System.Collections.Generic.IEnumerable workspaceRoots, System.Collections.Generic.IEnumerable scopes) { }
+ public string Description { get { throw null; } set { } }
+ public Azure.ResourceManager.StorageDiscovery.Models.ResourceProvisioningState? ProvisioningState { get { throw null; } }
+ public System.Collections.Generic.IList Scopes { get { throw null; } }
+ public Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoverySku? Sku { get { throw null; } set { } }
+ public System.Collections.Generic.IList WorkspaceRoots { get { throw null; } }
+ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryWorkspaceProperties System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryWorkspaceProperties System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ }
+ public partial class StorageDiscoveryWorkspacePropertiesUpdate : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public StorageDiscoveryWorkspacePropertiesUpdate() { }
+ public string Description { get { throw null; } set { } }
+ public System.Collections.Generic.IList Scopes { get { throw null; } }
+ public Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoverySku? Sku { get { throw null; } set { } }
+ public System.Collections.Generic.IList WorkspaceRoots { get { throw null; } }
+ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryWorkspacePropertiesUpdate System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.StorageDiscovery.Models.StorageDiscoveryWorkspacePropertiesUpdate System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ }
+}
diff --git a/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/assets.json b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/assets.json
new file mode 100644
index 000000000000..8fc90c147b7a
--- /dev/null
+++ b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/assets.json
@@ -0,0 +1,7 @@
+
+{
+ "AssetsRepo": "Azure/azure-sdk-assets",
+ "AssetsRepoPrefixPath": "net",
+ "TagPrefix": "net/storagediscovery/Azure.ResourceManager.StorageDiscovery",
+ "Tag": ""
+}
diff --git a/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/samples/Azure.ResourceManager.StorageDiscovery.Samples.csproj b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/samples/Azure.ResourceManager.StorageDiscovery.Samples.csproj
new file mode 100644
index 000000000000..63b284318037
--- /dev/null
+++ b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/samples/Azure.ResourceManager.StorageDiscovery.Samples.csproj
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Azure.ResourceManager.StorageDiscovery.csproj b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Azure.ResourceManager.StorageDiscovery.csproj
new file mode 100644
index 000000000000..c1bed8820e1d
--- /dev/null
+++ b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Azure.ResourceManager.StorageDiscovery.csproj
@@ -0,0 +1,8 @@
+
+
+ Azure Resource Manager client SDK for Azure resource provider StorageDiscovery.
+ 1.0.0-beta.1
+ azure;management;arm;resource manager;storagediscovery
+ Azure.ResourceManager.StorageDiscovery
+
+
diff --git a/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/ArmStorageDiscoveryModelFactory.cs b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/ArmStorageDiscoveryModelFactory.cs
new file mode 100644
index 000000000000..7ca1df028e88
--- /dev/null
+++ b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/ArmStorageDiscoveryModelFactory.cs
@@ -0,0 +1,64 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using Azure.Core;
+using Azure.ResourceManager.Models;
+
+namespace Azure.ResourceManager.StorageDiscovery.Models
+{
+ /// Model factory for models.
+ public static partial class ArmStorageDiscoveryModelFactory
+ {
+ /// Initializes a new instance of .
+ /// The id.
+ /// The name.
+ /// The resourceType.
+ /// The systemData.
+ /// The tags.
+ /// The location.
+ /// The resource-specific properties for this resource.
+ /// A new instance for mocking.
+ public static StorageDiscoveryWorkspaceData StorageDiscoveryWorkspaceData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, StorageDiscoveryWorkspaceProperties properties = null)
+ {
+ tags ??= new Dictionary();
+
+ return new StorageDiscoveryWorkspaceData(
+ id,
+ name,
+ resourceType,
+ systemData,
+ tags,
+ location,
+ properties,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// The storage discovery sku.
+ /// The description of the storage discovery workspace.
+ /// The view level storage discovery data estate.
+ /// The scopes of the storage discovery workspace.
+ /// The status of the last operation.
+ /// A new instance for mocking.
+ public static StorageDiscoveryWorkspaceProperties StorageDiscoveryWorkspaceProperties(StorageDiscoverySku? sku = null, string description = null, IEnumerable workspaceRoots = null, IEnumerable scopes = null, ResourceProvisioningState? provisioningState = null)
+ {
+ workspaceRoots ??= new List();
+ scopes ??= new List();
+
+ return new StorageDiscoveryWorkspaceProperties(
+ sku,
+ description,
+ workspaceRoots?.ToList(),
+ scopes?.ToList(),
+ provisioningState,
+ serializedAdditionalRawData: null);
+ }
+ }
+}
diff --git a/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Extensions/MockableStorageDiscoveryArmClient.cs b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Extensions/MockableStorageDiscoveryArmClient.cs
new file mode 100644
index 000000000000..4c37d5413cc9
--- /dev/null
+++ b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Extensions/MockableStorageDiscoveryArmClient.cs
@@ -0,0 +1,49 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using Azure.Core;
+
+namespace Azure.ResourceManager.StorageDiscovery.Mocking
+{
+ /// A class to add extension methods to ArmClient.
+ public partial class MockableStorageDiscoveryArmClient : ArmResource
+ {
+ /// Initializes a new instance of the class for mocking.
+ protected MockableStorageDiscoveryArmClient()
+ {
+ }
+
+ /// Initializes a new instance of the class.
+ /// The client parameters to use in these operations.
+ /// The identifier of the resource that is the target of operations.
+ internal MockableStorageDiscoveryArmClient(ArmClient client, ResourceIdentifier id) : base(client, id)
+ {
+ }
+
+ internal MockableStorageDiscoveryArmClient(ArmClient client) : this(client, ResourceIdentifier.Root)
+ {
+ }
+
+ private string GetApiVersionOrNull(ResourceType resourceType)
+ {
+ TryGetApiVersion(resourceType, out string apiVersion);
+ return apiVersion;
+ }
+
+ ///
+ /// Gets an object representing a along with the instance operations that can be performed on it but with no data.
+ /// You can use to create a from its components.
+ ///
+ /// The resource ID of the resource to get.
+ /// Returns a object.
+ public virtual StorageDiscoveryWorkspaceResource GetStorageDiscoveryWorkspaceResource(ResourceIdentifier id)
+ {
+ StorageDiscoveryWorkspaceResource.ValidateResourceId(id);
+ return new StorageDiscoveryWorkspaceResource(Client, id);
+ }
+ }
+}
diff --git a/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Extensions/MockableStorageDiscoveryResourceGroupResource.cs b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Extensions/MockableStorageDiscoveryResourceGroupResource.cs
new file mode 100644
index 000000000000..cd06e7e3ca29
--- /dev/null
+++ b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Extensions/MockableStorageDiscoveryResourceGroupResource.cs
@@ -0,0 +1,105 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Threading;
+using System.Threading.Tasks;
+using Azure.Core;
+
+namespace Azure.ResourceManager.StorageDiscovery.Mocking
+{
+ /// A class to add extension methods to ResourceGroupResource.
+ public partial class MockableStorageDiscoveryResourceGroupResource : ArmResource
+ {
+ /// Initializes a new instance of the class for mocking.
+ protected MockableStorageDiscoveryResourceGroupResource()
+ {
+ }
+
+ /// Initializes a new instance of the class.
+ /// The client parameters to use in these operations.
+ /// The identifier of the resource that is the target of operations.
+ internal MockableStorageDiscoveryResourceGroupResource(ArmClient client, ResourceIdentifier id) : base(client, id)
+ {
+ }
+
+ private string GetApiVersionOrNull(ResourceType resourceType)
+ {
+ TryGetApiVersion(resourceType, out string apiVersion);
+ return apiVersion;
+ }
+
+ /// Gets a collection of StorageDiscoveryWorkspaceResources in the ResourceGroupResource.
+ /// An object representing collection of StorageDiscoveryWorkspaceResources and their operations over a StorageDiscoveryWorkspaceResource.
+ public virtual StorageDiscoveryWorkspaceCollection GetStorageDiscoveryWorkspaces()
+ {
+ return GetCachedClient(client => new StorageDiscoveryWorkspaceCollection(client, Id));
+ }
+
+ ///
+ /// Get a StorageDiscoveryWorkspace
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces/{storageDiscoveryWorkspaceName}
+ ///
+ /// -
+ /// Operation Id
+ /// StorageDiscoveryWorkspace_Get
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-06-01-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The name of the StorageDiscoveryWorkspace.
+ /// The cancellation token to use.
+ /// is null.
+ /// is an empty string, and was expected to be non-empty.
+ [ForwardsClientCalls]
+ public virtual async Task> GetStorageDiscoveryWorkspaceAsync(string storageDiscoveryWorkspaceName, CancellationToken cancellationToken = default)
+ {
+ return await GetStorageDiscoveryWorkspaces().GetAsync(storageDiscoveryWorkspaceName, cancellationToken).ConfigureAwait(false);
+ }
+
+ ///
+ /// Get a StorageDiscoveryWorkspace
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces/{storageDiscoveryWorkspaceName}
+ ///
+ /// -
+ /// Operation Id
+ /// StorageDiscoveryWorkspace_Get
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-06-01-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The name of the StorageDiscoveryWorkspace.
+ /// The cancellation token to use.
+ /// is null.
+ /// is an empty string, and was expected to be non-empty.
+ [ForwardsClientCalls]
+ public virtual Response GetStorageDiscoveryWorkspace(string storageDiscoveryWorkspaceName, CancellationToken cancellationToken = default)
+ {
+ return GetStorageDiscoveryWorkspaces().Get(storageDiscoveryWorkspaceName, cancellationToken);
+ }
+ }
+}
diff --git a/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Extensions/MockableStorageDiscoverySubscriptionResource.cs b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Extensions/MockableStorageDiscoverySubscriptionResource.cs
new file mode 100644
index 000000000000..92033d3257d9
--- /dev/null
+++ b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Extensions/MockableStorageDiscoverySubscriptionResource.cs
@@ -0,0 +1,102 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System.Threading;
+using Autorest.CSharp.Core;
+using Azure.Core;
+using Azure.Core.Pipeline;
+
+namespace Azure.ResourceManager.StorageDiscovery.Mocking
+{
+ /// A class to add extension methods to SubscriptionResource.
+ public partial class MockableStorageDiscoverySubscriptionResource : ArmResource
+ {
+ private ClientDiagnostics _storageDiscoveryWorkspaceClientDiagnostics;
+ private StorageDiscoveryWorkspacesRestOperations _storageDiscoveryWorkspaceRestClient;
+
+ /// Initializes a new instance of the class for mocking.
+ protected MockableStorageDiscoverySubscriptionResource()
+ {
+ }
+
+ /// Initializes a new instance of the class.
+ /// The client parameters to use in these operations.
+ /// The identifier of the resource that is the target of operations.
+ internal MockableStorageDiscoverySubscriptionResource(ArmClient client, ResourceIdentifier id) : base(client, id)
+ {
+ }
+
+ private ClientDiagnostics StorageDiscoveryWorkspaceClientDiagnostics => _storageDiscoveryWorkspaceClientDiagnostics ??= new ClientDiagnostics("Azure.ResourceManager.StorageDiscovery", StorageDiscoveryWorkspaceResource.ResourceType.Namespace, Diagnostics);
+ private StorageDiscoveryWorkspacesRestOperations StorageDiscoveryWorkspaceRestClient => _storageDiscoveryWorkspaceRestClient ??= new StorageDiscoveryWorkspacesRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint, GetApiVersionOrNull(StorageDiscoveryWorkspaceResource.ResourceType));
+
+ private string GetApiVersionOrNull(ResourceType resourceType)
+ {
+ TryGetApiVersion(resourceType, out string apiVersion);
+ return apiVersion;
+ }
+
+ ///
+ /// List StorageDiscoveryWorkspace resources by subscription ID
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces
+ ///
+ /// -
+ /// Operation Id
+ /// StorageDiscoveryWorkspace_ListBySubscription
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-06-01-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The cancellation token to use.
+ /// An async collection of that may take multiple service requests to iterate over.
+ public virtual AsyncPageable GetStorageDiscoveryWorkspacesAsync(CancellationToken cancellationToken = default)
+ {
+ HttpMessage FirstPageRequest(int? pageSizeHint) => StorageDiscoveryWorkspaceRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => StorageDiscoveryWorkspaceRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId);
+ return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => new StorageDiscoveryWorkspaceResource(Client, StorageDiscoveryWorkspaceData.DeserializeStorageDiscoveryWorkspaceData(e)), StorageDiscoveryWorkspaceClientDiagnostics, Pipeline, "MockableStorageDiscoverySubscriptionResource.GetStorageDiscoveryWorkspaces", "value", "nextLink", cancellationToken);
+ }
+
+ ///
+ /// List StorageDiscoveryWorkspace resources by subscription ID
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces
+ ///
+ /// -
+ /// Operation Id
+ /// StorageDiscoveryWorkspace_ListBySubscription
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-06-01-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The cancellation token to use.
+ /// A collection of that may take multiple service requests to iterate over.
+ public virtual Pageable GetStorageDiscoveryWorkspaces(CancellationToken cancellationToken = default)
+ {
+ HttpMessage FirstPageRequest(int? pageSizeHint) => StorageDiscoveryWorkspaceRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => StorageDiscoveryWorkspaceRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId);
+ return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => new StorageDiscoveryWorkspaceResource(Client, StorageDiscoveryWorkspaceData.DeserializeStorageDiscoveryWorkspaceData(e)), StorageDiscoveryWorkspaceClientDiagnostics, Pipeline, "MockableStorageDiscoverySubscriptionResource.GetStorageDiscoveryWorkspaces", "value", "nextLink", cancellationToken);
+ }
+ }
+}
diff --git a/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Extensions/StorageDiscoveryExtensions.cs b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Extensions/StorageDiscoveryExtensions.cs
new file mode 100644
index 000000000000..b6aa55e6bb91
--- /dev/null
+++ b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Extensions/StorageDiscoveryExtensions.cs
@@ -0,0 +1,219 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Threading;
+using System.Threading.Tasks;
+using Azure.Core;
+using Azure.ResourceManager.Resources;
+using Azure.ResourceManager.StorageDiscovery.Mocking;
+
+namespace Azure.ResourceManager.StorageDiscovery
+{
+ /// A class to add extension methods to Azure.ResourceManager.StorageDiscovery.
+ public static partial class StorageDiscoveryExtensions
+ {
+ private static MockableStorageDiscoveryArmClient GetMockableStorageDiscoveryArmClient(ArmClient client)
+ {
+ return client.GetCachedClient(client0 => new MockableStorageDiscoveryArmClient(client0));
+ }
+
+ private static MockableStorageDiscoveryResourceGroupResource GetMockableStorageDiscoveryResourceGroupResource(ArmResource resource)
+ {
+ return resource.GetCachedClient(client => new MockableStorageDiscoveryResourceGroupResource(client, resource.Id));
+ }
+
+ private static MockableStorageDiscoverySubscriptionResource GetMockableStorageDiscoverySubscriptionResource(ArmResource resource)
+ {
+ return resource.GetCachedClient(client => new MockableStorageDiscoverySubscriptionResource(client, resource.Id));
+ }
+
+ ///
+ /// Gets an object representing a along with the instance operations that can be performed on it but with no data.
+ /// You can use to create a from its components.
+ /// -
+ /// Mocking
+ /// To mock this method, please mock instead.
+ ///
+ ///
+ /// The instance the method will execute against.
+ /// The resource ID of the resource to get.
+ /// is null.
+ /// Returns a object.
+ public static StorageDiscoveryWorkspaceResource GetStorageDiscoveryWorkspaceResource(this ArmClient client, ResourceIdentifier id)
+ {
+ Argument.AssertNotNull(client, nameof(client));
+
+ return GetMockableStorageDiscoveryArmClient(client).GetStorageDiscoveryWorkspaceResource(id);
+ }
+
+ ///
+ /// Gets a collection of StorageDiscoveryWorkspaceResources in the ResourceGroupResource.
+ /// -
+ /// Mocking
+ /// To mock this method, please mock instead.
+ ///
+ ///
+ /// The instance the method will execute against.
+ /// is null.
+ /// An object representing collection of StorageDiscoveryWorkspaceResources and their operations over a StorageDiscoveryWorkspaceResource.
+ public static StorageDiscoveryWorkspaceCollection GetStorageDiscoveryWorkspaces(this ResourceGroupResource resourceGroupResource)
+ {
+ Argument.AssertNotNull(resourceGroupResource, nameof(resourceGroupResource));
+
+ return GetMockableStorageDiscoveryResourceGroupResource(resourceGroupResource).GetStorageDiscoveryWorkspaces();
+ }
+
+ ///
+ /// Get a StorageDiscoveryWorkspace
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces/{storageDiscoveryWorkspaceName}
+ ///
+ /// -
+ /// Operation Id
+ /// StorageDiscoveryWorkspace_Get
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-06-01-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ /// -
+ /// Mocking
+ /// To mock this method, please mock instead.
+ ///
+ ///
+ /// The instance the method will execute against.
+ /// The name of the StorageDiscoveryWorkspace.
+ /// The cancellation token to use.
+ /// or is null.
+ /// is an empty string, and was expected to be non-empty.
+ [ForwardsClientCalls]
+ public static async Task> GetStorageDiscoveryWorkspaceAsync(this ResourceGroupResource resourceGroupResource, string storageDiscoveryWorkspaceName, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNull(resourceGroupResource, nameof(resourceGroupResource));
+
+ return await GetMockableStorageDiscoveryResourceGroupResource(resourceGroupResource).GetStorageDiscoveryWorkspaceAsync(storageDiscoveryWorkspaceName, cancellationToken).ConfigureAwait(false);
+ }
+
+ ///
+ /// Get a StorageDiscoveryWorkspace
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces/{storageDiscoveryWorkspaceName}
+ ///
+ /// -
+ /// Operation Id
+ /// StorageDiscoveryWorkspace_Get
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-06-01-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ /// -
+ /// Mocking
+ /// To mock this method, please mock instead.
+ ///
+ ///
+ /// The instance the method will execute against.
+ /// The name of the StorageDiscoveryWorkspace.
+ /// The cancellation token to use.
+ /// or is null.
+ /// is an empty string, and was expected to be non-empty.
+ [ForwardsClientCalls]
+ public static Response GetStorageDiscoveryWorkspace(this ResourceGroupResource resourceGroupResource, string storageDiscoveryWorkspaceName, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNull(resourceGroupResource, nameof(resourceGroupResource));
+
+ return GetMockableStorageDiscoveryResourceGroupResource(resourceGroupResource).GetStorageDiscoveryWorkspace(storageDiscoveryWorkspaceName, cancellationToken);
+ }
+
+ ///
+ /// List StorageDiscoveryWorkspace resources by subscription ID
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces
+ ///
+ /// -
+ /// Operation Id
+ /// StorageDiscoveryWorkspace_ListBySubscription
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-06-01-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ /// -
+ /// Mocking
+ /// To mock this method, please mock instead.
+ ///
+ ///
+ /// The instance the method will execute against.
+ /// The cancellation token to use.
+ /// is null.
+ /// An async collection of that may take multiple service requests to iterate over.
+ public static AsyncPageable GetStorageDiscoveryWorkspacesAsync(this SubscriptionResource subscriptionResource, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource));
+
+ return GetMockableStorageDiscoverySubscriptionResource(subscriptionResource).GetStorageDiscoveryWorkspacesAsync(cancellationToken);
+ }
+
+ ///
+ /// List StorageDiscoveryWorkspace resources by subscription ID
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/providers/Microsoft.StorageDiscovery/storageDiscoveryWorkspaces
+ ///
+ /// -
+ /// Operation Id
+ /// StorageDiscoveryWorkspace_ListBySubscription
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-06-01-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ /// -
+ /// Mocking
+ /// To mock this method, please mock instead.
+ ///
+ ///
+ /// The instance the method will execute against.
+ /// The cancellation token to use.
+ /// is null.
+ /// A collection of that may take multiple service requests to iterate over.
+ public static Pageable GetStorageDiscoveryWorkspaces(this SubscriptionResource subscriptionResource, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource));
+
+ return GetMockableStorageDiscoverySubscriptionResource(subscriptionResource).GetStorageDiscoveryWorkspaces(cancellationToken);
+ }
+ }
+}
diff --git a/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Internal/Argument.cs b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Internal/Argument.cs
new file mode 100644
index 000000000000..4a8a38ffb362
--- /dev/null
+++ b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Internal/Argument.cs
@@ -0,0 +1,129 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+
+namespace Azure.ResourceManager.StorageDiscovery
+{
+ internal static class Argument
+ {
+ public static void AssertNotNull(T value, string name)
+ {
+ if (value is null)
+ {
+ throw new ArgumentNullException(name);
+ }
+ }
+
+ public static void AssertNotNull(T? value, string name)
+ where T : struct
+ {
+ if (!value.HasValue)
+ {
+ throw new ArgumentNullException(name);
+ }
+ }
+
+ public static void AssertNotNullOrEmpty(IEnumerable value, string name)
+ {
+ if (value is null)
+ {
+ throw new ArgumentNullException(name);
+ }
+ if (value is ICollection collectionOfT && collectionOfT.Count == 0)
+ {
+ throw new ArgumentException("Value cannot be an empty collection.", name);
+ }
+ if (value is ICollection collection && collection.Count == 0)
+ {
+ throw new ArgumentException("Value cannot be an empty collection.", name);
+ }
+ using IEnumerator e = value.GetEnumerator();
+ if (!e.MoveNext())
+ {
+ throw new ArgumentException("Value cannot be an empty collection.", name);
+ }
+ }
+
+ public static void AssertNotNullOrEmpty(string value, string name)
+ {
+ if (value is null)
+ {
+ throw new ArgumentNullException(name);
+ }
+ if (value.Length == 0)
+ {
+ throw new ArgumentException("Value cannot be an empty string.", name);
+ }
+ }
+
+ public static void AssertNotNullOrWhiteSpace(string value, string name)
+ {
+ if (value is null)
+ {
+ throw new ArgumentNullException(name);
+ }
+ if (string.IsNullOrWhiteSpace(value))
+ {
+ throw new ArgumentException("Value cannot be empty or contain only white-space characters.", name);
+ }
+ }
+
+ public static void AssertNotDefault(ref T value, string name)
+ where T : struct, IEquatable
+ {
+ if (value.Equals(default))
+ {
+ throw new ArgumentException("Value cannot be empty.", name);
+ }
+ }
+
+ public static void AssertInRange(T value, T minimum, T maximum, string name)
+ where T : notnull, IComparable
+ {
+ if (minimum.CompareTo(value) > 0)
+ {
+ throw new ArgumentOutOfRangeException(name, "Value is less than the minimum allowed.");
+ }
+ if (maximum.CompareTo(value) < 0)
+ {
+ throw new ArgumentOutOfRangeException(name, "Value is greater than the maximum allowed.");
+ }
+ }
+
+ public static void AssertEnumDefined(Type enumType, object value, string name)
+ {
+ if (!Enum.IsDefined(enumType, value))
+ {
+ throw new ArgumentException($"Value not defined for {enumType.FullName}.", name);
+ }
+ }
+
+ public static T CheckNotNull(T value, string name)
+ where T : class
+ {
+ AssertNotNull(value, name);
+ return value;
+ }
+
+ public static string CheckNotNullOrEmpty(string value, string name)
+ {
+ AssertNotNullOrEmpty(value, name);
+ return value;
+ }
+
+ public static void AssertNull(T value, string name, string message = null)
+ {
+ if (value != null)
+ {
+ throw new ArgumentException(message ?? "Value must be null.", name);
+ }
+ }
+ }
+}
diff --git a/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Internal/ChangeTrackingDictionary.cs b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Internal/ChangeTrackingDictionary.cs
new file mode 100644
index 000000000000..01b637ba6fc7
--- /dev/null
+++ b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Internal/ChangeTrackingDictionary.cs
@@ -0,0 +1,167 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+
+namespace Azure.ResourceManager.StorageDiscovery
+{
+ internal class ChangeTrackingDictionary : IDictionary, IReadOnlyDictionary where TKey : notnull
+ {
+ private IDictionary _innerDictionary;
+
+ public ChangeTrackingDictionary()
+ {
+ }
+
+ public ChangeTrackingDictionary(IDictionary dictionary)
+ {
+ if (dictionary == null)
+ {
+ return;
+ }
+ _innerDictionary = new Dictionary(dictionary);
+ }
+
+ public ChangeTrackingDictionary(IReadOnlyDictionary dictionary)
+ {
+ if (dictionary == null)
+ {
+ return;
+ }
+ _innerDictionary = new Dictionary();
+ foreach (var pair in dictionary)
+ {
+ _innerDictionary.Add(pair);
+ }
+ }
+
+ public bool IsUndefined => _innerDictionary == null;
+
+ public int Count => IsUndefined ? 0 : EnsureDictionary().Count;
+
+ public bool IsReadOnly => IsUndefined ? false : EnsureDictionary().IsReadOnly;
+
+ public ICollection Keys => IsUndefined ? Array.Empty() : EnsureDictionary().Keys;
+
+ public ICollection Values => IsUndefined ? Array.Empty() : EnsureDictionary().Values;
+
+ public TValue this[TKey key]
+ {
+ get
+ {
+ if (IsUndefined)
+ {
+ throw new KeyNotFoundException(nameof(key));
+ }
+ return EnsureDictionary()[key];
+ }
+ set
+ {
+ EnsureDictionary()[key] = value;
+ }
+ }
+
+ IEnumerable IReadOnlyDictionary.Keys => Keys;
+
+ IEnumerable IReadOnlyDictionary.Values => Values;
+
+ public IEnumerator> GetEnumerator()
+ {
+ if (IsUndefined)
+ {
+ IEnumerator> enumerateEmpty()
+ {
+ yield break;
+ }
+ return enumerateEmpty();
+ }
+ return EnsureDictionary().GetEnumerator();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator()
+ {
+ return GetEnumerator();
+ }
+
+ public void Add(KeyValuePair item)
+ {
+ EnsureDictionary().Add(item);
+ }
+
+ public void Clear()
+ {
+ EnsureDictionary().Clear();
+ }
+
+ public bool Contains(KeyValuePair item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureDictionary().Contains(item);
+ }
+
+ public void CopyTo(KeyValuePair[] array, int index)
+ {
+ if (IsUndefined)
+ {
+ return;
+ }
+ EnsureDictionary().CopyTo(array, index);
+ }
+
+ public bool Remove(KeyValuePair item)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureDictionary().Remove(item);
+ }
+
+ public void Add(TKey key, TValue value)
+ {
+ EnsureDictionary().Add(key, value);
+ }
+
+ public bool ContainsKey(TKey key)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureDictionary().ContainsKey(key);
+ }
+
+ public bool Remove(TKey key)
+ {
+ if (IsUndefined)
+ {
+ return false;
+ }
+ return EnsureDictionary().Remove(key);
+ }
+
+ public bool TryGetValue(TKey key, out TValue value)
+ {
+ if (IsUndefined)
+ {
+ value = default;
+ return false;
+ }
+ return EnsureDictionary().TryGetValue(key, out value);
+ }
+
+ public IDictionary EnsureDictionary()
+ {
+ return _innerDictionary ??= new Dictionary();
+ }
+ }
+}
diff --git a/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Internal/ChangeTrackingList.cs b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Internal/ChangeTrackingList.cs
new file mode 100644
index 000000000000..66971be1c3b8
--- /dev/null
+++ b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/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.StorageDiscovery
+{
+ 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/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Internal/ModelSerializationExtensions.cs b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Internal/ModelSerializationExtensions.cs
new file mode 100644
index 000000000000..6c432dd0df4c
--- /dev/null
+++ b/sdk/storagediscovery/Azure.ResourceManager.StorageDiscovery/src/Generated/Internal/ModelSerializationExtensions.cs
@@ -0,0 +1,407 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//