From e3d090ae5fdc7828e4595a4e3b796dc0b2c1b886 Mon Sep 17 00:00:00 2001 From: njucz <740360112@qq.com> Date: Thu, 15 Sep 2022 13:26:15 +0800 Subject: [PATCH] add last active time for revision (#20658) --- .../preview/2022-06-01-preview/ContainerAppsRevisions.json | 6 ++++++ .../preview/2022-06-01-preview/examples/Revisions_Get.json | 1 + .../preview/2022-06-01-preview/examples/Revisions_List.json | 1 + 3 files changed, 8 insertions(+) diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/ContainerAppsRevisions.json b/specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/ContainerAppsRevisions.json index 1ed329157468..f6d901eb7bc0 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/ContainerAppsRevisions.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/ContainerAppsRevisions.json @@ -409,6 +409,12 @@ "type": "string", "readOnly": true }, + "lastActiveTime": { + "format": "date-time", + "description": "Timestamp describing when the revision was last active. Only meaningful when revision is inactive", + "type": "string", + "readOnly": true + }, "fqdn": { "description": "Fully qualified domain name of the revision", "type": "string", diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_Get.json b/specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_Get.json index 98063fc987eb..a0bacc0e6974 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_Get.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_Get.json @@ -15,6 +15,7 @@ "type": "Microsoft.App/containerApps/revisions", "properties": { "createdTime": "2021-05-24T21:24:22+00:00", + "lastActiveTime": "2021-05-24T21:24:22+00:00", "fqdn": "testcontainerApp0-pjxhsye.politehill-ab123456.eastus.azurecontainerapps.io", "template": { "containers": [ diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_List.json b/specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_List.json index cc1f1eea33c9..3d324514a55e 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_List.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-06-01-preview/examples/Revisions_List.json @@ -16,6 +16,7 @@ "type": "Microsoft.App/containerApps/revisions", "properties": { "createdTime": "2021-05-24T21:24:22+00:00", + "lastActiveTime": "2021-05-24T21:24:22+00:00", "fqdn": "testcontainerApp0-pjxhsye.politehill-ab123456.eastus.azurecontainerapps.io", "template": { "containers": [