Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 3.06 KB

File metadata and controls

37 lines (27 loc) · 3.06 KB

[Optional]: Customizing resource names

By default this template will use the environment name as the prefix to prevent naming collisions within Azure. The parameters below show the default values. You only need to run the statements below if you need to change the values.

To override any of the parameters, run azd env set <PARAMETER_NAME> <VALUE> before running azd up. On the first azd command, it will prompt you for the environment name. Be sure to choose 3-20 charaters alphanumeric unique name.

Parameters

Name Type Example Value Purpose
AZURE_LOCATION string <User selects during deployment> Sets the Azure region for resource deployment.
AZURE_ENV_NAME string docgen Sets the environment name prefix for all Azure resources.
AZURE_ENV_OPENAI_LOCATION string <User selects during deployment> Sets the Azure region for AI service resource deployment.
AZURE_ENV_MODEL_DEPLOYMENT_TYPE string Standard Defines the model deployment type (allowed: Standard, GlobalStandard).
AZURE_ENV_MODEL_NAME string gpt-4o-mini Specifies the GPT model name (allowed: gpt-4o-mini).
AZURE_ENV_MODEL_VERSION string 2024-07-18 Set the Azure model version.
AZURE_ENV_MODEL_CAPACITY integer 10 Sets the GPT model capacity (based on what's available in your subscription).
AZURE_ENV_EMBEDDING_MODEL_NAME string text-embedding-3-small Sets the name of the embedding model to use.
AZURE_CONTAINER_REGISTRY_HOST string ccbcontainerreg Sets the Azure Container Registry name (allowed value: ccbcontainerreg)
AZURE_ENV_IMAGE_TAG string latest_waf Set the Image tag Like (allowed values: latest_waf, dev, hotfix)
AZURE_ENV_LOG_ANALYTICS_WORKSPACE_ID string Guide to get your Existing Workspace ID Reuses an existing Log Analytics Workspace instead of creating a new one.
AZURE_EXISTING_AI_PROJECT_RESOURCE_ID string Guid to get your existing AI Foundry Project resource ID Reuses an existing AIFoundry and AIFoundryProject instead of creating a new one.

How to Set a Parameter

To customize any of the above values, run the following command before azd up:

azd env set <PARAMETER_NAME> <VALUE>

Example:

azd env set AZURE_LOCATION westus2