From e0ef85fa5d32460b3bba3be340cd8d8982c66880 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 27 Oct 2021 05:24:26 +0000 Subject: [PATCH] CodeGen from PR 16545 in Azure/azure-rest-api-specs Review request for Microsoft.AppPlatform to add a new field containerProbeSettings to DeploymentSettings in version 2021-09-01-preview (#16545) --- .../Microsoft.AppPlatform.json | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/schemas/2021-09-01-preview/Microsoft.AppPlatform.json b/schemas/2021-09-01-preview/Microsoft.AppPlatform.json index 51f77b0c38..19216d851a 100644 --- a/schemas/2021-09-01-preview/Microsoft.AppPlatform.json +++ b/schemas/2021-09-01-preview/Microsoft.AppPlatform.json @@ -955,6 +955,17 @@ "DeploymentSettings": { "type": "object", "properties": { + "containerProbeSettings": { + "oneOf": [ + { + "$ref": "#/definitions/DeploymentSettingsContainerProbeSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Container liveness and readiness probe settings" + }, "cpu": { "oneOf": [ { @@ -1032,6 +1043,23 @@ }, "description": "Deployment settings payload" }, + "DeploymentSettingsContainerProbeSettings": { + "type": "object", + "properties": { + "disableProbe": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether disable the liveness and readiness probe" + } + }, + "description": "Container liveness and readiness probe settings" + }, "Error": { "type": "object", "properties": {