diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 16de53c916db..e18805ea6655 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -771,6 +771,12 @@
# ServiceLabel: %Image Analysis
# ServiceOwners: @rhurey @dargilco
+# PRLabel: %Planetary Computer
+/sdk/planetarycomputer/ @shaktichetan23 @thisisdevanshu
+
+# ServiceLabel: %Planetary Computer
+# ServiceOwners: @shaktichetan23 @thisisdevanshu
+
# PRLabel: %Microsoft Playwright Testing
/sdk/playwrighttesting/ @Sid200026 @puagarwa @ShreyaAnand
diff --git a/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/Azure.ResourceManager.PlanetaryComputer.sln b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/Azure.ResourceManager.PlanetaryComputer.sln
new file mode 100644
index 000000000000..9e3d18da7378
--- /dev/null
+++ b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/Azure.ResourceManager.PlanetaryComputer.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.PlanetaryComputer.Samples", "samples\Azure.ResourceManager.PlanetaryComputer.Samples.csproj", "{7A2DFF15-5746-49F4-BD0F-C6C35337088A}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.ResourceManager.PlanetaryComputer", "src\Azure.ResourceManager.PlanetaryComputer.csproj", "{28FF4005-4467-4E36-92E7-DEA27DEB1519}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.ResourceManager.PlanetaryComputer.Tests", "tests\Azure.ResourceManager.PlanetaryComputer.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/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/CHANGELOG.md b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/CHANGELOG.md
new file mode 100644
index 000000000000..8b33f0fedccc
--- /dev/null
+++ b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/CHANGELOG.md
@@ -0,0 +1,11 @@
+# Release History
+
+## 1.0.0-beta.1 (Unreleased)
+
+### Features Added
+
+### Breaking Changes
+
+### Bugs Fixed
+
+### Other Changes
\ No newline at end of file
diff --git a/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/Directory.Build.props b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/Directory.Build.props
new file mode 100644
index 000000000000..63bd836ad44b
--- /dev/null
+++ b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/Directory.Build.props
@@ -0,0 +1,6 @@
+
+
+
+
diff --git a/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/README.md b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/README.md
new file mode 100644
index 000000000000..26910a00e95c
--- /dev/null
+++ b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/README.md
@@ -0,0 +1,174 @@
+## Microsoft Azure PlanetaryComputer client library for .NET
+
+The `Azure.ResourceManager.PlanetaryComputer` SDK is the **.NET Management Plane SDK** for working with `GeoCatalog` resources under the **PlanetaryComputer** service.
+
+It supports full **CRUD operations**, as well as **recorded** and **playback testing** using the Azure SDK's standard test framework.
+
+---
+
+## Project Structure
+
+```
+sdk/
+└── planetarycomputer/
+ └── Azure.ResourceManager.PlanetaryComputer/
+ ├── src/ # Generated SDK source code
+ ├── tests/
+ │ ├── Scenario/
+ │ │ └── GeoCatalogCollectionTests.cs # Main scenario tests
+ │ ├── PlanetaryComputerManagementTestBase.cs # Base test infrastructure
+ │ └── PlanetaryComputerManagementTestEnvironment.cs
+ ├── Azure.ResourceManager.PlanetaryComputer.csproj
+ ├── Azure.ResourceManager.PlanetaryComputer.Tests.csproj
+ └── assets.json # Required for test recording/playback
+```
+
+---
+
+## Getting started
+
+### Install the Package
+
+Install the package via [NuGet](https://www.nuget.org/):
+
+```bash
+dotnet add package Azure.ResourceManager.PlanetaryComputer --prerelease
+```
+
+---
+
+### Prerequisites
+
+- [.NET SDK 8.0+](https://dotnet.microsoft.com/download)
+- [Azure SDK Test Proxy](https://github.com/Azure/azure-sdk-tools/blob/main/tools/test-proxy/Azure.Sdk.Tools.TestProxy/README.md)
+ ```bash
+ dotnet tool install --global Azure.Sdk.Tools.TestProxy
+ ```
+- Logged in to Azure CLI:
+ ```bash
+ az login
+ ```
+- Set the following environment variables for test execution:
+
+```bash
+$env:AZURE_SUBSCRIPTION_ID = ""
+$env:AZURE_TEST_MODE = "Record" # or "Playback"
+$env:AZURE_AUTHORITY_HOST = "https://login.microsoftonline.com"
+```
+---
+
+### Authenticate the Client
+
+To authenticate the client, use the `DefaultAzureCredential` from the Azure.Identity library. Ensure your environment is set up with the necessary Azure credentials.
+
+```csharp
+using Azure.Identity;
+using Azure.ResourceManager.PlanetaryComputer;
+
+var credential = new DefaultAzureCredential();
+var client = new PlanetaryComputerManagementClient(credential);
+```
+
+## Supported Tests
+
+| Test Name | Description |
+|----------------------------------|---------------------------------------------|
+| `CreateGeoCatalog` | Creates a GeoCatalog |
+| `UpdateGeoCatalog` | Updates an existing GeoCatalog |
+| `DeleteGeoCatalog` | Deletes a GeoCatalog |
+| `GetGeoCatalog` | Retrieves a specific GeoCatalog |
+| `ListGeoCatalogsInResourceGroup`| Lists GeoCatalogs in a resource group |
+| `ListGeoCatalogsBySubscription` | Lists GeoCatalogs under a subscription |
+| `CreateUpdateDeleteGeoCatalog` | Full CRUD scenario combined |
+
+---
+
+## Running Tests
+
+### Record Mode (Live with Azure)
+
+1. Start the test proxy:
+ ```bash
+ test-proxy
+ ```
+2. Set mode:
+ ```bash
+ $env:AZURE_TEST_MODE = "Record"
+ ```
+3. Run a specific test:
+ ```bash
+ dotnet test -f net8.0 --filter "Name=CreateUpdateDeleteGeoCatalog"
+ ```
+4. Recordings are saved to:
+ ```
+ .azure-sdk-for-net/.assets//net/sdk/PlanetaryComputer/Azure.ResourceManager.PlanetaryComputer/tests/SessionRecords
+ ```
+
+---
+
+### Playback Mode (Offline Testing)
+
+1. Set mode:
+ ```bash
+ $env:AZURE_TEST_MODE = "Playback"
+ ```
+2. (Optional) Restore recordings:
+ ```bash
+ test-proxy restore -a ./assets.json
+ ```
+3. Run test:
+ ```bash
+ dotnet test -f net8.0 --filter "Name=CreateUpdateDeleteGeoCatalog"
+ ```
+
+---
+
+
+## Key concepts
+
+The PlanetaryComputer SDK provides management capabilities for GeoCatalog resources. Key concepts include:
+- **GeoCatalog**: Represents a catalog of geospatial data.
+- **CRUD Operations**: Create, Read, Update, and Delete operations for GeoCatalog resources.
+- **Authentication**: Uses Azure Active Directory for secure access.
+
+## Examples
+
+### Create a GeoCatalog
+
+```csharp
+var geoCatalogData = new GeoCatalogData(new AzureLocation("uksouth"))
+{
+ Properties = new GeoCatalogProperties
+ {
+ Tier = CatalogTier.Basic
+ }
+};
+
+var geoCatalog = await client.GeoCatalogs.CreateOrUpdateAsync("resourceGroupName", "geoCatalogName", geoCatalogData);
+```
+
+### List GeoCatalogs
+
+```csharp
+var geoCatalogs = await client.GeoCatalogs.ListAsync("resourceGroupName");
+foreach (var catalog in geoCatalogs)
+{
+ Console.WriteLine(catalog.Name);
+}
+```
+
+## Troubleshooting
+
+If you encounter issues, check the following:
+- Ensure Azure CLI is logged in (`az login`).
+- Verify the subscription and resource group names.
+- Check for network connectivity issues.
+
+## Next steps
+
+Explore additional features of the PlanetaryComputer SDK:
+- [Samples Repository](https://github.com/Azure/azure-sdk-for-net)
+
+## Contributing
+
+We welcome contributions! Please see our [Contributing Guide](https://github.com/Azure/azure-sdk-for-net/blob/main/CONTRIBUTING.md) for details on how to get started.
diff --git a/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/api/Azure.ResourceManager.PlanetaryComputer.net8.0.cs b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/api/Azure.ResourceManager.PlanetaryComputer.net8.0.cs
new file mode 100644
index 000000000000..074e34d236cd
--- /dev/null
+++ b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/api/Azure.ResourceManager.PlanetaryComputer.net8.0.cs
@@ -0,0 +1,219 @@
+namespace Azure.ResourceManager.PlanetaryComputer
+{
+ public partial class AzureResourceManagerPlanetaryComputerContext : System.ClientModel.Primitives.ModelReaderWriterContext
+ {
+ internal AzureResourceManagerPlanetaryComputerContext() { }
+ public static Azure.ResourceManager.PlanetaryComputer.AzureResourceManagerPlanetaryComputerContext Default { get { throw null; } }
+ protected override bool TryGetTypeBuilderCore(System.Type type, out System.ClientModel.Primitives.ModelReaderWriterTypeBuilder builder) { throw null; }
+ }
+ public partial class GeoCatalogCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable
+ {
+ protected GeoCatalogCollection() { }
+ public virtual Azure.ResourceManager.ArmOperation CreateOrUpdate(Azure.WaitUntil waitUntil, string catalogName, Azure.ResourceManager.PlanetaryComputer.GeoCatalogData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(Azure.WaitUntil waitUntil, string catalogName, Azure.ResourceManager.PlanetaryComputer.GeoCatalogData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.Response Exists(string catalogName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> ExistsAsync(string catalogName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.Response Get(string catalogName, 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 catalogName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.NullableResponse GetIfExists(string catalogName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> GetIfExistsAsync(string catalogName, 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 GeoCatalogData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public GeoCatalogData(Azure.Core.AzureLocation location) { }
+ public Azure.ResourceManager.Models.ManagedServiceIdentity Identity { get { throw null; } set { } }
+ public Azure.ResourceManager.PlanetaryComputer.Models.GeoCatalogProperties Properties { get { throw null; } set { } }
+ protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.PlanetaryComputer.GeoCatalogData 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.PlanetaryComputer.GeoCatalogData 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 GeoCatalogResource : Azure.ResourceManager.ArmResource, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public static readonly Azure.Core.ResourceType ResourceType;
+ protected GeoCatalogResource() { }
+ public virtual Azure.ResourceManager.PlanetaryComputer.GeoCatalogData 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 catalogName) { 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.PlanetaryComputer.GeoCatalogData 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.PlanetaryComputer.GeoCatalogData 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.ResourceManager.ArmOperation Update(Azure.WaitUntil waitUntil, Azure.ResourceManager.PlanetaryComputer.Models.GeoCatalogPatch patch, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> UpdateAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.PlanetaryComputer.Models.GeoCatalogPatch patch, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ }
+ public static partial class PlanetaryComputerExtensions
+ {
+ public static Azure.Response GetGeoCatalog(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string catalogName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public static System.Threading.Tasks.Task> GetGeoCatalogAsync(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string catalogName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public static Azure.ResourceManager.PlanetaryComputer.GeoCatalogResource GetGeoCatalogResource(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id) { throw null; }
+ public static Azure.ResourceManager.PlanetaryComputer.GeoCatalogCollection GetGeoCatalogs(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource) { throw null; }
+ public static Azure.Pageable GetGeoCatalogs(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public static Azure.AsyncPageable GetGeoCatalogsAsync(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ }
+}
+namespace Azure.ResourceManager.PlanetaryComputer.Mocking
+{
+ public partial class MockablePlanetaryComputerArmClient : Azure.ResourceManager.ArmResource
+ {
+ protected MockablePlanetaryComputerArmClient() { }
+ public virtual Azure.ResourceManager.PlanetaryComputer.GeoCatalogResource GetGeoCatalogResource(Azure.Core.ResourceIdentifier id) { throw null; }
+ }
+ public partial class MockablePlanetaryComputerResourceGroupResource : Azure.ResourceManager.ArmResource
+ {
+ protected MockablePlanetaryComputerResourceGroupResource() { }
+ public virtual Azure.Response GetGeoCatalog(string catalogName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> GetGeoCatalogAsync(string catalogName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.ResourceManager.PlanetaryComputer.GeoCatalogCollection GetGeoCatalogs() { throw null; }
+ }
+ public partial class MockablePlanetaryComputerSubscriptionResource : Azure.ResourceManager.ArmResource
+ {
+ protected MockablePlanetaryComputerSubscriptionResource() { }
+ public virtual Azure.Pageable GetGeoCatalogs(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.AsyncPageable GetGeoCatalogsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ }
+}
+namespace Azure.ResourceManager.PlanetaryComputer.Models
+{
+ public static partial class ArmPlanetaryComputerModelFactory
+ {
+ public static Azure.ResourceManager.PlanetaryComputer.GeoCatalogData GeoCatalogData(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.PlanetaryComputer.Models.GeoCatalogProperties properties = null, Azure.ResourceManager.Models.ManagedServiceIdentity identity = null) { throw null; }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.GeoCatalogProperties GeoCatalogProperties(Azure.ResourceManager.PlanetaryComputer.Models.CatalogTier? tier = default(Azure.ResourceManager.PlanetaryComputer.Models.CatalogTier?), string catalogUri = null, Azure.ResourceManager.PlanetaryComputer.Models.ProvisioningState? provisioningState = default(Azure.ResourceManager.PlanetaryComputer.Models.ProvisioningState?), Azure.ResourceManager.PlanetaryComputer.Models.AutoGeneratedDomainNameLabelScope? autoGeneratedDomainNameLabelScope = default(Azure.ResourceManager.PlanetaryComputer.Models.AutoGeneratedDomainNameLabelScope?)) { throw null; }
+ }
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
+ public readonly partial struct AutoGeneratedDomainNameLabelScope : System.IEquatable
+ {
+ private readonly object _dummy;
+ private readonly int _dummyPrimitive;
+ public AutoGeneratedDomainNameLabelScope(string value) { throw null; }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.AutoGeneratedDomainNameLabelScope NoReuse { get { throw null; } }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.AutoGeneratedDomainNameLabelScope ResourceGroupReuse { get { throw null; } }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.AutoGeneratedDomainNameLabelScope SubscriptionReuse { get { throw null; } }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.AutoGeneratedDomainNameLabelScope TenantReuse { get { throw null; } }
+ public bool Equals(Azure.ResourceManager.PlanetaryComputer.Models.AutoGeneratedDomainNameLabelScope 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.PlanetaryComputer.Models.AutoGeneratedDomainNameLabelScope left, Azure.ResourceManager.PlanetaryComputer.Models.AutoGeneratedDomainNameLabelScope right) { throw null; }
+ public static implicit operator Azure.ResourceManager.PlanetaryComputer.Models.AutoGeneratedDomainNameLabelScope (string value) { throw null; }
+ public static bool operator !=(Azure.ResourceManager.PlanetaryComputer.Models.AutoGeneratedDomainNameLabelScope left, Azure.ResourceManager.PlanetaryComputer.Models.AutoGeneratedDomainNameLabelScope right) { throw null; }
+ public override string ToString() { throw null; }
+ }
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
+ public readonly partial struct CatalogTier : System.IEquatable
+ {
+ private readonly object _dummy;
+ private readonly int _dummyPrimitive;
+ public CatalogTier(string value) { throw null; }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.CatalogTier Basic { get { throw null; } }
+ public bool Equals(Azure.ResourceManager.PlanetaryComputer.Models.CatalogTier 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.PlanetaryComputer.Models.CatalogTier left, Azure.ResourceManager.PlanetaryComputer.Models.CatalogTier right) { throw null; }
+ public static implicit operator Azure.ResourceManager.PlanetaryComputer.Models.CatalogTier (string value) { throw null; }
+ public static bool operator !=(Azure.ResourceManager.PlanetaryComputer.Models.CatalogTier left, Azure.ResourceManager.PlanetaryComputer.Models.CatalogTier right) { throw null; }
+ public override string ToString() { throw null; }
+ }
+ public partial class GeoCatalogPatch : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public GeoCatalogPatch() { }
+ public Azure.ResourceManager.PlanetaryComputer.Models.ManagedServiceIdentityUpdate Identity { 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.PlanetaryComputer.Models.GeoCatalogPatch 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.PlanetaryComputer.Models.GeoCatalogPatch 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 GeoCatalogProperties : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public GeoCatalogProperties() { }
+ public Azure.ResourceManager.PlanetaryComputer.Models.AutoGeneratedDomainNameLabelScope? AutoGeneratedDomainNameLabelScope { get { throw null; } set { } }
+ public string CatalogUri { get { throw null; } }
+ public Azure.ResourceManager.PlanetaryComputer.Models.ProvisioningState? ProvisioningState { get { throw null; } }
+ public Azure.ResourceManager.PlanetaryComputer.Models.CatalogTier? Tier { get { throw null; } set { } }
+ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.PlanetaryComputer.Models.GeoCatalogProperties 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.PlanetaryComputer.Models.GeoCatalogProperties 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 ManagedServiceIdentityType : System.IEquatable
+ {
+ private readonly object _dummy;
+ private readonly int _dummyPrimitive;
+ public ManagedServiceIdentityType(string value) { throw null; }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.ManagedServiceIdentityType None { get { throw null; } }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.ManagedServiceIdentityType SystemAssigned { get { throw null; } }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.ManagedServiceIdentityType SystemAssignedUserAssigned { get { throw null; } }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.ManagedServiceIdentityType UserAssigned { get { throw null; } }
+ public bool Equals(Azure.ResourceManager.PlanetaryComputer.Models.ManagedServiceIdentityType 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.PlanetaryComputer.Models.ManagedServiceIdentityType left, Azure.ResourceManager.PlanetaryComputer.Models.ManagedServiceIdentityType right) { throw null; }
+ public static implicit operator Azure.ResourceManager.PlanetaryComputer.Models.ManagedServiceIdentityType (string value) { throw null; }
+ public static bool operator !=(Azure.ResourceManager.PlanetaryComputer.Models.ManagedServiceIdentityType left, Azure.ResourceManager.PlanetaryComputer.Models.ManagedServiceIdentityType right) { throw null; }
+ public override string ToString() { throw null; }
+ }
+ public partial class ManagedServiceIdentityUpdate : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public ManagedServiceIdentityUpdate() { }
+ public Azure.ResourceManager.PlanetaryComputer.Models.ManagedServiceIdentityType? Type { get { throw null; } set { } }
+ public System.Collections.Generic.IDictionary UserAssignedIdentities { get { throw null; } }
+ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.PlanetaryComputer.Models.ManagedServiceIdentityUpdate 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.PlanetaryComputer.Models.ManagedServiceIdentityUpdate 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 ProvisioningState : System.IEquatable
+ {
+ private readonly object _dummy;
+ private readonly int _dummyPrimitive;
+ public ProvisioningState(string value) { throw null; }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.ProvisioningState Accepted { get { throw null; } }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.ProvisioningState Canceled { get { throw null; } }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.ProvisioningState Deleting { get { throw null; } }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.ProvisioningState Failed { get { throw null; } }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.ProvisioningState Provisioning { get { throw null; } }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.ProvisioningState Succeeded { get { throw null; } }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.ProvisioningState Updating { get { throw null; } }
+ public bool Equals(Azure.ResourceManager.PlanetaryComputer.Models.ProvisioningState 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.PlanetaryComputer.Models.ProvisioningState left, Azure.ResourceManager.PlanetaryComputer.Models.ProvisioningState right) { throw null; }
+ public static implicit operator Azure.ResourceManager.PlanetaryComputer.Models.ProvisioningState (string value) { throw null; }
+ public static bool operator !=(Azure.ResourceManager.PlanetaryComputer.Models.ProvisioningState left, Azure.ResourceManager.PlanetaryComputer.Models.ProvisioningState right) { throw null; }
+ public override string ToString() { throw null; }
+ }
+}
diff --git a/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/api/Azure.ResourceManager.PlanetaryComputer.netstandard2.0.cs b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/api/Azure.ResourceManager.PlanetaryComputer.netstandard2.0.cs
new file mode 100644
index 000000000000..074e34d236cd
--- /dev/null
+++ b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/api/Azure.ResourceManager.PlanetaryComputer.netstandard2.0.cs
@@ -0,0 +1,219 @@
+namespace Azure.ResourceManager.PlanetaryComputer
+{
+ public partial class AzureResourceManagerPlanetaryComputerContext : System.ClientModel.Primitives.ModelReaderWriterContext
+ {
+ internal AzureResourceManagerPlanetaryComputerContext() { }
+ public static Azure.ResourceManager.PlanetaryComputer.AzureResourceManagerPlanetaryComputerContext Default { get { throw null; } }
+ protected override bool TryGetTypeBuilderCore(System.Type type, out System.ClientModel.Primitives.ModelReaderWriterTypeBuilder builder) { throw null; }
+ }
+ public partial class GeoCatalogCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable
+ {
+ protected GeoCatalogCollection() { }
+ public virtual Azure.ResourceManager.ArmOperation CreateOrUpdate(Azure.WaitUntil waitUntil, string catalogName, Azure.ResourceManager.PlanetaryComputer.GeoCatalogData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(Azure.WaitUntil waitUntil, string catalogName, Azure.ResourceManager.PlanetaryComputer.GeoCatalogData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.Response Exists(string catalogName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> ExistsAsync(string catalogName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.Response Get(string catalogName, 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 catalogName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.NullableResponse GetIfExists(string catalogName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> GetIfExistsAsync(string catalogName, 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 GeoCatalogData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public GeoCatalogData(Azure.Core.AzureLocation location) { }
+ public Azure.ResourceManager.Models.ManagedServiceIdentity Identity { get { throw null; } set { } }
+ public Azure.ResourceManager.PlanetaryComputer.Models.GeoCatalogProperties Properties { get { throw null; } set { } }
+ protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.PlanetaryComputer.GeoCatalogData 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.PlanetaryComputer.GeoCatalogData 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 GeoCatalogResource : Azure.ResourceManager.ArmResource, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public static readonly Azure.Core.ResourceType ResourceType;
+ protected GeoCatalogResource() { }
+ public virtual Azure.ResourceManager.PlanetaryComputer.GeoCatalogData 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 catalogName) { 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.PlanetaryComputer.GeoCatalogData 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.PlanetaryComputer.GeoCatalogData 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.ResourceManager.ArmOperation Update(Azure.WaitUntil waitUntil, Azure.ResourceManager.PlanetaryComputer.Models.GeoCatalogPatch patch, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> UpdateAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.PlanetaryComputer.Models.GeoCatalogPatch patch, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ }
+ public static partial class PlanetaryComputerExtensions
+ {
+ public static Azure.Response GetGeoCatalog(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string catalogName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public static System.Threading.Tasks.Task> GetGeoCatalogAsync(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string catalogName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public static Azure.ResourceManager.PlanetaryComputer.GeoCatalogResource GetGeoCatalogResource(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id) { throw null; }
+ public static Azure.ResourceManager.PlanetaryComputer.GeoCatalogCollection GetGeoCatalogs(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource) { throw null; }
+ public static Azure.Pageable GetGeoCatalogs(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public static Azure.AsyncPageable GetGeoCatalogsAsync(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ }
+}
+namespace Azure.ResourceManager.PlanetaryComputer.Mocking
+{
+ public partial class MockablePlanetaryComputerArmClient : Azure.ResourceManager.ArmResource
+ {
+ protected MockablePlanetaryComputerArmClient() { }
+ public virtual Azure.ResourceManager.PlanetaryComputer.GeoCatalogResource GetGeoCatalogResource(Azure.Core.ResourceIdentifier id) { throw null; }
+ }
+ public partial class MockablePlanetaryComputerResourceGroupResource : Azure.ResourceManager.ArmResource
+ {
+ protected MockablePlanetaryComputerResourceGroupResource() { }
+ public virtual Azure.Response GetGeoCatalog(string catalogName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task> GetGeoCatalogAsync(string catalogName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.ResourceManager.PlanetaryComputer.GeoCatalogCollection GetGeoCatalogs() { throw null; }
+ }
+ public partial class MockablePlanetaryComputerSubscriptionResource : Azure.ResourceManager.ArmResource
+ {
+ protected MockablePlanetaryComputerSubscriptionResource() { }
+ public virtual Azure.Pageable GetGeoCatalogs(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.AsyncPageable GetGeoCatalogsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ }
+}
+namespace Azure.ResourceManager.PlanetaryComputer.Models
+{
+ public static partial class ArmPlanetaryComputerModelFactory
+ {
+ public static Azure.ResourceManager.PlanetaryComputer.GeoCatalogData GeoCatalogData(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.PlanetaryComputer.Models.GeoCatalogProperties properties = null, Azure.ResourceManager.Models.ManagedServiceIdentity identity = null) { throw null; }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.GeoCatalogProperties GeoCatalogProperties(Azure.ResourceManager.PlanetaryComputer.Models.CatalogTier? tier = default(Azure.ResourceManager.PlanetaryComputer.Models.CatalogTier?), string catalogUri = null, Azure.ResourceManager.PlanetaryComputer.Models.ProvisioningState? provisioningState = default(Azure.ResourceManager.PlanetaryComputer.Models.ProvisioningState?), Azure.ResourceManager.PlanetaryComputer.Models.AutoGeneratedDomainNameLabelScope? autoGeneratedDomainNameLabelScope = default(Azure.ResourceManager.PlanetaryComputer.Models.AutoGeneratedDomainNameLabelScope?)) { throw null; }
+ }
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
+ public readonly partial struct AutoGeneratedDomainNameLabelScope : System.IEquatable
+ {
+ private readonly object _dummy;
+ private readonly int _dummyPrimitive;
+ public AutoGeneratedDomainNameLabelScope(string value) { throw null; }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.AutoGeneratedDomainNameLabelScope NoReuse { get { throw null; } }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.AutoGeneratedDomainNameLabelScope ResourceGroupReuse { get { throw null; } }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.AutoGeneratedDomainNameLabelScope SubscriptionReuse { get { throw null; } }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.AutoGeneratedDomainNameLabelScope TenantReuse { get { throw null; } }
+ public bool Equals(Azure.ResourceManager.PlanetaryComputer.Models.AutoGeneratedDomainNameLabelScope 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.PlanetaryComputer.Models.AutoGeneratedDomainNameLabelScope left, Azure.ResourceManager.PlanetaryComputer.Models.AutoGeneratedDomainNameLabelScope right) { throw null; }
+ public static implicit operator Azure.ResourceManager.PlanetaryComputer.Models.AutoGeneratedDomainNameLabelScope (string value) { throw null; }
+ public static bool operator !=(Azure.ResourceManager.PlanetaryComputer.Models.AutoGeneratedDomainNameLabelScope left, Azure.ResourceManager.PlanetaryComputer.Models.AutoGeneratedDomainNameLabelScope right) { throw null; }
+ public override string ToString() { throw null; }
+ }
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
+ public readonly partial struct CatalogTier : System.IEquatable
+ {
+ private readonly object _dummy;
+ private readonly int _dummyPrimitive;
+ public CatalogTier(string value) { throw null; }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.CatalogTier Basic { get { throw null; } }
+ public bool Equals(Azure.ResourceManager.PlanetaryComputer.Models.CatalogTier 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.PlanetaryComputer.Models.CatalogTier left, Azure.ResourceManager.PlanetaryComputer.Models.CatalogTier right) { throw null; }
+ public static implicit operator Azure.ResourceManager.PlanetaryComputer.Models.CatalogTier (string value) { throw null; }
+ public static bool operator !=(Azure.ResourceManager.PlanetaryComputer.Models.CatalogTier left, Azure.ResourceManager.PlanetaryComputer.Models.CatalogTier right) { throw null; }
+ public override string ToString() { throw null; }
+ }
+ public partial class GeoCatalogPatch : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public GeoCatalogPatch() { }
+ public Azure.ResourceManager.PlanetaryComputer.Models.ManagedServiceIdentityUpdate Identity { 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.PlanetaryComputer.Models.GeoCatalogPatch 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.PlanetaryComputer.Models.GeoCatalogPatch 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 GeoCatalogProperties : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public GeoCatalogProperties() { }
+ public Azure.ResourceManager.PlanetaryComputer.Models.AutoGeneratedDomainNameLabelScope? AutoGeneratedDomainNameLabelScope { get { throw null; } set { } }
+ public string CatalogUri { get { throw null; } }
+ public Azure.ResourceManager.PlanetaryComputer.Models.ProvisioningState? ProvisioningState { get { throw null; } }
+ public Azure.ResourceManager.PlanetaryComputer.Models.CatalogTier? Tier { get { throw null; } set { } }
+ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.PlanetaryComputer.Models.GeoCatalogProperties 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.PlanetaryComputer.Models.GeoCatalogProperties 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 ManagedServiceIdentityType : System.IEquatable
+ {
+ private readonly object _dummy;
+ private readonly int _dummyPrimitive;
+ public ManagedServiceIdentityType(string value) { throw null; }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.ManagedServiceIdentityType None { get { throw null; } }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.ManagedServiceIdentityType SystemAssigned { get { throw null; } }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.ManagedServiceIdentityType SystemAssignedUserAssigned { get { throw null; } }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.ManagedServiceIdentityType UserAssigned { get { throw null; } }
+ public bool Equals(Azure.ResourceManager.PlanetaryComputer.Models.ManagedServiceIdentityType 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.PlanetaryComputer.Models.ManagedServiceIdentityType left, Azure.ResourceManager.PlanetaryComputer.Models.ManagedServiceIdentityType right) { throw null; }
+ public static implicit operator Azure.ResourceManager.PlanetaryComputer.Models.ManagedServiceIdentityType (string value) { throw null; }
+ public static bool operator !=(Azure.ResourceManager.PlanetaryComputer.Models.ManagedServiceIdentityType left, Azure.ResourceManager.PlanetaryComputer.Models.ManagedServiceIdentityType right) { throw null; }
+ public override string ToString() { throw null; }
+ }
+ public partial class ManagedServiceIdentityUpdate : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public ManagedServiceIdentityUpdate() { }
+ public Azure.ResourceManager.PlanetaryComputer.Models.ManagedServiceIdentityType? Type { get { throw null; } set { } }
+ public System.Collections.Generic.IDictionary UserAssignedIdentities { get { throw null; } }
+ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.ResourceManager.PlanetaryComputer.Models.ManagedServiceIdentityUpdate 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.PlanetaryComputer.Models.ManagedServiceIdentityUpdate 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 ProvisioningState : System.IEquatable
+ {
+ private readonly object _dummy;
+ private readonly int _dummyPrimitive;
+ public ProvisioningState(string value) { throw null; }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.ProvisioningState Accepted { get { throw null; } }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.ProvisioningState Canceled { get { throw null; } }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.ProvisioningState Deleting { get { throw null; } }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.ProvisioningState Failed { get { throw null; } }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.ProvisioningState Provisioning { get { throw null; } }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.ProvisioningState Succeeded { get { throw null; } }
+ public static Azure.ResourceManager.PlanetaryComputer.Models.ProvisioningState Updating { get { throw null; } }
+ public bool Equals(Azure.ResourceManager.PlanetaryComputer.Models.ProvisioningState 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.PlanetaryComputer.Models.ProvisioningState left, Azure.ResourceManager.PlanetaryComputer.Models.ProvisioningState right) { throw null; }
+ public static implicit operator Azure.ResourceManager.PlanetaryComputer.Models.ProvisioningState (string value) { throw null; }
+ public static bool operator !=(Azure.ResourceManager.PlanetaryComputer.Models.ProvisioningState left, Azure.ResourceManager.PlanetaryComputer.Models.ProvisioningState right) { throw null; }
+ public override string ToString() { throw null; }
+ }
+}
diff --git a/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/assets.json b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/assets.json
new file mode 100644
index 000000000000..db5f881ed922
--- /dev/null
+++ b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/assets.json
@@ -0,0 +1,8 @@
+{
+ "AssetsRepo": "Azure/azure-sdk-assets",
+ "AssetsRepoPrefixPath": "net",
+ "TagPrefix": "net/planetarycomputer/Azure.ResourceManager.PlanetaryComputer",
+ "Tag": "net/planetarycomputer/Azure.ResourceManager.PlanetaryComputer_d1a808570c",
+ "ServiceDirectory": "planetarycomputer",
+ "SessionRecordsDirectory": "SessionRecords"
+ }
diff --git a/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/samples/Azure.ResourceManager.PlanetaryComputer.Samples.csproj b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/samples/Azure.ResourceManager.PlanetaryComputer.Samples.csproj
new file mode 100644
index 000000000000..9afe1f52866d
--- /dev/null
+++ b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/samples/Azure.ResourceManager.PlanetaryComputer.Samples.csproj
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/samples/Generated/Samples/GeneratedSamples.csproj b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/samples/Generated/Samples/GeneratedSamples.csproj
new file mode 100644
index 000000000000..7ee7af72add3
--- /dev/null
+++ b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/samples/Generated/Samples/GeneratedSamples.csproj
@@ -0,0 +1,21 @@
+
+
+
+ Exe
+ net8.0
+ enable
+ enable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/samples/Generated/Samples/Sample_GeoCatalogCollection.cs b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/samples/Generated/Samples/Sample_GeoCatalogCollection.cs
new file mode 100644
index 000000000000..cdc6996c9ae2
--- /dev/null
+++ b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/samples/Generated/Samples/Sample_GeoCatalogCollection.cs
@@ -0,0 +1,212 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Threading.Tasks;
+using Azure.Core;
+using Azure.Identity;
+using Azure.ResourceManager.Models;
+using Azure.ResourceManager.Resources;
+using Azure.ResourceManager.PlanetaryComputer.Models;
+using NUnit.Framework;
+
+namespace Azure.ResourceManager.PlanetaryComputer.Samples
+{
+ public partial class Sample_GeoCatalogCollection
+ {
+ [Test]
+ [Ignore("Only validating compilation of examples")]
+ public async Task CreateOrUpdate_GeoCatalogsCreate()
+ {
+ // Generated from example definition: 2025-02-11-preview/GeoCatalogs_Create.json
+ // this example is just showing the usage of "GeoCatalog_Create" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this ResourceGroupResource created on azure
+ // for more information of creating ResourceGroupResource, please refer to the document of ResourceGroupResource
+ string subscriptionId = "ac9a1867-7476-4346-bf8b-968370fe212c";
+ string resourceGroupName = "MyResourceGroup";
+ ResourceIdentifier resourceGroupResourceId = ResourceGroupResource.CreateResourceIdentifier(subscriptionId, resourceGroupName);
+ ResourceGroupResource resourceGroupResource = client.GetResourceGroupResource(resourceGroupResourceId);
+
+ // get the collection of this GeoCatalogResource
+ GeoCatalogCollection collection = resourceGroupResource.GetGeoCatalogs();
+
+ // invoke the operation
+ string catalogName = "MyCatalog";
+ GeoCatalogData data = new GeoCatalogData(new AzureLocation("eastus"))
+ {
+ Properties = new GeoCatalogProperties
+ {
+ Tier = CatalogTier.Basic,
+ AutoGeneratedDomainNameLabelScope = AutoGeneratedDomainNameLabelScope.NoReuse,
+ },
+ Identity = new ManagedServiceIdentity("UserAssigned")
+ {
+ UserAssignedIdentities =
+{
+[new ResourceIdentifier("/subscriptions/ac9a1867-7476-4346-bf8b-968370fe212c/resourceGroups/MyResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/MyManagedIdentity")] = new UserAssignedIdentity()
+},
+ },
+ Tags =
+{
+["MyTag"] = "MyValue"
+},
+ };
+ ArmOperation lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, catalogName, data);
+ GeoCatalogResource result = lro.Value;
+
+ // the variable result is a resource, you could call other operations on this instance as well
+ // but just for demo, we get its data from this resource instance
+ GeoCatalogData resourceData = result.Data;
+ // for demo we just print out the id
+ Console.WriteLine($"Succeeded on id: {resourceData.Id}");
+ }
+
+ [Test]
+ [Ignore("Only validating compilation of examples")]
+ public async Task Get_GeoCatalogsGet()
+ {
+ // Generated from example definition: 2025-02-11-preview/GeoCatalogs_Get.json
+ // this example is just showing the usage of "GeoCatalog_Get" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this ResourceGroupResource created on azure
+ // for more information of creating ResourceGroupResource, please refer to the document of ResourceGroupResource
+ string subscriptionId = "ac9a1867-7476-4346-bf8b-968370fe212c";
+ string resourceGroupName = "MyResourceGroup";
+ ResourceIdentifier resourceGroupResourceId = ResourceGroupResource.CreateResourceIdentifier(subscriptionId, resourceGroupName);
+ ResourceGroupResource resourceGroupResource = client.GetResourceGroupResource(resourceGroupResourceId);
+
+ // get the collection of this GeoCatalogResource
+ GeoCatalogCollection collection = resourceGroupResource.GetGeoCatalogs();
+
+ // invoke the operation
+ string catalogName = "MyCatalog";
+ GeoCatalogResource result = await collection.GetAsync(catalogName);
+
+ // the variable result is a resource, you could call other operations on this instance as well
+ // but just for demo, we get its data from this resource instance
+ GeoCatalogData resourceData = result.Data;
+ // for demo we just print out the id
+ Console.WriteLine($"Succeeded on id: {resourceData.Id}");
+ }
+
+ [Test]
+ [Ignore("Only validating compilation of examples")]
+ public async Task GetAll_GeoCatalogsListByResourceGroup()
+ {
+ // Generated from example definition: 2025-02-11-preview/GeoCatalogs_ListByResourceGroup.json
+ // this example is just showing the usage of "GeoCatalog_ListByResourceGroup" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this ResourceGroupResource created on azure
+ // for more information of creating ResourceGroupResource, please refer to the document of ResourceGroupResource
+ string subscriptionId = "ac9a1867-7476-4346-bf8b-968370fe212c";
+ string resourceGroupName = "MyResourceGroup";
+ ResourceIdentifier resourceGroupResourceId = ResourceGroupResource.CreateResourceIdentifier(subscriptionId, resourceGroupName);
+ ResourceGroupResource resourceGroupResource = client.GetResourceGroupResource(resourceGroupResourceId);
+
+ // get the collection of this GeoCatalogResource
+ GeoCatalogCollection collection = resourceGroupResource.GetGeoCatalogs();
+
+ // invoke the operation and iterate over the result
+ await foreach (GeoCatalogResource item in collection.GetAllAsync())
+ {
+ // the variable item is a resource, you could call other operations on this instance as well
+ // but just for demo, we get its data from this resource instance
+ GeoCatalogData resourceData = item.Data;
+ // for demo we just print out the id
+ Console.WriteLine($"Succeeded on id: {resourceData.Id}");
+ }
+
+ Console.WriteLine("Succeeded");
+ }
+
+ [Test]
+ [Ignore("Only validating compilation of examples")]
+ public async Task Exists_GeoCatalogsGet()
+ {
+ // Generated from example definition: 2025-02-11-preview/GeoCatalogs_Get.json
+ // this example is just showing the usage of "GeoCatalog_Get" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this ResourceGroupResource created on azure
+ // for more information of creating ResourceGroupResource, please refer to the document of ResourceGroupResource
+ string subscriptionId = "ac9a1867-7476-4346-bf8b-968370fe212c";
+ string resourceGroupName = "MyResourceGroup";
+ ResourceIdentifier resourceGroupResourceId = ResourceGroupResource.CreateResourceIdentifier(subscriptionId, resourceGroupName);
+ ResourceGroupResource resourceGroupResource = client.GetResourceGroupResource(resourceGroupResourceId);
+
+ // get the collection of this GeoCatalogResource
+ GeoCatalogCollection collection = resourceGroupResource.GetGeoCatalogs();
+
+ // invoke the operation
+ string catalogName = "MyCatalog";
+ bool result = await collection.ExistsAsync(catalogName);
+
+ Console.WriteLine($"Succeeded: {result}");
+ }
+
+ [Test]
+ [Ignore("Only validating compilation of examples")]
+ public async Task GetIfExists_GeoCatalogsGet()
+ {
+ // Generated from example definition: 2025-02-11-preview/GeoCatalogs_Get.json
+ // this example is just showing the usage of "GeoCatalog_Get" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this ResourceGroupResource created on azure
+ // for more information of creating ResourceGroupResource, please refer to the document of ResourceGroupResource
+ string subscriptionId = "ac9a1867-7476-4346-bf8b-968370fe212c";
+ string resourceGroupName = "MyResourceGroup";
+ ResourceIdentifier resourceGroupResourceId = ResourceGroupResource.CreateResourceIdentifier(subscriptionId, resourceGroupName);
+ ResourceGroupResource resourceGroupResource = client.GetResourceGroupResource(resourceGroupResourceId);
+
+ // get the collection of this GeoCatalogResource
+ GeoCatalogCollection collection = resourceGroupResource.GetGeoCatalogs();
+
+ // invoke the operation
+ string catalogName = "MyCatalog";
+ NullableResponse response = await collection.GetIfExistsAsync(catalogName);
+ GeoCatalogResource result = response.HasValue ? response.Value : null;
+
+ if (result == null)
+ {
+ Console.WriteLine("Succeeded with null as result");
+ }
+ else
+ {
+ // the variable result is a resource, you could call other operations on this instance as well
+ // but just for demo, we get its data from this resource instance
+ GeoCatalogData resourceData = result.Data;
+ // for demo we just print out the id
+ Console.WriteLine($"Succeeded on id: {resourceData.Id}");
+ }
+ }
+ }
+}
diff --git a/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/samples/Generated/Samples/Sample_GeoCatalogResource.cs b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/samples/Generated/Samples/Sample_GeoCatalogResource.cs
new file mode 100644
index 000000000000..34ace5aac654
--- /dev/null
+++ b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/samples/Generated/Samples/Sample_GeoCatalogResource.cs
@@ -0,0 +1,122 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Threading.Tasks;
+using Azure.Core;
+using Azure.Identity;
+using Azure.ResourceManager.Models;
+using Azure.ResourceManager.PlanetaryComputer.Models;
+using NUnit.Framework;
+
+namespace Azure.ResourceManager.PlanetaryComputer.Samples
+{
+ public partial class Sample_GeoCatalogResource
+ {
+ [Test]
+ [Ignore("Only validating compilation of examples")]
+ public async Task Get_GeoCatalogsGet()
+ {
+ // Generated from example definition: 2025-02-11-preview/GeoCatalogs_Get.json
+ // this example is just showing the usage of "GeoCatalog_Get" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this GeoCatalogResource created on azure
+ // for more information of creating GeoCatalogResource, please refer to the document of GeoCatalogResource
+ string subscriptionId = "ac9a1867-7476-4346-bf8b-968370fe212c";
+ string resourceGroupName = "MyResourceGroup";
+ string catalogName = "MyCatalog";
+ ResourceIdentifier geoCatalogResourceId = GeoCatalogResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, catalogName);
+ GeoCatalogResource geoCatalog = client.GetGeoCatalogResource(geoCatalogResourceId);
+
+ // invoke the operation
+ GeoCatalogResource result = await geoCatalog.GetAsync();
+
+ // the variable result is a resource, you could call other operations on this instance as well
+ // but just for demo, we get its data from this resource instance
+ GeoCatalogData resourceData = result.Data;
+ // for demo we just print out the id
+ Console.WriteLine($"Succeeded on id: {resourceData.Id}");
+ }
+
+ [Test]
+ [Ignore("Only validating compilation of examples")]
+ public async Task Delete_GeoCatalogsDelete()
+ {
+ // Generated from example definition: 2025-02-11-preview/GeoCatalogs_Delete.json
+ // this example is just showing the usage of "GeoCatalog_Delete" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this GeoCatalogResource created on azure
+ // for more information of creating GeoCatalogResource, please refer to the document of GeoCatalogResource
+ string subscriptionId = "ac9a1867-7476-4346-bf8b-968370fe212c";
+ string resourceGroupName = "MyResourceGroup";
+ string catalogName = "MyCatalog";
+ ResourceIdentifier geoCatalogResourceId = GeoCatalogResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, catalogName);
+ GeoCatalogResource geoCatalog = client.GetGeoCatalogResource(geoCatalogResourceId);
+
+ // invoke the operation
+ await geoCatalog.DeleteAsync(WaitUntil.Completed);
+
+ Console.WriteLine("Succeeded");
+ }
+
+ [Test]
+ [Ignore("Only validating compilation of examples")]
+ public async Task Update_GeoCatalogsUpdate()
+ {
+ // Generated from example definition: 2025-02-11-preview/GeoCatalogs_Update.json
+ // this example is just showing the usage of "GeoCatalog_Update" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this GeoCatalogResource created on azure
+ // for more information of creating GeoCatalogResource, please refer to the document of GeoCatalogResource
+ string subscriptionId = "ac9a1867-7476-4346-bf8b-968370fe212c";
+ string resourceGroupName = "MyResourceGroup";
+ string catalogName = "MyCatalog";
+ ResourceIdentifier geoCatalogResourceId = GeoCatalogResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, catalogName);
+ GeoCatalogResource geoCatalog = client.GetGeoCatalogResource(geoCatalogResourceId);
+
+ // invoke the operation
+ GeoCatalogPatch patch = new GeoCatalogPatch
+ {
+ Tags =
+{
+["MyTag"] = "MyValue"
+},
+ Identity = new ManagedServiceIdentityUpdate
+ {
+ Type = Models.ManagedServiceIdentityType.UserAssigned,
+ UserAssignedIdentities =
+{
+["/subscriptions/ac9a1867-7476-4346-bf8b-968370fe212c/resourceGroups/MyResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/MyManagedIdentity"] = new UserAssignedIdentity()
+},
+ },
+ };
+ ArmOperation lro = await geoCatalog.UpdateAsync(WaitUntil.Completed, patch);
+ GeoCatalogResource result = lro.Value;
+
+ // the variable result is a resource, you could call other operations on this instance as well
+ // but just for demo, we get its data from this resource instance
+ GeoCatalogData resourceData = result.Data;
+ // for demo we just print out the id
+ Console.WriteLine($"Succeeded on id: {resourceData.Id}");
+ }
+ }
+}
diff --git a/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs
new file mode 100644
index 000000000000..f60adfb6971d
--- /dev/null
+++ b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs
@@ -0,0 +1,50 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Threading.Tasks;
+using Azure.Core;
+using Azure.Identity;
+using Azure.ResourceManager.Resources;
+using NUnit.Framework;
+
+namespace Azure.ResourceManager.PlanetaryComputer.Samples
+{
+ public partial class Sample_SubscriptionResourceExtensions
+ {
+ [Test]
+ [Ignore("Only validating compilation of examples")]
+ public async Task GetGeoCatalogs_GeoCatalogsListBySubscription()
+ {
+ // Generated from example definition: 2025-02-11-preview/GeoCatalogs_ListBySubscription.json
+ // this example is just showing the usage of "GeoCatalog_ListBySubscription" operation, for the dependent resources, they will have to be created separately.
+
+ // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
+ TokenCredential cred = new DefaultAzureCredential();
+ // authenticate your client
+ ArmClient client = new ArmClient(cred);
+
+ // this example assumes you already have this SubscriptionResource created on azure
+ // for more information of creating SubscriptionResource, please refer to the document of SubscriptionResource
+ string subscriptionId = "ac9a1867-7476-4346-bf8b-968370fe212c";
+ ResourceIdentifier subscriptionResourceId = SubscriptionResource.CreateResourceIdentifier(subscriptionId);
+ SubscriptionResource subscriptionResource = client.GetSubscriptionResource(subscriptionResourceId);
+
+ // invoke the operation and iterate over the result
+ await foreach (GeoCatalogResource item in subscriptionResource.GetGeoCatalogsAsync())
+ {
+ // the variable item is a resource, you could call other operations on this instance as well
+ // but just for demo, we get its data from this resource instance
+ GeoCatalogData resourceData = item.Data;
+ // for demo we just print out the id
+ Console.WriteLine($"Succeeded on id: {resourceData.Id}");
+ }
+
+ Console.WriteLine("Succeeded");
+ }
+ }
+}
diff --git a/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Azure.ResourceManager.PlanetaryComputer.csproj b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Azure.ResourceManager.PlanetaryComputer.csproj
new file mode 100644
index 000000000000..da5b0f0990ab
--- /dev/null
+++ b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Azure.ResourceManager.PlanetaryComputer.csproj
@@ -0,0 +1,8 @@
+
+
+ Azure Resource Manager client SDK for Azure resource provider PlanetaryComputer.
+ 1.0.0-beta.1
+ azure;management;arm;resource manager;PlanetaryComputer
+ Azure.ResourceManager.PlanetaryComputer
+
+
diff --git a/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/ArmPlanetaryComputerModelFactory.cs b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/ArmPlanetaryComputerModelFactory.cs
new file mode 100644
index 000000000000..c0cf1974e871
--- /dev/null
+++ b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/ArmPlanetaryComputerModelFactory.cs
@@ -0,0 +1,56 @@
+// 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.PlanetaryComputer.Models
+{
+ /// Model factory for models.
+ public static partial class ArmPlanetaryComputerModelFactory
+ {
+ /// Initializes a new instance of .
+ /// The id.
+ /// The name.
+ /// The resourceType.
+ /// The systemData.
+ /// The tags.
+ /// The location.
+ /// The resource-specific properties for this resource.
+ /// The managed service identities assigned to this resource.
+ /// A new instance for mocking.
+ public static GeoCatalogData GeoCatalogData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, GeoCatalogProperties properties = null, ManagedServiceIdentity identity = null)
+ {
+ tags ??= new Dictionary();
+
+ return new GeoCatalogData(
+ id,
+ name,
+ resourceType,
+ systemData,
+ tags,
+ location,
+ properties,
+ identity,
+ serializedAdditionalRawData: null);
+ }
+
+ /// Initializes a new instance of .
+ /// Tier of the catalog. This cannot be changed after the catalog is created. If not provided, defaults to Basic.
+ /// The URI of the catalog management UI.
+ /// The status of the last operation.
+ /// The scope of the auto-generated domain name label. If not provided, defaults to TenantReuse.
+ /// A new instance for mocking.
+ public static GeoCatalogProperties GeoCatalogProperties(CatalogTier? tier = null, string catalogUri = null, ProvisioningState? provisioningState = null, AutoGeneratedDomainNameLabelScope? autoGeneratedDomainNameLabelScope = null)
+ {
+ return new GeoCatalogProperties(tier, catalogUri, provisioningState, autoGeneratedDomainNameLabelScope, serializedAdditionalRawData: null);
+ }
+ }
+}
diff --git a/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/Extensions/MockablePlanetaryComputerArmClient.cs b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/Extensions/MockablePlanetaryComputerArmClient.cs
new file mode 100644
index 000000000000..ac41b6df6e77
--- /dev/null
+++ b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/Extensions/MockablePlanetaryComputerArmClient.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.PlanetaryComputer.Mocking
+{
+ /// A class to add extension methods to ArmClient.
+ public partial class MockablePlanetaryComputerArmClient : ArmResource
+ {
+ /// Initializes a new instance of the class for mocking.
+ protected MockablePlanetaryComputerArmClient()
+ {
+ }
+
+ /// 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 MockablePlanetaryComputerArmClient(ArmClient client, ResourceIdentifier id) : base(client, id)
+ {
+ }
+
+ internal MockablePlanetaryComputerArmClient(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 GeoCatalogResource GetGeoCatalogResource(ResourceIdentifier id)
+ {
+ GeoCatalogResource.ValidateResourceId(id);
+ return new GeoCatalogResource(Client, id);
+ }
+ }
+}
diff --git a/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/Extensions/MockablePlanetaryComputerResourceGroupResource.cs b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/Extensions/MockablePlanetaryComputerResourceGroupResource.cs
new file mode 100644
index 000000000000..88c144c45dce
--- /dev/null
+++ b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/Extensions/MockablePlanetaryComputerResourceGroupResource.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.PlanetaryComputer.Mocking
+{
+ /// A class to add extension methods to ResourceGroupResource.
+ public partial class MockablePlanetaryComputerResourceGroupResource : ArmResource
+ {
+ /// Initializes a new instance of the class for mocking.
+ protected MockablePlanetaryComputerResourceGroupResource()
+ {
+ }
+
+ /// 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 MockablePlanetaryComputerResourceGroupResource(ArmClient client, ResourceIdentifier id) : base(client, id)
+ {
+ }
+
+ private string GetApiVersionOrNull(ResourceType resourceType)
+ {
+ TryGetApiVersion(resourceType, out string apiVersion);
+ return apiVersion;
+ }
+
+ /// Gets a collection of GeoCatalogResources in the ResourceGroupResource.
+ /// An object representing collection of GeoCatalogResources and their operations over a GeoCatalogResource.
+ public virtual GeoCatalogCollection GetGeoCatalogs()
+ {
+ return GetCachedClient(client => new GeoCatalogCollection(client, Id));
+ }
+
+ ///
+ /// Get a GeoCatalog
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/geoCatalogs/{catalogName}
+ ///
+ /// -
+ /// Operation Id
+ /// GeoCatalog_Get
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-02-11-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The name of the catalog.
+ /// The cancellation token to use.
+ /// is null.
+ /// is an empty string, and was expected to be non-empty.
+ [ForwardsClientCalls]
+ public virtual async Task> GetGeoCatalogAsync(string catalogName, CancellationToken cancellationToken = default)
+ {
+ return await GetGeoCatalogs().GetAsync(catalogName, cancellationToken).ConfigureAwait(false);
+ }
+
+ ///
+ /// Get a GeoCatalog
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/geoCatalogs/{catalogName}
+ ///
+ /// -
+ /// Operation Id
+ /// GeoCatalog_Get
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-02-11-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The name of the catalog.
+ /// The cancellation token to use.
+ /// is null.
+ /// is an empty string, and was expected to be non-empty.
+ [ForwardsClientCalls]
+ public virtual Response GetGeoCatalog(string catalogName, CancellationToken cancellationToken = default)
+ {
+ return GetGeoCatalogs().Get(catalogName, cancellationToken);
+ }
+ }
+}
diff --git a/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/Extensions/MockablePlanetaryComputerSubscriptionResource.cs b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/Extensions/MockablePlanetaryComputerSubscriptionResource.cs
new file mode 100644
index 000000000000..b657209ab2c4
--- /dev/null
+++ b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/Extensions/MockablePlanetaryComputerSubscriptionResource.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.PlanetaryComputer.Mocking
+{
+ /// A class to add extension methods to SubscriptionResource.
+ public partial class MockablePlanetaryComputerSubscriptionResource : ArmResource
+ {
+ private ClientDiagnostics _geoCatalogClientDiagnostics;
+ private GeoCatalogsRestOperations _geoCatalogRestClient;
+
+ /// Initializes a new instance of the class for mocking.
+ protected MockablePlanetaryComputerSubscriptionResource()
+ {
+ }
+
+ /// 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 MockablePlanetaryComputerSubscriptionResource(ArmClient client, ResourceIdentifier id) : base(client, id)
+ {
+ }
+
+ private ClientDiagnostics GeoCatalogClientDiagnostics => _geoCatalogClientDiagnostics ??= new ClientDiagnostics("Azure.ResourceManager.PlanetaryComputer", GeoCatalogResource.ResourceType.Namespace, Diagnostics);
+ private GeoCatalogsRestOperations GeoCatalogRestClient => _geoCatalogRestClient ??= new GeoCatalogsRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint, GetApiVersionOrNull(GeoCatalogResource.ResourceType));
+
+ private string GetApiVersionOrNull(ResourceType resourceType)
+ {
+ TryGetApiVersion(resourceType, out string apiVersion);
+ return apiVersion;
+ }
+
+ ///
+ /// List GeoCatalog resources by subscription ID
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/providers/Microsoft.Orbital/geoCatalogs
+ ///
+ /// -
+ /// Operation Id
+ /// GeoCatalog_ListBySubscription
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-02-11-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The cancellation token to use.
+ /// An async collection of that may take multiple service requests to iterate over.
+ public virtual AsyncPageable GetGeoCatalogsAsync(CancellationToken cancellationToken = default)
+ {
+ HttpMessage FirstPageRequest(int? pageSizeHint) => GeoCatalogRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => GeoCatalogRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId);
+ return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => new GeoCatalogResource(Client, GeoCatalogData.DeserializeGeoCatalogData(e)), GeoCatalogClientDiagnostics, Pipeline, "MockablePlanetaryComputerSubscriptionResource.GetGeoCatalogs", "value", "nextLink", cancellationToken);
+ }
+
+ ///
+ /// List GeoCatalog resources by subscription ID
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/providers/Microsoft.Orbital/geoCatalogs
+ ///
+ /// -
+ /// Operation Id
+ /// GeoCatalog_ListBySubscription
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-02-11-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The cancellation token to use.
+ /// A collection of that may take multiple service requests to iterate over.
+ public virtual Pageable GetGeoCatalogs(CancellationToken cancellationToken = default)
+ {
+ HttpMessage FirstPageRequest(int? pageSizeHint) => GeoCatalogRestClient.CreateListBySubscriptionRequest(Id.SubscriptionId);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => GeoCatalogRestClient.CreateListBySubscriptionNextPageRequest(nextLink, Id.SubscriptionId);
+ return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => new GeoCatalogResource(Client, GeoCatalogData.DeserializeGeoCatalogData(e)), GeoCatalogClientDiagnostics, Pipeline, "MockablePlanetaryComputerSubscriptionResource.GetGeoCatalogs", "value", "nextLink", cancellationToken);
+ }
+ }
+}
diff --git a/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/Extensions/PlanetaryComputerExtensions.cs b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/Extensions/PlanetaryComputerExtensions.cs
new file mode 100644
index 000000000000..d3ce6d23f989
--- /dev/null
+++ b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/Extensions/PlanetaryComputerExtensions.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.PlanetaryComputer.Mocking;
+using Azure.ResourceManager.Resources;
+
+namespace Azure.ResourceManager.PlanetaryComputer
+{
+ /// A class to add extension methods to Azure.ResourceManager.PlanetaryComputer.
+ public static partial class PlanetaryComputerExtensions
+ {
+ private static MockablePlanetaryComputerArmClient GetMockablePlanetaryComputerArmClient(ArmClient client)
+ {
+ return client.GetCachedClient(client0 => new MockablePlanetaryComputerArmClient(client0));
+ }
+
+ private static MockablePlanetaryComputerResourceGroupResource GetMockablePlanetaryComputerResourceGroupResource(ArmResource resource)
+ {
+ return resource.GetCachedClient(client => new MockablePlanetaryComputerResourceGroupResource(client, resource.Id));
+ }
+
+ private static MockablePlanetaryComputerSubscriptionResource GetMockablePlanetaryComputerSubscriptionResource(ArmResource resource)
+ {
+ return resource.GetCachedClient(client => new MockablePlanetaryComputerSubscriptionResource(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 GeoCatalogResource GetGeoCatalogResource(this ArmClient client, ResourceIdentifier id)
+ {
+ Argument.AssertNotNull(client, nameof(client));
+
+ return GetMockablePlanetaryComputerArmClient(client).GetGeoCatalogResource(id);
+ }
+
+ ///
+ /// Gets a collection of GeoCatalogResources 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 GeoCatalogResources and their operations over a GeoCatalogResource.
+ public static GeoCatalogCollection GetGeoCatalogs(this ResourceGroupResource resourceGroupResource)
+ {
+ Argument.AssertNotNull(resourceGroupResource, nameof(resourceGroupResource));
+
+ return GetMockablePlanetaryComputerResourceGroupResource(resourceGroupResource).GetGeoCatalogs();
+ }
+
+ ///
+ /// Get a GeoCatalog
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/geoCatalogs/{catalogName}
+ ///
+ /// -
+ /// Operation Id
+ /// GeoCatalog_Get
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-02-11-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ /// -
+ /// Mocking
+ /// To mock this method, please mock instead.
+ ///
+ ///
+ /// The instance the method will execute against.
+ /// The name of the catalog.
+ /// The cancellation token to use.
+ /// or is null.
+ /// is an empty string, and was expected to be non-empty.
+ [ForwardsClientCalls]
+ public static async Task> GetGeoCatalogAsync(this ResourceGroupResource resourceGroupResource, string catalogName, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNull(resourceGroupResource, nameof(resourceGroupResource));
+
+ return await GetMockablePlanetaryComputerResourceGroupResource(resourceGroupResource).GetGeoCatalogAsync(catalogName, cancellationToken).ConfigureAwait(false);
+ }
+
+ ///
+ /// Get a GeoCatalog
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/geoCatalogs/{catalogName}
+ ///
+ /// -
+ /// Operation Id
+ /// GeoCatalog_Get
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-02-11-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ /// -
+ /// Mocking
+ /// To mock this method, please mock instead.
+ ///
+ ///
+ /// The instance the method will execute against.
+ /// The name of the catalog.
+ /// The cancellation token to use.
+ /// or is null.
+ /// is an empty string, and was expected to be non-empty.
+ [ForwardsClientCalls]
+ public static Response GetGeoCatalog(this ResourceGroupResource resourceGroupResource, string catalogName, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNull(resourceGroupResource, nameof(resourceGroupResource));
+
+ return GetMockablePlanetaryComputerResourceGroupResource(resourceGroupResource).GetGeoCatalog(catalogName, cancellationToken);
+ }
+
+ ///
+ /// List GeoCatalog resources by subscription ID
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/providers/Microsoft.Orbital/geoCatalogs
+ ///
+ /// -
+ /// Operation Id
+ /// GeoCatalog_ListBySubscription
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-02-11-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 GetGeoCatalogsAsync(this SubscriptionResource subscriptionResource, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource));
+
+ return GetMockablePlanetaryComputerSubscriptionResource(subscriptionResource).GetGeoCatalogsAsync(cancellationToken);
+ }
+
+ ///
+ /// List GeoCatalog resources by subscription ID
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/providers/Microsoft.Orbital/geoCatalogs
+ ///
+ /// -
+ /// Operation Id
+ /// GeoCatalog_ListBySubscription
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-02-11-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 GetGeoCatalogs(this SubscriptionResource subscriptionResource, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNull(subscriptionResource, nameof(subscriptionResource));
+
+ return GetMockablePlanetaryComputerSubscriptionResource(subscriptionResource).GetGeoCatalogs(cancellationToken);
+ }
+ }
+}
diff --git a/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/GeoCatalogCollection.cs b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/GeoCatalogCollection.cs
new file mode 100644
index 000000000000..fd8b83938ea8
--- /dev/null
+++ b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/GeoCatalogCollection.cs
@@ -0,0 +1,494 @@
+// 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.Globalization;
+using System.Threading;
+using System.Threading.Tasks;
+using Autorest.CSharp.Core;
+using Azure.Core;
+using Azure.Core.Pipeline;
+using Azure.ResourceManager.Resources;
+
+namespace Azure.ResourceManager.PlanetaryComputer
+{
+ ///
+ /// A class representing a collection of and their operations.
+ /// Each in the collection will belong to the same instance of .
+ /// To get a instance call the GetGeoCatalogs method from an instance of .
+ ///
+ public partial class GeoCatalogCollection : ArmCollection, IEnumerable, IAsyncEnumerable
+ {
+ private readonly ClientDiagnostics _geoCatalogClientDiagnostics;
+ private readonly GeoCatalogsRestOperations _geoCatalogRestClient;
+
+ /// Initializes a new instance of the class for mocking.
+ protected GeoCatalogCollection()
+ {
+ }
+
+ /// Initializes a new instance of the class.
+ /// The client parameters to use in these operations.
+ /// The identifier of the parent resource that is the target of operations.
+ internal GeoCatalogCollection(ArmClient client, ResourceIdentifier id) : base(client, id)
+ {
+ _geoCatalogClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.PlanetaryComputer", GeoCatalogResource.ResourceType.Namespace, Diagnostics);
+ TryGetApiVersion(GeoCatalogResource.ResourceType, out string geoCatalogApiVersion);
+ _geoCatalogRestClient = new GeoCatalogsRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint, geoCatalogApiVersion);
+#if DEBUG
+ ValidateResourceId(Id);
+#endif
+ }
+
+ internal static void ValidateResourceId(ResourceIdentifier id)
+ {
+ if (id.ResourceType != ResourceGroupResource.ResourceType)
+ throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, "Invalid resource type {0} expected {1}", id.ResourceType, ResourceGroupResource.ResourceType), nameof(id));
+ }
+
+ ///
+ /// Create a GeoCatalog
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/geoCatalogs/{catalogName}
+ ///
+ /// -
+ /// Operation Id
+ /// GeoCatalog_Create
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-02-11-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.
+ /// The name of the catalog.
+ /// Resource create parameters.
+ /// The cancellation token to use.
+ /// is an empty string, and was expected to be non-empty.
+ /// or is null.
+ public virtual async Task> CreateOrUpdateAsync(WaitUntil waitUntil, string catalogName, GeoCatalogData data, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(catalogName, nameof(catalogName));
+ Argument.AssertNotNull(data, nameof(data));
+
+ using var scope = _geoCatalogClientDiagnostics.CreateScope("GeoCatalogCollection.CreateOrUpdate");
+ scope.Start();
+ try
+ {
+ var response = await _geoCatalogRestClient.CreateAsync(Id.SubscriptionId, Id.ResourceGroupName, catalogName, data, cancellationToken).ConfigureAwait(false);
+ var operation = new PlanetaryComputerArmOperation(new GeoCatalogOperationSource(Client), _geoCatalogClientDiagnostics, Pipeline, _geoCatalogRestClient.CreateCreateRequest(Id.SubscriptionId, Id.ResourceGroupName, catalogName, data).Request, response, OperationFinalStateVia.AzureAsyncOperation);
+ if (waitUntil == WaitUntil.Completed)
+ await operation.WaitForCompletionAsync(cancellationToken).ConfigureAwait(false);
+ return operation;
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ ///
+ /// Create a GeoCatalog
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/geoCatalogs/{catalogName}
+ ///
+ /// -
+ /// Operation Id
+ /// GeoCatalog_Create
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-02-11-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.
+ /// The name of the catalog.
+ /// Resource create parameters.
+ /// The cancellation token to use.
+ /// is an empty string, and was expected to be non-empty.
+ /// or is null.
+ public virtual ArmOperation CreateOrUpdate(WaitUntil waitUntil, string catalogName, GeoCatalogData data, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(catalogName, nameof(catalogName));
+ Argument.AssertNotNull(data, nameof(data));
+
+ using var scope = _geoCatalogClientDiagnostics.CreateScope("GeoCatalogCollection.CreateOrUpdate");
+ scope.Start();
+ try
+ {
+ var response = _geoCatalogRestClient.Create(Id.SubscriptionId, Id.ResourceGroupName, catalogName, data, cancellationToken);
+ var operation = new PlanetaryComputerArmOperation(new GeoCatalogOperationSource(Client), _geoCatalogClientDiagnostics, Pipeline, _geoCatalogRestClient.CreateCreateRequest(Id.SubscriptionId, Id.ResourceGroupName, catalogName, data).Request, response, OperationFinalStateVia.AzureAsyncOperation);
+ if (waitUntil == WaitUntil.Completed)
+ operation.WaitForCompletion(cancellationToken);
+ return operation;
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ ///
+ /// Get a GeoCatalog
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/geoCatalogs/{catalogName}
+ ///
+ /// -
+ /// Operation Id
+ /// GeoCatalog_Get
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-02-11-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The name of the catalog.
+ /// The cancellation token to use.
+ /// is an empty string, and was expected to be non-empty.
+ /// is null.
+ public virtual async Task> GetAsync(string catalogName, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(catalogName, nameof(catalogName));
+
+ using var scope = _geoCatalogClientDiagnostics.CreateScope("GeoCatalogCollection.Get");
+ scope.Start();
+ try
+ {
+ var response = await _geoCatalogRestClient.GetAsync(Id.SubscriptionId, Id.ResourceGroupName, catalogName, cancellationToken).ConfigureAwait(false);
+ if (response.Value == null)
+ throw new RequestFailedException(response.GetRawResponse());
+ return Response.FromValue(new GeoCatalogResource(Client, response.Value), response.GetRawResponse());
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ ///
+ /// Get a GeoCatalog
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/geoCatalogs/{catalogName}
+ ///
+ /// -
+ /// Operation Id
+ /// GeoCatalog_Get
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-02-11-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The name of the catalog.
+ /// The cancellation token to use.
+ /// is an empty string, and was expected to be non-empty.
+ /// is null.
+ public virtual Response Get(string catalogName, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(catalogName, nameof(catalogName));
+
+ using var scope = _geoCatalogClientDiagnostics.CreateScope("GeoCatalogCollection.Get");
+ scope.Start();
+ try
+ {
+ var response = _geoCatalogRestClient.Get(Id.SubscriptionId, Id.ResourceGroupName, catalogName, cancellationToken);
+ if (response.Value == null)
+ throw new RequestFailedException(response.GetRawResponse());
+ return Response.FromValue(new GeoCatalogResource(Client, response.Value), response.GetRawResponse());
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ ///
+ /// List GeoCatalog resources by resource group
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/geoCatalogs
+ ///
+ /// -
+ /// Operation Id
+ /// GeoCatalog_ListByResourceGroup
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-02-11-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The cancellation token to use.
+ /// An async collection of that may take multiple service requests to iterate over.
+ public virtual AsyncPageable GetAllAsync(CancellationToken cancellationToken = default)
+ {
+ HttpMessage FirstPageRequest(int? pageSizeHint) => _geoCatalogRestClient.CreateListByResourceGroupRequest(Id.SubscriptionId, Id.ResourceGroupName);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => _geoCatalogRestClient.CreateListByResourceGroupNextPageRequest(nextLink, Id.SubscriptionId, Id.ResourceGroupName);
+ return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => new GeoCatalogResource(Client, GeoCatalogData.DeserializeGeoCatalogData(e)), _geoCatalogClientDiagnostics, Pipeline, "GeoCatalogCollection.GetAll", "value", "nextLink", cancellationToken);
+ }
+
+ ///
+ /// List GeoCatalog resources by resource group
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/geoCatalogs
+ ///
+ /// -
+ /// Operation Id
+ /// GeoCatalog_ListByResourceGroup
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-02-11-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The cancellation token to use.
+ /// A collection of that may take multiple service requests to iterate over.
+ public virtual Pageable GetAll(CancellationToken cancellationToken = default)
+ {
+ HttpMessage FirstPageRequest(int? pageSizeHint) => _geoCatalogRestClient.CreateListByResourceGroupRequest(Id.SubscriptionId, Id.ResourceGroupName);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => _geoCatalogRestClient.CreateListByResourceGroupNextPageRequest(nextLink, Id.SubscriptionId, Id.ResourceGroupName);
+ return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => new GeoCatalogResource(Client, GeoCatalogData.DeserializeGeoCatalogData(e)), _geoCatalogClientDiagnostics, Pipeline, "GeoCatalogCollection.GetAll", "value", "nextLink", cancellationToken);
+ }
+
+ ///
+ /// Checks to see if the resource exists in azure.
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/geoCatalogs/{catalogName}
+ ///
+ /// -
+ /// Operation Id
+ /// GeoCatalog_Get
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-02-11-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The name of the catalog.
+ /// The cancellation token to use.
+ /// is an empty string, and was expected to be non-empty.
+ /// is null.
+ public virtual async Task> ExistsAsync(string catalogName, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(catalogName, nameof(catalogName));
+
+ using var scope = _geoCatalogClientDiagnostics.CreateScope("GeoCatalogCollection.Exists");
+ scope.Start();
+ try
+ {
+ var response = await _geoCatalogRestClient.GetAsync(Id.SubscriptionId, Id.ResourceGroupName, catalogName, cancellationToken: cancellationToken).ConfigureAwait(false);
+ return Response.FromValue(response.Value != null, response.GetRawResponse());
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ ///
+ /// Checks to see if the resource exists in azure.
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/geoCatalogs/{catalogName}
+ ///
+ /// -
+ /// Operation Id
+ /// GeoCatalog_Get
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-02-11-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The name of the catalog.
+ /// The cancellation token to use.
+ /// is an empty string, and was expected to be non-empty.
+ /// is null.
+ public virtual Response Exists(string catalogName, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(catalogName, nameof(catalogName));
+
+ using var scope = _geoCatalogClientDiagnostics.CreateScope("GeoCatalogCollection.Exists");
+ scope.Start();
+ try
+ {
+ var response = _geoCatalogRestClient.Get(Id.SubscriptionId, Id.ResourceGroupName, catalogName, cancellationToken: cancellationToken);
+ return Response.FromValue(response.Value != null, response.GetRawResponse());
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ ///
+ /// Tries to get details for this resource from the service.
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/geoCatalogs/{catalogName}
+ ///
+ /// -
+ /// Operation Id
+ /// GeoCatalog_Get
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-02-11-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The name of the catalog.
+ /// The cancellation token to use.
+ /// is an empty string, and was expected to be non-empty.
+ /// is null.
+ public virtual async Task> GetIfExistsAsync(string catalogName, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(catalogName, nameof(catalogName));
+
+ using var scope = _geoCatalogClientDiagnostics.CreateScope("GeoCatalogCollection.GetIfExists");
+ scope.Start();
+ try
+ {
+ var response = await _geoCatalogRestClient.GetAsync(Id.SubscriptionId, Id.ResourceGroupName, catalogName, cancellationToken: cancellationToken).ConfigureAwait(false);
+ if (response.Value == null)
+ return new NoValueResponse(response.GetRawResponse());
+ return Response.FromValue(new GeoCatalogResource(Client, response.Value), response.GetRawResponse());
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ ///
+ /// Tries to get details for this resource from the service.
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/geoCatalogs/{catalogName}
+ ///
+ /// -
+ /// Operation Id
+ /// GeoCatalog_Get
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-02-11-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The name of the catalog.
+ /// The cancellation token to use.
+ /// is an empty string, and was expected to be non-empty.
+ /// is null.
+ public virtual NullableResponse GetIfExists(string catalogName, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(catalogName, nameof(catalogName));
+
+ using var scope = _geoCatalogClientDiagnostics.CreateScope("GeoCatalogCollection.GetIfExists");
+ scope.Start();
+ try
+ {
+ var response = _geoCatalogRestClient.Get(Id.SubscriptionId, Id.ResourceGroupName, catalogName, cancellationToken: cancellationToken);
+ if (response.Value == null)
+ return new NoValueResponse(response.GetRawResponse());
+ return Response.FromValue(new GeoCatalogResource(Client, response.Value), response.GetRawResponse());
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ IEnumerator IEnumerable.GetEnumerator()
+ {
+ return GetAll().GetEnumerator();
+ }
+
+ IEnumerator IEnumerable.GetEnumerator()
+ {
+ return GetAll().GetEnumerator();
+ }
+
+ IAsyncEnumerator IAsyncEnumerable.GetAsyncEnumerator(CancellationToken cancellationToken)
+ {
+ return GetAllAsync(cancellationToken: cancellationToken).GetAsyncEnumerator(cancellationToken);
+ }
+ }
+}
diff --git a/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/GeoCatalogData.Serialization.cs b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/GeoCatalogData.Serialization.cs
new file mode 100644
index 000000000000..4eb3a14dcc42
--- /dev/null
+++ b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/GeoCatalogData.Serialization.cs
@@ -0,0 +1,196 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.ClientModel.Primitives;
+using System.Collections.Generic;
+using System.Text.Json;
+using Azure.Core;
+using Azure.ResourceManager.Models;
+using Azure.ResourceManager.PlanetaryComputer.Models;
+
+namespace Azure.ResourceManager.PlanetaryComputer
+{
+ public partial class GeoCatalogData : IUtf8JsonSerializable, IJsonModel
+ {
+ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions);
+
+ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ writer.WriteStartObject();
+ JsonModelWriteCore(writer, options);
+ writer.WriteEndObject();
+ }
+
+ /// The JSON writer.
+ /// The client options for reading and writing models.
+ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(GeoCatalogData)} does not support writing '{format}' format.");
+ }
+
+ base.JsonModelWriteCore(writer, options);
+ if (Optional.IsDefined(Properties))
+ {
+ writer.WritePropertyName("properties"u8);
+ writer.WriteObjectValue(Properties, options);
+ }
+ if (Optional.IsDefined(Identity))
+ {
+ writer.WritePropertyName("identity"u8);
+ var serializeOptions = new JsonSerializerOptions { Converters = { new ManagedServiceIdentityTypeV3Converter() } };
+ JsonSerializer.Serialize(writer, Identity, serializeOptions);
+ }
+ }
+
+ GeoCatalogData IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+ if (format != "J")
+ {
+ throw new FormatException($"The model {nameof(GeoCatalogData)} does not support reading '{format}' format.");
+ }
+
+ using JsonDocument document = JsonDocument.ParseValue(ref reader);
+ return DeserializeGeoCatalogData(document.RootElement, options);
+ }
+
+ internal static GeoCatalogData DeserializeGeoCatalogData(JsonElement element, ModelReaderWriterOptions options = null)
+ {
+ options ??= ModelSerializationExtensions.WireOptions;
+
+ if (element.ValueKind == JsonValueKind.Null)
+ {
+ return null;
+ }
+ GeoCatalogProperties properties = default;
+ ManagedServiceIdentity identity = default;
+ IDictionary tags = default;
+ AzureLocation location = default;
+ ResourceIdentifier id = default;
+ string name = default;
+ ResourceType type = default;
+ SystemData systemData = default;
+ IDictionary serializedAdditionalRawData = default;
+ Dictionary rawDataDictionary = new Dictionary();
+ foreach (var property in element.EnumerateObject())
+ {
+ if (property.NameEquals("properties"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ properties = GeoCatalogProperties.DeserializeGeoCatalogProperties(property.Value, options);
+ continue;
+ }
+ if (property.NameEquals("identity"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ var serializeOptions = new JsonSerializerOptions { Converters = { new ManagedServiceIdentityTypeV3Converter() } };
+ identity = JsonSerializer.Deserialize(property.Value.GetRawText(), serializeOptions);
+ continue;
+ }
+ if (property.NameEquals("tags"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ Dictionary dictionary = new Dictionary();
+ foreach (var property0 in property.Value.EnumerateObject())
+ {
+ dictionary.Add(property0.Name, property0.Value.GetString());
+ }
+ tags = dictionary;
+ continue;
+ }
+ if (property.NameEquals("location"u8))
+ {
+ location = new AzureLocation(property.Value.GetString());
+ continue;
+ }
+ if (property.NameEquals("id"u8))
+ {
+ id = new ResourceIdentifier(property.Value.GetString());
+ continue;
+ }
+ if (property.NameEquals("name"u8))
+ {
+ name = property.Value.GetString();
+ continue;
+ }
+ if (property.NameEquals("type"u8))
+ {
+ type = new ResourceType(property.Value.GetString());
+ continue;
+ }
+ if (property.NameEquals("systemData"u8))
+ {
+ if (property.Value.ValueKind == JsonValueKind.Null)
+ {
+ continue;
+ }
+ systemData = JsonSerializer.Deserialize(property.Value.GetRawText());
+ continue;
+ }
+ if (options.Format != "W")
+ {
+ rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText()));
+ }
+ }
+ serializedAdditionalRawData = rawDataDictionary;
+ return new GeoCatalogData(
+ id,
+ name,
+ type,
+ systemData,
+ tags ?? new ChangeTrackingDictionary(),
+ location,
+ properties,
+ identity,
+ serializedAdditionalRawData);
+ }
+
+ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ return ModelReaderWriter.Write(this, options, AzureResourceManagerPlanetaryComputerContext.Default);
+ default:
+ throw new FormatException($"The model {nameof(GeoCatalogData)} does not support writing '{options.Format}' format.");
+ }
+ }
+
+ GeoCatalogData IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options)
+ {
+ var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format;
+
+ switch (format)
+ {
+ case "J":
+ {
+ using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions);
+ return DeserializeGeoCatalogData(document.RootElement, options);
+ }
+ default:
+ throw new FormatException($"The model {nameof(GeoCatalogData)} does not support reading '{options.Format}' format.");
+ }
+ }
+
+ string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J";
+ }
+}
diff --git a/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/GeoCatalogData.cs b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/GeoCatalogData.cs
new file mode 100644
index 000000000000..37433b9f6e04
--- /dev/null
+++ b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/GeoCatalogData.cs
@@ -0,0 +1,87 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections.Generic;
+using Azure.Core;
+using Azure.ResourceManager.Models;
+using Azure.ResourceManager.PlanetaryComputer.Models;
+
+namespace Azure.ResourceManager.PlanetaryComputer
+{
+ ///
+ /// A class representing the GeoCatalog data model.
+ /// A Microsoft Planetary Computer Pro GeoCatalog resource
+ ///
+ public partial class GeoCatalogData : TrackedResourceData
+ {
+ ///
+ /// Keeps track of any properties unknown to the library.
+ ///
+ /// To assign an object to the value of this property use .
+ ///
+ ///
+ /// To assign an already formatted json string to this property use .
+ ///
+ ///
+ /// Examples:
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson("foo")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromString("\"foo\"")
+ /// Creates a payload of "foo".
+ ///
+ /// -
+ /// BinaryData.FromObjectAsJson(new { key = "value" })
+ /// Creates a payload of { "key": "value" }.
+ ///
+ /// -
+ /// BinaryData.FromString("{\"key\": \"value\"}")
+ /// Creates a payload of { "key": "value" }.
+ ///
+ ///
+ ///
+ ///
+ private IDictionary _serializedAdditionalRawData;
+
+ /// Initializes a new instance of .
+ /// The location.
+ public GeoCatalogData(AzureLocation location) : base(location)
+ {
+ }
+
+ /// Initializes a new instance of .
+ /// The id.
+ /// The name.
+ /// The resourceType.
+ /// The systemData.
+ /// The tags.
+ /// The location.
+ /// The resource-specific properties for this resource.
+ /// The managed service identities assigned to this resource.
+ /// Keeps track of any properties unknown to the library.
+ internal GeoCatalogData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, GeoCatalogProperties properties, ManagedServiceIdentity identity, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData, tags, location)
+ {
+ Properties = properties;
+ Identity = identity;
+ _serializedAdditionalRawData = serializedAdditionalRawData;
+ }
+
+ /// Initializes a new instance of for deserialization.
+ internal GeoCatalogData()
+ {
+ }
+
+ /// The resource-specific properties for this resource.
+ public GeoCatalogProperties Properties { get; set; }
+ /// The managed service identities assigned to this resource.
+ public ManagedServiceIdentity Identity { get; set; }
+ }
+}
diff --git a/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/GeoCatalogResource.Serialization.cs b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/GeoCatalogResource.Serialization.cs
new file mode 100644
index 000000000000..7bb0af583776
--- /dev/null
+++ b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/GeoCatalogResource.Serialization.cs
@@ -0,0 +1,29 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.ClientModel.Primitives;
+using System.Text.Json;
+
+namespace Azure.ResourceManager.PlanetaryComputer
+{
+ public partial class GeoCatalogResource : IJsonModel
+ {
+ private static GeoCatalogData s_dataDeserializationInstance;
+ private static GeoCatalogData DataDeserializationInstance => s_dataDeserializationInstance ??= new();
+
+ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) => ((IJsonModel)Data).Write(writer, options);
+
+ GeoCatalogData IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => ((IJsonModel)DataDeserializationInstance).Create(ref reader, options);
+
+ BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => ModelReaderWriter.Write(Data, options, AzureResourceManagerPlanetaryComputerContext.Default);
+
+ GeoCatalogData IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => ModelReaderWriter.Read(data, options, AzureResourceManagerPlanetaryComputerContext.Default);
+
+ string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => ((IPersistableModel)DataDeserializationInstance).GetFormatFromOptions(options);
+ }
+}
diff --git a/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/GeoCatalogResource.cs b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/GeoCatalogResource.cs
new file mode 100644
index 000000000000..d7949132e004
--- /dev/null
+++ b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/GeoCatalogResource.cs
@@ -0,0 +1,707 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//
+
+#nullable disable
+
+using System;
+using System.Collections.Generic;
+using System.Globalization;
+using System.Threading;
+using System.Threading.Tasks;
+using Azure.Core;
+using Azure.Core.Pipeline;
+using Azure.ResourceManager.PlanetaryComputer.Models;
+using Azure.ResourceManager.Resources;
+
+namespace Azure.ResourceManager.PlanetaryComputer
+{
+ ///
+ /// A Class representing a GeoCatalog along with the instance operations that can be performed on it.
+ /// If you have a you can construct a
+ /// from an instance of using the GetGeoCatalogResource method.
+ /// Otherwise you can get one from its parent resource using the GetGeoCatalog method.
+ ///
+ public partial class GeoCatalogResource : ArmResource
+ {
+ /// Generate the resource identifier of a instance.
+ /// The subscriptionId.
+ /// The resourceGroupName.
+ /// The catalogName.
+ public static ResourceIdentifier CreateResourceIdentifier(string subscriptionId, string resourceGroupName, string catalogName)
+ {
+ var resourceId = $"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/geoCatalogs/{catalogName}";
+ return new ResourceIdentifier(resourceId);
+ }
+
+ private readonly ClientDiagnostics _geoCatalogClientDiagnostics;
+ private readonly GeoCatalogsRestOperations _geoCatalogRestClient;
+ private readonly GeoCatalogData _data;
+
+ /// Gets the resource type for the operations.
+ public static readonly ResourceType ResourceType = "Microsoft.Orbital/geoCatalogs";
+
+ /// Initializes a new instance of the class for mocking.
+ protected GeoCatalogResource()
+ {
+ }
+
+ /// Initializes a new instance of the class.
+ /// The client parameters to use in these operations.
+ /// The resource that is the target of operations.
+ internal GeoCatalogResource(ArmClient client, GeoCatalogData data) : this(client, data.Id)
+ {
+ HasData = true;
+ _data = data;
+ }
+
+ /// 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 GeoCatalogResource(ArmClient client, ResourceIdentifier id) : base(client, id)
+ {
+ _geoCatalogClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.PlanetaryComputer", ResourceType.Namespace, Diagnostics);
+ TryGetApiVersion(ResourceType, out string geoCatalogApiVersion);
+ _geoCatalogRestClient = new GeoCatalogsRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint, geoCatalogApiVersion);
+#if DEBUG
+ ValidateResourceId(Id);
+#endif
+ }
+
+ /// Gets whether or not the current instance has data.
+ public virtual bool HasData { get; }
+
+ /// Gets the data representing this Feature.
+ /// Throws if there is no data loaded in the current instance.
+ public virtual GeoCatalogData Data
+ {
+ get
+ {
+ if (!HasData)
+ throw new InvalidOperationException("The current instance does not have data, you must call Get first.");
+ return _data;
+ }
+ }
+
+ internal static void ValidateResourceId(ResourceIdentifier id)
+ {
+ if (id.ResourceType != ResourceType)
+ throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, "Invalid resource type {0} expected {1}", id.ResourceType, ResourceType), nameof(id));
+ }
+
+ ///
+ /// Get a GeoCatalog
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/geoCatalogs/{catalogName}
+ ///
+ /// -
+ /// Operation Id
+ /// GeoCatalog_Get
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-02-11-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The cancellation token to use.
+ public virtual async Task> GetAsync(CancellationToken cancellationToken = default)
+ {
+ using var scope = _geoCatalogClientDiagnostics.CreateScope("GeoCatalogResource.Get");
+ scope.Start();
+ try
+ {
+ var response = await _geoCatalogRestClient.GetAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken).ConfigureAwait(false);
+ if (response.Value == null)
+ throw new RequestFailedException(response.GetRawResponse());
+ return Response.FromValue(new GeoCatalogResource(Client, response.Value), response.GetRawResponse());
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ ///
+ /// Get a GeoCatalog
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/geoCatalogs/{catalogName}
+ ///
+ /// -
+ /// Operation Id
+ /// GeoCatalog_Get
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-02-11-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The cancellation token to use.
+ public virtual Response Get(CancellationToken cancellationToken = default)
+ {
+ using var scope = _geoCatalogClientDiagnostics.CreateScope("GeoCatalogResource.Get");
+ scope.Start();
+ try
+ {
+ var response = _geoCatalogRestClient.Get(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken);
+ if (response.Value == null)
+ throw new RequestFailedException(response.GetRawResponse());
+ return Response.FromValue(new GeoCatalogResource(Client, response.Value), response.GetRawResponse());
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ ///
+ /// Delete a GeoCatalog
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/geoCatalogs/{catalogName}
+ ///
+ /// -
+ /// Operation Id
+ /// GeoCatalog_Delete
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-02-11-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.
+ /// The cancellation token to use.
+ public virtual async Task DeleteAsync(WaitUntil waitUntil, CancellationToken cancellationToken = default)
+ {
+ using var scope = _geoCatalogClientDiagnostics.CreateScope("GeoCatalogResource.Delete");
+ scope.Start();
+ try
+ {
+ var response = await _geoCatalogRestClient.DeleteAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken).ConfigureAwait(false);
+ var operation = new PlanetaryComputerArmOperation(_geoCatalogClientDiagnostics, Pipeline, _geoCatalogRestClient.CreateDeleteRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Name).Request, response, OperationFinalStateVia.Location);
+ if (waitUntil == WaitUntil.Completed)
+ await operation.WaitForCompletionResponseAsync(cancellationToken).ConfigureAwait(false);
+ return operation;
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ ///
+ /// Delete a GeoCatalog
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/geoCatalogs/{catalogName}
+ ///
+ /// -
+ /// Operation Id
+ /// GeoCatalog_Delete
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-02-11-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.
+ /// The cancellation token to use.
+ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancellationToken = default)
+ {
+ using var scope = _geoCatalogClientDiagnostics.CreateScope("GeoCatalogResource.Delete");
+ scope.Start();
+ try
+ {
+ var response = _geoCatalogRestClient.Delete(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken);
+ var operation = new PlanetaryComputerArmOperation(_geoCatalogClientDiagnostics, Pipeline, _geoCatalogRestClient.CreateDeleteRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Name).Request, response, OperationFinalStateVia.Location);
+ if (waitUntil == WaitUntil.Completed)
+ operation.WaitForCompletionResponse(cancellationToken);
+ return operation;
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ ///
+ /// Update a GeoCatalog
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/geoCatalogs/{catalogName}
+ ///
+ /// -
+ /// Operation Id
+ /// GeoCatalog_Update
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-02-11-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.
+ /// The resource properties to be updated.
+ /// The cancellation token to use.
+ /// is null.
+ public virtual async Task> UpdateAsync(WaitUntil waitUntil, GeoCatalogPatch patch, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNull(patch, nameof(patch));
+
+ using var scope = _geoCatalogClientDiagnostics.CreateScope("GeoCatalogResource.Update");
+ scope.Start();
+ try
+ {
+ var response = await _geoCatalogRestClient.UpdateAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, patch, cancellationToken).ConfigureAwait(false);
+ var operation = new PlanetaryComputerArmOperation(new GeoCatalogOperationSource(Client), _geoCatalogClientDiagnostics, Pipeline, _geoCatalogRestClient.CreateUpdateRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, patch).Request, response, OperationFinalStateVia.Location);
+ if (waitUntil == WaitUntil.Completed)
+ await operation.WaitForCompletionAsync(cancellationToken).ConfigureAwait(false);
+ return operation;
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ ///
+ /// Update a GeoCatalog
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/geoCatalogs/{catalogName}
+ ///
+ /// -
+ /// Operation Id
+ /// GeoCatalog_Update
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-02-11-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.
+ /// The resource properties to be updated.
+ /// The cancellation token to use.
+ /// is null.
+ public virtual ArmOperation Update(WaitUntil waitUntil, GeoCatalogPatch patch, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNull(patch, nameof(patch));
+
+ using var scope = _geoCatalogClientDiagnostics.CreateScope("GeoCatalogResource.Update");
+ scope.Start();
+ try
+ {
+ var response = _geoCatalogRestClient.Update(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, patch, cancellationToken);
+ var operation = new PlanetaryComputerArmOperation(new GeoCatalogOperationSource(Client), _geoCatalogClientDiagnostics, Pipeline, _geoCatalogRestClient.CreateUpdateRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, patch).Request, response, OperationFinalStateVia.Location);
+ if (waitUntil == WaitUntil.Completed)
+ operation.WaitForCompletion(cancellationToken);
+ return operation;
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ ///
+ /// Add a tag to the current resource.
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/geoCatalogs/{catalogName}
+ ///
+ /// -
+ /// Operation Id
+ /// GeoCatalog_Get
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-02-11-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The key for the tag.
+ /// The value for the tag.
+ /// The cancellation token to use.
+ /// or is null.
+ public virtual async Task> AddTagAsync(string key, string value, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNull(key, nameof(key));
+ Argument.AssertNotNull(value, nameof(value));
+
+ using var scope = _geoCatalogClientDiagnostics.CreateScope("GeoCatalogResource.AddTag");
+ scope.Start();
+ try
+ {
+ if (await CanUseTagResourceAsync(cancellationToken: cancellationToken).ConfigureAwait(false))
+ {
+ var originalTags = await GetTagResource().GetAsync(cancellationToken).ConfigureAwait(false);
+ originalTags.Value.Data.TagValues[key] = value;
+ await GetTagResource().CreateOrUpdateAsync(WaitUntil.Completed, originalTags.Value.Data, cancellationToken: cancellationToken).ConfigureAwait(false);
+ var originalResponse = await _geoCatalogRestClient.GetAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken).ConfigureAwait(false);
+ return Response.FromValue(new GeoCatalogResource(Client, originalResponse.Value), originalResponse.GetRawResponse());
+ }
+ else
+ {
+ var current = (await GetAsync(cancellationToken: cancellationToken).ConfigureAwait(false)).Value.Data;
+ var patch = new GeoCatalogPatch();
+ foreach (var tag in current.Tags)
+ {
+ patch.Tags.Add(tag);
+ }
+ patch.Tags[key] = value;
+ var result = await UpdateAsync(WaitUntil.Completed, patch, cancellationToken: cancellationToken).ConfigureAwait(false);
+ return Response.FromValue(result.Value, result.GetRawResponse());
+ }
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ ///
+ /// Add a tag to the current resource.
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/geoCatalogs/{catalogName}
+ ///
+ /// -
+ /// Operation Id
+ /// GeoCatalog_Get
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-02-11-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The key for the tag.
+ /// The value for the tag.
+ /// The cancellation token to use.
+ /// or is null.
+ public virtual Response AddTag(string key, string value, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNull(key, nameof(key));
+ Argument.AssertNotNull(value, nameof(value));
+
+ using var scope = _geoCatalogClientDiagnostics.CreateScope("GeoCatalogResource.AddTag");
+ scope.Start();
+ try
+ {
+ if (CanUseTagResource(cancellationToken: cancellationToken))
+ {
+ var originalTags = GetTagResource().Get(cancellationToken);
+ originalTags.Value.Data.TagValues[key] = value;
+ GetTagResource().CreateOrUpdate(WaitUntil.Completed, originalTags.Value.Data, cancellationToken: cancellationToken);
+ var originalResponse = _geoCatalogRestClient.Get(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken);
+ return Response.FromValue(new GeoCatalogResource(Client, originalResponse.Value), originalResponse.GetRawResponse());
+ }
+ else
+ {
+ var current = Get(cancellationToken: cancellationToken).Value.Data;
+ var patch = new GeoCatalogPatch();
+ foreach (var tag in current.Tags)
+ {
+ patch.Tags.Add(tag);
+ }
+ patch.Tags[key] = value;
+ var result = Update(WaitUntil.Completed, patch, cancellationToken: cancellationToken);
+ return Response.FromValue(result.Value, result.GetRawResponse());
+ }
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ ///
+ /// Replace the tags on the resource with the given set.
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/geoCatalogs/{catalogName}
+ ///
+ /// -
+ /// Operation Id
+ /// GeoCatalog_Get
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-02-11-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The set of tags to use as replacement.
+ /// The cancellation token to use.
+ /// is null.
+ public virtual async Task> SetTagsAsync(IDictionary tags, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNull(tags, nameof(tags));
+
+ using var scope = _geoCatalogClientDiagnostics.CreateScope("GeoCatalogResource.SetTags");
+ scope.Start();
+ try
+ {
+ if (await CanUseTagResourceAsync(cancellationToken: cancellationToken).ConfigureAwait(false))
+ {
+ await GetTagResource().DeleteAsync(WaitUntil.Completed, cancellationToken: cancellationToken).ConfigureAwait(false);
+ var originalTags = await GetTagResource().GetAsync(cancellationToken).ConfigureAwait(false);
+ originalTags.Value.Data.TagValues.ReplaceWith(tags);
+ await GetTagResource().CreateOrUpdateAsync(WaitUntil.Completed, originalTags.Value.Data, cancellationToken: cancellationToken).ConfigureAwait(false);
+ var originalResponse = await _geoCatalogRestClient.GetAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken).ConfigureAwait(false);
+ return Response.FromValue(new GeoCatalogResource(Client, originalResponse.Value), originalResponse.GetRawResponse());
+ }
+ else
+ {
+ var current = (await GetAsync(cancellationToken: cancellationToken).ConfigureAwait(false)).Value.Data;
+ var patch = new GeoCatalogPatch();
+ patch.Tags.ReplaceWith(tags);
+ var result = await UpdateAsync(WaitUntil.Completed, patch, cancellationToken: cancellationToken).ConfigureAwait(false);
+ return Response.FromValue(result.Value, result.GetRawResponse());
+ }
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ ///
+ /// Replace the tags on the resource with the given set.
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/geoCatalogs/{catalogName}
+ ///
+ /// -
+ /// Operation Id
+ /// GeoCatalog_Get
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-02-11-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The set of tags to use as replacement.
+ /// The cancellation token to use.
+ /// is null.
+ public virtual Response SetTags(IDictionary tags, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNull(tags, nameof(tags));
+
+ using var scope = _geoCatalogClientDiagnostics.CreateScope("GeoCatalogResource.SetTags");
+ scope.Start();
+ try
+ {
+ if (CanUseTagResource(cancellationToken: cancellationToken))
+ {
+ GetTagResource().Delete(WaitUntil.Completed, cancellationToken: cancellationToken);
+ var originalTags = GetTagResource().Get(cancellationToken);
+ originalTags.Value.Data.TagValues.ReplaceWith(tags);
+ GetTagResource().CreateOrUpdate(WaitUntil.Completed, originalTags.Value.Data, cancellationToken: cancellationToken);
+ var originalResponse = _geoCatalogRestClient.Get(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken);
+ return Response.FromValue(new GeoCatalogResource(Client, originalResponse.Value), originalResponse.GetRawResponse());
+ }
+ else
+ {
+ var current = Get(cancellationToken: cancellationToken).Value.Data;
+ var patch = new GeoCatalogPatch();
+ patch.Tags.ReplaceWith(tags);
+ var result = Update(WaitUntil.Completed, patch, cancellationToken: cancellationToken);
+ return Response.FromValue(result.Value, result.GetRawResponse());
+ }
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ ///
+ /// Removes a tag by key from the resource.
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/geoCatalogs/{catalogName}
+ ///
+ /// -
+ /// Operation Id
+ /// GeoCatalog_Get
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-02-11-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The key for the tag.
+ /// The cancellation token to use.
+ /// is null.
+ public virtual async Task> RemoveTagAsync(string key, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNull(key, nameof(key));
+
+ using var scope = _geoCatalogClientDiagnostics.CreateScope("GeoCatalogResource.RemoveTag");
+ scope.Start();
+ try
+ {
+ if (await CanUseTagResourceAsync(cancellationToken: cancellationToken).ConfigureAwait(false))
+ {
+ var originalTags = await GetTagResource().GetAsync(cancellationToken).ConfigureAwait(false);
+ originalTags.Value.Data.TagValues.Remove(key);
+ await GetTagResource().CreateOrUpdateAsync(WaitUntil.Completed, originalTags.Value.Data, cancellationToken: cancellationToken).ConfigureAwait(false);
+ var originalResponse = await _geoCatalogRestClient.GetAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken).ConfigureAwait(false);
+ return Response.FromValue(new GeoCatalogResource(Client, originalResponse.Value), originalResponse.GetRawResponse());
+ }
+ else
+ {
+ var current = (await GetAsync(cancellationToken: cancellationToken).ConfigureAwait(false)).Value.Data;
+ var patch = new GeoCatalogPatch();
+ foreach (var tag in current.Tags)
+ {
+ patch.Tags.Add(tag);
+ }
+ patch.Tags.Remove(key);
+ var result = await UpdateAsync(WaitUntil.Completed, patch, cancellationToken: cancellationToken).ConfigureAwait(false);
+ return Response.FromValue(result.Value, result.GetRawResponse());
+ }
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ ///
+ /// Removes a tag by key from the resource.
+ ///
+ /// -
+ /// Request Path
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/geoCatalogs/{catalogName}
+ ///
+ /// -
+ /// Operation Id
+ /// GeoCatalog_Get
+ ///
+ /// -
+ /// Default Api Version
+ /// 2025-02-11-preview
+ ///
+ /// -
+ /// Resource
+ ///
+ ///
+ ///
+ ///
+ /// The key for the tag.
+ /// The cancellation token to use.
+ /// is null.
+ public virtual Response RemoveTag(string key, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNull(key, nameof(key));
+
+ using var scope = _geoCatalogClientDiagnostics.CreateScope("GeoCatalogResource.RemoveTag");
+ scope.Start();
+ try
+ {
+ if (CanUseTagResource(cancellationToken: cancellationToken))
+ {
+ var originalTags = GetTagResource().Get(cancellationToken);
+ originalTags.Value.Data.TagValues.Remove(key);
+ GetTagResource().CreateOrUpdate(WaitUntil.Completed, originalTags.Value.Data, cancellationToken: cancellationToken);
+ var originalResponse = _geoCatalogRestClient.Get(Id.SubscriptionId, Id.ResourceGroupName, Id.Name, cancellationToken);
+ return Response.FromValue(new GeoCatalogResource(Client, originalResponse.Value), originalResponse.GetRawResponse());
+ }
+ else
+ {
+ var current = Get(cancellationToken: cancellationToken).Value.Data;
+ var patch = new GeoCatalogPatch();
+ foreach (var tag in current.Tags)
+ {
+ patch.Tags.Add(tag);
+ }
+ patch.Tags.Remove(key);
+ var result = Update(WaitUntil.Completed, patch, cancellationToken: cancellationToken);
+ return Response.FromValue(result.Value, result.GetRawResponse());
+ }
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+ }
+}
diff --git a/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/Internal/Argument.cs b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/Internal/Argument.cs
new file mode 100644
index 000000000000..6b7d943b8f10
--- /dev/null
+++ b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/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.PlanetaryComputer
+{
+ 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/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/Internal/ChangeTrackingDictionary.cs b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/Internal/ChangeTrackingDictionary.cs
new file mode 100644
index 000000000000..6ecf5ab75a82
--- /dev/null
+++ b/sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/src/Generated/Internal/ChangeTrackingDictionary.cs
@@ -0,0 +1,167 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+//