From 8c304e7250847a0221171ef82400ce4115d32667 Mon Sep 17 00:00:00 2001 From: Jianghao Lu Date: Fri, 1 Feb 2019 17:34:05 -0800 Subject: [PATCH] Add missing Java code gen info to Kusto (#5142) --- .../azure-kusto/resource-manager/readme.md | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/specification/azure-kusto/resource-manager/readme.md b/specification/azure-kusto/resource-manager/readme.md index 4ef174cc472c..b29092276098 100644 --- a/specification/azure-kusto/resource-manager/readme.md +++ b/specification/azure-kusto/resource-manager/readme.md @@ -83,6 +83,7 @@ This is not used by Autorest itself. swagger-to-sdk: - repo: azure-sdk-for-python - repo: azure-sdk-for-go + - repo: azure-sdk-for-java ``` ## C# @@ -98,3 +99,37 @@ csharp: output-folder: $(csharp-sdks-folder)/Kusto/Management.Kusto/Generated clear-output-folder: true ``` + +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.kusto +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-kusto +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2018-09-07-preview +``` + +### Tag: package-2018-09-07-preview and java + +These settings apply only when `--tag=package-2018-09-07-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-09-07-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.kusto.v2018_09_07_preview + output-folder: $(azure-libraries-for-java-folder)/kusto/resource-manager/v2018_09_07_preview +regenerate-manager: true +generate-interface: true +```