Skip to content

Commit

Permalink
Short lived app support (#26958)
Browse files Browse the repository at this point in the history
* Short lived app support
* Rename type to kind
  • Loading branch information
ninpan-ms authored and saragluna committed Dec 18, 2023
1 parent 0413ae9 commit 4299432
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11265,6 +11265,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"
Expand Down Expand Up @@ -12806,6 +12819,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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"parameters": {
"appResource": {
"properties": {
"kind": "Application",
"public": true,
"httpsOnly": false,
"enableEndToEndTLS": false,
Expand Down Expand Up @@ -77,6 +78,7 @@
"200": {
"body": {
"properties": {
"kind": "Application",
"public": true,
"url": "myapp.myservice.azuremicroservices.io",
"provisioningState": "Succeeded",
Expand Down Expand Up @@ -151,6 +153,7 @@
"201": {
"body": {
"properties": {
"kind": "Application",
"public": true,
"url": "myapp.myservice.azuremicroservices.io",
"provisioningState": "Creating",
Expand Down Expand Up @@ -225,6 +228,7 @@
"202": {
"body": {
"properties": {
"kind": "Application",
"public": true,
"url": "myapp.myservice.azuremicroservices.io",
"provisioningState": "Updating",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"parameters": {
"appResource": {
"properties": {
"kind": "Application",
"public": true,
"httpsOnly": false,
"enableEndToEndTLS": false,
Expand Down Expand Up @@ -78,6 +79,7 @@
"200": {
"body": {
"properties": {
"kind": "Application",
"public": true,
"url": "myapp.myservice.private.azuremicroservices.io",
"provisioningState": "Succeeded",
Expand Down Expand Up @@ -154,6 +156,7 @@
"201": {
"body": {
"properties": {
"kind": "Application",
"public": true,
"url": "myapp.myservice.private.azuremicroservices.io",
"provisioningState": "Creating",
Expand Down Expand Up @@ -230,6 +233,7 @@
"202": {
"body": {
"properties": {
"kind": "Application",
"public": true,
"url": "myapp.myservice.private.azuremicroservices.io",
"provisioningState": "Updating",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"200": {
"body": {
"properties": {
"kind": "Application",
"public": true,
"url": "myapp.myservice.azuremicroservices.io",
"provisioningState": "Succeeded",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"200": {
"body": {
"properties": {
"kind": "Application",
"public": true,
"url": "myapp.myservice.private.azuremicroservices.io",
"provisioningState": "Succeeded",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"value": [
{
"properties": {
"kind": "Application",
"public": true,
"url": "myapp.myservice.azuremicroservices.io",
"provisioningState": "Succeeded",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"value": [
{
"properties": {
"kind": "Application",
"public": true,
"url": "myapp.myservice.private.azuremicroservices.io",
"provisioningState": "Succeeded",
Expand Down

0 comments on commit 4299432

Please sign in to comment.