11## Java
22
33These 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
65``` yaml $(java)
76azure-arm : true
@@ -12,102 +11,47 @@ payload-flattening-threshold: 1
1211output-folder : $(azure-libraries-for-java-folder)/azure-mgmt-appservice
1312service-name : AppService
1413directive :
15- from : WebApps.json
16- where : $.definitions.MSDeploy.properties.properties
17- transform : >
18- delete $.$ref;
19- $['allOf'] = [{'$ref':'#/definitions/MSDeployCore'}];
20- return $;
21- ` ` `
22-
23- ### Java multi-api
24-
25- ` ` ` yaml $(java) && $(multiapi)
26- batch :
27- - tag : package-2020-09
28- - tag : package-2019-08
29- - tag : package-2018-02
30- - tag : package-2016-03-01-web
31- - tag : package-2016-08-01-web
32- - tag : package-2016-09-01-web
33- ` ` `
34-
35- ### Tag: package-2020-09 and java
36-
37- These settings apply only when ` --tag=package-2020-09 --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-2020-09' && $(java) && $(multiapi)
41- java:
42- namespace: com.microsoft.azure.management.appservice.v2020_09_01
43- output-folder: $(azure-libraries-for-java-folder)/sdk/appservice/mgmt-v2020_09_01
44- regenerate-manager: true
45- generate-interface: true
46- ` ` `
47-
48- # ## Tag: package-2019-08 and java
49-
50- These settings apply only when `--tag=package-2019-08 --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-2019-08' && $(java) && $(multiapi)
54- java:
55- namespace: com.microsoft.azure.management.appservice.v2019_08_01
56- output-folder: $(azure-libraries-for-java-folder)/sdk/appservice/mgmt-v2019_08_01
57- regenerate-manager: true
58- generate-interface: true
59- ` ` `
60-
61- # ## Tag: package-2018-02 and java
62-
63- These settings apply only when `--tag=package-2018-02 --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-2018-02' && $(java) && $(multiapi)
67- java:
68- namespace: com.microsoft.azure.management.appservice.v2018_02_01
69- output-folder: $(azure-libraries-for-java-folder)/sdk/appservice/mgmt-v2018_02_01
70- regenerate-manager: true
71- generate-interface: true
72- ` ` `
73-
74- # ## Tag: package-2016-03-01-web and java
75-
76- These settings apply only when `--tag=package-2016-03-01-web --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-2016-03-01-web' && $(java) && $(multiapi)
80- java:
81- namespace: com.microsoft.azure.management.appservice.v2016_03_01
82- output-folder: $(azure-libraries-for-java-folder)/sdk/appservice/mgmt-v2016_03_01
83- regenerate-manager: true
84- generate-interface: true
85- ` ` `
86-
87- # ## Tag: package-2016-08-01-web and java
88-
89- These settings apply only when `--tag=package-2016-08-01-web --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-2016-08-01-web' && $(java) && $(multiapi)
93- java:
94- namespace: com.microsoft.azure.management.appservice.v2016_08_01
95- output-folder: $(azure-libraries-for-java-folder)/sdk/appservice/mgmt-v2016_08_01
96- regenerate-manager: true
97- generate-interface: true
98- ` ` `
99-
100- # ## Tag: package-2016-09-01-web and java
101-
102- These settings apply only when `--tag=package-2016-09-01-web --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-2016-09-01-web' && $(java) && $(multiapi)
106- java:
107- namespace: com.microsoft.azure.management.appservice.v2016_09_01
108- output-folder: $(azure-libraries-for-java-folder)/sdk/appservice/mgmt-v2016_09_01
109- regenerate-manager: true
110- generate-interface: true
14+ - from : WebApps.json
15+ where : $.definitions.MSDeploy.properties.properties
16+ transform : >
17+ delete $.$ref;
18+ $['allOf'] = [{'$ref':'#/definitions/MSDeployCore'}];
19+ return $;
20+ - from : WebApps.json
21+ where : $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings"].put
22+ transform : >
23+ $["x-ms-long-running-operation"] = true;
24+ reason : Swagger bug. Function App on ACA is LRO.
25+ - from : WebApps.json
26+ where : $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/appsettings"].put.responses
27+ transform : >
28+ $["202"] = {
29+ "description": "Operation is in progress.",
30+ "schema": {
31+ "$ref": "./CommonDefinitions.json#/definitions/StringDictionary"
32+ }
33+ };
34+ reason : Swagger bug. Function App on ACA is LRO.
35+ - from : WebApps.json
36+ where : $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web"].put
37+ transform : >
38+ $["x-ms-long-running-operation"] = true;
39+ reason : Swagger bug. Function App on ACA is LRO.
40+ - from : WebApps.json
41+ where : $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web"].put.responses
42+ transform : >
43+ $["202"] = {
44+ "description": "Operation is in progress.",
45+ "schema": {
46+ "$ref": "#/definitions/SiteConfigResource"
47+ }
48+ };
49+ reason : Swagger bug. Function App on ACA is LRO.
50+ - from : WebApps.json
51+ where : $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}"].patch
52+ transform : >
53+ $["x-ms-long-running-operation"] = true;
54+ reason : Swagger bug. Function App on ACA is LRO.
11155` ` `
11256
11357### Tag: profile-hybrid-2020-09-01 and java
0 commit comments