Skip to content

Commit 8702976

Browse files
Merge pull request microsoft#197 from microsoft/psl-re-use-fileupdate
docs: Added file and images and updated links
2 parents 1f32dc8 + c650401 commit 8702976

6 files changed

Lines changed: 41 additions & 2 deletions

File tree

docs/CustomizingAzdParameters.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ By default this template will use the environment name as the prefix to prevent
1717
| `AZURE_ENV_MODEL_VERSION` | string | `2024-08-06` | Specifies the GPT model version (allowed values: `2024-08-06`). |
1818
| `AZURE_ENV_MODEL_CAPACITY` | integer | `30` | Sets the model capacity (choose based on your subscription's available GPT capacity). |
1919
| `AZURE_ENV_IMAGETAG` | boolean | `latest` | Set the Image tag Like (allowed values: latest, dev, hotfix) |
20-
| `AZURE_ENV_LOG_ANALYTICS_WORKSPACE_ID` | string | `<Existing Workspace Id>` | Reuses an existing Log Analytics Workspace instead of provisioning a new one. |
20+
| `AZURE_ENV_LOG_ANALYTICS_WORKSPACE_ID` | string | Guide to get your [Existing Workspace ID](/docs/re-use-log-analytics.md) | Reuses an existing Log Analytics Workspace instead of provisioning a new one. |
2121

2222

2323
## How to Set a Parameter
@@ -32,4 +32,4 @@ azd env set <PARAMETER_NAME> <VALUE>
3232

3333
```bash
3434
azd env set AZURE_LOCATION westus2
35-
```
35+
```

docs/DeploymentGuide.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,14 @@ To adjust quota settings, follow these [steps](./AzureGPTQuotaSettings.md).
140140

141141
</details>
142142

143+
<details>
144+
145+
<summary><b>Reusing an Existing Log Analytics Workspace</b></summary>
146+
147+
Guide to get your [Existing Workspace ID](/docs/re-use-log-analytics.md)
148+
149+
</details>
150+
143151
### Deploying with AZD
144152

145153
Once you've opened the project in [Codespaces](#github-codespaces), [Dev Containers](#vs-code-dev-containers), or [locally](#local-environment), you can deploy it to Azure by following these steps:
142 KB
Loading
196 KB
Loading
88.9 KB
Loading

docs/re-use-log-analytics.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
[← Back to *DEPLOYMENT* guide](https://github.com/microsoft/content-processing-solution-accelerator/blob/psl-re-use-fileupdate/docs/DeploymentGuide.md#deployment-options--steps)
2+
3+
# Reusing an Existing Log Analytics Workspace
4+
To configure your environment to use an existing Log Analytics Workspace, follow these steps:
5+
---
6+
### 1. Go to Azure Portal
7+
Go to https://portal.azure.com
8+
9+
### 2. Search for Log Analytics
10+
In the search bar at the top, type "Log Analytics workspaces" and click on it and click on the workspace you want to use.
11+
12+
![alt text](../docs/images/re_use_log/logAnalyticsList.png)
13+
14+
### 3. Copy Resource ID
15+
In the Overview pane, Click on JSON View
16+
17+
![alt text](../docs/images/re_use_log/logAnalytics.png)
18+
19+
Copy Resource ID that is your Workspace ID
20+
21+
![alt text](../docs/images/re_use_log/logAnalyticsJson.png)
22+
23+
### 4. Set the Workspace ID in Your Environment
24+
Run the following command in your terminal
25+
```bash
26+
azd env set AZURE_ENV_LOG_ANALYTICS_WORKSPACE_ID '<Existing Log Analytics Workspace Id>'
27+
```
28+
Replace `<Existing Log Analytics Workspace Id>` with the value obtained from Step 3.
29+
30+
### 5. Continue Deployment
31+
Proceed with the next steps in the [deployment guide](https://github.com/microsoft/content-processing-solution-accelerator/blob/psl-re-use-fileupdate/docs/DeploymentGuide.md#deployment-options--steps).

0 commit comments

Comments
 (0)