Skip to content

Bicep parameters

The bicep template that deploys your customer-stack lives in our repo at infra/customer-stack.bicep and is also bundled in each Marketplace plan zip as mainTemplate.json. These parameters are typically set by the wizard or our orchestrator; you usually don’t set them by hand.

Customer-supplied (via wizard)

ParamTypeDefaultNotes
stackNamestringrequired3-12 lowercase alphanumeric. Becomes the suffix on resource names.
locationstringresourceGroup().locationAzure region.
allowedOriginsarray["*"]CORS allowlist.
systemPromptstring""Optional AI system prompt.
adminKeysecure string"" (auto-generated if empty)Dashboard admin key.
pricePerInputUsdPerMstring"0.25"Token pricing override (dashboard projection only).
pricePerOutputUsdPerMstring"2.00"Token pricing override (dashboard projection only).

Resource-tier levers (via wizard, defaulted per plan)

These set the cost-bearing SKUs. The wizard’s Tiers & cost step pre-selects each to the plan’s recommendation; you can override before deploying. See Resource tiers & sizing.

ParamTypeStartGrowthProfessionalNotes
signalrSkustringFree_F1Free_F1Standard_S1Free_F1 ($0, 20 connections) or Standard_S1 (~$49.73/mo, 1,000 connections + SLA).
openAiCapacityint103060gpt-5-mini throughput ceiling in K-TPM. A ceiling only — no idle cost.
functionsAlwaysReadyint001Always-ready Flex instances (lower cold-start latency). 0 = scale-to-zero.
cosmosAutoscaleMaxThroughputint0000 = Serverless. >0 = provisioned autoscale RU/s (multiple of 1000). Choose at initial deploy.

Per-plan (baked into the marketplace zip)

ParamNotes
planIdstart | growth | professional
seatQuantity3, 7, or 15
planDisplayName"Start" etc.
marketplacePlanIdpocai-start etc.
upgradeUrlDeep link to the Marketplace upgrade flow

ISV-supplied (baked into the marketplace zip)

ParamNotes
marketplaceSubscriptionId[concat(subscription().subscriptionId, '/', resourceGroup().name)]
deploymentId[deployment().name]
isvDeployStatusUrlOur /api/deploy-status endpoint
isvSeatReportUrlOur /api/seat-report endpoint
isvAppIdOur AAD application id