You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/CustomizingAzdParameters.md
+20-17Lines changed: 20 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,30 +2,33 @@
2
2
3
3
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.
4
4
5
+
> 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 characters alphanumeric unique name.
5
6
6
-
> To override any of the parameters, run `azd env set <key> <value>` before running `azd up`. On the first azd command, it will prompt you for the environment name. Be sure to choose 3-20 characters alphanumeric unique name.
7
+
## Parameters
7
8
8
-
Change the Content Understanding Location (allowed values: Sweden Central, Australia East)
|`AZURE_ENV_NAME`| string |`azdtemp`| Used as a prefix for all resource names to ensure uniqueness across environments. |
12
+
|`AZURE_LOCATION`| string |`japaneast`| Location of the Azure resources. Controls where the infrastructure will be deployed. |
13
+
|`AZURE_ENV_MODEL_DEPLOYMENT_TYPE`| string |`GlobalStandard`| Change the Model Deployment Type (allowed values: Standard, GlobalStandard). |
14
+
|`AZURE_ENV_MODEL_NAME`| string |`gpt-4o`| Set the Model Name (allowed values: gpt-4o). |
15
+
|`AZURE_ENV_MODEL_VERSION`| string |`2024-08-06`| Set the Azure model version (allowed values: 2024-08-06) |
16
+
|`AZURE_ENV_MODEL_CAPACITY`| integer |`200`| Set the Model Capacity (choose a number based on available GPT model capacity in your subscription). |
17
+
|`AZURE_ENV_LOG_ANALYTICS_WORKSPACE_ID`| string |`<Existing Workspace Id>`| Set this if you want to reuse an existing Log Analytics Workspace instead of creating a new one. |
18
+
|`AZURE_ENV_IMAGETAG`| string |`latest`| Set the Image tag Like (allowed values: latest, dev, hotfix) |
9
19
10
-
```shell
11
-
azd env set AZURE_ENV_CU_LOCATION 'swedencentral'
12
-
```
13
-
14
-
Change the Model Deployment Type (allowed values: Standard, GlobalStandard)
20
+
---
15
21
16
-
```shell
17
-
azd env set AZURE_ENV_MODEL_DEPLOYMENT_TYPE Standard
18
-
```
22
+
## How to Set a Parameter
19
23
20
-
Set the Model Name (allowed values: gpt-4o)
24
+
To customize any of the above values, run the following command **before**`azd up`:
21
25
22
-
```shell
23
-
azd env setAZURE_ENV_MODEL_NAME gpt-4o
26
+
```bash
27
+
azd env set<PARAMETER_NAME><VALUE>
24
28
```
25
29
26
-
Change the Model Capacity (choose a number based on available GPT model capacity in your subscription)
0 commit comments