From 524eb346ef48d8235b26280ff51a3b08c5bec864 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Wed, 15 May 2024 16:40:25 +0800 Subject: [PATCH] [edgezones] update python config (#29080) * update python config * Update tspconfig.yaml * Update tspconfig.yaml * format --------- Co-authored-by: Weidong Xu --- .../edgezones/EdgeZones.Management/client.tsp | 6 ++++++ .../edgezones/EdgeZones.Management/tspconfig.yaml | 13 +++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 specification/edgezones/EdgeZones.Management/client.tsp diff --git a/specification/edgezones/EdgeZones.Management/client.tsp b/specification/edgezones/EdgeZones.Management/client.tsp new file mode 100644 index 000000000000..642c5229cca6 --- /dev/null +++ b/specification/edgezones/EdgeZones.Management/client.tsp @@ -0,0 +1,6 @@ +import "./main.tsp"; +import "@azure-tools/typespec-client-generator-core"; + +using Azure.ClientGenerator.Core; + +@@clientName(Microsoft.EdgeZones, "EdgeZonesMgmt", "python"); diff --git a/specification/edgezones/EdgeZones.Management/tspconfig.yaml b/specification/edgezones/EdgeZones.Management/tspconfig.yaml index 96b55124521e..8d8d0f677d30 100644 --- a/specification/edgezones/EdgeZones.Management/tspconfig.yaml +++ b/specification/edgezones/EdgeZones.Management/tspconfig.yaml @@ -1,3 +1,6 @@ +parameters: + "service-dir": + default: "sdk/edgezones" emit: - "@azure-tools/typespec-autorest" linter: @@ -10,3 +13,13 @@ options: emitter-output-dir: "{project-root}/.." examples-directory: "examples" output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/edgezones.json" + "@azure-tools/typespec-python": + package-dir: "azure-mgmt-edgezones" + package-name: "{package-dir}" + flavor: "azure" + "@azure-tools/typespec-java": + package-dir: "azure-resourcemanager-edgezones" + flavor: "azure" + namespace: "com.azure.resourcemanager.edgezones" + service-name: "Edge Zones" + examples-directory: "examples"