Skip to content

Commit

Permalink
[Container Orchestrator Runtime] Update tspconfig for Python SDK (Azu…
Browse files Browse the repository at this point in the history
…re#30563)

* update tsp-config

* fix-format
  • Loading branch information
ChenxiJiang333 authored Sep 14, 2024
1 parent 8a287af commit 3a91306
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import "./main.tsp";
import "@azure-tools/typespec-client-generator-core";

using Azure.ClientGenerator.Core;

@@clientName(Microsoft.KubernetesRuntime,
"ContainerOrchestratorRuntimeMgmt",
"python"
);
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
parameters:
"service-dir":
default: "sdk/containerorchestratorruntime"
swagger-repo-dir:
default: "{project-root}/swagger"

Expand All @@ -12,6 +14,13 @@ options:
arm-resource-flattening: true
output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/kubernetesruntime.json"
use-read-only-status-schema: true
"@azure-tools/typespec-python":
package-dir: "azure-mgmt-containerorchestratorruntime"
package-name: "{package-dir}"
flavor: "azure"
generate-test: true
generate-sample: true
examples-dir: "{project-root}/examples"

linter:
extends:
Expand Down

0 comments on commit 3a91306

Please sign in to comment.