From 0f4607b187fcfeea94cef7ebd70935a3295f4443 Mon Sep 17 00:00:00 2001 From: Gerry Tan Date: Fri, 27 Sep 2024 12:04:52 +1000 Subject: [PATCH] Add typespec-csharp config for .NET SDK code generation (#30736) * typespec-csharp config for AzureTerraform * Rename AzureTerraform to Terraform --- .../Microsoft.AzureTerraform.Management/tspconfig.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/specification/terraform/Microsoft.AzureTerraform.Management/tspconfig.yaml b/specification/terraform/Microsoft.AzureTerraform.Management/tspconfig.yaml index 2b37c676ebf5..b0969fdd42f9 100644 --- a/specification/terraform/Microsoft.AzureTerraform.Management/tspconfig.yaml +++ b/specification/terraform/Microsoft.AzureTerraform.Management/tspconfig.yaml @@ -7,6 +7,12 @@ options: emitter-output-dir: "{project-root}/.." azure-resource-provider-folder: "resource-manager" output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/export.json" + "@azure-tools/typespec-csharp": + flavor: azure + package-dir: "Azure.ResourceManager.Terraform" + clear-output-folder: true + model-namespace: false + namespace: "{package-dir}" linter: extends: - "@azure-tools/typespec-azure-rulesets/resource-manager"