From c41f14f0be7490097ed3b74ed3040fc769e0ecde Mon Sep 17 00:00:00 2001 From: Xiaofei Cao <92354331+XiaofeiCao@users.noreply.github.com> Date: Tue, 12 Apr 2022 10:01:27 +0800 Subject: [PATCH] config azurestackhci readme.java (#18641) * set `x-ms-client-flatten` to `false` in `arcSettings.json`, `clusters.json` and `extensions.json` * fix extensions --- .../azurestackhci/resource-manager/readme.java.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/specification/azurestackhci/resource-manager/readme.java.md b/specification/azurestackhci/resource-manager/readme.java.md index bf96908f4e24..15b845a9677e 100644 --- a/specification/azurestackhci/resource-manager/readme.java.md +++ b/specification/azurestackhci/resource-manager/readme.java.md @@ -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