From 4e8862afb891a4c7835a227a1407898ae6e25985 Mon Sep 17 00:00:00 2001 From: Xiaolu Dai <31124698+saragluna@users.noreply.github.com> Date: Fri, 8 Dec 2023 18:04:01 +0800 Subject: [PATCH] Add option for Application Configuration Service refresh interval (#26943) * add the option for acs refresh interval * refine description and complete examples --- .../preview/2024-01-01-preview/appplatform.json | 5 +++++ .../examples/ConfigurationServices_CreateOrUpdate.json | 9 ++++++--- .../examples/ConfigurationServices_Get.json | 3 ++- .../examples/ConfigurationServices_List.json | 3 ++- 4 files changed, 15 insertions(+), 5 deletions(-) diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/appplatform.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/appplatform.json index 82b07992844f..198cfeebafc4 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/appplatform.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/appplatform.json @@ -9874,6 +9874,11 @@ "properties": { "gitProperty": { "$ref": "#/definitions/ConfigurationServiceGitProperty" + }, + "refreshIntervalInSeconds": { + "format": "int32", + "description": "How often (in seconds) to check repository updates. Minimum value is 0.", + "type": "integer" } } }, diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/ConfigurationServices_CreateOrUpdate.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/ConfigurationServices_CreateOrUpdate.json index add020d909d7..cd7119265aaa 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/ConfigurationServices_CreateOrUpdate.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/ConfigurationServices_CreateOrUpdate.json @@ -19,7 +19,8 @@ "label": "master" } ] - } + }, + "refreshIntervalInSeconds": 60 } } } @@ -41,7 +42,8 @@ "label": "master" } ] - } + }, + "refreshIntervalInSeconds": 60 }, "resourceRequests": { "cpu": "1", @@ -88,7 +90,8 @@ "label": "master" } ] - } + }, + "refreshIntervalInSeconds": 60 }, "resourceRequests": { "cpu": "1", diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/ConfigurationServices_Get.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/ConfigurationServices_Get.json index f627b7f429bc..244a04ca4eb9 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/ConfigurationServices_Get.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/ConfigurationServices_Get.json @@ -24,7 +24,8 @@ "label": "master" } ] - } + }, + "refreshIntervalInSeconds": 60 }, "resourceRequests": { "cpu": "1", diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/ConfigurationServices_List.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/ConfigurationServices_List.json index 3e5adc5b262b..2b106e5dfab0 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/ConfigurationServices_List.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/ConfigurationServices_List.json @@ -25,7 +25,8 @@ "label": "master" } ] - } + }, + "refreshIntervalInSeconds": 60 }, "resourceRequests": { "cpu": "1",