Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,16 @@
"x-ms-identifiers": [
"name"
]
},
"serviceBinds": {
"description": "List of container app services bound to the app",
"type": "array",
"items": {
"$ref": "#/definitions/ServiceBind"
},
"x-ms-identifier": [
"name"
]
}
}
},
Expand Down Expand Up @@ -1149,6 +1159,20 @@
]
}
}
},
"ServiceBind": {
"description": "Configuration to bind a ContainerApp to a dev ContainerApp Service",
"type": "object",
"properties": {
"serviceId": {
"description": "Resource id of the target service",
"type": "string"
},
"name": {
"description": "Name of the service bind",
"type": "string"
}
}
}
},
"securityDefinitions": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,10 @@
"format": "int32",
"description": "Optional. Max inactive revisions a Container App can have.",
"type": "integer"
},
"service": {
"$ref": "#/definitions/Service",
"description": "Container App to be a dev Container App Service"
}
}
},
Expand Down Expand Up @@ -1205,6 +1209,19 @@
"x-ms-client-flatten": true
}
}
},
"Service": {
"description": "Container App to be a dev service",
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"description": "Dev ContainerApp service type",
"type": "string"
}
}
}
},
"securityDefinitions": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@
"logLevel": "debug",
"enableApiLogging": true
},
"maxInactiveRevisions": 10
"maxInactiveRevisions": 10,
"service": {
"type": "redis"
}
},
"template": {
"containers": [
Expand Down Expand Up @@ -137,7 +140,13 @@
}
}
]
}
},
"serviceBinds": [
{
"serviceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/containerApps/service",
"name": "service"
}
]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@
"logLevel": "debug",
"enableApiLogging": true
},
"maxInactiveRevisions": 10
"maxInactiveRevisions": 10,
"service": {
"type": "redis"
}
},
"template": {
"containers": [
Expand Down Expand Up @@ -111,7 +114,13 @@
}
}
]
}
},
"serviceBinds": [
{
"serviceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/containerApps/service",
"name": "service"
}
]
},
"eventStreamEndpoint": "testEndpoint"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@
"logLevel": "debug",
"enableApiLogging": true
},
"maxInactiveRevisions": 10
"maxInactiveRevisions": 10,
"service": {
"type": "redis"
}
},
"template": {
"containers": [
Expand Down Expand Up @@ -111,7 +114,13 @@
}
}
]
}
},
"serviceBinds": [
{
"serviceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/containerApps/service",
"name": "service"
}
]
},
"eventStreamEndpoint": "testEndpoint"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@
"logLevel": "debug",
"enableApiLogging": true
},
"maxInactiveRevisions": 10
"maxInactiveRevisions": 10,
"service": {
"type": "redis"
}
},
"template": {
"containers": [
Expand Down Expand Up @@ -111,7 +114,13 @@
}
}
]
}
},
"serviceBinds": [
{
"serviceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.App/containerApps/service",
"name": "service"
}
]
}
}
}
Expand Down