Skip to content

Commit

Permalink
[edgezones] update python config (#29080)
Browse files Browse the repository at this point in the history
* update python config

* Update tspconfig.yaml

* Update tspconfig.yaml

* format

---------

Co-authored-by: Weidong Xu <[email protected]>
  • Loading branch information
msyyc and weidongxu-microsoft authored May 15, 2024
1 parent 9061674 commit 524eb34
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
6 changes: 6 additions & 0 deletions specification/edgezones/EdgeZones.Management/client.tsp
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import "./main.tsp";
import "@azure-tools/typespec-client-generator-core";

using Azure.ClientGenerator.Core;

@@clientName(Microsoft.EdgeZones, "EdgeZonesMgmt", "python");
13 changes: 13 additions & 0 deletions specification/edgezones/EdgeZones.Management/tspconfig.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
parameters:
"service-dir":
default: "sdk/edgezones"
emit:
- "@azure-tools/typespec-autorest"
linter:
Expand All @@ -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"

0 comments on commit 524eb34

Please sign in to comment.