Skip to content

PlanetaryComputer SDK for Management Plane #50835

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 76 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
71516c5
add planetary computer sdk for dotnet
Jun 24, 2025
7052dfa
Update sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/…
shaktichetan23 Jun 24, 2025
4e370cc
Update sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/…
shaktichetan23 Jun 24, 2025
924bd2c
readme update
Jun 24, 2025
2ea9d94
Merge branch 'main' of https://github.com/Azure/azure-sdk-for-net int…
Jun 24, 2025
27c8887
Merge branch 'planetarycomputer_dotnet_sdk' of https://github.com/Azu…
Jun 24, 2025
ecfd7be
Regenerate repository SDK with TypeSpec build 20250624.2 (#50846)
azure-sdk Jun 24, 2025
e87c14a
fix checks
Jun 24, 2025
c451d93
feat: add support for the 2024-02-01 metric ns API (#50841)
jorgerangel-msft Jun 24, 2025
b291f58
fix checks
Jun 24, 2025
0533daa
Upgrade Azure Managed Grafana to use API version 2024-11-01-preview F…
qingquanzhao Jun 25, 2025
9307956
Fix issue with next link paging (#50850)
JoshLove-msft Jun 25, 2025
354d8a1
Increment package version after release of Azure.Communication.Chat (…
azure-sdk Jun 25, 2025
847ca10
[AppService] Fix for issue #49676 (#50632)
HarveyLink Jun 25, 2025
d2268bd
Increment package version after release of Azure.ResourceManager.Graf…
azure-sdk Jun 25, 2025
635dc83
Hide some properties in provisioning libraries if the corresponding p…
ArcturusZhang Jun 25, 2025
3968a8d
Update Generator Version 3.0.0-beta.20250624.3 (#50849)
azure-sdk Jun 25, 2025
c1125a5
Regenerate repository SDK with TypeSpec build 20250624.3 (#50854)
azure-sdk Jun 25, 2025
f5a6568
Increment version for provisioning releases (#50857)
azure-sdk Jun 25, 2025
529671d
Increment version for provisioning releases (#50858)
azure-sdk Jun 25, 2025
04cc9cb
Increment package version after release of Azure.ResourceManager.Cont…
azure-sdk Jun 25, 2025
6b137d0
Increment package version after release of Azure.ResourceManager.Clou…
azure-sdk Jun 25, 2025
0fe0ac9
Release Azure.ResourceManager.NetworkCloud 1.2.0 (#50861)
ArthurMa1978 Jun 25, 2025
8b6303a
Update AutoRest C# version to 3.0.0-beta.20250624.4 (#50859)
azure-sdk Jun 25, 2025
4573499
prepare release for postgresql (#50863)
ArcturusZhang Jun 25, 2025
408e1f0
Update the next version of postgresql to minor version (#50866)
ArcturusZhang Jun 25, 2025
22767fc
Increment package version after release of Azure.ResourceManager.Post…
azure-sdk Jun 25, 2025
59b7117
[servicefabricmanagedclusters] sdk for 2025-03-01-preview api version…
iliu816 Jun 25, 2025
54ec751
[AI Agents] add multi-agent sample (#50829)
glharper Jun 25, 2025
c6f5483
Update README.md (#50876)
M-Hietala Jun 25, 2025
db0b5f8
Update CHANGELOG.md (#50877)
M-Hietala Jun 25, 2025
8a5078b
Fix syntax in example (#50875)
dsmiller95 Jun 25, 2025
9bb6c0a
fix recorded tests
Jun 25, 2025
0dd75c2
fix readme
Jun 25, 2025
06020a4
build: 1.7.0 release prep (#50881)
jorgerangel-msft Jun 25, 2025
18f94a0
fix readme 2
Jun 25, 2025
5a32553
Sync eng/common directory with azure-sdk-tools for PR 10990 (#50856)
azure-sdk Jun 25, 2025
5589a8f
Increment package version after release of Azure.ResourceManager.Serv…
azure-sdk Jun 25, 2025
7444b8e
Increment package version after release of Azure.ResourceManager.Netw…
azure-sdk Jun 25, 2025
fcc46a3
Update UnbrandedGeneratorVersion to 1.0.0-alpha.20250625.1 (#50886)
azure-sdk Jun 25, 2025
0b47192
Resolve AOT warnings for builder extensions by updating attributes (#…
Copilot Jun 25, 2025
d8c60e4
Fix path in mcp installer (#50844)
azure-sdk Jun 25, 2025
a4b3ed2
auto function call for streaming (#50843)
howieleung Jun 25, 2025
9476975
Regenerate repository SDK with TypeSpec build 20250625.1 (#50887)
azure-sdk Jun 25, 2025
ff72886
[AI Agents] add Bing Custom Search sample and convenience method (#50…
glharper Jun 25, 2025
d17c087
Reset model factory when changing name (#50883)
JoshLove-msft Jun 25, 2025
6d4546b
Prepare for release (#50891)
JoshLove-msft Jun 25, 2025
0ce763a
Regenerate repository SDK with TypeSpec build 20250625.2 (#50892)
azure-sdk Jun 25, 2025
8ab3881
Rename modelfactory for Arm (#50862)
live1206 Jun 25, 2025
3f3f78b
fix readme 3
Jun 25, 2025
c44f01e
fix readme 4
Jun 25, 2025
540cc34
fix readme 5
Jun 26, 2025
52609d0
Update `Azure.Provisioning.AppService` to match latest api-version (#…
ArcturusZhang Jun 26, 2025
63bd0a4
fix readme 6
Jun 26, 2025
8607be2
fix readme 7
Jun 26, 2025
ff2783c
Regenerate repository SDK with TypeSpec build 20250625.3 (#50896)
azure-sdk Jun 26, 2025
5a91f28
Fix namespace for ResourceData and mockable (#50865)
live1206 Jun 26, 2025
539c9b0
[Storage] Update for StorageActions GA (#50714)
blueww Jun 26, 2025
4cc3354
ignore spell check for the word spatio
Jun 26, 2025
2d3ffa4
add planetary computer sdk for dotnet
Jun 24, 2025
9fd6464
readme update
Jun 24, 2025
bdc0f9e
Update sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/…
shaktichetan23 Jun 24, 2025
9c5b029
Update sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/…
shaktichetan23 Jun 24, 2025
e353f01
fix checks
Jun 24, 2025
66d8282
fix checks
Jun 24, 2025
7a59c22
fix recorded tests
Jun 25, 2025
9526fad
fix readme
Jun 25, 2025
459cde2
fix readme 2
Jun 25, 2025
25615cc
fix readme 3
Jun 25, 2025
79d46df
fix readme 4
Jun 25, 2025
b0dd914
fix readme 5
Jun 26, 2025
941855a
fix readme 6
Jun 26, 2025
af000b5
fix readme 7
Jun 26, 2025
fa44ba8
ignore spell check for the word spatio
Jun 26, 2025
c165a18
Merge branch 'planetarycomputer_dotnet_sdk' of https://github.com/Azu…
Jun 26, 2025
a9bb61b
change tsp location config
Jun 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -1025,6 +1025,12 @@
# ServiceLabel: %Elastic %Mgmt
# ServiceOwners: @ArthurMa1978

# PRLabel: %Grafana
/sdk/grafana/Azure.ResourceManager.*/ @qingquanzhao

# ServiceLabel: %Grafana %Mgmt
# ServiceOwners: @qingquanzhao

# PRLabel: %Hardware Security Modules
/sdk/hardwaresecuritymodules/Azure.ResourceManager.*/ @emmeliaAra

Expand Down
17 changes: 3 additions & 14 deletions .vscode/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"sdk/machinelearningservices/*/api/*.cs",
"sdk/modelsrepository/*/api/*.cs",
"sdk/monitor/Azure.ResourceManager.Monitor/api/*.cs",
"sdk/planetarycomputer/Azure.ResourceManager.PlanetaryComputer/api/*.cs",
"sdk/objectanchors/*/api/*.cs",
"sdk/openai/Azure.AI.OpenAI/tests/Assets/playback_test_config.json",
"sdk/purview/*/api/*.cs",
Expand Down Expand Up @@ -159,6 +160,7 @@
"skus",
"Somaxconn",
"southcentralus",
"spatio",
"structs",
"Sybase",
"Sysctls",
Expand Down Expand Up @@ -428,14 +430,6 @@
"tibt"
]
},
{
"filename": "**/sdk/connectedcache/**/*",
"words": [
"Gbps",
"Mbps",
"Eflow"
]
},
{
"filename": "**/sdk/connectedvmwarevsphere/**/*",
"words": [
Expand Down Expand Up @@ -1133,7 +1127,6 @@
"dnsprivateviewocid",
"Ords",
"Ocid",
"Ocids",
"ncharacter",
"ocpu",
"Iorm",
Expand All @@ -1144,11 +1137,7 @@
"Tcps",
"Ezconnect",
"Ezconnectplus",
"Oltp",
"exadb",
"Exadb",
"Exascale",
"exascale"
"Oltp"
]
},
{
Expand Down
10 changes: 5 additions & 5 deletions eng/Packages.Data.props
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
<PackageReference Update="Azure.Data.Tables" Version="12.8.0" />
<PackageReference Update="Azure.Messaging.EventHubs" Version="5.12.2" />
<PackageReference Update="Azure.Messaging.EventGrid" Version="4.21.0" />
<PackageReference Update="Azure.Messaging.EventGrid.SystemEvents" Version="1.0.0-beta.5" />
<PackageReference Update="Azure.Messaging.EventGrid.SystemEvents" Version="1.0.0" />
<PackageReference Update="Azure.Messaging.ServiceBus" Version="7.20.1" />
<PackageReference Update="Azure.Messaging.WebPubSub" Version="1.4.0" />
<PackageReference Update="Azure.MixedReality.Authentication" version= "1.2.0" />
Expand All @@ -139,7 +139,7 @@
<PackageReference Update="Azure.ResourceManager.AppConfiguration" Version="1.4.0" />
<PackageReference Update="Azure.ResourceManager.AppContainers" Version="1.4.0" />
<PackageReference Update="Azure.ResourceManager.ApplicationInsights" Version="1.0.1" />
<PackageReference Update="Azure.ResourceManager.AppService" Version="1.3.0" />
<PackageReference Update="Azure.ResourceManager.AppService" Version="1.4.0" />
<PackageReference Update="Azure.ResourceManager.Authorization" Version="1.1.4" />
<PackageReference Update="Azure.ResourceManager.Batch" Version="1.4.0" />
<PackageReference Update="Azure.ResourceManager.CognitiveServices" Version="1.4.0" />
Expand Down Expand Up @@ -288,7 +288,7 @@
All should have PrivateAssets="All" set so they don't become package dependencies
-->
<ItemGroup>
<PackageReference Update="Microsoft.Azure.AutoRest.CSharp" Version="3.0.0-beta.20250623.2" PrivateAssets="All" />
<PackageReference Update="Microsoft.Azure.AutoRest.CSharp" Version="3.0.0-beta.20250624.4" PrivateAssets="All" />
<PackageReference Update="Azure.ClientSdk.Analyzers" Version="0.1.1-dev.20250422.1" PrivateAssets="All" />
<PackageReference Update="coverlet.collector" Version="3.2.0" PrivateAssets="All" />
<!-- Note: Upgrading the .NET SDK version needs to be synchronized with the autorest.csharp repository -->
Expand Down Expand Up @@ -450,7 +450,7 @@

<PropertyGroup>
<TestProxyVersion>1.0.0-dev.20250501.1</TestProxyVersion>
<UnbrandedGeneratorVersion>1.0.0-alpha.20250624.1</UnbrandedGeneratorVersion>
<AzureGeneratorVersion>1.0.0-alpha.20250619.1</AzureGeneratorVersion>
<UnbrandedGeneratorVersion>1.0.0-alpha.20250625.1</UnbrandedGeneratorVersion>
<AzureGeneratorVersion>1.0.0-alpha.20250625.3</AzureGeneratorVersion>
</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion eng/common/mcp/azure-sdk-mcp.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ if ($UpdateVsCodeConfig) {
}
$vscodeConfig.servers = $orderedServers
Write-Host "Updating vscode mcp config at $vscodeConfigPath"
$vscodeConfig | ConvertTo-Json -Depth 10 | Set-Content -Path $vscodeConfig -Force
$vscodeConfig | ConvertTo-Json -Depth 10 | Set-Content -Path $vscodeConfigPath -Force
}

$exe = Install-Standalone-Tool `
Expand Down
11 changes: 4 additions & 7 deletions eng/common/pipelines/codeowners-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,10 @@ stages:
UserOrgUri: "https://azuresdkartifacts.blob.core.windows.net/azure-sdk-write-teams/user-org-visibility-blob"

steps:
- task: DotNetCoreCLI@2
displayName: 'Install CodeownersLinter'
inputs:
command: custom
custom: 'tool'
arguments: 'install --global --add-source "$(DotNetDevOpsFeed)" --version "$(CodeownersLinterVersion)" "Azure.Sdk.Tools.CodeownersLinter"'
workingDirectory: '$(Build.SourcesDirectory)/eng/common'
- pwsh: |
dotnet tool install --global --add-source "$(DotNetDevOpsFeed)" --version "$(CodeownersLinterVersion)" "Azure.Sdk.Tools.CodeownersLinter"
displayName: Install CodeownersLinter
workingDirectory: '$(Agent.WorkFolder)' # Some directory outside of the source clone to avoid hitting global.json files when any version of dotnet will work for this install

- ${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
- pwsh: |
Expand Down
16 changes: 8 additions & 8 deletions eng/emitter-package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion eng/emitter-package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"main": "dist/src/index.js",
"dependencies": {
"@azure-tools/typespec-csharp": "0.2.0-beta.20250623.2"
"@azure-tools/typespec-csharp": "0.2.0-beta.20250624.4"
},
"devDependencies": {
"@azure-tools/typespec-autorest": "0.57.0",
Expand Down
16 changes: 8 additions & 8 deletions eng/http-client-csharp-emitter-package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion eng/http-client-csharp-emitter-package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"main": "dist/src/index.js",
"dependencies": {
"@azure-typespec/http-client-csharp": "1.0.0-alpha.20250624.1"
"@azure-typespec/http-client-csharp": "1.0.0-alpha.20250625.3"
},
"devDependencies": {
"@azure-tools/typespec-azure-core": "0.57.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ public MockableResourceProvider(CSharpType armCoreType, IReadOnlyList<ResourceCl
}
internal CSharpType ArmCoreType { get; }

protected override string BuildNamespace() => $"{base.BuildNamespace()}.Mocking";

protected override string BuildName() => $"Mockable{ManagementClientGenerator.Instance.TypeFactory.ResourceProviderName}{ArmCoreType.Name}";

protected override string BuildRelativeFilePath() => Path.Combine("src", "Generated", "Extensions", $"{Name}.cs");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,46 @@ internal class ResourceVisitor : ScmLibraryVisitor
return type;
}

private void TransformResource(InputModelType model, TypeProvider type)
{
if (type is ModelProvider && ManagementClientGenerator.Instance.InputLibrary.IsResourceModel(model))
{
type.Update(
relativeFilePath: TransformRelativeFilePath(type),
name: TransformName(type));

foreach (var serialization in type.SerializationProviders)
{
serialization.Update(
relativeFilePath: TransformRelativeFilePathForSerialization(serialization),
name: TransformName(serialization));
}
}
}

// Because we have NamespaceVisitor with VisitType in Azure.Generater, we need to override the namespace with VisitType here
protected override TypeProvider? VisitType(TypeProvider type)
{
if (type is not null)
{
TransformNamespaceForResource(type);
}
return type;
}

private void TransformNamespaceForResource(TypeProvider type)
{
if (type is ModelProvider model && ManagementClientGenerator.Instance.OutputLibrary.IsResourceModelType(model.Type))
{
type.Update(@namespace: ManagementClientGenerator.Instance.TypeFactory.PrimaryNamespace);

foreach (var serialization in type.SerializationProviders)
{
serialization.Update(@namespace: ManagementClientGenerator.Instance.TypeFactory.PrimaryNamespace);
}
}
}

// TODO: Go back and enable this when we have a way to handle the resource model parameters renaming via VisitMethod.
// protected override MethodProvider? VisitMethod(MethodProvider method)
// {
Expand All @@ -32,20 +72,6 @@ internal class ResourceVisitor : ScmLibraryVisitor
// return base.VisitMethod(method);
// }

private void TransformResource(InputModelType model, TypeProvider type)
{
if (type is ModelProvider && ManagementClientGenerator.Instance.InputLibrary.IsResourceModel(model))
{
type.Update(relativeFilePath: TransformRelativeFilePath(type));
type.Update(name: TransformName(type));
foreach (var serialization in type.SerializationProviders)
{
serialization.Update(relativeFilePath: TransformRelativeFilePathForSerialization(serialization));
serialization.Update(name: TransformName(serialization));
}
}
}

private static string TransformName(TypeProvider model) => $"{model.Name}Data";

private static string TransformRelativeFilePath(TypeProvider model)
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading