From a9b495c14b10bf8718c82e1651bae6557ccdc3f2 Mon Sep 17 00:00:00 2001 From: ZiWei Chen <98569699+kazrael2119@users.noreply.github.com> Date: Fri, 13 Sep 2024 14:58:42 +0800 Subject: [PATCH] update standbypool tspconfig (#30550) * add ts config to standbypool tspconfig * Update tspconfig.yaml --------- Co-authored-by: Qiaoqiao Zhang <55688292+qiaozha@users.noreply.github.com> --- .../standbypool/StandbyPool.Management/client.tsp | 4 ++++ .../standbypool/StandbyPool.Management/tspconfig.yaml | 11 +++++++++++ 2 files changed, 15 insertions(+) diff --git a/specification/standbypool/StandbyPool.Management/client.tsp b/specification/standbypool/StandbyPool.Management/client.tsp index 07af69fa2185..eb89c67494a0 100644 --- a/specification/standbypool/StandbyPool.Management/client.tsp +++ b/specification/standbypool/StandbyPool.Management/client.tsp @@ -56,4 +56,8 @@ using Microsoft.StandbyPool; ); @@clientName(ProvisioningState, "StandbyProvisioningState", "csharp"); @@clientName(RefillPolicy, "StandbyRefillPolicy", "csharp"); +@@clientName(Microsoft.StandbyPool, + "StandbyPoolManagementClient", + "javascript" +); @@clientName(Microsoft.StandbyPool, "StandbyPoolMgmtClient", "python"); diff --git a/specification/standbypool/StandbyPool.Management/tspconfig.yaml b/specification/standbypool/StandbyPool.Management/tspconfig.yaml index f2e30142da83..5e682fe881ab 100644 --- a/specification/standbypool/StandbyPool.Management/tspconfig.yaml +++ b/specification/standbypool/StandbyPool.Management/tspconfig.yaml @@ -29,6 +29,17 @@ options: flavor: azure clear-output-folder: true namespace: "{package-dir}" + "@azure-tools/typespec-ts": + azureSdkForJs: true + isModularLibrary: true + generateMetadata: true + hierarchyClient: false + experimentalExtensibleEnums: true + enableOperationGroup: true + package-dir: "arm-standbypool" + flavor: "azure" + packageDetails: + name: "@azure/arm-standbypool" "@azure-tools/typespec-python": package-dir: "azure-mgmt-standbypool" package-name: "{package-dir}"