Add SDK emitter configurations to Compute TypeSpec project for multi-language SDK generation #38249
+37
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
This PR adds comprehensive SDK emitter configurations to the Compute TypeSpec project (
specification/compute/Compute.Management) to enable SDK generation for JavaScript, .NET, Java, Python, and Go languages for API version 2025-04-01.Changes Made
Modified Files
specification/compute/Compute.Management/tspconfig.yamlConfiguration Details
Added the following to
tspconfig.yamlfollowing the official ARM widget template pattern:Parameters Section
service-dirparameter with default valuesdk/computeSDK Emitter Configurations for all 5 languages:
@azure/arm-computeAzure.ResourceManager.Computeazure-resourcemanager-compute, namespacecom.azure.resourcemanager.computeazure-mgmt-compute, namespaceazure.mgmt.computearmcompute, module path ingithub.com/Azure/azure-sdk-for-goAutorest Enhancements
use-read-only-status-schema: trueflag for improved schema generationEach emitter is configured with:
Context
This configuration enables the SDK generation pipeline to produce language-specific SDKs from the Compute TypeSpec project for the 2025-04-01 API version. The configuration follows the established patterns used in other Azure ARM services and ensures consistency across all SDK languages.
Related
Testing
Configuration validated against the official ARM widget template at
specification/widget/resource-manager/Microsoft.Widget/Widget/tspconfig.yamlto ensure consistency with Azure SDK standards.Original prompt
Fixes #38248
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.