Skip to content

Commit

Permalink
config azurestackhci readme.java (Azure#18641)
Browse files Browse the repository at this point in the history
* set `x-ms-client-flatten` to `false` in `arcSettings.json`, `clusters.json` and `extensions.json`

* fix extensions
  • Loading branch information
XiaofeiCao authored and FredericHeem committed May 16, 2022
1 parent df516ad commit c41f14f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions specification/azurestackhci/resource-manager/readme.java.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,19 @@ namespace: com.microsoft.azure.management.azurestackhci
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-azurestackhci
directive:
- from: arcSettings.json
where: $.definitions.ArcSetting.properties.systemData
transform: $['x-ms-client-flatten'] = false
reason: systemData should not be flattened
- from: clusters.json
where: $.definitions.Cluster.properties.systemData
transform: $['x-ms-client-flatten'] = false
reason: systemData should not be flattened
- from: extensions.json
where: $.definitions.Extension.properties.systemData
transform: $['x-ms-client-flatten'] = false
reason: systemData should not be flattened
```
# Validation
Expand Down

0 comments on commit c41f14f

Please sign in to comment.