Bringing the MCP server into the repo
This commit is contained in:
8
mcp-server/infra/modules/fetch-container-image.bicep
Normal file
8
mcp-server/infra/modules/fetch-container-image.bicep
Normal file
@@ -0,0 +1,8 @@
|
||||
param exists bool
|
||||
param name string
|
||||
|
||||
resource existingApp 'Microsoft.App/containerApps@2023-05-02-preview' existing = if (exists) {
|
||||
name: name
|
||||
}
|
||||
|
||||
output containers array = exists ? existingApp.properties.template.containers : []
|
||||
Reference in New Issue
Block a user