// NodeMotion.IO Starter Template — Enterprise AI Agent & RAG Platform (Azure Bicep)
// Import via Studio or Threat Studio: File -> Import IaC / Spec -> Upload / Paste (.bicep)

param location string = 'westeurope'

resource vnet 'Microsoft.Network/virtualNetworks@2023-09-01' = {
  name: 'vnet-enterprise-ai-hub'
  location: location
}

resource appGw 'Microsoft.Network/applicationGateways@2023-09-01' = {
  name: 'agw-ai-gateway-ingress'
  location: location
}

resource agentContainerApp 'Microsoft.App/containerApps@2023-05-01' = {
  name: 'ca-mcp-support-agent'
  location: location
}

resource openAiService 'Microsoft.CognitiveServices/accounts@2023-05-01' = {
  name: 'aoai-gpt4o-inference-eu'
  location: location
  kind: 'OpenAI'
}

resource vectorCosmos 'Microsoft.DocumentDB/databaseAccounts@2023-04-15' = {
  name: 'cosmos-rag-vector-index'
  location: location
}

resource keyVault 'Microsoft.KeyVault/vaults@2023-07-01' = {
  name: 'kv-ai-agent-secrets'
  location: location
}
