Skip to content

Commit a341dfb

Browse files
weidongxu-microsoftharryli0108
authored andcommitted
mgmt, java, azurestackhci, dedup name "Update" (Azure#24924)
1 parent 9584bf5 commit a341dfb

File tree

1 file changed

+1
-42
lines changed

1 file changed

+1
-42
lines changed

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

+1-42
Original file line numberDiff line numberDiff line change
@@ -4,46 +4,5 @@ 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.azurestackhci
10-
license-header: MICROSOFT_MIT_NO_CODEGEN
11-
payload-flattening-threshold: 1
12-
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-azurestackhci
13-
directive:
14-
- from: arcSettings.json
15-
where: $.definitions.ArcSetting.properties.systemData
16-
transform: $['x-ms-client-flatten'] = false
17-
reason: systemData should not be flattened
18-
- from: clusters.json
19-
where: $.definitions.Cluster.properties.systemData
20-
transform: $['x-ms-client-flatten'] = false
21-
reason: systemData should not be flattened
22-
- from: extensions.json
23-
where: $.definitions.Extension.properties.systemData
24-
transform: $['x-ms-client-flatten'] = false
25-
reason: systemData should not be flattened
26-
```
27-
28-
# Validation
29-
30-
31-
### Java multi-api
32-
33-
``` yaml $(java) && $(multiapi)
34-
batch:
35-
- tag: package-2020-10
36-
```
37-
38-
### Tag: package-2020-10 and java
39-
40-
These settings apply only when `--tag=package-2020-10 --java` is specified on the command line.
41-
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`.
42-
43-
``` yaml $(tag) == 'package-2020-10' && $(java) && $(multiapi)
44-
java:
45-
namespace: com.microsoft.azure.management.azurestackhci.v2020_10_01
46-
output-folder: $(azure-libraries-for-java-folder)/sdk/azurestackhci/mgmt-v2020_10_01
47-
regenerate-manager: true
48-
generate-interface: true
7+
rename-model: "Update:HciUpdate"
498
```

0 commit comments

Comments
 (0)