Skip to content

Commit efab6d5

Browse files
Merge pull request #263658 from CourtGoodson/docs-editor/availability-test-migration-1705688927
Update availability-test-migration.md
2 parents cb20dfa + 2fc8ea0 commit efab6d5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,10 @@ The following steps walk you through the process of creating [standard tests](av
5858
$dynamicParameters = @{};
5959

6060
if ($pingTestRequest.IgnoreHttpStatusCode -eq [bool]::FalseString) {
61-
6261
$dynamicParameters["RuleExpectedHttpStatusCode"] = [convert]::ToInt32($pingTestRequest.ExpectedHttpStatusCode, 10);
63-
6462
}
6563

6664
if ($pingTestValidationRule -and $pingTestValidationRule.DisplayName -eq "Find Text" `
67-
6865
-and $pingTestValidationRule.RuleParameters.RuleParameter[0].Name -eq "FindText" `
6966
-and $pingTestValidationRule.RuleParameters.RuleParameter[0].Value) {
7067
$dynamicParameters["ContentMatch"] = $pingTestValidationRule.RuleParameters.RuleParameter[0].Value;
@@ -76,7 +73,6 @@ The following steps walk you through the process of creating [standard tests](av
7673
-RequestUrl $pingTestRequest.Url -RequestHttpVerb "GET" -GeoLocation $pingTest.PropertiesLocations -Frequency $pingTest.Frequency `
7774
-Timeout $pingTest.Timeout -RetryEnabled:$pingTest.RetryEnabled -Enabled:$pingTest.Enabled `
7875
-RequestParseDependent:($pingTestRequest.ParseDependentRequests -eq [bool]::TrueString);
79-
8076
```
8177

8278
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.

0 commit comments

Comments
 (0)