Skip to content

Commit 65fa4ae

Browse files
mgmt, autorest configure for Java codegen
1 parent 38e580a commit 65fa4ae

File tree

3 files changed

+13
-113
lines changed

3 files changed

+13
-113
lines changed
Lines changed: 2 additions & 113 deletions
Original file line numberDiff line numberDiff line change
@@ -1,118 +1,7 @@
11
## Java
22

33
These settings apply only when `--java` is specified on the command line.
4-
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-libraries-for-java clone>`.
54

6-
``` yaml $(java)
7-
azure-arm: true
8-
fluent: true
9-
namespace: com.microsoft.azure.management.desktopvirtualization
10-
license-header: MICROSOFT_MIT_NO_CODEGEN
11-
payload-flattening-threshold: 1
12-
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-desktopvirtualization
5+
```yaml $(java)
6+
generate-async-methods: true
137
```
14-
15-
### Java multi-api
16-
17-
``` yaml $(java) && $(multiapi)
18-
batch:
19-
- tag: package-2020-10-19-preview
20-
- tag: package-2020-11-02-preview
21-
- tag: package-2020-11-10-preview
22-
- tag: package-2021-01-14-preview
23-
- tag: package-2021-02-01-preview
24-
- tag: package-2021-03-09-preview
25-
- tag: package-2021-04-01-preview
26-
```
27-
28-
### Tag: package-2021-04-01-preview and java
29-
30-
These settings apply only when `--tag=package-2021-04-01-preview --java` is specified on the command line.
31-
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`.
32-
33-
``` yaml $(tag) == 'package-2021-04-01-preview' && $(java) && $(multiapi)
34-
java:
35-
namespace: com.microsoft.azure.management.desktopvirtualization.v2021_04-01-preview
36-
output-folder: $(azure-libraries-for-java-folder)/sdk/desktopvirtualization/mgmt-v2021_04-01-preview
37-
regenerate-manager: true
38-
generate-interface: true
39-
```
40-
41-
### Tag: package-2021-03-09-preview and java
42-
43-
These settings apply only when `--tag=package-2021-03-09-preview --java` is specified on the command line.
44-
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`.
45-
46-
``` yaml $(tag) == 'package-2021-03-09-preview' && $(java) && $(multiapi)
47-
java:
48-
namespace: com.microsoft.azure.management.desktopvirtualization.v2021_03-09-preview
49-
output-folder: $(azure-libraries-for-java-folder)/sdk/desktopvirtualization/mgmt-v2021_03-09-preview
50-
regenerate-manager: true
51-
generate-interface: true
52-
```
53-
54-
### Tag: package-2021-02-01-preview and java
55-
56-
These settings apply only when `--tag=package-2021-02-01-preview --java` is specified on the command line.
57-
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`.
58-
59-
``` yaml $(tag) == 'package-2021-02-01-preview' && $(java) && $(multiapi)
60-
java:
61-
namespace: com.microsoft.azure.management.desktopvirtualization.v2021_02-01-preview
62-
output-folder: $(azure-libraries-for-java-folder)/sdk/desktopvirtualization/mgmt-v2021_02-01-preview
63-
regenerate-manager: true
64-
generate-interface: true
65-
```
66-
67-
### Tag: package-2021-01-14-preview and java
68-
69-
These settings apply only when `--tag=package-2021-01-14-preview --java` is specified on the command line.
70-
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`.
71-
72-
``` yaml $(tag) == 'package-2021-01-14-preview' && $(java) && $(multiapi)
73-
java:
74-
namespace: com.microsoft.azure.management.desktopvirtualization.v2021_01-14-preview
75-
output-folder: $(azure-libraries-for-java-folder)/sdk/desktopvirtualization/mgmt-v2021_01-14-preview
76-
regenerate-manager: true
77-
generate-interface: true
78-
```
79-
80-
### Tag: package-2020-11-10-preview and java
81-
82-
These settings apply only when `--tag=package-2020-11-10-preview --java` is specified on the command line.
83-
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`.
84-
85-
``` yaml $(tag) == 'package-2020-11-10-preview' && $(java) && $(multiapi)
86-
java:
87-
namespace: com.microsoft.azure.management.desktopvirtualization.v2020_11-10-preview
88-
output-folder: $(azure-libraries-for-java-folder)/sdk/desktopvirtualization/mgmt-v2020_11-10-preview
89-
regenerate-manager: true
90-
generate-interface: true
91-
```
92-
93-
### Tag: package-2020-11-02-preview and java
94-
95-
These settings apply only when `--tag=package-2020-11-02-preview --java` is specified on the command line.
96-
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`.
97-
98-
``` yaml $(tag) == 'package-2020-11-02-preview' && $(java) && $(multiapi)
99-
java:
100-
namespace: com.microsoft.azure.management.desktopvirtualization.v2020_11-02-preview
101-
output-folder: $(azure-libraries-for-java-folder)/sdk/desktopvirtualization/mgmt-v2020_11-02-preview
102-
regenerate-manager: true
103-
generate-interface: true
104-
```
105-
106-
### Tag: package-2020-10-19-preview and java
107-
108-
These settings apply only when `--tag=package-2020-10-19-preview --java` is specified on the command line.
109-
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`.
110-
111-
``` yaml $(tag) == 'package-2020-10-19-preview' && $(java) && $(multiapi)
112-
java:
113-
namespace: com.microsoft.azure.management.desktopvirtualization.v2020_10_19_preview
114-
output-folder: $(azure-libraries-for-java-folder)/sdk/desktopvirtualization/mgmt-v2020_10_19_preview
115-
regenerate-manager: true
116-
generate-interface: true
117-
```
118-
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## Java
2+
3+
These settings apply only when `--java` is specified on the command line.
4+
5+
```yaml $(java)
6+
property-include-always: EncryptionPropertiesIdentity.resourceId
7+
```

specification/loadtestservice/resource-manager/readme.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,7 @@ See configuration in [readme.typescript.md](./readme.typescript.md)
9494
## CSharp
9595

9696
See configuration in [readme.csharp.md](./readme.csharp.md)
97+
98+
## Java
99+
100+
See configuration in [readme.java.md](./readme.java.md)

0 commit comments

Comments
 (0)