diff --git a/src/Billing/Consumption.Test/ScenarioTests/BudgetTests.ps1 b/src/Billing/Consumption.Test/ScenarioTests/BudgetTests.ps1
index eba1a04f2b7d..6db65c87f0f6 100644
--- a/src/Billing/Consumption.Test/ScenarioTests/BudgetTests.ps1
+++ b/src/Billing/Consumption.Test/ScenarioTests/BudgetTests.ps1
@@ -137,7 +137,7 @@ function Test-BudgetAtResourceGroupLevel
Assert-AreEqual $budgetName $budgetSet1.Name
Assert-AreEqual 1 $budgetSet1.Notification.Count
- Write-Debug "Update the budget $budgetName with a second notificaiton $notificationKey when cost reaches a threshold of 150 percent of amount"
+ Write-Debug "Update the budget $budgetName with a second notification $notificationKey when cost reaches a threshold of 150 percent of amount"
$budgetSet2 = Set-AzConsumptionBudget -Name $budgetName -ResourceGroupName $resourceGroupName -NotificationKey $notificationKey2 -NotificationEnabled -NotificationThreshold 150 -ContactEmail johndoe@contoso.com,janesmith@contoso.com -ContactRole Owner,Reader,Contributor
Assert-NotNull $budgetSet2
Assert-AreEqual $budgetName $budgetSet2.Name
diff --git a/src/Billing/UsageAggregates/TestTheCmdLet.ps1 b/src/Billing/UsageAggregates/TestTheCmdLet.ps1
index 02af4c973ce8..ed08e68fc3f4 100644
--- a/src/Billing/UsageAggregates/TestTheCmdLet.ps1
+++ b/src/Billing/UsageAggregates/TestTheCmdLet.ps1
@@ -7,11 +7,11 @@ Connect-AzureRmAccount
Set-AzureRmSubscription -SubscriptionId $subscription
-$agggregate = get-UsageAggregates -ReportedStartTime "5/2/2015" -ReportedEndTime "5/5/2015"
+$aggregate = get-UsageAggregates -ReportedStartTime "5/2/2015" -ReportedEndTime "5/5/2015"
-Write-Host $agggregate.NextLink
-Write-Host "Result count: " + $agggregate.UsageAggregations.Count
+Write-Host $aggregate.NextLink
+Write-Host "Result count: " + $aggregate.UsageAggregations.Count
-$agggregate.UsageAggregations | ForEach-Object {
+$aggregate.UsageAggregations | ForEach-Object {
Write-Host $_.Name
}
diff --git a/src/BillingBenefits/BillingBenefits.Autorest/docs/Invoke-AzBillingBenefitsElevateSavingPlanOrder.md b/src/BillingBenefits/BillingBenefits.Autorest/docs/Invoke-AzBillingBenefitsElevateSavingPlanOrder.md
index b726c9339abf..b38529e1e48c 100644
--- a/src/BillingBenefits/BillingBenefits.Autorest/docs/Invoke-AzBillingBenefitsElevateSavingPlanOrder.md
+++ b/src/BillingBenefits/BillingBenefits.Autorest/docs/Invoke-AzBillingBenefitsElevateSavingPlanOrder.md
@@ -42,7 +42,7 @@ Name PrincipalId RoleDe
Elevate savings plan order
-### Example 2: Elevate savings plan order via identiy
+### Example 2: Elevate savings plan order via identity
```powershell
$identity = @{
SavingsPlanOrderId = "e45905d2-9207-4f24-8549-f615c203b49b"
diff --git a/src/BillingBenefits/BillingBenefits.Autorest/examples/Invoke-AzBillingBenefitsElevateSavingPlanOrder.md b/src/BillingBenefits/BillingBenefits.Autorest/examples/Invoke-AzBillingBenefitsElevateSavingPlanOrder.md
index 0768f413b9a0..60ffb5fa60ea 100644
--- a/src/BillingBenefits/BillingBenefits.Autorest/examples/Invoke-AzBillingBenefitsElevateSavingPlanOrder.md
+++ b/src/BillingBenefits/BillingBenefits.Autorest/examples/Invoke-AzBillingBenefitsElevateSavingPlanOrder.md
@@ -11,7 +11,7 @@ Name PrincipalId RoleDe
Elevate savings plan order
-### Example 2: Elevate savings plan order via identiy
+### Example 2: Elevate savings plan order via identity
```powershell
$identity = @{
SavingsPlanOrderId = "e45905d2-9207-4f24-8549-f615c203b49b"
diff --git a/src/Blueprint/Blueprint/Common/Utils.cs b/src/Blueprint/Blueprint/Common/Utils.cs
index 7d17f192d258..a6b1c8fc5bf7 100644
--- a/src/Blueprint/Blueprint/Common/Utils.cs
+++ b/src/Blueprint/Blueprint/Common/Utils.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Blueprint.Common
public class Utils
{
///
- /// Get definition location. Either a subcscription or a management group.
+ /// Get definition location. Either a subscription or a management group.
///
///
///
diff --git a/src/Blueprint/Blueprint/Models/PSBlueprintAssignment.cs b/src/Blueprint/Blueprint/Models/PSBlueprintAssignment.cs
index be85e0aa0f6a..9cc98c3d982b 100644
--- a/src/Blueprint/Blueprint/Models/PSBlueprintAssignment.cs
+++ b/src/Blueprint/Blueprint/Models/PSBlueprintAssignment.cs
@@ -34,7 +34,7 @@ public class PSBlueprintAssignment : PSAzureResourceBase
public PSAssignmentProvisioningState ProvisioningState {get; set; }
///
- /// Create a PSBluprintAssignment object from an Assignment model.
+ /// Create a PSBlueprintAssignment object from an Assignment model.
///
/// Assignment object from which to create the PSBlueprintAssignment.
/// A new PSBlueprintAssignment object.
diff --git a/src/BotService/LiveTests/BotService.Autorest/TestLiveScenarios.disabled.ps1 b/src/BotService/LiveTests/BotService.Autorest/TestLiveScenarios.disabled.ps1
index e65298e5e7f5..f03c7cb2960d 100644
--- a/src/BotService/LiveTests/BotService.Autorest/TestLiveScenarios.disabled.ps1
+++ b/src/BotService/LiveTests/BotService.Autorest/TestLiveScenarios.disabled.ps1
@@ -55,7 +55,7 @@ Invoke-LiveTestScenario -Name "Update bot service" -Description "Test Updating o
Assert-AreEqual "bot" $actual.Kind
}
-Invoke-LiveTestScenario -Name "Remove bot servcie" -Description "Test Removing a bot service" -ScenarioScript `
+Invoke-LiveTestScenario -Name "Remove bot service" -Description "Test Removing a bot service" -ScenarioScript `
{
param ($rg)
diff --git a/src/Cdn/Cdn.Autorest/README.md b/src/Cdn/Cdn.Autorest/README.md
index 1214f4e79e0d..20e6e447bd60 100644
--- a/src/Cdn/Cdn.Autorest/README.md
+++ b/src/Cdn/Cdn.Autorest/README.md
@@ -69,7 +69,7 @@ directive:
- ResponseBasedOriginErrorDetectionParameters
# Both CDN and AFDX
- HealthProbeParameters
- # Generate memory object as parameter of the cmelet.
+ # Generate memory object as parameter of the cmdlet.
- model-cmdlet:
- model-name: ResourceReference
cmdlet-name: New-AzCdnResourceReferenceObject
@@ -224,7 +224,7 @@ directive:
cmdlet-name: New-AzCdnLoadParametersObject
- model-name: MigrationEndpointMapping
cmdlet-name: New-AzCdnMigrationEndpointMappingObject
- # AFDX profile LogScrubbing, need to rename the memory ojects, not sure how to rename a memory object currently.
+ # AFDX profile LogScrubbing, need to rename the memory objects, not sure how to rename a memory object currently.
- model-name: ProfileLogScrubbing
cmdlet-name: New-AzFrontDoorCdnProfileLogScrubbingObject
- model-name: ProfileScrubbingRules
@@ -278,7 +278,7 @@ directive:
- where:
verb: Set
remove: true
- # Remove some cmdlets' ViaIdentity which are inconvinient to call
+ # Remove some cmdlets' ViaIdentity which are inconvenient to call
- where:
variant: ^CheckViaIdentity$|^CheckViaIdentityExpanded$
subject: ^NameAvailability$|^EndpointNameAvailability$
diff --git a/src/Cdn/Cdn.Autorest/custom/Start-AzFrontDoorCdnProfilePrepareMigration.ps1 b/src/Cdn/Cdn.Autorest/custom/Start-AzFrontDoorCdnProfilePrepareMigration.ps1
index a5b5bc1c1256..ca565f92d20d 100644
--- a/src/Cdn/Cdn.Autorest/custom/Start-AzFrontDoorCdnProfilePrepareMigration.ps1
+++ b/src/Cdn/Cdn.Autorest/custom/Start-AzFrontDoorCdnProfilePrepareMigration.ps1
@@ -240,7 +240,7 @@ function Start-AzFrontDoorCdnProfilePrepareMigration {
}
# We should raise a complaint if the customer did not enable managed identity when they have BYOC enabled.
- # However, if the customer does not have BYOC but has specified a managed identity, we could ignore the validation for BYOC, no need to keep consisence with Portal behavior.
+ # However, if the customer does not have BYOC but has specified a managed identity, we could ignore the validation for BYOC, no need to keep consistence with Portal behavior.
if (($allPoliciesWithVault.count -gt 0) -and !($PSBoundParameters.ContainsKey('IdentityType')))
{
throw "IdentityType parameter should be provided when the front door has Customer Certificates."
@@ -269,7 +269,7 @@ function Start-AzFrontDoorCdnProfilePrepareMigration {
}
}
- # Validate whether MigratedToId policy already exists in the subsrciption;
+ # Validate whether MigratedToId policy already exists in the subscription;
foreach ($policy in $wafPolicies) {
$migrateToWafId = $policy.MigratedToId
$migrateToWafArray = $policy.MigratedToId.split("/")
@@ -301,7 +301,7 @@ function Start-AzFrontDoorCdnProfilePrepareMigration {
# No need to add this parameters here, cx may add this parameter when using this command.
# $PSBoundParameters.Add('ErrorAction', 'Stop')
- # Upgrade subcriptionId
+ # Upgrade subscriptionId
$PSBoundParameters['SubscriptionId'] = $subId
Az.Cdn.internal\Move-AzCdnProfile @PSBoundParameters
@@ -316,7 +316,7 @@ function Start-AzFrontDoorCdnProfilePrepareMigration {
# 1. Enable MSI: get "principalId" from RP
$commandArgs = @{ ResourceGroupName = ${ResourceGroupName}; Name = ${ProfileName}; IdentityType = ${IdentityType}; ErrorAction = 'Stop'}
- if ($indentityType -ne "systemassigned") {
+ if ($IdentityType -ne "systemassigned") {
$commandArgs.Add('IdentityUserAssignedIdentity', ${IdentityUserAssignedIdentity})
}
@@ -359,7 +359,7 @@ function Start-AzFrontDoorCdnProfilePrepareMigration {
Write-Host("Your have successfully granted managed identity to key vault.")
}
} else {
- Write-Debug("IdentityType paramter not provided and no BYOC for the current front door, skip Managed Identity step.")
+ Write-Debug("IdentityType parameter not provided and no BYOC for the current front door, skip Managed Identity step.")
}
Write-Host("The change need to be committed after this.")
@@ -502,7 +502,7 @@ function CreateNewWafPolicy {
# Remove the null/empty property
$validatedWafProperty = ValidateMigrationWafPolicyProperty -WafProperty $WafProperty
- # New a waf policy, copied from the Migrtae
+ # New a waf policy, copied from the Migrate
New-AzFrontDoorWafPolicy -ResourceGroupName $ResourceGroupName -Name $Name -Sku $sku @validatedWafProperty | Out-Null
}
diff --git a/src/Cdn/Cdn.Autorest/custom/Update-AzFrontDoorCdnProfileSku.ps1 b/src/Cdn/Cdn.Autorest/custom/Update-AzFrontDoorCdnProfileSku.ps1
index a9987ba021c4..1e5889aeae4d 100644
--- a/src/Cdn/Cdn.Autorest/custom/Update-AzFrontDoorCdnProfileSku.ps1
+++ b/src/Cdn/Cdn.Autorest/custom/Update-AzFrontDoorCdnProfileSku.ps1
@@ -176,14 +176,14 @@ function Update-AzFrontDoorCdnProfileSku {
Set-AzContext -Subscription ${SubscriptionId}
}
- # Validate the waf policy whether located in the same subscritpion as the profile.
+ # Validate the waf policy whether located in the same subscription as the profile.
$contextNew = Get-AzContext
if ($contextNew.Subscription.Id -ne $changeToWafPolicySubId)
{
- throw "The subscritpion of existing or created Premium WAF policy should be in the same subscription as the profile's."
+ throw "The subscription of existing or created Premium WAF policy should be in the same subscription as the profile's."
}
- # 2. Validate whether the policy already exists in the subsrciption
+ # 2. Validate whether the policy already exists in the subscription
try {
Get-AzFrontDoorWafPolicy -ResourceGroupName $changeToWafPolicyResourceGroup -Name $changeToWafPolicyName -ErrorAction Stop | Out-Null
} catch {
diff --git a/src/Cdn/Cdn.Autorest/docs/Enable-AzFrontDoorCdnProfileMigration.md b/src/Cdn/Cdn.Autorest/docs/Enable-AzFrontDoorCdnProfileMigration.md
index 99e6bce51170..4b9a63bcd21c 100644
--- a/src/Cdn/Cdn.Autorest/docs/Enable-AzFrontDoorCdnProfileMigration.md
+++ b/src/Cdn/Cdn.Autorest/docs/Enable-AzFrontDoorCdnProfileMigration.md
@@ -30,12 +30,12 @@ Enable-AzFrontDoorCdnProfileMigration -ProfileName name-migrated -ResourceGroupN
Commit the migrated Azure Front Door(Standard/Premium) profile.
-### Example 2: Commit the migrated Azure Front Door(Standard/Premium) profile., when the subscription of the profile is different from the local subscrition
+### Example 2: Commit the migrated Azure Front Door(Standard/Premium) profile., when the subscription of the profile is different from the local subscription
```powershell
Enable-AzFrontDoorCdnProfileMigration -ProfileName name-migrated -ResourceGroupName rgName -SubscriptionId testSubId01
```
-Commit the migrated Azure Front Door(Standard/Premium) profile, when the subscription of the profile is different from the local subscrition
+Commit the migrated Azure Front Door(Standard/Premium) profile, when the subscription of the profile is different from the local subscription
## PARAMETERS
diff --git a/src/Cdn/Cdn.Autorest/docs/Get-AzCdnEndpointResourceUsage.md b/src/Cdn/Cdn.Autorest/docs/Get-AzCdnEndpointResourceUsage.md
index 2a96f9beb157..fb7a258adcb9 100644
--- a/src/Cdn/Cdn.Autorest/docs/Get-AzCdnEndpointResourceUsage.md
+++ b/src/Cdn/Cdn.Autorest/docs/Get-AzCdnEndpointResourceUsage.md
@@ -22,7 +22,7 @@ Checks the quota and usage of geo filters and custom domains under the given end
## EXAMPLES
-### Example 1: List resource useages of an AzureCDN Endpoint under the AzureCDN profile
+### Example 1: List resource usages of an AzureCDN Endpoint under the AzureCDN profile
```powershell
Get-AzCdnEndpointResourceUsage -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001
```
@@ -40,7 +40,7 @@ CurrentValue Limit ResourceType Unit
1 10 originsPerOriginGroup count
```
-List resource useages of an AzureCDN Endpoint under the AzureCDN profile
+List resource usages of an AzureCDN Endpoint under the AzureCDN profile
## PARAMETERS
diff --git a/src/Cdn/Cdn.Autorest/docs/Get-AzFrontDoorCdnEndpointResourceUsage.md b/src/Cdn/Cdn.Autorest/docs/Get-AzFrontDoorCdnEndpointResourceUsage.md
index 9bc2da529b2a..9edb24c70a86 100644
--- a/src/Cdn/Cdn.Autorest/docs/Get-AzFrontDoorCdnEndpointResourceUsage.md
+++ b/src/Cdn/Cdn.Autorest/docs/Get-AzFrontDoorCdnEndpointResourceUsage.md
@@ -23,7 +23,7 @@ Checks the quota and actual usage of endpoints under the given Azure Front Door
## EXAMPLES
-### Example 1: List resource useages of an AzureFrontDoor endpoint under the profile
+### Example 1: List resource usages of an AzureFrontDoor endpoint under the profile
```powershell
Get-AzFrontDoorCdnEndpointResourceUsage -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001
```
@@ -34,7 +34,7 @@ CurrentValue Limit Unit
1 100 count
```
-List resource useages of an AzureFrontDoor endpoint under the profile
+List resource usages of an AzureFrontDoor endpoint under the profile
## PARAMETERS
diff --git a/src/Cdn/Cdn.Autorest/docs/Get-AzFrontDoorCdnOriginGroupResourceUsage.md b/src/Cdn/Cdn.Autorest/docs/Get-AzFrontDoorCdnOriginGroupResourceUsage.md
index 9a606d6f2604..d116fc3bf5be 100644
--- a/src/Cdn/Cdn.Autorest/docs/Get-AzFrontDoorCdnOriginGroupResourceUsage.md
+++ b/src/Cdn/Cdn.Autorest/docs/Get-AzFrontDoorCdnOriginGroupResourceUsage.md
@@ -23,7 +23,7 @@ Checks the quota and actual usage of endpoints under the given Azure Front Door
## EXAMPLES
-### Example 1: List resource useages of an AzureFrontDoor origin group under the profile
+### Example 1: List resource usages of an AzureFrontDoor origin group under the profile
```powershell
Get-AzFrontDoorCdnOriginGroupResourceUsage -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001
```
@@ -34,7 +34,7 @@ CurrentValue Limit Unit
1 50 count
```
-List resource useages of an AzureFrontDoor origin group under the profile
+List resource usages of an AzureFrontDoor origin group under the profile
## PARAMETERS
diff --git a/src/Cdn/Cdn.Autorest/docs/Invoke-AzCdnCommitProfileToAFDMigration.md b/src/Cdn/Cdn.Autorest/docs/Invoke-AzCdnCommitProfileToAFDMigration.md
index 0fb5c0e2d221..fcc4090d1f1d 100644
--- a/src/Cdn/Cdn.Autorest/docs/Invoke-AzCdnCommitProfileToAFDMigration.md
+++ b/src/Cdn/Cdn.Autorest/docs/Invoke-AzCdnCommitProfileToAFDMigration.md
@@ -31,7 +31,7 @@ Invoke-AzCdnCommitProfileToAFDMigration -ProfileName name-migrated -ResourceGrou
Commit the Migration, the Microsoft CDN (classic) profile will be upgraded AFD.
After migration/upgrade, you won’t be able to view CDN resources.
-### Example 2: Commit the migrated Microsoft CDN (classic) profile, when the subscription of the profile is different from the local subscrition
+### Example 2: Commit the migrated Microsoft CDN (classic) profile, when the subscription of the profile is different from the local subscription
```powershell
Invoke-AzCdnCommitProfileToAFDMigration -ProfileName name-migrated -ResourceGroupName rgName -SubscriptionId testSubId01
```
diff --git a/src/Cdn/Cdn.Autorest/docs/New-AzFrontDoorCdnProfileScrubbingRulesObject.md b/src/Cdn/Cdn.Autorest/docs/New-AzFrontDoorCdnProfileScrubbingRulesObject.md
index ec8ce7a4135f..c0ea4530ede3 100644
--- a/src/Cdn/Cdn.Autorest/docs/New-AzFrontDoorCdnProfileScrubbingRulesObject.md
+++ b/src/Cdn/Cdn.Autorest/docs/New-AzFrontDoorCdnProfileScrubbingRulesObject.md
@@ -35,7 +35,7 @@ RequestIPAddress EqualsAny Enabled
Create an in-memory object for ProfileScrubbingRules and the value of matchVariable is RequestIPAddress
-### Example 2: Create an in-memory object for ProfileScrubbingRules and disbale the Scrubbing rule
+### Example 2: Create an in-memory object for ProfileScrubbingRules and disable the Scrubbing rule
```powershell
New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestUri -State Disabled
```
@@ -46,7 +46,7 @@ MatchVariable Selector SelectorMatchOperator State
RequestUri EqualsAny Disabled
```
-Create an in-memory object for ProfileScrubbingRules and disbale the Scrubbing rule
+Create an in-memory object for ProfileScrubbingRules and disable the Scrubbing rule
## PARAMETERS
diff --git a/src/Cdn/Cdn.Autorest/docs/Start-AzFrontDoorCdnProfilePrepareMigration.md b/src/Cdn/Cdn.Autorest/docs/Start-AzFrontDoorCdnProfilePrepareMigration.md
index 860e8ffdfd7b..7ff547211443 100644
--- a/src/Cdn/Cdn.Autorest/docs/Start-AzFrontDoorCdnProfilePrepareMigration.md
+++ b/src/Cdn/Cdn.Autorest/docs/Start-AzFrontDoorCdnProfilePrepareMigration.md
@@ -115,7 +115,7 @@ When a classic AFD instance associated with more than one WAF policy and has no
Migrate the classic AFD to Azure Front Door(Standard/Premium) profile..
The change need to be committed after this.
-### Example 5: When a classic AFD instance not associated with WAF and has no customer certificate, and the subscription of the classic AFD instance is different from the local subscrition.
+### Example 5: When a classic AFD instance not associated with WAF and has no customer certificate, and the subscription of the classic AFD instance is different from the local subscription.
```powershell
Start-AzFrontDoorCdnProfilePrepareMigration -ResourceGroupName rgName -ClassicResourceReferenceId /subscriptions/testSubId01/resourcegroups/rgName/providers/Microsoft.Network/Frontdoors/name -ProfileName name-migrated -SkuName Standard_AzureFrontDoor -SubscriptionId testSubId01
```
@@ -126,7 +126,7 @@ MigratedProfileResourceId
/subscriptions/testSubId/resourceGroups/rgName/providers/Microsoft.Cdn/profiles/name-migrated
```
-When a classic AFD instance not associated with WAF and has no customer certificate, and the subscription of the classic AFD instance is different from the local subscrition.
+When a classic AFD instance not associated with WAF and has no customer certificate, and the subscription of the classic AFD instance is different from the local subscription.
Migrate the classic AFD to Azure Front Door(Standard/Premium) profile..
The change need to be committed after this.
diff --git a/src/Cdn/Cdn.Autorest/docs/Stop-AzFrontDoorCdnProfileMigration.md b/src/Cdn/Cdn.Autorest/docs/Stop-AzFrontDoorCdnProfileMigration.md
index 749de555cd09..9a4a6957c7be 100644
--- a/src/Cdn/Cdn.Autorest/docs/Stop-AzFrontDoorCdnProfileMigration.md
+++ b/src/Cdn/Cdn.Autorest/docs/Stop-AzFrontDoorCdnProfileMigration.md
@@ -35,13 +35,13 @@ Stop-AzFrontDoorCdnProfileMigration -ProfileName name-migrated -ResourceGroupNam
Abort classic CDN migrate to AFDx.
This will delete all the AFD Standard or Premium configurations
-### Example 2: Abort classic CDN migrate to AFDx, when the subscription of the classic CDN is different from the local subscrition
+### Example 2: Abort classic CDN migrate to AFDx, when the subscription of the classic CDN is different from the local subscription
```powershell
Stop-AzFrontDoorCdnProfileMigration -ProfileName name-migrated -ResourceGroupName rgName -SubscriptionId testSubId01
```
Abort classic CDN migrate to AFDx.
-When the subscription of the classic CDN is different from the local subscrition, You need to set the value of the subscription parameter.
+When the subscription of the classic CDN is different from the local subscription, You need to set the value of the subscription parameter.
This will delete all the AFD Standard or Premium configurations.
## PARAMETERS
diff --git a/src/Cdn/Cdn.Autorest/docs/Test-AzCdnNameAvailability.md b/src/Cdn/Cdn.Autorest/docs/Test-AzCdnNameAvailability.md
index 4fab57764b40..cee9d90d8839 100644
--- a/src/Cdn/Cdn.Autorest/docs/Test-AzCdnNameAvailability.md
+++ b/src/Cdn/Cdn.Autorest/docs/Test-AzCdnNameAvailability.md
@@ -43,7 +43,7 @@ This is needed for resources where name is globally unique, such as a CDN endpoi
## EXAMPLES
-### Example 1: Check AzureCDN endpint name availability
+### Example 1: Check AzureCDN endpoint name availability
```powershell
Test-AzCdnNameAvailability -Name endptest001 -Type Microsoft.Cdn/Profiles/Endpoints
```
@@ -54,7 +54,7 @@ Message NameAvailable Reason
Name not available False Name is already in use
```
-Check AzureCDN endpint name availability
+Check AzureCDN endpoint name availability
## PARAMETERS
diff --git a/src/Cdn/Cdn.Autorest/docs/Test-AzFrontDoorCdnProfileMigration.md b/src/Cdn/Cdn.Autorest/docs/Test-AzFrontDoorCdnProfileMigration.md
index ad2d536a48bf..fe93d7d5687c 100644
--- a/src/Cdn/Cdn.Autorest/docs/Test-AzFrontDoorCdnProfileMigration.md
+++ b/src/Cdn/Cdn.Autorest/docs/Test-AzFrontDoorCdnProfileMigration.md
@@ -36,7 +36,7 @@ True Standard_AzureFrontDoor {}
Checks if a classic AFD instance can be migrated to Azure Front Door(Standard/Premium) profile.
-### Example 2: Checks if a classic AFD instance can be migrated to Azure Front Door(Standard/Premium) profile, when the subscription of the CDN profile is different from the local subscrition.
+### Example 2: Checks if a classic AFD instance can be migrated to Azure Front Door(Standard/Premium) profile, when the subscription of the CDN profile is different from the local subscription.
```powershell
Test-AzFrontDoorCdnProfileMigration -ResourceGroupName testrg -ClassicResourceReferenceId /subscriptions/testSubId01/resourcegroups/testrg/providers/Microsoft.Network/Frontdoors/frontdoorName -SubscriptionId testSubId01
```
@@ -47,7 +47,7 @@ CanMigrate DefaultSku Error
True Standard_AzureFrontDoor {}
```
-Checks if a classic AFD instance can be migrated to Azure Front Door(Standard/Premium) profile, when the subscription of the CDN profile is different from the local subscrition.
+Checks if a classic AFD instance can be migrated to Azure Front Door(Standard/Premium) profile, when the subscription of the CDN profile is different from the local subscription.
You need to set the value of the subscription parameter.
diff --git a/src/Cdn/Cdn.Autorest/docs/Update-AzFrontDoorCdnProfileSku.md b/src/Cdn/Cdn.Autorest/docs/Update-AzFrontDoorCdnProfileSku.md
index d020a85681eb..59765f3ba412 100644
--- a/src/Cdn/Cdn.Autorest/docs/Update-AzFrontDoorCdnProfileSku.md
+++ b/src/Cdn/Cdn.Autorest/docs/Update-AzFrontDoorCdnProfileSku.md
@@ -55,7 +55,7 @@ Global profileName frontdoor rgName
When a CDN profile associated with WAF and copy to a new WAF policy, the subscription and resource group of the new WAF policy should be same with the profile's.
Upgrade a profile from Standard_AzureFrontDoor to Premium_AzureFrontDoor.
-### Example 2: When the CDN profile associated with WAF and select an exsting WAF policy...
+### Example 2: When the CDN profile associated with WAF and select an exiting WAF policy..
```powershell
$waf1 = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf1 -ChangeToWafPolicyId /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgtest01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/existingWAFName1
$waf2 = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf2 -ChangeToWafPolicyId /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgtest02/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/existingWAFName2
@@ -70,10 +70,10 @@ Location Name Kind ResourceGroupName
Global profileName frontdoor rgName
```
-When the CDN profile associated with WAF and select an exsting WAF policy, you could only select the WAF policy located in the same subscription with the profile's.
+When the CDN profile associated with WAF and select an existing WAF policy, you could only select the WAF policy located in the same subscription with the profile's.
Upgrade a profile from Standard_AzureFrontDoor to Premium_AzureFrontDoor.
-### Example 4: A CDN profile associated with WAF, when the subscription of the profile is different from the local subscrition
+### Example 4: A CDN profile associated with WAF, when the subscription of the profile is different from the local subscription
```powershell
$waf = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf -ChangeToWafPolicyId /subscriptions/testSubId01/resourcegroups/rgtest01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/ExistingPremiumWAFName
$upgrade = New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList $waf
@@ -87,7 +87,7 @@ Location Name Kind ResourceGroupName
Global profileName frontdoor rgName
```
-A CDN profile associated with WAF, when the subscription of the profile is different from the local subscrition.
+A CDN profile associated with WAF, when the subscription of the profile is different from the local subscription.
## PARAMETERS
diff --git a/src/Cdn/Cdn.Autorest/examples/Enable-AzFrontDoorCdnProfileMigration.md b/src/Cdn/Cdn.Autorest/examples/Enable-AzFrontDoorCdnProfileMigration.md
index 90bd4e49031f..e2358c0fc2e7 100644
--- a/src/Cdn/Cdn.Autorest/examples/Enable-AzFrontDoorCdnProfileMigration.md
+++ b/src/Cdn/Cdn.Autorest/examples/Enable-AzFrontDoorCdnProfileMigration.md
@@ -5,9 +5,9 @@ Enable-AzFrontDoorCdnProfileMigration -ProfileName name-migrated -ResourceGroupN
Commit the migrated Azure Front Door(Standard/Premium) profile.
-### Example 2: Commit the migrated Azure Front Door(Standard/Premium) profile., when the subscription of the profile is different from the local subscrition
+### Example 2: Commit the migrated Azure Front Door(Standard/Premium) profile., when the subscription of the profile is different from the local subscription
```powershell
Enable-AzFrontDoorCdnProfileMigration -ProfileName name-migrated -ResourceGroupName rgName -SubscriptionId testSubId01
```
-Commit the migrated Azure Front Door(Standard/Premium) profile, when the subscription of the profile is different from the local subscrition
\ No newline at end of file
+Commit the migrated Azure Front Door(Standard/Premium) profile, when the subscription of the profile is different from the local subscription
\ No newline at end of file
diff --git a/src/Cdn/Cdn.Autorest/examples/Get-AzCdnEndpointResourceUsage.md b/src/Cdn/Cdn.Autorest/examples/Get-AzCdnEndpointResourceUsage.md
index 91619fdff66a..86b228cd7186 100644
--- a/src/Cdn/Cdn.Autorest/examples/Get-AzCdnEndpointResourceUsage.md
+++ b/src/Cdn/Cdn.Autorest/examples/Get-AzCdnEndpointResourceUsage.md
@@ -1,4 +1,4 @@
-### Example 1: List resource useages of an AzureCDN Endpoint under the AzureCDN profile
+### Example 1: List resource usages of an AzureCDN Endpoint under the AzureCDN profile
```powershell
Get-AzCdnEndpointResourceUsage -ResourceGroupName testps-rg-da16jm -ProfileName cdn001 -EndpointName endptest001
```
@@ -16,5 +16,5 @@ CurrentValue Limit ResourceType Unit
1 10 originsPerOriginGroup count
```
-List resource useages of an AzureCDN Endpoint under the AzureCDN profile
+List resource usages of an AzureCDN Endpoint under the AzureCDN profile
diff --git a/src/Cdn/Cdn.Autorest/examples/Get-AzFrontDoorCdnEndpointResourceUsage.md b/src/Cdn/Cdn.Autorest/examples/Get-AzFrontDoorCdnEndpointResourceUsage.md
index b1d41a9001dc..a5bd61227054 100644
--- a/src/Cdn/Cdn.Autorest/examples/Get-AzFrontDoorCdnEndpointResourceUsage.md
+++ b/src/Cdn/Cdn.Autorest/examples/Get-AzFrontDoorCdnEndpointResourceUsage.md
@@ -1,4 +1,4 @@
-### Example 1: List resource useages of an AzureFrontDoor endpoint under the profile
+### Example 1: List resource usages of an AzureFrontDoor endpoint under the profile
```powershell
Get-AzFrontDoorCdnEndpointResourceUsage -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -EndpointName end001
```
@@ -9,4 +9,4 @@ CurrentValue Limit Unit
1 100 count
```
-List resource useages of an AzureFrontDoor endpoint under the profile
+List resource usages of an AzureFrontDoor endpoint under the profile
diff --git a/src/Cdn/Cdn.Autorest/examples/Get-AzFrontDoorCdnOriginGroupResourceUsage.md b/src/Cdn/Cdn.Autorest/examples/Get-AzFrontDoorCdnOriginGroupResourceUsage.md
index f074a6f509e7..ca93d86ced2c 100644
--- a/src/Cdn/Cdn.Autorest/examples/Get-AzFrontDoorCdnOriginGroupResourceUsage.md
+++ b/src/Cdn/Cdn.Autorest/examples/Get-AzFrontDoorCdnOriginGroupResourceUsage.md
@@ -1,4 +1,4 @@
-### Example 1: List resource useages of an AzureFrontDoor origin group under the profile
+### Example 1: List resource usages of an AzureFrontDoor origin group under the profile
```powershell
Get-AzFrontDoorCdnOriginGroupResourceUsage -ResourceGroupName testps-rg-da16jm -ProfileName fdp-v542q6 -OriginGroupName org001
```
@@ -9,6 +9,6 @@ CurrentValue Limit Unit
1 50 count
```
-List resource useages of an AzureFrontDoor origin group under the profile
+List resource usages of an AzureFrontDoor origin group under the profile
diff --git a/src/Cdn/Cdn.Autorest/examples/Invoke-AzCdnCommitProfileToAFDMigration.md b/src/Cdn/Cdn.Autorest/examples/Invoke-AzCdnCommitProfileToAFDMigration.md
index 67afb4ac5cb5..e8190e3750e9 100644
--- a/src/Cdn/Cdn.Autorest/examples/Invoke-AzCdnCommitProfileToAFDMigration.md
+++ b/src/Cdn/Cdn.Autorest/examples/Invoke-AzCdnCommitProfileToAFDMigration.md
@@ -5,7 +5,7 @@ Invoke-AzCdnCommitProfileToAFDMigration -ProfileName name-migrated -ResourceGrou
Commit the Migration, the Microsoft CDN (classic) profile will be upgraded AFD. After migration/upgrade, you won’t be able to view CDN resources.
-### Example 2: Commit the migrated Microsoft CDN (classic) profile, when the subscription of the profile is different from the local subscrition
+### Example 2: Commit the migrated Microsoft CDN (classic) profile, when the subscription of the profile is different from the local subscription
```powershell
Invoke-AzCdnCommitProfileToAFDMigration -ProfileName name-migrated -ResourceGroupName rgName -SubscriptionId testSubId01
```
diff --git a/src/Cdn/Cdn.Autorest/examples/New-AzFrontDoorCdnProfileScrubbingRulesObject.md b/src/Cdn/Cdn.Autorest/examples/New-AzFrontDoorCdnProfileScrubbingRulesObject.md
index ac80616d2427..48d62fcc0373 100644
--- a/src/Cdn/Cdn.Autorest/examples/New-AzFrontDoorCdnProfileScrubbingRulesObject.md
+++ b/src/Cdn/Cdn.Autorest/examples/New-AzFrontDoorCdnProfileScrubbingRulesObject.md
@@ -11,7 +11,7 @@ RequestIPAddress EqualsAny Enabled
Create an in-memory object for ProfileScrubbingRules and the value of matchVariable is RequestIPAddress
-### Example 2: Create an in-memory object for ProfileScrubbingRules and disbale the Scrubbing rule
+### Example 2: Create an in-memory object for ProfileScrubbingRules and disable the Scrubbing rule
```powershell
New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestUri -State Disabled
```
@@ -22,4 +22,4 @@ MatchVariable Selector SelectorMatchOperator State
RequestUri EqualsAny Disabled
```
-Create an in-memory object for ProfileScrubbingRules and disbale the Scrubbing rule
\ No newline at end of file
+Create an in-memory object for ProfileScrubbingRules and disable the Scrubbing rule
\ No newline at end of file
diff --git a/src/Cdn/Cdn.Autorest/examples/Start-AzFrontDoorCdnProfilePrepareMigration.md b/src/Cdn/Cdn.Autorest/examples/Start-AzFrontDoorCdnProfilePrepareMigration.md
index bc4a4f6017fa..24cde6a22b82 100644
--- a/src/Cdn/Cdn.Autorest/examples/Start-AzFrontDoorCdnProfilePrepareMigration.md
+++ b/src/Cdn/Cdn.Autorest/examples/Start-AzFrontDoorCdnProfilePrepareMigration.md
@@ -74,7 +74,7 @@ When a classic AFD instance associated with more than one WAF policy and has no
Migrate the classic AFD to Azure Front Door(Standard/Premium) profile..
The change need to be committed after this.
-### Example 5: When a classic AFD instance not associated with WAF and has no customer certificate, and the subscription of the classic AFD instance is different from the local subscrition.
+### Example 5: When a classic AFD instance not associated with WAF and has no customer certificate, and the subscription of the classic AFD instance is different from the local subscription.
```powershell
Start-AzFrontDoorCdnProfilePrepareMigration -ResourceGroupName rgName -ClassicResourceReferenceId /subscriptions/testSubId01/resourcegroups/rgName/providers/Microsoft.Network/Frontdoors/name -ProfileName name-migrated -SkuName Standard_AzureFrontDoor -SubscriptionId testSubId01
```
@@ -85,6 +85,6 @@ MigratedProfileResourceId
/subscriptions/testSubId/resourceGroups/rgName/providers/Microsoft.Cdn/profiles/name-migrated
```
-When a classic AFD instance not associated with WAF and has no customer certificate, and the subscription of the classic AFD instance is different from the local subscrition.
+When a classic AFD instance not associated with WAF and has no customer certificate, and the subscription of the classic AFD instance is different from the local subscription.
Migrate the classic AFD to Azure Front Door(Standard/Premium) profile..
The change need to be committed after this.
\ No newline at end of file
diff --git a/src/Cdn/Cdn.Autorest/examples/Stop-AzFrontDoorCdnProfileMigration.md b/src/Cdn/Cdn.Autorest/examples/Stop-AzFrontDoorCdnProfileMigration.md
index 136264165a24..32839b668dc4 100644
--- a/src/Cdn/Cdn.Autorest/examples/Stop-AzFrontDoorCdnProfileMigration.md
+++ b/src/Cdn/Cdn.Autorest/examples/Stop-AzFrontDoorCdnProfileMigration.md
@@ -7,10 +7,10 @@ Abort classic CDN migrate to AFDx.
This will delete all the AFD Standard or Premium configurations
-### Example 2: Abort classic CDN migrate to AFDx, when the subscription of the classic CDN is different from the local subscrition
+### Example 2: Abort classic CDN migrate to AFDx, when the subscription of the classic CDN is different from the local subscription
```powershell
Stop-AzFrontDoorCdnProfileMigration -ProfileName name-migrated -ResourceGroupName rgName -SubscriptionId testSubId01
```
-Abort classic CDN migrate to AFDx. When the subscription of the classic CDN is different from the local subscrition, You need to set the value of the subscription parameter.
+Abort classic CDN migrate to AFDx. When the subscription of the classic CDN is different from the local subscription, You need to set the value of the subscription parameter.
This will delete all the AFD Standard or Premium configurations.
\ No newline at end of file
diff --git a/src/Cdn/Cdn.Autorest/examples/Test-AzCdnNameAvailability.md b/src/Cdn/Cdn.Autorest/examples/Test-AzCdnNameAvailability.md
index c25b60582121..7d787b3f5289 100644
--- a/src/Cdn/Cdn.Autorest/examples/Test-AzCdnNameAvailability.md
+++ b/src/Cdn/Cdn.Autorest/examples/Test-AzCdnNameAvailability.md
@@ -1,4 +1,4 @@
-### Example 1: Check AzureCDN endpint name availability
+### Example 1: Check AzureCDN endpoint name availability
```powershell
Test-AzCdnNameAvailability -Name endptest001 -Type Microsoft.Cdn/Profiles/Endpoints
```
@@ -9,5 +9,5 @@ Message NameAvailable Reason
Name not available False Name is already in use
```
-Check AzureCDN endpint name availability
+Check AzureCDN endpoint name availability
diff --git a/src/Cdn/Cdn.Autorest/examples/Test-AzFrontDoorCdnProfileMigration.md b/src/Cdn/Cdn.Autorest/examples/Test-AzFrontDoorCdnProfileMigration.md
index fcfcfdae2cc5..5a1a1f3a688f 100644
--- a/src/Cdn/Cdn.Autorest/examples/Test-AzFrontDoorCdnProfileMigration.md
+++ b/src/Cdn/Cdn.Autorest/examples/Test-AzFrontDoorCdnProfileMigration.md
@@ -12,7 +12,7 @@ True Standard_AzureFrontDoor {}
Checks if a classic AFD instance can be migrated to Azure Front Door(Standard/Premium) profile.
-### Example 2: Checks if a classic AFD instance can be migrated to Azure Front Door(Standard/Premium) profile, when the subscription of the CDN profile is different from the local subscrition.
+### Example 2: Checks if a classic AFD instance can be migrated to Azure Front Door(Standard/Premium) profile, when the subscription of the CDN profile is different from the local subscription.
```powershell
Test-AzFrontDoorCdnProfileMigration -ResourceGroupName testrg -ClassicResourceReferenceId /subscriptions/testSubId01/resourcegroups/testrg/providers/Microsoft.Network/Frontdoors/frontdoorName -SubscriptionId testSubId01
```
@@ -23,5 +23,5 @@ CanMigrate DefaultSku Error
True Standard_AzureFrontDoor {}
```
-Checks if a classic AFD instance can be migrated to Azure Front Door(Standard/Premium) profile, when the subscription of the CDN profile is different from the local subscrition.
+Checks if a classic AFD instance can be migrated to Azure Front Door(Standard/Premium) profile, when the subscription of the CDN profile is different from the local subscription.
You need to set the value of the subscription parameter.
\ No newline at end of file
diff --git a/src/Cdn/Cdn.Autorest/examples/Update-AzFrontDoorCdnProfileSku.md b/src/Cdn/Cdn.Autorest/examples/Update-AzFrontDoorCdnProfileSku.md
index 38f66ac239ff..889bb81c0fac 100644
--- a/src/Cdn/Cdn.Autorest/examples/Update-AzFrontDoorCdnProfileSku.md
+++ b/src/Cdn/Cdn.Autorest/examples/Update-AzFrontDoorCdnProfileSku.md
@@ -29,7 +29,7 @@ Global profileName frontdoor rgName
When a CDN profile associated with WAF and copy to a new WAF policy, the subscription and resource group of the new WAF policy should be same with the profile's.
Upgrade a profile from Standard_AzureFrontDoor to Premium_AzureFrontDoor.
-### Example 2: When the CDN profile associated with WAF and select an exsting WAF policy...
+### Example 2: When the CDN profile associated with WAF and select an existing WAF policy...
```powershell
$waf1 = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf1 -ChangeToWafPolicyId /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgtest01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/existingWAFName1
$waf2 = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf2 -ChangeToWafPolicyId /subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourcegroups/rgtest02/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/existingWAFName2
@@ -44,10 +44,10 @@ Location Name Kind ResourceGroupName
Global profileName frontdoor rgName
```
-When the CDN profile associated with WAF and select an exsting WAF policy, you could only select the WAF policy located in the same subscription with the profile's.
+When the CDN profile associated with WAF and select an existing WAF policy, you could only select the WAF policy located in the same subscription with the profile's.
Upgrade a profile from Standard_AzureFrontDoor to Premium_AzureFrontDoor.
-### Example 4: A CDN profile associated with WAF, when the subscription of the profile is different from the local subscrition
+### Example 4: A CDN profile associated with WAF, when the subscription of the profile is different from the local subscription
```powershell
$waf = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName waf -ChangeToWafPolicyId /subscriptions/testSubId01/resourcegroups/rgtest01/providers/Microsoft.Network/frontdoorwebapplicationfirewallpolicies/ExistingPremiumWAFName
$upgrade = New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList $waf
@@ -62,4 +62,4 @@ Global profileName frontdoor rgName
```
-A CDN profile associated with WAF, when the subscription of the profile is different from the local subscrition.
\ No newline at end of file
+A CDN profile associated with WAF, when the subscription of the profile is different from the local subscription.
\ No newline at end of file
diff --git a/src/Cdn/Cdn.Autorest/test/Remove-AzFrontDoorCdnSecurityPolicy.Tests.ps1 b/src/Cdn/Cdn.Autorest/test/Remove-AzFrontDoorCdnSecurityPolicy.Tests.ps1
index 9a2edb29f133..c970d493d1e2 100644
--- a/src/Cdn/Cdn.Autorest/test/Remove-AzFrontDoorCdnSecurityPolicy.Tests.ps1
+++ b/src/Cdn/Cdn.Autorest/test/Remove-AzFrontDoorCdnSecurityPolicy.Tests.ps1
@@ -32,7 +32,7 @@ Describe 'Remove-AzFrontDoorCdnSecurityPolicy' {
New-AzFrontDoorCdnSecurityPolicy -Name $policyName -ProfileName $env.FrontDoorCdnProfileName -ResourceGroupName $env.ResourceGroupName -Parameter $parameter
Remove-AzFrontDoorCdnSecurityPolicy -ProfileName $env.FrontDoorCdnProfileName -ResourceGroupName $env.ResourceGroupName -Name $policyName
- Write-Host -ForegroundColor Green "Delete policName : $($policyName)"
+ Write-Host -ForegroundColor Green "Delete policyName : $($policyName)"
}
It 'DeleteViaIdentity' {
diff --git a/src/Cdn/Cdn.Autorest/test/Test-AzFrontDoorCdnEndpointCustomDomain.Recording.json b/src/Cdn/Cdn.Autorest/test/Test-AzFrontDoorCdnEndpointCustomDomain.Recording.json
index 7675ff2c2526..edd590b9e310 100644
--- a/src/Cdn/Cdn.Autorest/test/Test-AzFrontDoorCdnEndpointCustomDomain.Recording.json
+++ b/src/Cdn/Cdn.Autorest/test/Test-AzFrontDoorCdnEndpointCustomDomain.Recording.json
@@ -34,7 +34,7 @@
"Content-Type": [ "application/json; charset=utf-8" ],
"Expires": [ "-1" ]
},
- "Content": "{\"customDomainValidated\":false,\"reason\":\"NotExist\",\"message\":\"Custom domain dose not exist in the profile. Please make sure the domain exsits in the profile.\"}",
+ "Content": "{\"customDomainValidated\":false,\"reason\":\"NotExist\",\"message\":\"Custom domain dose not exist in the profile. Please make sure the domain exists in the profile.\"}",
"isContentBase64": false
}
},
@@ -116,7 +116,7 @@
"Content-Type": [ "application/json; charset=utf-8" ],
"Expires": [ "-1" ]
},
- "Content": "{\"customDomainValidated\":false,\"reason\":\"NotExist\",\"message\":\"Custom domain dose not exist in the profile. Please make sure the domain exsits in the profile.\"}",
+ "Content": "{\"customDomainValidated\":false,\"reason\":\"NotExist\",\"message\":\"Custom domain dose not exist in the profile. Please make sure the domain exists in the profile.\"}",
"isContentBase64": false
}
}
diff --git a/src/Cdn/Cdn.Autorest/test/utils.ps1 b/src/Cdn/Cdn.Autorest/test/utils.ps1
index 5b48daec1cd1..0c9461d86fbf 100644
--- a/src/Cdn/Cdn.Autorest/test/utils.ps1
+++ b/src/Cdn/Cdn.Autorest/test/utils.ps1
@@ -70,7 +70,7 @@ function setupEnv() {
Name = "origin1"
HostName = "host1.hello.com"
};
- Write-Host -ForegroundColor Green "Start to creat endpointName : $($verizonEndpointName), origin.Name : $($origin.Name), origin.HostName : $($origin.HostName)"
+ Write-Host -ForegroundColor Green "Start to create endpointName : $($verizonEndpointName), origin.Name : $($origin.Name), origin.HostName : $($origin.HostName)"
New-AzCdnEndpoint -Name $verizonEndpointName -ResourceGroupName $resourceGroupName -ProfileName $verizonCdnProfileName -IsHttpAllowed -IsHttpsAllowed `
-Location $env.location -Origin $origin -IsCompressionEnabled -ContentTypesToCompress "text/html","text/css" `
-OriginHostHeader "www.bing.com" -OriginPath "/photos" -QueryStringCachingBehavior "IgnoreQueryString" | Out-Null
@@ -88,7 +88,7 @@ function setupEnv() {
# DNA mapping use DNS Zone resource: ps.cdne2e.azfdtest.xyz
# Add RecordSets in 'DNS Management' blade:
# Name: ps-2024-0901-domain010
- # Tyep: CName
+ # Type: CName
# Alias Record Set: No
# Alias: ps-2024-0901-domain010.azureedge.net
$classicCdnEndpointName = 'ps-2024-0901-domain010'