Skip to content

Commit c4bfd80

Browse files
authored
Spelling Fixes (Azure#27963)
1 parent dd7d9f5 commit c4bfd80

File tree

34 files changed

+71
-71
lines changed

34 files changed

+71
-71
lines changed

src/Billing/Consumption.Test/ScenarioTests/BudgetTests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ function Test-BudgetAtResourceGroupLevel
137137
Assert-AreEqual $budgetName $budgetSet1.Name
138138
Assert-AreEqual 1 $budgetSet1.Notification.Count
139139

140-
Write-Debug "Update the budget $budgetName with a second notificaiton $notificationKey when cost reaches a threshold of 150 percent of amount"
140+
Write-Debug "Update the budget $budgetName with a second notification $notificationKey when cost reaches a threshold of 150 percent of amount"
141141
$budgetSet2 = Set-AzConsumptionBudget -Name $budgetName -ResourceGroupName $resourceGroupName -NotificationKey $notificationKey2 -NotificationEnabled -NotificationThreshold 150 -ContactEmail johndoe@contoso.com,janesmith@contoso.com -ContactRole Owner,Reader,Contributor
142142
Assert-NotNull $budgetSet2
143143
Assert-AreEqual $budgetName $budgetSet2.Name

src/Billing/UsageAggregates/TestTheCmdLet.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ Connect-AzureRmAccount
77

88
Set-AzureRmSubscription -SubscriptionId $subscription
99

10-
$agggregate = get-UsageAggregates -ReportedStartTime "5/2/2015" -ReportedEndTime "5/5/2015"
10+
$aggregate = get-UsageAggregates -ReportedStartTime "5/2/2015" -ReportedEndTime "5/5/2015"
1111

12-
Write-Host $agggregate.NextLink
13-
Write-Host "Result count: " + $agggregate.UsageAggregations.Count
12+
Write-Host $aggregate.NextLink
13+
Write-Host "Result count: " + $aggregate.UsageAggregations.Count
1414

15-
$agggregate.UsageAggregations | ForEach-Object {
15+
$aggregate.UsageAggregations | ForEach-Object {
1616
Write-Host $_.Name
1717
}

src/BillingBenefits/BillingBenefits.Autorest/docs/Invoke-AzBillingBenefitsElevateSavingPlanOrder.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Name PrincipalId RoleDe
4242

4343
Elevate savings plan order
4444

45-
### Example 2: Elevate savings plan order via identiy
45+
### Example 2: Elevate savings plan order via identity
4646
```powershell
4747
$identity = @{
4848
SavingsPlanOrderId = "e45905d2-9207-4f24-8549-f615c203b49b"

src/BillingBenefits/BillingBenefits.Autorest/examples/Invoke-AzBillingBenefitsElevateSavingPlanOrder.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Name PrincipalId RoleDe
1111

1212
Elevate savings plan order
1313

14-
### Example 2: Elevate savings plan order via identiy
14+
### Example 2: Elevate savings plan order via identity
1515
```powershell
1616
$identity = @{
1717
SavingsPlanOrderId = "e45905d2-9207-4f24-8549-f615c203b49b"

src/Blueprint/Blueprint/Common/Utils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Blueprint.Common
2020
public class Utils
2121
{
2222
/// <summary>
23-
/// Get definition location. Either a subcscription or a management group.
23+
/// Get definition location. Either a subscription or a management group.
2424
/// </summary>
2525
/// <param name="scope"></param>
2626
/// <returns></returns>

src/Blueprint/Blueprint/Models/PSBlueprintAssignment.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class PSBlueprintAssignment : PSAzureResourceBase
3434
public PSAssignmentProvisioningState ProvisioningState {get; set; }
3535

3636
/// <summary>
37-
/// Create a PSBluprintAssignment object from an Assignment model.
37+
/// Create a PSBlueprintAssignment object from an Assignment model.
3838
/// </summary>
3939
/// <param name="assignment">Assignment object from which to create the PSBlueprintAssignment.</param>
4040
/// <returns>A new PSBlueprintAssignment object.</returns>

src/BotService/LiveTests/BotService.Autorest/TestLiveScenarios.disabled.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Invoke-LiveTestScenario -Name "Update bot service" -Description "Test Updating o
5555
Assert-AreEqual "bot" $actual.Kind
5656
}
5757

58-
Invoke-LiveTestScenario -Name "Remove bot servcie" -Description "Test Removing a bot service" -ScenarioScript `
58+
Invoke-LiveTestScenario -Name "Remove bot service" -Description "Test Removing a bot service" -ScenarioScript `
5959
{
6060
param ($rg)
6161

src/Cdn/Cdn.Autorest/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ directive:
6969
- ResponseBasedOriginErrorDetectionParameters
7070
# Both CDN and AFDX
7171
- HealthProbeParameters
72-
# Generate memory object as parameter of the cmelet.
72+
# Generate memory object as parameter of the cmdlet.
7373
- model-cmdlet:
7474
- model-name: ResourceReference
7575
cmdlet-name: New-AzCdnResourceReferenceObject
@@ -224,7 +224,7 @@ directive:
224224
cmdlet-name: New-AzCdnLoadParametersObject
225225
- model-name: MigrationEndpointMapping
226226
cmdlet-name: New-AzCdnMigrationEndpointMappingObject
227-
# AFDX profile LogScrubbing, need to rename the memory ojects, not sure how to rename a memory object currently.
227+
# AFDX profile LogScrubbing, need to rename the memory objects, not sure how to rename a memory object currently.
228228
- model-name: ProfileLogScrubbing
229229
cmdlet-name: New-AzFrontDoorCdnProfileLogScrubbingObject
230230
- model-name: ProfileScrubbingRules
@@ -278,7 +278,7 @@ directive:
278278
- where:
279279
verb: Set
280280
remove: true
281-
# Remove some cmdlets' ViaIdentity which are inconvinient to call
281+
# Remove some cmdlets' ViaIdentity which are inconvenient to call
282282
- where:
283283
variant: ^CheckViaIdentity$|^CheckViaIdentityExpanded$
284284
subject: ^NameAvailability$|^EndpointNameAvailability$

src/Cdn/Cdn.Autorest/custom/Start-AzFrontDoorCdnProfilePrepareMigration.ps1

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ function Start-AzFrontDoorCdnProfilePrepareMigration {
240240
}
241241

242242
# We should raise a complaint if the customer did not enable managed identity when they have BYOC enabled.
243-
# 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.
243+
# 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.
244244
if (($allPoliciesWithVault.count -gt 0) -and !($PSBoundParameters.ContainsKey('IdentityType')))
245245
{
246246
throw "IdentityType parameter should be provided when the front door has Customer Certificates."
@@ -269,7 +269,7 @@ function Start-AzFrontDoorCdnProfilePrepareMigration {
269269
}
270270
}
271271

272-
# Validate whether MigratedToId policy already exists in the subsrciption;
272+
# Validate whether MigratedToId policy already exists in the subscription;
273273
foreach ($policy in $wafPolicies) {
274274
$migrateToWafId = $policy.MigratedToId
275275
$migrateToWafArray = $policy.MigratedToId.split("/")
@@ -301,7 +301,7 @@ function Start-AzFrontDoorCdnProfilePrepareMigration {
301301
# No need to add this parameters here, cx may add this parameter when using this command.
302302
# $PSBoundParameters.Add('ErrorAction', 'Stop')
303303

304-
# Upgrade subcriptionId
304+
# Upgrade subscriptionId
305305
$PSBoundParameters['SubscriptionId'] = $subId
306306
Az.Cdn.internal\Move-AzCdnProfile @PSBoundParameters
307307

@@ -316,7 +316,7 @@ function Start-AzFrontDoorCdnProfilePrepareMigration {
316316

317317
# 1. Enable MSI: get "principalId" from RP
318318
$commandArgs = @{ ResourceGroupName = ${ResourceGroupName}; Name = ${ProfileName}; IdentityType = ${IdentityType}; ErrorAction = 'Stop'}
319-
if ($indentityType -ne "systemassigned") {
319+
if ($IdentityType -ne "systemassigned") {
320320
$commandArgs.Add('IdentityUserAssignedIdentity', ${IdentityUserAssignedIdentity})
321321
}
322322

@@ -359,7 +359,7 @@ function Start-AzFrontDoorCdnProfilePrepareMigration {
359359
Write-Host("Your have successfully granted managed identity to key vault.")
360360
}
361361
} else {
362-
Write-Debug("IdentityType paramter not provided and no BYOC for the current front door, skip Managed Identity step.")
362+
Write-Debug("IdentityType parameter not provided and no BYOC for the current front door, skip Managed Identity step.")
363363
}
364364

365365
Write-Host("The change need to be committed after this.")
@@ -502,7 +502,7 @@ function CreateNewWafPolicy {
502502
# Remove the null/empty property
503503
$validatedWafProperty = ValidateMigrationWafPolicyProperty -WafProperty $WafProperty
504504

505-
# New a waf policy, copied from the Migrtae
505+
# New a waf policy, copied from the Migrate
506506
New-AzFrontDoorWafPolicy -ResourceGroupName $ResourceGroupName -Name $Name -Sku $sku @validatedWafProperty | Out-Null
507507
}
508508

src/Cdn/Cdn.Autorest/custom/Update-AzFrontDoorCdnProfileSku.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,14 +176,14 @@ function Update-AzFrontDoorCdnProfileSku {
176176
Set-AzContext -Subscription ${SubscriptionId}
177177
}
178178

179-
# Validate the waf policy whether located in the same subscritpion as the profile.
179+
# Validate the waf policy whether located in the same subscription as the profile.
180180
$contextNew = Get-AzContext
181181
if ($contextNew.Subscription.Id -ne $changeToWafPolicySubId)
182182
{
183-
throw "The subscritpion of existing or created Premium WAF policy should be in the same subscription as the profile's."
183+
throw "The subscription of existing or created Premium WAF policy should be in the same subscription as the profile's."
184184
}
185185

186-
# 2. Validate whether the policy already exists in the subsrciption
186+
# 2. Validate whether the policy already exists in the subscription
187187
try {
188188
Get-AzFrontDoorWafPolicy -ResourceGroupName $changeToWafPolicyResourceGroup -Name $changeToWafPolicyName -ErrorAction Stop | Out-Null
189189
} catch {

0 commit comments

Comments
 (0)