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
"body": "<p>Dear Team,</p><p>The quota check has failed, and the pipeline cannot proceed.</p><p><strong>Build URL:</strong> ${RUN_URL}</p><p>Please take necessary action.</p><p>Best regards,<br>Your Automation Team</p>"
67
+
"body": "<p>Dear Team,</p><p>The quota check has failed, and the pipeline cannot proceed.</p><p><strong>Build URL:</strong> <a href=\"${RUN_URL}\">${RUN_URL}</a></p><p>Please take necessary action.</p><p>Best regards,<br>Your Automation Team</p>"
"body": "<p>Dear Team,</p><p>We would like to inform you that the DocGen Automation process has encountered an issue and has failed to complete successfully.</p><p><strong>Build URL:</strong> ${RUN_URL}<br> ${OUTPUT}</p><p>Please investigate the matter at your earliest convenience.</p><p>Best regards,<br>Your Automation Team</p>"
385
+
"body": "<p>Dear Team,</p><p>We would like to inform you that the DocGen Deployment Automation process has encountered an issue and has failed to complete successfully.</p><p><strong>Build URL:</strong> <a href=\"${RUN_URL}\">${RUN_URL}</a><br></p><p>Please investigate the matter at your earliest convenience.</p><p>Best regards,<br>Your Automation Team</p>"
298
386
}
299
387
EOF
300
388
)
301
389
302
390
curl -X POST "${{ secrets.LOGIC_APP_URL }}" \
303
391
-H "Content-Type: application/json" \
304
392
-d "$EMAIL_BODY" || echo "Failed to send notification"
"body": "<p>Dear Team,</p><p>We would like to inform you that the ${{ env.accelerator_name }} Test Automation process has completed successfully.</p><p><strong>Run URL:</strong> <a href=\"${RUN_URL}\">${RUN_URL}</a><br></p><p><strong>Test Report:</strong> <a href=\"${REPORT_URL}\">${REPORT_URL}</a></p><p>Best regards,<br>Your Automation Team</p>",
99
+
"subject": "${{ env.accelerator_name }} Test Automation - Success"
100
+
}
101
+
EOF
102
+
)
103
+
else
104
+
EMAIL_BODY=$(cat <<EOF
105
+
{
106
+
"body": "<p>Dear Team,</p><p>We would like to inform you that the ${{ env.accelerator_name }} Test Automation process has encountered an issue and has failed to complete successfully.</p><p><strong>Run URL:</strong> <a href=\"${RUN_URL}\">${RUN_URL}</a><br> ${OUTPUT}</p><p><strong>Test Report:</strong> <a href=\"${REPORT_URL}\">${REPORT_URL}</a></p><p>Please investigate the matter at your earliest convenience.</p><p>Best regards,<br>Your Automation Team</p>",
107
+
"subject": "${{ env.accelerator_name }} Test Automation - Failure"
108
+
}
109
+
EOF
110
+
)
111
+
fi
112
+
113
+
# Send the notification
114
+
curl -X POST "${{ secrets.EMAILNOTIFICATION_LOGICAPP_URL_TA }}" \
115
+
-H "Content-Type: application/json" \
116
+
-d "$EMAIL_BODY" || echo "Failed to send notification"
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,7 +99,7 @@ _Note: This is not meant to outline all costs as selected SKUs, scaled use, cust
99
99
|[Azure AI Search](https://learn.microsoft.com/en-us/azure/search/)| Standard tier, S1. Pricing is based on the number of documents and operations. Information retrieval at scale for vector and text content in traditional or generative search scenarios. |[Pricing](https://azure.microsoft.com/pricing/details/search/)|
100
100
|[Azure Storage Account](https://learn.microsoft.com/en-us/azure/storage/blobs/)| Standard tier, LRS. Pricing is based on storage and operations. Blob storage in the clopud, optimized for storing massive amounts of unstructured data. |[Pricing](https://azure.microsoft.com/pricing/details/storage/blobs/)|
101
101
|[Azure Key Vault](https://learn.microsoft.com/en-us/azure/key-vault/)| Standard tier. Pricing is based on the number of operations. Maintain keys that access and encrypt your cloud resources, apps, and solutions. |[Pricing](https://azure.microsoft.com/pricing/details/key-vault/)|
102
-
|[Azure AI Services](https://learn.microsoft.com/en-us/azure/ai-services/)| S0 tier, defaults to gpt-4o and text-embedding-ada-002 models. Pricing is based on token count. |[Pricing](https://azure.microsoft.com/pricing/details/cognitive-services/)|
102
+
|[Azure AI Services](https://learn.microsoft.com/en-us/azure/ai-services/)| S0 tier, defaults to gpt-4.1 and text-embedding-ada-002 models. Pricing is based on token count. |[Pricing](https://azure.microsoft.com/pricing/details/cognitive-services/)|
103
103
|[Azure Container App](https://learn.microsoft.com/en-us/azure/container-apps/)| Consumption tier with 0.5 CPU, 1GiB memory/storage. Pricing is based on resource allocation, and each month allows for a certain amount of free usage. Allows you to run containerized applications without worrying about orchestration or infrastructure. |[Pricing](https://azure.microsoft.com/pricing/details/container-apps/)|
104
104
|[Azure Container Registry](https://learn.microsoft.com/en-us/azure/container-registry/)| Basic tier. Build, store, and manage container images and artifacts in a private registry for all types of container deployments |[Pricing](https://azure.microsoft.com/pricing/details/container-registry/)|
105
105
|[Log analytics](https://learn.microsoft.com/en-us/azure/azure-monitor/)| Pay-as-you-go tier. Costs based on data ingested. Collect and analyze on telemetry data generated by Azure. |[Pricing](https://azure.microsoft.com/pricing/details/monitor/)|
Copy file name to clipboardExpand all lines: docs/CustomizingAzdParameters.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ By default this template will use the environment name as the prefix to prevent
13
13
|`AZURE_ENV_NAME`| string |`docgen`| Sets the environment name prefix for all Azure resources. |
14
14
|`AZURE_ENV_SECONDARY_LOCATION`| string |`eastus2`| Specifies a secondary Azure region. |
15
15
|`AZURE_ENV_MODEL_DEPLOYMENT_TYPE`| string |`Standard`| Defines the model deployment type (allowed: `Standard`, `GlobalStandard`). |
16
-
|`AZURE_ENV_MODEL_NAME`| string |`gpt-4o`| Specifies the GPT model name (allowed: `gpt-4`, `gpt-4o`). |
16
+
|`AZURE_ENV_MODEL_NAME`| string |`gpt-4.1`| Specifies the GPT model name (allowed: `gpt-4`, `gpt-4o`). |
17
17
|`AZURE_ENV_MODEL_VERSION`| string |`2024-05-13`| Set the Azure model version (allowed values: `2024-08-06`). |
18
18
|`AZURE_ENV_OPENAI_API_VERSION`| string |`2024-05-01-preview`| Specifies the API version for Azure OpenAI. |
19
19
|`AZURE_ENV_MODEL_CAPACITY`| integer |`30`| Sets the GPT model capacity (based on what's available in your subscription). |
@@ -23,8 +23,10 @@ By default this template will use the environment name as the prefix to prevent
23
23
|`AZURE_ENV_LOG_ANALYTICS_WORKSPACE_ID`| string |`<Existing Workspace Id>`| Reuses an existing Log Analytics Workspace instead of creating a new one. |
24
24
25
25
26
+
26
27
## How to Set a Parameter
27
28
29
+
28
30
To customize any of the above values, run the following command **before**`azd up`:
0 commit comments