Skip to content

Commit 2fc8ea0

Browse files
committed
Learn Editor: Update availability-test-migration.md
1 parent 2a461e3 commit 2fc8ea0

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

articles/azure-monitor/app/availability-test-migration.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ The following steps walk you through the process of creating [standard tests](av
2323
>
2424
> - Refer to **[Azure Monitor pricing](https://azure.microsoft.com/pricing/details/monitor/#pricing)** before starting this process.
2525
>
26-
2726
### Prerequisites
2827

2928
- Any [URL ping test](/previous-versions/azure/azure-monitor/app/monitor-web-app-availability) within Application Insights
@@ -43,10 +42,9 @@ The following steps walk you through the process of creating [standard tests](av
4342

4443
3. Find the URL Ping Test you want to migrate and record its resource group and name.
4544

46-
1. The following commands create a standard test with the same logic as the URL ping test:
45+
4. The following commands create a standard test with the same logic as the URL ping test:
4746

48-
49-
```azurepowershell
47+
```azurepowershell
5048
$resourceGroup = "pingTestResourceGroup";
5149
$appInsightsComponent = "componentName";
5250
$pingTestName = "pingTestName";
@@ -75,7 +73,6 @@ The following steps walk you through the process of creating [standard tests](av
7573
-RequestUrl $pingTestRequest.Url -RequestHttpVerb "GET" -GeoLocation $pingTest.PropertiesLocations -Frequency $pingTest.Frequency `
7674
-Timeout $pingTest.Timeout -RetryEnabled:$pingTest.RetryEnabled -Enabled:$pingTest.Enabled `
7775
-RequestParseDependent:($pingTestRequest.ParseDependentRequests -eq [bool]::TrueString);
78-
7976
```
8077

8178
5. The new standard test doesn't have alert rules by default, so it doesn't create noisy alerts. No changes are made to your URL ping test so you can continue to rely on it for alerts.
@@ -102,5 +99,4 @@ Yes, these commands work for both HTTP and HTTPS endpoints, which are used in yo
10299
* [Availability alerts](availability-alerts.md)
103100
* [Troubleshooting](troubleshoot-availability.md)
104101
* [Web tests Azure Resource Manager template](/azure/templates/microsoft.insights/webtests?tabs=json)
105-
* [Web test REST API](/rest/api/application-insights/web-tests)
106-
102+
* [Web test REST API](/rest/api/application-insights/web-tests)

0 commit comments

Comments
 (0)