Skip to content

Commit

Permalink
Add missing Java code gen info to Kusto (Azure#5142)
Browse files Browse the repository at this point in the history
  • Loading branch information
jianghaolu authored and AnuTalluri committed Feb 6, 2019
1 parent f1d4621 commit 6f76573
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions specification/azure-kusto/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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#
Expand All @@ -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=<path to the root directory of your azure-libraries-for-java clone>`.

``` 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=<path to the root directory of your azure-sdk-for-java clone>`.

``` 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
```

0 comments on commit 6f76573

Please sign in to comment.