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..0ddbafe36676 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 @@ -11239,6 +11239,19 @@ "description": "App resource properties payload", "type": "object", "properties": { + "kind": { + "description": "The type of App, whether it's long running app or short lived app", + "enum": [ + "Application", + "Task" + ], + "type": "string", + "default": "Application", + "x-ms-enum": { + "name": "AppResourceType", + "modelAsString": true + } + }, "public": { "description": "Indicates whether the App exposes public endpoint", "type": "boolean" @@ -12780,6 +12793,11 @@ "type": "string", "readOnly": true }, + "endTime": { + "description": "End time of the deployment instance", + "type": "string", + "readOnly": true + }, "zone": { "description": "Availability zone information of the deployment instance", "type": "string", diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/Apps_CreateOrUpdate.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/Apps_CreateOrUpdate.json index ae0631867b4a..4d7b7292aff4 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/Apps_CreateOrUpdate.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/Apps_CreateOrUpdate.json @@ -2,6 +2,7 @@ "parameters": { "appResource": { "properties": { + "kind": "Application", "public": true, "httpsOnly": false, "enableEndToEndTLS": false, @@ -77,6 +78,7 @@ "200": { "body": { "properties": { + "kind": "Application", "public": true, "url": "myapp.myservice.azuremicroservices.io", "provisioningState": "Succeeded", @@ -151,6 +153,7 @@ "201": { "body": { "properties": { + "kind": "Application", "public": true, "url": "myapp.myservice.azuremicroservices.io", "provisioningState": "Creating", @@ -225,6 +228,7 @@ "202": { "body": { "properties": { + "kind": "Application", "public": true, "url": "myapp.myservice.azuremicroservices.io", "provisioningState": "Updating", diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/Apps_CreateOrUpdate_VNetInjection.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/Apps_CreateOrUpdate_VNetInjection.json index 2ed7a9567f82..82782785d39e 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/Apps_CreateOrUpdate_VNetInjection.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/Apps_CreateOrUpdate_VNetInjection.json @@ -2,6 +2,7 @@ "parameters": { "appResource": { "properties": { + "kind": "Application", "public": true, "httpsOnly": false, "enableEndToEndTLS": false, @@ -78,6 +79,7 @@ "200": { "body": { "properties": { + "kind": "Application", "public": true, "url": "myapp.myservice.private.azuremicroservices.io", "provisioningState": "Succeeded", @@ -154,6 +156,7 @@ "201": { "body": { "properties": { + "kind": "Application", "public": true, "url": "myapp.myservice.private.azuremicroservices.io", "provisioningState": "Creating", @@ -230,6 +233,7 @@ "202": { "body": { "properties": { + "kind": "Application", "public": true, "url": "myapp.myservice.private.azuremicroservices.io", "provisioningState": "Updating", diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/Apps_Get.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/Apps_Get.json index 257df6bbbb4e..7c125bd6ff84 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/Apps_Get.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/Apps_Get.json @@ -10,6 +10,7 @@ "200": { "body": { "properties": { + "kind": "Application", "public": true, "url": "myapp.myservice.azuremicroservices.io", "provisioningState": "Succeeded", diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/Apps_Get_VNetInjection.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/Apps_Get_VNetInjection.json index 6843a1fca122..cfe7ec1756db 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/Apps_Get_VNetInjection.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/Apps_Get_VNetInjection.json @@ -10,6 +10,7 @@ "200": { "body": { "properties": { + "kind": "Application", "public": true, "url": "myapp.myservice.private.azuremicroservices.io", "provisioningState": "Succeeded", diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/Apps_List.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/Apps_List.json index 94cd3e510637..e8d6d54475b2 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/Apps_List.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/Apps_List.json @@ -11,6 +11,7 @@ "value": [ { "properties": { + "kind": "Application", "public": true, "url": "myapp.myservice.azuremicroservices.io", "provisioningState": "Succeeded", diff --git a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/Apps_List_VNetInjection.json b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/Apps_List_VNetInjection.json index 9985f4810aca..b9e07cb5e3c2 100644 --- a/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/Apps_List_VNetInjection.json +++ b/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2024-01-01-preview/examples/Apps_List_VNetInjection.json @@ -11,6 +11,7 @@ "value": [ { "properties": { + "kind": "Application", "public": true, "url": "myapp.myservice.private.azuremicroservices.io", "provisioningState": "Succeeded",