|
1 | 1 | ## Java |
2 | 2 |
|
3 | 3 | 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>`. |
5 | 4 |
|
6 | 5 | ``` yaml $(java) |
7 | | -azure-arm: true |
8 | | -fluent: true |
9 | | -namespace: com.microsoft.azure.management.appplatform |
10 | | -license-header: MICROSOFT_MIT_NO_CODEGEN |
11 | | -payload-flattening-threshold: 1 |
12 | | -output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-appplatform |
13 | | -``` |
14 | | -
|
15 | | -### Java multi-api |
16 | | -
|
17 | | -``` yaml $(java) && $(multiapi) |
18 | | -batch: |
19 | | - - tag: package-preview-2023-05 |
20 | | - - tag: package-preview-2023-03 |
21 | | - - tag: package-preview-2023-01 |
22 | | - - tag: package-2022-12 |
23 | | - - tag: package-preview-2022-11 |
24 | | - - tag: package-preview-2022-09 |
25 | | - - tag: package-preview-2022-05 |
26 | | - - tag: package-2022-04 |
27 | | - - tag: package-preview-2022-03 |
28 | | - - tag: package-preview-2022-01 |
29 | | - - tag: package-preview-2021-09 |
30 | | - - tag: package-preview-2021-06 |
31 | | - - tag: package-preview-2020-11 |
32 | | - - tag: package-2020-07 |
33 | | -``` |
34 | | -
|
35 | | -### Tag: package-preview-2023-05 and java |
36 | | -
|
37 | | -These settings apply only when `--tag=package-preview-2023-05 --java` is specified on the command line. |
38 | | -Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`. |
39 | | - |
40 | | -``` yaml $(tag) == 'package-preview-2023-05' && $(java) && $(multiapi) |
41 | | -java: |
42 | | - namespace: com.microsoft.azure.management.appplatform.v2023_05_01_preview |
43 | | - output-folder: $(azure-libraries-for-java-folder)/sdk/appplatform/mgmt-v2023_05_01_preview |
44 | | -regenerate-manager: true |
45 | | -generate-interface: true |
46 | | -``` |
47 | | - |
48 | | -### Tag: package-preview-2023-03 and java |
49 | | - |
50 | | -These settings apply only when `--tag=package-preview-2023-03 --java` is specified on the command line. |
51 | | -Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`. |
52 | | - |
53 | | -``` yaml $(tag) == 'package-preview-2023-03' && $(java) && $(multiapi) |
54 | | -java: |
55 | | - namespace: com.microsoft.azure.management.appplatform.v2023_03_01_preview |
56 | | - output-folder: $(azure-libraries-for-java-folder)/sdk/appplatform/mgmt-v2023_03_01_preview |
57 | | -regenerate-manager: true |
58 | | -generate-interface: true |
59 | | -``` |
60 | | - |
61 | | -### Tag: package-preview-2023-01 and java |
62 | | - |
63 | | -These settings apply only when `--tag=package-preview-2023-01 --java` is specified on the command line. |
64 | | -Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`. |
65 | | - |
66 | | -``` yaml $(tag) == 'package-preview-2023-01' && $(java) && $(multiapi) |
67 | | -java: |
68 | | - namespace: com.microsoft.azure.management.appplatform.v2023_01_01_preview |
69 | | - output-folder: $(azure-libraries-for-java-folder)/sdk/appplatform/mgmt-v2023_01_01_preview |
70 | | -regenerate-manager: true |
71 | | -generate-interface: true |
72 | | -``` |
73 | | - |
74 | | -### Tag: package-2022-12 and java |
75 | | - |
76 | | -These settings apply only when `--tag=package-2022-12 --java` is specified on the command line. |
77 | | -Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`. |
78 | | - |
79 | | -``` yaml $(tag) == 'package-2022-12' && $(java) && $(multiapi) |
80 | | -java: |
81 | | - namespace: com.microsoft.azure.management.appplatform.v2022_12_01 |
82 | | - output-folder: $(azure-libraries-for-java-folder)/sdk/appplatform/mgmt-v2022_12_01 |
83 | | -regenerate-manager: true |
84 | | -generate-interface: true |
85 | | -``` |
86 | | - |
87 | | -### Tag: package-preview-2022-11 and java |
88 | | - |
89 | | -These settings apply only when `--tag=package-preview-2022-11 --java` is specified on the command line. |
90 | | -Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`. |
91 | | - |
92 | | -``` yaml $(tag) == 'package-preview-2022-11' && $(java) && $(multiapi) |
93 | | -java: |
94 | | - namespace: com.microsoft.azure.management.appplatform.v2022_11_01_preview |
95 | | - output-folder: $(azure-libraries-for-java-folder)/sdk/appplatform/mgmt-v2022_11_01_preview |
96 | | -regenerate-manager: true |
97 | | -generate-interface: true |
98 | | -``` |
99 | | - |
100 | | -### Tag: package-preview-2022-09 and java |
101 | | - |
102 | | -These settings apply only when `--tag=package-preview-2022-09 --java` is specified on the command line. |
103 | | -Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`. |
104 | | - |
105 | | -``` yaml $(tag) == 'package-preview-2022-09' && $(java) && $(multiapi) |
106 | | -java: |
107 | | - namespace: com.microsoft.azure.management.appplatform.v2022_09_01_preview |
108 | | - output-folder: $(azure-libraries-for-java-folder)/sdk/appplatform/mgmt-v2022_09_01_preview |
109 | | -regenerate-manager: true |
110 | | -generate-interface: true |
111 | | -``` |
112 | | - |
113 | | -### Tag: package-preview-2022-05 and java |
114 | | - |
115 | | -These settings apply only when `--tag=package-preview-2022-05 --java` is specified on the command line. |
116 | | -Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`. |
117 | | - |
118 | | -``` yaml $(tag) == 'package-preview-2022-05' && $(java) && $(multiapi) |
119 | | -java: |
120 | | - namespace: com.microsoft.azure.management.appplatform.v2022_05_01_preview |
121 | | - output-folder: $(azure-libraries-for-java-folder)/sdk/appplatform/mgmt-v2022_05_01_preview |
122 | | -regenerate-manager: true |
123 | | -generate-interface: true |
124 | | -``` |
125 | | - |
126 | | -### Tag: package-2022-04 and java |
127 | | - |
128 | | -These settings apply only when `--tag=package-2022-04 --java` is specified on the command line. |
129 | | -Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`. |
130 | | - |
131 | | -``` yaml $(tag) == 'package-2022-04' && $(java) && $(multiapi) |
132 | | -java: |
133 | | - namespace: com.microsoft.azure.management.appplatform.v2022_04_01 |
134 | | - output-folder: $(azure-libraries-for-java-folder)/sdk/appplatform/mgmt-v2022_04_01 |
135 | | -regenerate-manager: true |
136 | | -generate-interface: true |
137 | | -``` |
138 | | - |
139 | | -### Tag: package-preview-2022-03 and java |
140 | | - |
141 | | -These settings apply only when `--tag=package-preview-2022-03 --java` is specified on the command line. |
142 | | -Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`. |
143 | | - |
144 | | -``` yaml $(tag) == 'package-preview-2022-03' && $(java) && $(multiapi) |
145 | | -java: |
146 | | - namespace: com.microsoft.azure.management.appplatform.v2022_03_01_preview |
147 | | - output-folder: $(azure-libraries-for-java-folder)/sdk/appplatform/mgmt-v2022_03_01_preview |
148 | | -regenerate-manager: true |
149 | | -generate-interface: true |
150 | | -``` |
151 | | - |
152 | | -### Tag: package-preview-2022-01 and java |
153 | | - |
154 | | -These settings apply only when `--tag=package-preview-2022-01 --java` is specified on the command line. |
155 | | -Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`. |
156 | | - |
157 | | -``` yaml $(tag) == 'package-preview-2022-01' && $(java) && $(multiapi) |
158 | | -java: |
159 | | - namespace: com.microsoft.azure.management.appplatform.v2022_01_01_preview |
160 | | - output-folder: $(azure-libraries-for-java-folder)/sdk/appplatform/mgmt-v2022_01_01_preview |
161 | | -regenerate-manager: true |
162 | | -generate-interface: true |
163 | | -``` |
164 | | - |
165 | | -### Tag: package-preview-2021-09 and java |
166 | | - |
167 | | -These settings apply only when `--tag=package-preview-2021-09 --java` is specified on the command line. |
168 | | -Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`. |
169 | | - |
170 | | -``` yaml $(tag) == 'package-preview-2021-09' && $(java) && $(multiapi) |
171 | | -java: |
172 | | - namespace: com.microsoft.azure.management.appplatform.v2021_09_01_preview |
173 | | - output-folder: $(azure-libraries-for-java-folder)/sdk/appplatform/mgmt-v2021_09_01_preview |
174 | | -regenerate-manager: true |
175 | | -generate-interface: true |
176 | | -``` |
177 | | - |
178 | | -### Tag: package-preview-2021-06 and java |
179 | | - |
180 | | -These settings apply only when `--tag=package-preview-2021-06 --java` is specified on the command line. |
181 | | -Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`. |
182 | | - |
183 | | -``` yaml $(tag) == 'package-preview-2021-06' && $(java) && $(multiapi) |
184 | | -java: |
185 | | - namespace: com.microsoft.azure.management.appplatform.v2021_06_01_preview |
186 | | - output-folder: $(azure-libraries-for-java-folder)/sdk/appplatform/mgmt-v2021_06_01_preview |
187 | | -regenerate-manager: true |
188 | | -generate-interface: true |
189 | | -``` |
190 | | - |
191 | | -### Tag: package-preview-2020-11 and java |
192 | | - |
193 | | -These settings apply only when `--tag=package-preview-2020-11 --java` is specified on the command line. |
194 | | -Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`. |
195 | | - |
196 | | -``` yaml $(tag) == 'package-preview-2020-11' && $(java) && $(multiapi) |
197 | | -java: |
198 | | - namespace: com.microsoft.azure.management.appplatform.v2020_11_01_preview |
199 | | - output-folder: $(azure-libraries-for-java-folder)/sdk/appplatform/mgmt-v2020_11_01_preview |
200 | | -regenerate-manager: true |
201 | | -generate-interface: true |
202 | | -``` |
203 | | - |
204 | | -### Tag: package-2020-07 and java |
205 | | - |
206 | | -These settings apply only when `--tag=package-2020-07 --java` is specified on the command line. |
207 | | -Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`. |
208 | | - |
209 | | -``` yaml $(tag) == 'package-2020-07' && $(java) && $(multiapi) |
210 | | -java: |
211 | | - namespace: com.microsoft.azure.management.appplatform.v2020_07_01 |
212 | | - output-folder: $(azure-libraries-for-java-folder)/sdk/appplatform/mgmt-v2020_07_01 |
213 | | -regenerate-manager: true |
214 | | -generate-interface: true |
215 | | -``` |
| 6 | +directive: |
| 7 | + - from: appplatform.json |
| 8 | + where: $.definitions.AppResourceProperties.properties.addonConfigs |
| 9 | + transform: > |
| 10 | + $['additionalProperties'] = |
| 11 | + { |
| 12 | + "type": "object", |
| 13 | + "additionalProperties": { |
| 14 | + "type": "object" |
| 15 | + } |
| 16 | + } |
| 17 | + reason: server backend response is still double-map structure |
| 18 | + - from: appplatform.json |
| 19 | + where: $.definitions.DeploymentSettings.properties.addonConfigs |
| 20 | + transform: > |
| 21 | + $['additionalProperties'] = |
| 22 | + { |
| 23 | + "type": "object", |
| 24 | + "additionalProperties": { |
| 25 | + "type": "object" |
| 26 | + } |
| 27 | + } |
| 28 | + reason: server backend response is still double-map structure |
| 29 | + - from: appplatform.json |
| 30 | + where: $.definitions.BindingResourceProperties.properties.bindingParameters.additionalProperties |
| 31 | + transform: > |
| 32 | + $['type'] = "object" |
| 33 | + reason: avoid breaking change |
| 34 | +``` |
0 commit comments