Skip to content
Merged
Show file tree
Hide file tree
Changes from 98 commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
0466f48
Add SessionPools.json and Sessions.json
yitaopan Mar 4, 2024
085975f
Prettier
yitaopan Mar 4, 2024
736b434
Update Sessions Api, move count from query parameter to body
Mar 15, 2024
7d24da4
Update Sessions Api, create a specific type for updateEnvVars
yitaopan Mar 15, 2024
3f65002
Merge, resolve conflicts
yitaopan Mar 15, 2024
49b2258
Prettier
yitaopan Mar 15, 2024
7579115
Fix
yitaopan Mar 15, 2024
fdf1732
Fix
yitaopan Mar 15, 2024
e2083fc
Test
yitaopan Mar 15, 2024
2105658
Test
yitaopan Mar 15, 2024
b805a40
Test
yitaopan Mar 15, 2024
b89435e
Fix
yitaopan Mar 15, 2024
7b12678
Fix
yitaopan Mar 15, 2024
3012e70
Fix
yitaopan Mar 15, 2024
bc39d7f
Fix
yitaopan Mar 15, 2024
b7e8cde
Add minWarmPoolSize and update coolDownPeriod
yitaopan Mar 21, 2024
0b7b3df
Fix - add minwarmpoolsize for patch
yitaopan Mar 21, 2024
2ef5f2f
Remove MinWarmPoolSize and add ScaleConfiguration
yitaopan Mar 25, 2024
55ca190
sessionpool to sessionPool
yitaopan Mar 25, 2024
be67ed6
Move maxConcurrentSessions into scaleConfiguration
yitaopan Mar 26, 2024
1bd2c71
Update coolDownPeriod to cooldownPeriodInSeconds
yitaopan Mar 26, 2024
64db91e
Merge branch 'release-app-Microsoft.App-2024-02-02-preview' into 2024…
yitaopan Mar 26, 2024
099c7a5
Update example sessionPoolName
yitaopan Mar 26, 2024
c5cf899
Fix Sessions UpdateEnvVar example
yitaopan Mar 26, 2024
faee932
Fix SessionPool example resources
yitaopan Mar 26, 2024
096e9ee
Merge branch 'release-app-Microsoft.App-2024-02-02-preview' into 2024…
yitaopan Mar 28, 2024
406a733
Remove update session env var api
yitaopan Apr 9, 2024
6d0e7a2
Refactor Session apis
yitaopan Apr 9, 2024
d41a1a7
Fix
yitaopan Apr 9, 2024
ab78cdf
Fix
yitaopan Apr 9, 2024
0f21f79
Fix
yitaopan Apr 9, 2024
c167226
Fix
yitaopan Apr 9, 2024
2695e42
Update to customContainerTemplate
yitaopan Apr 16, 2024
a29baf6
Add RunningState and RunningStateDetails for SessionPool
yitaopan Apr 18, 2024
8004066
Make RunningState string
yitaopan Apr 18, 2024
7cb646f
Add enableEgress to sessionPool
yitaopan Apr 18, 2024
bdd6ba5
Remove SessionAuthConfiguration from sessions to sessionPools
yitaopan Apr 18, 2024
ea32d53
Fix and add node count for session pool
yitaopan Apr 18, 2024
5dcfa90
Fix patch
yitaopan Apr 18, 2024
56a1991
Fix typo
yitaopan Apr 18, 2024
5484024
Fix typo
yitaopan Apr 18, 2024
4b8414b
Merge branch 'release-app-Microsoft.App-2024-02-02-preview' into 2024…
yitaopan Apr 18, 2024
d6fa624
Update to v5 commontypes
yitaopan Apr 19, 2024
1bdf67a
Add array identifiers
yitaopan Apr 19, 2024
7c19ebf
Fix more descriptions
yitaopan Apr 19, 2024
0bdc104
Modify generate sessions operationId
yitaopan Apr 19, 2024
548769b
Modify generate sessions operationId
yitaopan Apr 19, 2024
e2a629c
Modify generate sessions operationId
yitaopan Apr 20, 2024
1fb6264
Add suppression
yitaopan Apr 20, 2024
62ea325
Remove Sessions connectionString
yitaopan Apr 23, 2024
5e9f510
Update operation id for generate sessions
yitaopan Apr 23, 2024
1e7acb5
Add SessionPoolNameParameter in commondefinitions
yitaopan Apr 23, 2024
8987ec1
generatedat and expiredat
yitaopan Apr 23, 2024
b84d8a4
sessionKind to sessionType
yitaopan Apr 23, 2024
3af4938
Remove runningState and runningStateDetails for SessionPool
yitaopan Apr 23, 2024
e81d3dc
Fix readonly
yitaopan Apr 23, 2024
da899e6
Fix
yitaopan Apr 23, 2024
b6c3f6c
Fix
yitaopan Apr 23, 2024
19a6af4
Fix
yitaopan Apr 23, 2024
65ec394
Test
yitaopan Apr 23, 2024
bba433a
Remove two supressions
yitaopan Apr 23, 2024
6fd9185
Change boolean to enum
yitaopan Apr 23, 2024
0239396
Fix examples
yitaopan Apr 23, 2024
4403da0
Fix examples
yitaopan Apr 24, 2024
4606920
Temp remove suppression
yitaopan Apr 24, 2024
7b421dc
Fix SessionPools ContainerType
yitaopan Apr 24, 2024
0b6c205
Remove SessionAuthConfiguration
yitaopan Apr 26, 2024
0b42504
Add Suppression back
yitaopan Apr 26, 2024
c705b1c
Fix
yitaopan Apr 26, 2024
edc90bd
Fix
yitaopan Apr 26, 2024
d7d7337
Add constraint to count of generated sessions
yitaopan Apr 26, 2024
372e946
Make Session generation async
yitaopan Apr 26, 2024
052aa40
Fix
yitaopan Apr 26, 2024
c82b9d9
Fix
yitaopan Apr 26, 2024
e008a08
Fix
yitaopan Apr 26, 2024
69a251d
Fix
yitaopan Apr 26, 2024
eeea358
Remove pagable
yitaopan Apr 26, 2024
489cd79
Post to Put
yitaopan Apr 26, 2024
b61b6c5
post
yitaopan Apr 26, 2024
caff56a
post
yitaopan Apr 26, 2024
c35507a
long running post
yitaopan Apr 26, 2024
275a1d7
Fix
yitaopan Apr 26, 2024
9b698a8
Suppression:
yitaopan Apr 26, 2024
4ebdeee
Fix
yitaopan Apr 27, 2024
8b179e9
Fix
yitaopan Apr 27, 2024
093a1a0
Fix
yitaopan Apr 27, 2024
261950f
Fix
yitaopan Apr 27, 2024
e5dcea5
Fix
yitaopan Apr 27, 2024
3d18d06
Fix
yitaopan Apr 27, 2024
b02872d
Fix
yitaopan Apr 27, 2024
da8f917
Fix
yitaopan Apr 27, 2024
f5a1cde
Fix
yitaopan Apr 27, 2024
d9eab1d
Fix
yitaopan Apr 27, 2024
c80b5e4
Remove Sessions Apis
yitaopan Apr 30, 2024
5739186
fix
yitaopan Apr 30, 2024
db41f15
fix
yitaopan Apr 30, 2024
b042168
fix
yitaopan Apr 30, 2024
ad074ac
fix
yitaopan Apr 30, 2024
44d624c
fix
yitaopan May 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
{
"parameters": {
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"resourceGroupName": "rg",
"sessionPoolName": "testsessionpool",
"api-version": "2024-02-02-preview",
"sessionPoolEnvelope": {
"location": "East US",
"properties": {
"environmentId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
"poolManagementType": "Dynamic",
"containerType": "CustomContainer",
"scaleConfiguration": {
"maxConcurrentSessions": 500,
"readySessionInstances": 100
},
"dynamicPoolConfiguration": {
"executionType": "Timed",
"cooldownPeriodInSeconds": 600
},
"customContainerTemplate": {
"containers": [
{
"image": "repo/testcontainer:v4",
"name": "testinitcontainer",
"resources": {
"cpu": 0.25,
"memory": "0.5Gi"
},
"command": [
"/bin/sh"
],
"args": [
"-c",
"while true; do echo hello; sleep 10;done"
]
}
],
"ingress": {
"targetPort": 80
}
},
"sessionNetworkConfiguration": {
"status": "EgressEnabled"
}
}
}
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/sessionPools/testsessionpool",
"name": "testsessionpool",
"type": "Microsoft.App/sessionPools",
"location": "East US",
"properties": {
"provisioningState": "Succeeded",
"environmentId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
"poolManagementType": "Dynamic",
"nodeCount": 1,
"containerType": "CustomContainer",
"scaleConfiguration": {
"maxConcurrentSessions": 500,
"readySessionInstances": 100
},
"dynamicPoolConfiguration": {
"executionType": "Timed",
"cooldownPeriodInSeconds": 600
},
"customContainerTemplate": {
"containers": [
{
"image": "repo/testcontainer:v4",
"name": "testinitcontainer",
"resources": {
"cpu": 0.25,
"memory": "0.5Gi"
},
"command": [
"/bin/sh"
],
"args": [
"-c",
"while true; do echo hello; sleep 10;done"
]
}
],
"ingress": {
"targetPort": 80
}
},
"sessionNetworkConfiguration": {
"status": "EgressEnabled"
},
"poolManagementEndpoint": "https://testsessionpool.agreeableriver-3d30edf1.eastus.azurecontainerapps.io"
}
}
},
"201": {
"headers": {},
"body": {
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/sessionPools/testsessionpool",
"name": "testsessionpool",
"type": "Microsoft.App/sessionPools",
"location": "East US",
"properties": {
"provisioningState": "InProgress",
"environmentId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
"poolManagementType": "Dynamic",
"containerType": "CustomContainer",
"scaleConfiguration": {
"maxConcurrentSessions": 500,
"readySessionInstances": 100
},
"dynamicPoolConfiguration": {
"executionType": "Timed",
"cooldownPeriodInSeconds": 600
},
"customContainerTemplate": {
"containers": [
{
"image": "repo/testcontainer:v4",
"name": "testinitcontainer",
"resources": {
"cpu": 0.25,
"memory": "0.5Gi"
},
"command": [
"/bin/sh"
],
"args": [
"-c",
"while true; do echo hello; sleep 10;done"
]
}
],
"ingress": {
"targetPort": 80
}
},
"sessionNetworkConfiguration": {
"status": "EgressEnabled"
},
"poolManagementEndpoint": "https://testsessionpool.agreeableriver-3d30edf1.eastus.azurecontainerapps.io"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"parameters": {
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"resourceGroupName": "rg",
"sessionPoolName": "testsessionpool",
"api-version": "2024-02-02-preview"
},
"responses": {
"202": {
"headers": {
"location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.App/locations/eastus/operationResults/amF3YUNvbXBvbmVudHM6OWFiZTM5OGUtY2ZjNi00NGZmLThmODQtNjRiOWJhMTUzZWYy?api-version=2024-02-02-preview"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"parameters": {
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"resourceGroupName": "rg",
"sessionPoolName": "testsessionpool",
"api-version": "2024-02-02-preview"
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/sessionPools/testsessionpool",
"name": "testsessionpool",
"type": "Microsoft.App/sessionPools",
"location": "East US",
"properties": {
"provisioningState": "Succeeded",
"environmentId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
"poolManagementType": "Dynamic",
"containerType": "CustomContainer",
"nodeCount": 1,
"scaleConfiguration": {
"maxConcurrentSessions": 500,
"readySessionInstances": 100
},
"dynamicPoolConfiguration": {
"executionType": "Timed",
"cooldownPeriodInSeconds": 600
},
"customContainerTemplate": {
"containers": [
{
"image": "repo/testcontainer:v4",
"name": "testinitcontainer",
"resources": {
"cpu": 0.25,
"memory": "0.5Gi"
},
"command": [
"/bin/sh"
],
"args": [
"-c",
"while true; do echo hello; sleep 10;done"
]
}
],
"ingress": {
"targetPort": 80
}
},
"sessionNetworkConfiguration": {
"status": "EgressEnabled"
},
"poolManagementEndpoint": "https://testsessionpool.agreeableriver-3d30edf1.eastus.azurecontainerapps.io"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"parameters": {
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"resourceGroupName": "rg",
"api-version": "2024-02-02-preview"
},
"responses": {
"200": {
"headers": {},
"body": {
"value": [
{
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/sessionPools/testsessionpool",
"name": "testsessionpool",
"type": "Microsoft.App/sessionPools",
"location": "East US",
"properties": {
"provisioningState": "Succeeded",
"environmentId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
"poolManagementType": "Dynamic",
"containerType": "CustomContainer",
"nodeCount": 1,
"scaleConfiguration": {
"maxConcurrentSessions": 500,
"readySessionInstances": 100
},
"dynamicPoolConfiguration": {
"executionType": "Timed",
"cooldownPeriodInSeconds": 600
},
"customContainerTemplate": {
"containers": [
{
"image": "repo/testcontainer:v4",
"name": "testinitcontainer",
"resources": {
"cpu": 0.25,
"memory": "0.5Gi"
},
"command": [
"/bin/sh"
],
"args": [
"-c",
"while true; do echo hello; sleep 10;done"
]
}
],
"ingress": {
"targetPort": 80
}
},
"sessionNetworkConfiguration": {
"status": "EgressEnabled"
},
"poolManagementEndpoint": "https://testsessionpool.agreeableriver-3d30edf1.eastus.azurecontainerapps.io"
}
}
],
"nextLink": null
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"parameters": {
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"api-version": "2024-02-02-preview"
},
"responses": {
"200": {
"headers": {},
"body": {
"value": [
{
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/sessionPools/testsessionpool",
"name": "testsessionpool",
"type": "Microsoft.App/sessionPools",
"location": "East US",
"properties": {
"provisioningState": "Succeeded",
"environmentId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/managedEnvironments/demokube",
"poolManagementType": "Dynamic",
"containerType": "CustomContainer",
"nodeCount": 1,
"scaleConfiguration": {
"maxConcurrentSessions": 500,
"readySessionInstances": 100
},
"dynamicPoolConfiguration": {
"executionType": "Timed",
"cooldownPeriodInSeconds": 600
},
"customContainerTemplate": {
"containers": [
{
"image": "repo/testcontainer:v4",
"name": "testinitcontainer",
"resources": {
"cpu": 0.25,
"memory": "0.5Gi"
},
"command": [
"/bin/sh"
],
"args": [
"-c",
"while true; do echo hello; sleep 10;done"
]
}
],
"ingress": {
"targetPort": 80
}
},
"sessionNetworkConfiguration": {
"status": "EgressEnabled"
},
"poolManagementEndpoint": "https://testsessionpool.agreeableriver-3d30edf1.eastus.azurecontainerapps.io"
}
}
],
"nextLink": null
}
}
}
}
Loading