mirror of
https://github.com/microsoft/autogen.git
synced 2026-02-19 09:34:18 -05:00
* big bang gitub workflows * add missing settings in local.settings.json * config refactor * fix devlead plan response * swap cosmos to table storage for metadata storage * unify config via options * azd-ify WIP * add qdrant bicep WIP * working azd provision setup * consolidate SK version in projects * replace localhost :) * add fqdn to options * httpclient fixes * add managed identity to the function and assign contrib role * qdrant endpoint setting * add container instances cleanup code + wait on termination to upload to Github * formatting fixes * add tables in bicep * local getting started WIP * add azure setup instructions * add the load-waf bits * docs WIP --------- Co-authored-by: Kosta Petan <Kosta.Petan@microsoft.com>
38 lines
1.2 KiB
Bicep
38 lines
1.2 KiB
Bicep
param name string
|
|
param location string = resourceGroup().location
|
|
param tags object = {}
|
|
|
|
param containerAppsEnvironmentName string
|
|
param containerRegistryName string
|
|
param containerRegistryResourceGroupName string = ''
|
|
param logAnalyticsWorkspaceName string
|
|
param applicationInsightsName string = ''
|
|
|
|
module containerAppsEnvironment 'container-apps-environment.bicep' = {
|
|
name: '${name}-container-apps-environment'
|
|
params: {
|
|
name: containerAppsEnvironmentName
|
|
location: location
|
|
tags: tags
|
|
logAnalyticsWorkspaceName: logAnalyticsWorkspaceName
|
|
applicationInsightsName: applicationInsightsName
|
|
}
|
|
}
|
|
|
|
module containerRegistry 'container-registry.bicep' = {
|
|
name: '${name}-container-registry'
|
|
scope: !empty(containerRegistryResourceGroupName) ? resourceGroup(containerRegistryResourceGroupName) : resourceGroup()
|
|
params: {
|
|
name: containerRegistryName
|
|
location: location
|
|
tags: tags
|
|
}
|
|
}
|
|
|
|
output defaultDomain string = containerAppsEnvironment.outputs.defaultDomain
|
|
output environmentName string = containerAppsEnvironment.outputs.name
|
|
output environmentId string = containerAppsEnvironment.outputs.id
|
|
|
|
output registryLoginServer string = containerRegistry.outputs.loginServer
|
|
output registryName string = containerRegistry.outputs.name
|