From ae6e92d62421bfafa2b695d742f3820d5de204eb Mon Sep 17 00:00:00 2001 From: Xiaofei Cao <92354331+XiaofeiCao@users.noreply.github.com> Date: Tue, 21 Jan 2025 12:59:20 +0800 Subject: [PATCH] java mgmt, servicenetworking config (#32240) * java config * service name * format --- .../ServiceNetworking.Management/client.tsp | 8 ++++++++ .../ServiceNetworking.Management/tspconfig.yaml | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/specification/servicenetworking/ServiceNetworking.Management/client.tsp b/specification/servicenetworking/ServiceNetworking.Management/client.tsp index d56d22fffbb5..668473769c38 100644 --- a/specification/servicenetworking/ServiceNetworking.Management/client.tsp +++ b/specification/servicenetworking/ServiceNetworking.Management/client.tsp @@ -8,3 +8,11 @@ using Azure.ClientGenerator.Core; "ServiceNetworkingManagementClient", "javascript" ); +@@clientName(Microsoft.ServiceNetworking, + "TrafficControllerManagementClient", + "java" +); +@@clientNamespace(Microsoft.ServiceNetworking, + "com.azure.resourcemanager.servicenetworking", + "java" +); diff --git a/specification/servicenetworking/ServiceNetworking.Management/tspconfig.yaml b/specification/servicenetworking/ServiceNetworking.Management/tspconfig.yaml index 881b2e497e91..35d5cb72156e 100644 --- a/specification/servicenetworking/ServiceNetworking.Management/tspconfig.yaml +++ b/specification/servicenetworking/ServiceNetworking.Management/tspconfig.yaml @@ -35,3 +35,7 @@ options: flavor: "azure" generate-test: true generate-sample: true + "@azure-tools/typespec-java": + package-dir: "azure-resourcemanager-servicenetworking" + flavor: "azure" + service-name: "Traffic Controller"