Skip to content

Commit

Permalink
Remove AppState property as we decided to postpone it (#21483)
Browse files Browse the repository at this point in the history
* Remove AppState property as we decided to postpone it

* Fix swagger issues

* More swagger fixes
  • Loading branch information
ruslany authored Nov 9, 2022
1 parent 0686bc2 commit ea84187
Show file tree
Hide file tree
Showing 12 changed files with 7 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,8 @@
"maxReplicas": {
"format": "int32",
"description": "Optional. Maximum number of container replicas. Defaults to 10 if not set.",
"type": "integer"
"type": "integer",
"default": 10
},
"rules": {
"description": "Scaling rules.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -569,18 +569,6 @@
"$ref": "./CommonDefinitions.json#/definitions/WorkloadProfileType",
"description": "Workload profile type to pin for container app execution."
},
"appState": {
"description": "Current state of the app. Controls if the app is enabled or disabled.",
"enum": [
"Enabled",
"Disabled"
],
"type": "string",
"x-ms-enum": {
"name": "AppState",
"modelAsString": true
}
},
"latestRevisionName": {
"description": "Name of the latest revision of the Container App.",
"type": "string",
Expand Down Expand Up @@ -609,7 +597,7 @@
"$ref": "./CommonDefinitions.json#/definitions/Template",
"description": "Container App versioned application definition."
},
"outboundIPAddresses": {
"outboundIpAddresses": {
"description": "Outbound IP Addresses for container app.",
"type": "array",
"items": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"properties": {
"environmentId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
"workloadProfileType": "GeneralPurpose",
"appState": "Enabled",
"configuration": {
"ingress": {
"external": true,
Expand Down Expand Up @@ -152,7 +151,6 @@
"provisioningState": "Succeeded",
"managedEnvironmentId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
"workloadProfileType": "GeneralPurpose",
"appState": "Enabled",
"latestRevisionName": "testcontainerApp0-pjxhsye",
"latestReadyRevisionName": "testcontainerApp0-pjxhsye",
"latestRevisionFqdn": "testcontainerApp0-pjxhsye.demokube-t24clv0g.eastus.containerApps.k4apps.io",
Expand Down Expand Up @@ -281,7 +279,6 @@
"properties": {
"provisioningState": "InProgress",
"managedEnvironmentId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
"appState": "Enabled",
"latestRevisionName": "testcontainerApp0-pjxhsye",
"latestReadyRevisionName": "testcontainerApp0-pjxhsye",
"latestRevisionFqdn": "testcontainerApp0-pjxhsye.demokube-t24clv0g.eastus.containerApps.k4apps.io",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"provisioningState": "Succeeded",
"managedEnvironmentId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
"workloadProfileType": "GeneralPurpose",
"appState": "Enabled",
"latestRevisionName": "testcontainerApp0-pjxhsye",
"latestReadyRevisionName": "testcontainerApp0-pjxhsye",
"latestRevisionFqdn": "testcontainerApp0-pjxhsye.demokube-t24clv0g.eastus.containerApps.k4apps.io",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"provisioningState": "Succeeded",
"managedEnvironmentId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
"workloadProfileType": "GeneralPurpose",
"appState": "Enabled",
"latestRevisionName": "testcontainerApp0-pjxhsye",
"latestReadyRevisionName": "testcontainerApp0-pjxhsye",
"latestRevisionFqdn": "testcontainerApp0-pjxhsye.demokube-t24clv0g.eastus.containerApps.k4apps.io",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"provisioningState": "Succeeded",
"managedEnvironmentId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
"workloadProfileType": "GeneralPurpose",
"appState": "Enabled",
"latestRevisionName": "testcontainerApp0-pjxhsye",
"latestReadyRevisionName": "testcontainerApp0-pjxhsye",
"latestRevisionFqdn": "testcontainerApp0-pjxhsye.demokube-t24clv0g.eastus.containerApps.k4apps.io",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"tag2": "value2"
},
"properties": {
"appState": "Enabled",
"configuration": {
"ingress": {
"external": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
"properties": {
"provisioningState": "Succeeded",
"managedEnvironmentId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
"appState": "Enabled",
"latestRevisionName": "testcontainerAppTcp-pjxhsye",
"latestReadyRevisionName": "testcontainerAppTcp-pjxhsye",
"latestRevisionFqdn": "testcontainerAppTcp-pjxhsye.demokube-t24clv0g.eastus.containerApps.k4apps.io",
Expand Down Expand Up @@ -140,7 +139,6 @@
"properties": {
"provisioningState": "InProgress",
"managedEnvironmentId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
"appState": "Enabled",
"latestRevisionName": "testcontainerAppTcp-pjxhsye",
"latestReadyRevisionName": "testcontainerAppTcp-pjxhsye",
"latestRevisionFqdn": "testcontainerAppTcp-pjxhsye.demokube-t24clv0g.eastus.containerApps.k4apps.io",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "workerapps-rg-xj",
"containerAppName": "myapp",
"revisionName": "myapp--0wlqy09",
"api-version": "2021-02-01"
"api-version": "2022-10-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "rg",
"containerAppName": "testcontainerApp0",
"revisionName": "testcontainerApp0-pjxhsye",
"api-version": "2021-02-01"
"api-version": "2022-10-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"resourceGroupName": "rg",
"containerAppName": "testcontainerApp0",
"api-version": "2021-02-01"
"api-version": "2022-10-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "rg",
"containerAppName": "testStaticSite0",
"revisionName": "testcontainerApp0-pjxhsye",
"api-version": "2021-02-01"
"api-version": "2022-10-01"
},
"responses": {
"200": {}
Expand Down

0 comments on commit ea84187

Please sign in to comment.