Skip to content

Commit 21f9b63

Browse files
java mgmt, migrate premium SDK settings to readme.java.md (Azure#35785)
* configs * fix cspell * Update specification/redis/resource-manager/readme.java.md Co-authored-by: Weidong Xu <[email protected]> --------- Co-authored-by: Weidong Xu <[email protected]>
1 parent 2eae26e commit 21f9b63

File tree

24 files changed

+94
-3359
lines changed

24 files changed

+94
-3359
lines changed
Lines changed: 1 addition & 175 deletions
Original file line numberDiff line numberDiff line change
@@ -1,181 +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

65
``` yaml $(java)
7-
azure-arm: true
8-
fluent: true
9-
namespace: com.microsoft.azure.management.authorization
10-
license-header: MICROSOFT_MIT_NO_CODEGEN
11-
payload-flattening-threshold: 1
12-
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-authorization
13-
```
14-
15-
### Java multi-api
16-
17-
``` yaml $(java) && $(multiapi)
18-
batch:
19-
- tag: package-2018-09-01-preview
20-
- tag: package-2018-07-01-preview-only
21-
- tag: package-2015-06-01-preview
22-
- tag: package-2018-05-01-preview
23-
- tag: package-2020-10-01-preview
24-
- tag: package-2021-01-01-preview-only
25-
- tag: package-2021-03-01-preview-only
26-
- tag: package-2021-07-01-preview-only
27-
- tag: package-2021-12-01-preview-only
28-
```
29-
### Tag: package-2021-12-01-preview-only and java
30-
31-
These settings apply only when `--tag=package-2021-12-01-preview-only --java` is specified on he command line.
32-
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`.
33-
34-
``` yaml $(tag) == 'package-2021-12-01-preview-only' && $(java) && $(multiapi)
35-
java:
36-
namespace: com.microsoft.azure.management.authorization.v2021_12_01_preview
37-
output-folder: $(azure-libraries-for-java-folder)/sdk/authorization/mgmt-v2021_12_01_preview
38-
regenerate-manager: true
39-
generate-interface: true
40-
```
41-
42-
43-
### Tag: package-2021-07-01-preview-only and java
44-
45-
These settings apply only when `--tag=package-2021-07-01-preview-only --java` is specified on he command line.
46-
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`.
47-
48-
``` yaml $(tag) == 'package-2021-07-01-preview-only' && $(java) && $(multiapi)
49-
java:
50-
namespace: com.microsoft.azure.management.authorization.v2021_07_01_preview
51-
output-folder: $(azure-libraries-for-java-folder)/sdk/authorization/mgmt-v2021_07_01_preview
52-
regenerate-manager: true
53-
generate-interface: true
54-
```
55-
56-
### Tag: package-2021-03-01-preview-only and java
57-
58-
These settings apply only when `--tag=package-2021-03-01-preview-only --java` is specified on he command line.
59-
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`.
60-
61-
``` yaml $(tag) == 'package-2021-03-01-preview-only' && $(java) && $(multiapi)
62-
java:
63-
namespace: com.microsoft.azure.management.authorization.v2021_03_01_preview
64-
output-folder: $(azure-libraries-for-java-folder)/sdk/authorization/mgmt-v2021_03_01_preview
65-
regenerate-manager: true
66-
generate-interface: true
67-
```
68-
69-
### Tag: package-2018-09-01-preview and java
70-
71-
These settings apply only when `--tag=package-2018-09-01-preview --java` is specified on he command line.
72-
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`.
73-
74-
``` yaml $(tag) == 'package-2018-09-01-preview' && $(java) && $(multiapi)
75-
java:
76-
namespace: com.microsoft.azure.management.authorization.v2018_09_01_preview
77-
output-folder: $(azure-libraries-for-java-folder)/sdk/authorization/mgmt-v2018_09_01_preview
78-
regenerate-manager: true
79-
generate-interface: true
80-
```
81-
82-
### Tag: package-2018-07-01-preview-only and java
83-
84-
These settings apply only when `--tag=package-2018-07-01-preview-only --java` is specified on he command line.
85-
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`.
86-
87-
``` yaml $(tag) == 'package-2018-07-01-preview-only' && $(java) && $(multiapi)
88-
java:
89-
namespace: com.microsoft.azure.management.authorization.v2018_07_01_preview
90-
output-folder: $(azure-libraries-for-java-folder)/sdk/authorization/mgmt-v2018_07_01_preview
91-
regenerate-manager: true
92-
generate-interface: true
93-
```
94-
95-
### Tag: package-2018-05-01-preview and java
96-
97-
These settings apply only when `--tag=package-2018-05-01-preview --java` is specified on he command line.
98-
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`.
99-
100-
``` yaml $(tag) == 'package-2018-05-01-preview' && $(java) && $(multiapi)
101-
java:
102-
namespace: com.microsoft.azure.management.authorization.v2018_05_01_preview
103-
output-folder: $(azure-libraries-for-java-folder)/sdk/authorization/mgmt-v2018_05_01_preview
104-
regenerate-manager: true
105-
generate-interface: true
106-
```
107-
108-
### Tag: package-2015-07-01 and java
109-
110-
These settings apply only when `--tag=package-2015-07-01 --java` is specified on he command line.
111-
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`.
112-
113-
``` yaml $(tag) == 'package-2015-07-01' && $(java) && $(multiapi)
114-
java:
115-
namespace: com.microsoft.azure.management.authorization.v2015_07_01
116-
output-folder: $(azure-libraries-for-java-folder)/sdk/authorization/mgmt-v2015_07_01
117-
regenerate-manager: true
118-
generate-interface: true
119-
```
120-
121-
### Tag: package-2015-06-01-preview and java
122-
123-
These settings apply only when `--tag=package-2015-06-01-preview --java` is specified on he command line.
124-
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`.
125-
126-
``` yaml $(tag) == 'package-2015-06-01-preview' && $(java) && $(multiapi)
127-
java:
128-
namespace: com.microsoft.azure.management.authorization.v2015_06_01
129-
output-folder: $(azure-libraries-for-java-folder)/sdk/authorization/mgmt-v2015_06_01
130-
regenerate-manager: true
131-
generate-interface: true
132-
```
133-
134-
### Tag: package-2021-01-01-preview-only and java
135-
136-
These settings apply only when `--tag=package-2021-01-01-preview-only --java` is specified on he command line.
137-
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`.
138-
139-
``` yaml $(tag) == 'package-2021-01-01-preview-only' && $(java) && $(multiapi)
140-
java:
141-
namespace: com.microsoft.azure.management.authorization.v2021_01_01_preview
142-
output-folder: $(azure-libraries-for-java-folder)/sdk/authorization/mgmt-v2021_01_01_preview
143-
regenerate-manager: true
144-
generate-interface: true
145-
```
146-
147-
### Tag: package-2020-10-01-preview and java
148-
149-
These settings apply only when `--tag=package-2020-10-01-preview --java` is specified on he command line.
150-
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`.
151-
152-
``` yaml $(tag) == 'package-2020-10-01-preview' && $(java) && $(multiapi)
153-
java:
154-
namespace: com.microsoft.azure.management.authorization.v2020_10_01_preview
155-
output-folder: $(azure-libraries-for-java-folder)/sdk/authorization/mgmt-v2020_10_01_preview
156-
regenerate-manager: true
157-
generate-interface: true
158-
```
159-
160-
### Tag: profile-hybrid-2020-09-01 and java
161-
162-
These settings apply only when `--tag=profile-hybrid-2020-09-01 --java` is specified on the command line.
163-
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`.
164-
165-
``` yaml $(tag) == 'profile-hybrid-2020-09-01' && $(java)
166-
input-file:
167-
- Microsoft.Authorization/stable/2015-07-01/authorization-RoleDefinitionsCalls.json
168-
- Microsoft.Authorization/stable/2015-07-01/authorization-ProviderOperationsCalls.json
169-
- Microsoft.Authorization/stable/2015-07-01/authorization-ElevateAccessCalls.json
170-
- Microsoft.Authorization/stable/2015-07-01/authorization-RoleAssignmentsCalls.json
171-
- Microsoft.Authorization/stable/2015-07-01/authorization-ClassicAdminCalls.json
172-
directive:
173-
- from: authorization-RoleAssignmentsCalls.json
174-
where: $.definitions.RoleAssignment.properties.properties
175-
transform: >
176-
$['x-ms-client-flatten'] = true;
177-
- from: authorization-RoleAssignmentsCalls.json
178-
where: $.definitions.RoleAssignmentCreateParameters.properties.properties
179-
transform: >
180-
$['x-ms-client-flatten'] = true;
6+
enable-sync-stack: false
1817
```

specification/cdn/resource-manager/readme.java.md

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,8 @@ These settings apply only when `--java` is specified on the command line.
44
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-libraries-for-java clone>`.
55

66
``` yaml $(java)
7-
azure-arm: true
8-
fluent: true
9-
namespace: com.microsoft.azure.management.cdn
10-
license-header: MICROSOFT_MIT_NO_CODEGEN
11-
payload-flattening-threshold: 1
12-
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-cdn
7+
rename-model: CdnEndpoint:EndpointResource
8+
enable-sync-stack: false
139

1410
directive:
1511
- from: swagger-document
@@ -19,24 +15,4 @@ directive:
1915
"name": "DeliveryRuleActionValue",
2016
"modelAsString": true
2117
};
22-
```
23-
24-
### Java multi-api
25-
26-
``` yaml $(java) && $(multiapi)
27-
batch:
28-
- tag: package-2020-04
29-
```
30-
31-
### Tag: package-2020-04 and java
32-
33-
These settings apply only when `--tag=package-2020-04 --java` is specified on the command line.
34-
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`.
35-
36-
``` yaml $(tag) == 'package-2020-04' && $(java) && $(multiapi)
37-
java:
38-
namespace: com.microsoft.azure.management.cdn.v2020_04_15
39-
output-folder: $(azure-libraries-for-java-folder)/sdk/cdn/mgmt-v2020_04_15
40-
regenerate-manager: true
41-
generate-interface: true
4218
```

specification/compute/resource-manager/readme.java.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
These settings apply only when `--java` is specified on the command line.
44

55
```yaml $(java)
6+
modelerfor:
7+
lenient-model-deduplication: true
8+
rename-model: UserAssignedIdentitiesValue:VirtualMachineIdentityUserAssignedIdentities,VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue:VirtualMachineScaleSetIdentityUserAssignedIdentities
9+
preserve-model: AvailabilitySetSkuTypes
10+
remove-inner: StorageProfile
11+
enable-sync-stack: false
612
directive:
713
- from: virtualMachineScaleSet.json
814
where: $.definitions.VirtualMachineScaleSetVMProperties.properties
Lines changed: 3 additions & 125 deletions
Original file line numberDiff line numberDiff line change
@@ -1,131 +1,9 @@
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

65
``` yaml $(java)
7-
azure-arm: true
8-
fluent: true
9-
namespace: com.microsoft.azure.management.containerinstance
10-
license-header: MICROSOFT_MIT_NO_CODEGEN
11-
payload-flattening-threshold: 1
12-
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-containerinstance
13-
```
14-
15-
### Java multi-api
16-
17-
``` yaml $(java) && $(multiapi)
18-
batch:
19-
- tag: package-2020-11
20-
- tag: package-2019-12
21-
- tag: package-2018-10
22-
- tag: package-2018-04
23-
- tag: package-2018-02-preview
24-
- tag: package-2017-12-preview
25-
- tag: package-2017-10-preview
26-
- tag: package-2017-08-preview
27-
```
28-
29-
### Tag: package-2020-11 and java
30-
31-
These settings apply only when `--tag=package-2020-11 --java` is specified on the command line.
32-
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`.
33-
34-
``` yaml $(tag) == 'package-2020-11' && $(java) && $(multiapi)
35-
java:
36-
namespace: com.microsoft.azure.management.containerinstance.v2020_11_01
37-
output-folder: $(azure-libraries-for-java-folder)/sdk/containerinstance/mgmt-v2020_11_01
38-
regenerate-manager: true
39-
generate-interface: true
40-
```
41-
42-
### Tag: package-2019-12 and java
43-
44-
These settings apply only when `--tag=package-2019-12 --java` is specified on the command line.
45-
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`.
46-
47-
``` yaml $(tag) == 'package-2019-12' && $(java) && $(multiapi)
48-
java:
49-
namespace: com.microsoft.azure.management.containerinstance.v2019_12_01
50-
output-folder: $(azure-libraries-for-java-folder)/sdk/containerinstance/mgmt-v2019_12_01
51-
regenerate-manager: true
52-
generate-interface: true
53-
```
54-
55-
### Tag: package-2018-10 and java
56-
57-
These settings apply only when `--tag=package-2018-10 --java` is specified on the command line.
58-
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`.
59-
60-
``` yaml $(tag) == 'package-2018-10' && $(java) && $(multiapi)
61-
java:
62-
namespace: com.microsoft.azure.management.containerinstance.v2018_10_01
63-
output-folder: $(azure-libraries-for-java-folder)/sdk/containerinstance/mgmt-v2018_10_01
64-
regenerate-manager: true
65-
generate-interface: true
66-
```
67-
68-
### Tag: package-2018-04 and java
69-
70-
These settings apply only when `--tag=package-2018-04 --java` is specified on the command line.
71-
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`.
72-
73-
``` yaml $(tag) == 'package-2018-04' && $(java) && $(multiapi)
74-
java:
75-
namespace: com.microsoft.azure.management.containerinstance.v2018_04_01
76-
output-folder: $(azure-libraries-for-java-folder)/sdk/containerinstance/mgmt-v2018_04_01
77-
regenerate-manager: true
78-
generate-interface: true
79-
```
80-
81-
### Tag: package-2018-02-preview and java
82-
83-
These settings apply only when `--tag=package-2018-02-preview --java` is specified on the command line.
84-
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`.
85-
86-
``` yaml $(tag) == 'package-2018-02-preview' && $(java) && $(multiapi)
87-
java:
88-
namespace: com.microsoft.azure.management.containerinstance.v2018_02_01_preview
89-
output-folder: $(azure-libraries-for-java-folder)/sdk/containerinstance/mgmt-v2018_02_01_preview
90-
regenerate-manager: true
91-
generate-interface: true
92-
```
93-
94-
### Tag: package-2017-12-preview and java
95-
96-
These settings apply only when `--tag=package-2017-12-preview --java` is specified on the command line.
97-
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`.
98-
99-
``` yaml $(tag) == 'package-2017-12-preview' && $(java) && $(multiapi)
100-
java:
101-
namespace: com.microsoft.azure.management.containerinstance.v2017_12_01_preview
102-
output-folder: $(azure-libraries-for-java-folder)/sdk/containerinstance/mgmt-v2017_12_01_preview
103-
regenerate-manager: true
104-
generate-interface: true
105-
```
106-
107-
### Tag: package-2017-10-preview and java
108-
109-
These settings apply only when `--tag=package-2017-10-preview --java` is specified on the command line.
110-
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`.
111-
112-
``` yaml $(tag) == 'package-2017-10-preview' && $(java) && $(multiapi)
113-
java:
114-
namespace: com.microsoft.azure.management.containerinstance.v2017_10_01_preview
115-
output-folder: $(azure-libraries-for-java-folder)/sdk/containerinstance/mgmt-v2017_10_01_preview
116-
regenerate-manager: true
117-
generate-interface: true
118-
```
119-
120-
### Tag: package-2017-08-preview and java
121-
122-
These settings apply only when `--tag=package-2017-08-preview --java` is specified on the command line.
123-
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`.
124-
125-
``` yaml $(tag) == 'package-2017-08-preview' && $(java) && $(multiapi)
126-
java:
127-
namespace: com.microsoft.azure.management.containerinstance.v2017_08_01_preview
128-
output-folder: $(azure-libraries-for-java-folder)/sdk/containerinstance/mgmt-v2017_08_01_preview
129-
regenerate-manager: true
130-
generate-interface: true
6+
remove-inner: Container,Operation,CachedImages,Capabilities
7+
rename-model: ContainerGroupPropertiesProperties:ContainerGroupProperties,UserAssignedIdentities:ContainerGroupIdentityUserAssignedIdentities
8+
enable-sync-stack: false
1319
```

0 commit comments

Comments
 (0)