diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/CommonDefinitions.json b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/CommonDefinitions.json index c991308cda2c..4aae4c03c23b 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/CommonDefinitions.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/CommonDefinitions.json @@ -590,6 +590,18 @@ "type": "integer", "default": 10 }, + "cooldownPeriod": { + "format": "int32", + "description": "Optional. KEDA Cooldown Period. Defaults to 300 seconds if not set.", + "type": "integer", + "default": 300 + }, + "pollingInterval": { + "format": "int32", + "description": "Optional. KEDA Polling Interval. Defaults to 30 seconds if not set.", + "type": "integer", + "default": 30 + }, "rules": { "description": "Scaling rules.", "type": "array", @@ -2171,4 +2183,3 @@ } ] } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/Jobs.json b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/Jobs.json index 43b44f33a5dd..1ea7112205c9 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/Jobs.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/Jobs.json @@ -1283,4 +1283,3 @@ } ] } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_CreateOrUpdate.json index eb54bd2b0f69..435f92aacb27 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_CreateOrUpdate.json @@ -187,6 +187,8 @@ "scale": { "minReplicas": 1, "maxReplicas": 5, + "cooldownPeriod": 350, + "pollingInterval": 35, "rules": [ { "name": "httpscalingrule", @@ -415,6 +417,8 @@ "scale": { "minReplicas": 1, "maxReplicas": 5, + "cooldownPeriod": 350, + "pollingInterval": 35, "rules": [ { "name": "httpscalingrule", @@ -601,6 +605,8 @@ "scale": { "minReplicas": 1, "maxReplicas": 5, + "cooldownPeriod": 350, + "pollingInterval": 35, "rules": [ { "name": "httpscalingrule", @@ -652,4 +658,3 @@ } } } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_CreateOrUpdate_ConnectedEnvironment.json b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_CreateOrUpdate_ConnectedEnvironment.json index 564a798325ab..314419949c87 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_CreateOrUpdate_ConnectedEnvironment.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_CreateOrUpdate_ConnectedEnvironment.json @@ -159,6 +159,8 @@ "scale": { "minReplicas": 1, "maxReplicas": 5, + "cooldownPeriod": 350, + "pollingInterval": 35, "rules": [ { "name": "httpscalingrule", @@ -314,6 +316,8 @@ "scale": { "minReplicas": 1, "maxReplicas": 5, + "cooldownPeriod": 350, + "pollingInterval": 35, "rules": [ { "name": "httpscalingrule", @@ -438,6 +442,8 @@ "scale": { "minReplicas": 1, "maxReplicas": 5, + "cooldownPeriod": 350, + "pollingInterval": 35, "rules": [ { "name": "httpscalingrule", @@ -456,4 +462,3 @@ } } } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_Get.json b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_Get.json index 48eb869bdf13..b76efbb25691 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_Get.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_Get.json @@ -157,6 +157,8 @@ "scale": { "minReplicas": 1, "maxReplicas": 5, + "cooldownPeriod": 350, + "pollingInterval": 35, "rules": [ { "name": "httpscalingrule", @@ -210,4 +212,3 @@ "404": {} } } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_Kind_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_Kind_CreateOrUpdate.json index a4793468264a..963b41764658 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_Kind_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_Kind_CreateOrUpdate.json @@ -31,7 +31,9 @@ ], "scale": { "minReplicas": 1, - "maxReplicas": 30 + "maxReplicas": 30, + "cooldownPeriod": 350, + "pollingInterval": 35 } } } @@ -103,6 +105,8 @@ "scale": { "minReplicas": 1, "maxReplicas": 30, + "cooldownPeriod": 350, + "pollingInterval": 35, "rules": null }, "volumes": null, @@ -180,6 +184,8 @@ "scale": { "minReplicas": 1, "maxReplicas": 30, + "cooldownPeriod": 350, + "pollingInterval": 35, "rules": null }, "volumes": null, @@ -194,4 +200,3 @@ } } } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_ListByResourceGroup.json b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_ListByResourceGroup.json index 30a05aad997f..86afdbd83311 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_ListByResourceGroup.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_ListByResourceGroup.json @@ -122,6 +122,8 @@ "scale": { "minReplicas": 1, "maxReplicas": 5, + "cooldownPeriod": 350, + "pollingInterval": 35, "rules": [ { "name": "httpscalingrule", @@ -182,7 +184,9 @@ ], "scale": { "minReplicas": 1, - "maxReplicas": 5 + "maxReplicas": 5, + "cooldownPeriod": 350, + "pollingInterval": 35 } }, "eventStreamEndpoint": "testEndpoint" diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_ListBySubscription.json b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_ListBySubscription.json index 78f82e1c4441..85648bd4140f 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_ListBySubscription.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_ListBySubscription.json @@ -124,6 +124,8 @@ "scale": { "minReplicas": 1, "maxReplicas": 5, + "cooldownPeriod": 350, + "pollingInterval": 35, "rules": [ { "name": "httpscalingrule", @@ -155,4 +157,3 @@ } } } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_ManagedBy_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_ManagedBy_CreateOrUpdate.json index 3aa64dcd851e..b21555ee0572 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_ManagedBy_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_ManagedBy_CreateOrUpdate.json @@ -43,6 +43,8 @@ "scale": { "minReplicas": 1, "maxReplicas": 5, + "cooldownPeriod": 350, + "pollingInterval": 35, "rules": [ { "name": "tcpscalingrule", @@ -115,6 +117,8 @@ "scale": { "minReplicas": 1, "maxReplicas": 5, + "cooldownPeriod": 350, + "pollingInterval": 35, "rules": [ { "name": "tcpscalingrule", @@ -185,6 +189,8 @@ "scale": { "minReplicas": 1, "maxReplicas": 5, + "cooldownPeriod": 350, + "pollingInterval": 35, "rules": [ { "name": "tcpscalingrule", @@ -202,4 +208,3 @@ } } } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_Patch.json b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_Patch.json index 660d3eb9b95d..7dd35701dc24 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_Patch.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_Patch.json @@ -122,6 +122,8 @@ "scale": { "minReplicas": 1, "maxReplicas": 5, + "cooldownPeriod": 350, + "pollingInterval": 35, "rules": [ { "name": "httpscalingrule", @@ -261,6 +263,8 @@ "scale": { "minReplicas": 1, "maxReplicas": 5, + "cooldownPeriod": 350, + "pollingInterval": 35, "rules": [ { "name": "httpscalingrule", @@ -284,4 +288,3 @@ } } } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_SourceToCloudApp_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_SourceToCloudApp_CreateOrUpdate.json index 76dd0bb02cf7..466b74726729 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_SourceToCloudApp_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_SourceToCloudApp_CreateOrUpdate.json @@ -158,6 +158,8 @@ "scale": { "minReplicas": 1, "maxReplicas": 5, + "cooldownPeriod": 350, + "pollingInterval": 35, "rules": [ { "name": "httpscalingrule", @@ -488,4 +490,3 @@ } } } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_Start.json b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_Start.json index 52a9ff747de5..7b3acf5c92fb 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_Start.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_Start.json @@ -118,6 +118,8 @@ "scale": { "minReplicas": 1, "maxReplicas": 5, + "cooldownPeriod": 350, + "pollingInterval": 35, "rules": [ { "name": "httpscalingrule", @@ -141,4 +143,3 @@ } } } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_TcpApp_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_TcpApp_CreateOrUpdate.json index 247f2e5b2583..370c6bca1f0d 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_TcpApp_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/ContainerApps_TcpApp_CreateOrUpdate.json @@ -42,6 +42,8 @@ "scale": { "minReplicas": 1, "maxReplicas": 5, + "cooldownPeriod": 350, + "pollingInterval": 35, "rules": [ { "name": "tcpscalingrule", @@ -113,6 +115,8 @@ "scale": { "minReplicas": 1, "maxReplicas": 5, + "cooldownPeriod": 350, + "pollingInterval": 35, "rules": [ { "name": "tcpscalingrule", @@ -182,6 +186,8 @@ "scale": { "minReplicas": 1, "maxReplicas": 5, + "cooldownPeriod": 350, + "pollingInterval": 35, "rules": [ { "name": "tcpscalingrule", @@ -199,4 +205,3 @@ } } } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/Job_CreateorUpdate_EventTrigger.json b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/Job_CreateorUpdate_EventTrigger.json index de75df012331..f62f0f01e56f 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/Job_CreateorUpdate_EventTrigger.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-08-02-preview/examples/Job_CreateorUpdate_EventTrigger.json @@ -224,4 +224,3 @@ } } } -