From ad1d0681489e9d852913b9648e376bb15365d09a Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Mon, 3 Nov 2025 12:34:09 +0800 Subject: [PATCH 1/2] Add Java clientName for SKUCapability to mitigate breaking change --- .../resource-manager/Microsoft.ElasticSan/ElasticSan/client.tsp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/ElasticSan/client.tsp b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/ElasticSan/client.tsp index 68a6361bab0d..bcd8eba7a8ef 100644 --- a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/ElasticSan/client.tsp +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/ElasticSan/client.tsp @@ -72,3 +72,5 @@ using Azure.Core; @@clientLocation(Microsoft.ElasticSan.restoreVolume, "Management", "go"); @@clientName(Microsoft.ElasticSan, "ElasticSanMgmtClient", "python"); + +@@clientName(SKUCapability, "SkuCapability", "java"); From 732d3258057bc8759189519ef06d847d5a91bf39 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Mon, 3 Nov 2025 12:34:26 +0800 Subject: [PATCH 2/2] config --- .../Microsoft.ElasticSan/ElasticSan/tspconfig.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/ElasticSan/tspconfig.yaml b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/ElasticSan/tspconfig.yaml index 069ef2e67b08..973d55c17f62 100644 --- a/specification/elasticsan/resource-manager/Microsoft.ElasticSan/ElasticSan/tspconfig.yaml +++ b/specification/elasticsan/resource-manager/Microsoft.ElasticSan/ElasticSan/tspconfig.yaml @@ -26,8 +26,9 @@ options: "@azure-tools/typespec-java": emitter-output-dir: "{output-dir}/{service-dir}/azure-resourcemanager-elasticsan" namespace: "com.azure.resourcemanager.elasticsan" - service-name: "ElasticSan" # human-readable service name, whitespace allowed + service-name: "ElasticSan" flavor: azure + client-side-validations: true "@azure-tools/typespec-ts": service-dir: "sdk/elasticsans" emitter-output-dir: "{output-dir}/{service-dir}/arm-elasticsan"