From 0af1101de444d29bfb59dcc25d017d375337c984 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Mon, 10 Oct 2022 17:09:43 +0800 Subject: [PATCH] fix app (#21044) --- .../2022-06-01-preview/ContainerApps.json | 2 +- .../stable/2022-03-01/ContainerApps.json | 2 +- .../app/resource-manager/readme.python.md | 23 ------------------- 3 files changed, 2 insertions(+), 25 deletions(-) diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/ContainerApps.json b/specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/ContainerApps.json index e3bf29daecc5..150438ee69d1 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/ContainerApps.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/ContainerApps.json @@ -754,7 +754,7 @@ "allowInsecure": { "description": "Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections", "type": "boolean", - "default": "false" + "default": false }, "ipSecurityRestrictions": { "description": "Rules to restrict incoming IP address.", diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ContainerApps.json b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ContainerApps.json index c25fa2548852..703856883bbf 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ContainerApps.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-03-01/ContainerApps.json @@ -645,7 +645,7 @@ "allowInsecure": { "description": "Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections", "type": "boolean", - "default": "false" + "default": false } } }, diff --git a/specification/app/resource-manager/readme.python.md b/specification/app/resource-manager/readme.python.md index 0e3cee2b0602..5b0cd54ef5a0 100644 --- a/specification/app/resource-manager/readme.python.md +++ b/specification/app/resource-manager/readme.python.md @@ -16,26 +16,3 @@ clear-output-folder: true no-namespace-folders: true output-folder: $(python-sdks-folder)/appcontainers/azure-mgmt-appcontainers/azure/mgmt/appcontainers ``` - -``` yaml $(python) -directive: - - from: CommonDefinitions.json - where: $.definitions.DaprComponent.properties.ignoreErrors - transform: $['default'] = 'False' - - - from: ContainerApps.json - where: $.definitions.Dapr.properties.enabled - transform: $['default'] = 'False' - - - from: ContainerApps.json - where: $.definitions.Ingress.properties.external - transform: $['default'] = 'False' - - - from: ContainerApps.json - where: $.definitions.TrafficWeight.properties.latestRevision - transform: $['default'] = 'False' - - - from: ContainerApps.json - where: $.definitions.Ingress.properties.allowInsecure - transform: $['default'] = 'False' -``` \ No newline at end of file