diff --git a/schemas/2022-01-01-preview/Microsoft.App.json b/schemas/2022-01-01-preview/Microsoft.App.json index 8c21c1a527..dbef83c9e3 100644 --- a/schemas/2022-01-01-preview/Microsoft.App.json +++ b/schemas/2022-01-01-preview/Microsoft.App.json @@ -904,8 +904,8 @@ { "type": "string", "enum": [ - "multiple", - "single" + "Multiple", + "Single" ] }, { @@ -1158,9 +1158,9 @@ { "type": "string", "enum": [ - "liveness", - "readiness", - "startup" + "Liveness", + "Readiness", + "Startup" ] }, { @@ -1209,7 +1209,18 @@ "description": "Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME." }, "scheme": { - "type": "string", + "oneOf": [ + { + "type": "string", + "enum": [ + "HTTP", + "HTTPS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], "description": "Scheme to use for connecting to the host. Defaults to HTTP." } }, diff --git a/schemas/2022-03-01/Microsoft.App.json b/schemas/2022-03-01/Microsoft.App.json index 5e50c7de0d..4146d1e9c7 100644 --- a/schemas/2022-03-01/Microsoft.App.json +++ b/schemas/2022-03-01/Microsoft.App.json @@ -904,8 +904,8 @@ { "type": "string", "enum": [ - "multiple", - "single" + "Multiple", + "Single" ] }, { @@ -1158,9 +1158,9 @@ { "type": "string", "enum": [ - "liveness", - "readiness", - "startup" + "Liveness", + "Readiness", + "Startup" ] }, { @@ -1209,7 +1209,18 @@ "description": "Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME." }, "scheme": { - "type": "string", + "oneOf": [ + { + "type": "string", + "enum": [ + "HTTP", + "HTTPS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], "description": "Scheme to use for connecting to the host. Defaults to HTTP." } },