Skip to content

Spelling Fixes #28052

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Fabric/Fabric.Autorest/test/common.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function Validate_Capacity_Exists_In_Array{

function Validate_Capacity_Skus{
Param ([Object]$CapacitySkus)
foreach ($capacitySku in $CapacitiySkus) {
foreach ($capacitySku in $CapacitySkus) {
$capacitySku.ResourceType | Should -Be "Microsoft.Fabric/capacities"
$capacitySku.SkuTier | Should -Be $env.SkuTier
@("F2", "F4", "F8", "F16", "F32", "F64", "F128", "F256", "F512", "F1024", "F2048") | Should -Contain $capacitySku.SkuName
Expand Down
2 changes: 1 addition & 1 deletion src/Fabric/Fabric.Autorest/test/utils.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function setupEnv() {
$updatedParams | Set-Content -Path $templateParametersFilePath

# Deploy
Write-Output "Deploying the temaplte file $templateFilePath to resource group $($env.ResourceGroupName) ..."
Write-Output "Deploying the template file $templateFilePath to resource group $($env.ResourceGroupName) ..."
New-AzDeployment -Mode Incremental -TemplateFile $templateFilePath -TemplateParameterFile $templateParametersFilePath -ResourceGroupName $env.ResourceGroupName
Write-Output "Deployment complete with provisioning state: " $deploymentResult.ProvisioningState

Expand Down
2 changes: 1 addition & 1 deletion src/Fleet/Fleet.Autorest/test/utils.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function setupEnv() {
}

$createKubernetesVersion = '1.27.7'
# create default version 1.27.7, cluster upgrading will block the removation of memeber
# create default version 1.27.7, cluster upgrading will block the removal of member
$env.UpgradeKubernetesVersion = '1.27.7'
$clusterName11 = 'FleetCluster11'
$clusterName12 = 'FleetCluster12'
Expand Down
6 changes: 3 additions & 3 deletions src/FrontDoor/FrontDoor/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
* Added Private link support for Storage, Keyvault and Web App Service resources

## Version 1.5.0
* Added new cmdlets for creation, update, retreival, and deletion of Front Door Rules Engine object
* Added new cmdlets for creation, update, retrieval, and deletion of Front Door Rules Engine object
* Added helper cmdlets for construction of Front Door Rules Engine object
* Added Rules Engine reference to Front Door Routing Rule object.
* Added Private Link parameters to Front Door Backend object
Expand All @@ -74,7 +74,7 @@
## Version 1.2.0
* Add MinimumTlsVersion parameter to Enable-AzFrontDoorCustomDomainHttps and New-AzFrontDoorFrontendEndpointObject
* Add HealthProbeMethod and EnabledState parameters to New-AzFrontDoorHealthProbeSettingObject
* Add new cmdlet to create BackendPoolsSettings objec to pass into creation/update of Front Door
* Add new cmdlet to create BackendPoolsSettings object to pass into creation/update of Front Door
- New-AzFrontDoorBackendPoolsSettingObject

## Version 1.1.2
Expand Down Expand Up @@ -105,7 +105,7 @@

## Version 0.7.3
* Configure redirect routing rule.
* Enable/Disable cetificate name check for backend pools
* Enable/Disable certificate name check for backend pools
* Modify WAF policy cmdlets to implement new swagger
- Adds new managed rule sets capabilities
- Adds redirect action
Expand Down
4 changes: 2 additions & 2 deletions src/FrontDoor/FrontDoor/Cmdlets/SetFrontDoor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ public override void ExecuteCmdlet()
{
updateParameters.BackendPoolsSetting.EnforceCertificateNameCheck = DisableCertificateNameCheck ? PSEnabledState.Disabled : PSEnabledState.Enabled;
// PSFrontDoor parameter EnforceCertificateNameCheck is no longer used to update Front Door, in favor of BackendPoolsSetting which
// encapsulates this property. However, for backwards compability, we set this field so that it is still displayed to users.
// encapsulates this property. However, for backwards compatibility, we set this field so that it is still displayed to users.
updateParameters.EnforceCertificateNameCheck = (PSEnforceCertificateNameCheck)updateParameters.BackendPoolsSetting.EnforceCertificateNameCheck;
}

Expand All @@ -217,7 +217,7 @@ public override void ExecuteCmdlet()
{
updateParameters.BackendPoolsSetting = BackendPoolsSetting;
// PSFrontDoor parameter EnforceCertificateNameCheck is no longer used to update Front Door, in favor of BackendPoolsSetting which
// encapsulates this property. However, for backwards compability, we set this field so that it is still displayed to users.
// encapsulates this property. However, for backwards compatibility, we set this field so that it is still displayed to users.
updateParameters.EnforceCertificateNameCheck = (PSEnforceCertificateNameCheck)updateParameters.BackendPoolsSetting.EnforceCertificateNameCheck;
}

Expand Down
2 changes: 1 addition & 1 deletion src/FrontDoor/FrontDoor/Helpers/ModelExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public static PSFrontDoor ToPSFrontDoor(this SdkFrontDoor sdkFrontDoor)
ProvisioningState = sdkFrontDoor.ProvisioningState,
BackendPoolsSetting = sdkFrontDoor.BackendPoolsSettings?.ToPSBackendPoolsSetting(),
// PSFrontDoor parameter EnforceCertificateNameCheck is no longer actively used, in favor of BackendPoolsSetting which
// encapsulates this property. However, for backwards compability, we set this field so that it is still displayed to users.
// encapsulates this property. However, for backwards compatibility, we set this field so that it is still displayed to users.
EnforceCertificateNameCheck = sdkFrontDoor.BackendPoolsSettings == null
? (PSEnforceCertificateNameCheck?)null
: (PSEnforceCertificateNameCheck)Enum.Parse(typeof(PSEnforceCertificateNameCheck), sdkFrontDoor.BackendPoolsSettings.EnforceCertificateNameCheck),
Expand Down
2 changes: 1 addition & 1 deletion src/Functions/Functions.Autorest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ directive:
where: $..produces
#transform: $ = $.filter( each => each === 'application/json');
transform: $ = ["application/json"];
reason: this spec adds produces application/xml and text/json erronously.
reason: this spec adds produces application/xml and text/json erroneously.
- where:
subject: Operation
hide: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function Get-AzFunctionAppAvailableLocation {

RegisterFunctionsTabCompleters

# Remove bound parameters from the dictionary that cannot be process by the intenal cmdlets
# Remove bound parameters from the dictionary that cannot be process by the internal cmdlets
$paramsToRemove = @(
"OSType",
"PlanType"
Expand Down
8 changes: 4 additions & 4 deletions src/Functions/Functions.Autorest/custom/HelperFunctions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1637,9 +1637,9 @@ function GetAzWebAppConfig

if ((-not $webAppConfig) -and $ErrorIfResultIsNull)
{
$errorMessage = "Falied to get config for function app name '$Name' in resource group name '$ResourceGroupName'."
$errorMessage = "Failed to get config for function app name '$Name' in resource group name '$ResourceGroupName'."
$exception = [System.InvalidOperationException]::New($errorMessage)
ThrowTerminatingError -ErrorId "FaliedToGetFunctionAppConfig" `
ThrowTerminatingError -ErrorId "FailedToGetFunctionAppConfig" `
-ErrorMessage $errorMessage `
-ErrorCategory ([System.Management.Automation.ErrorCategory]::InvalidOperation) `
-Exception $exception
Expand Down Expand Up @@ -1942,12 +1942,12 @@ function ParseMinorVersion
if ($RuntimeSettings.supportedFunctionsExtensionVersions -notcontains "~$DefaultFunctionsVersion")
{
$supportedFunctionsExtensionVersions = $RuntimeSettings.supportedFunctionsExtensionVersions -join ", "
Write-Debug "$DEBUG_PREFIX Minimium required Functions version '$DefaultFunctionsVersion' is not supported. Runtime supported Functions versions: $supportedFunctionsExtensionVersions. Skipping..."
Write-Debug "$DEBUG_PREFIX Minimum required Functions version '$DefaultFunctionsVersion' is not supported. Runtime supported Functions versions: $supportedFunctionsExtensionVersions. Skipping..."
return
}
else
{
Write-Debug "$DEBUG_PREFIX Minimium required Functions version '$DefaultFunctionsVersion' is supported."
Write-Debug "$DEBUG_PREFIX Minimum required Functions version '$DefaultFunctionsVersion' is supported."
}

$runtimeName = GetRuntimeName -AppSettingsDictionary $RuntimeSettings.AppSettingsDictionary
Expand Down
4 changes: 2 additions & 2 deletions src/Functions/Functions.Autorest/custom/New-AzFunctionApp.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ function New-AzFunctionApp {

RegisterFunctionsTabCompleters

# Remove bound parameters from the dictionary that cannot be process by the intenal cmdlets.
# Remove bound parameters from the dictionary that cannot be process by the internal cmdlets.
$paramsToRemove = @(
"StorageAccountName",
"ApplicationInsightsName",
Expand Down Expand Up @@ -600,7 +600,7 @@ function New-AzFunctionApp {

if ($IdentityType -eq "UserAssigned")
{
# Set UserAssigned managed identiy
# Set UserAssigned managed identity
if (-not $IdentityID)
{
$errorMessage = "IdentityID is required for UserAssigned identity"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ function New-AzFunctionAppPlan {

RegisterFunctionsTabCompleters

# Remove bound parameters from the dictionary that cannot be process by the intenal cmdlets.
# Remove bound parameters from the dictionary that cannot be process by the internal cmdlets.
foreach ($paramName in @("Sku", "WorkerType", "MaximumWorkerCount", "MinimumWorkerCount", "Location", "Tag"))
{
if ($PSBoundParameters.ContainsKey($paramName))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function Remove-AzFunctionApp {
{
if ($Force.IsPresent -or $PsCmdlet.ShouldContinue("Delete function app '$Name'? This operation cannot be undone. Are you sure?", "Deleting function app"))
{
# Remove bound parameters from the dictionary that cannot be process by the intenal cmdlets
# Remove bound parameters from the dictionary that cannot be process by the internal cmdlets
if ($PSBoundParameters.ContainsKey("Force"))
{
$PSBoundParameters.Remove("Force") | Out-Null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function Remove-AzFunctionAppPlan {
{
if ($Force.IsPresent -or $PsCmdlet.ShouldContinue("Delete function app plan '$Name'? This operation cannot be undone. Are you sure?", "Deleting function app plan"))
{
# Remove bound parameters from the dictionary that cannot be process by the intenal cmdlets
# Remove bound parameters from the dictionary that cannot be process by the internal cmdlets
if ($PSBoundParameters.ContainsKey("Force"))
{
$PSBoundParameters.Remove("Force") | Out-Null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function Remove-AzFunctionAppSetting {

RegisterFunctionsTabCompleters

# Remove bound parameters from the dictionary that cannot be process by the intenal cmdlets
# Remove bound parameters from the dictionary that cannot be process by the internal cmdlets
$paramsToRemove = @(
"AppSettingName"
"Force"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function Restart-AzFunctionApp {
{
if ($Force.IsPresent -or $PsCmdlet.ShouldContinue("Restart function app '$Name'?", "Restarting function app"))
{
# Remove bound parameters from the dictionary that cannot be process by the intenal cmdlets
# Remove bound parameters from the dictionary that cannot be process by the internal cmdlets
if ($PSBoundParameters.ContainsKey("Force"))
{
$PSBoundParameters.Remove("Force") | Out-Null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function Stop-AzFunctionApp {
{
if ($Force.IsPresent -or $PsCmdlet.ShouldContinue("Stop function app '$Name'?", "Stopping function app"))
{
# Remove bound parameters from the dictionary that cannot be process by the intenal cmdlets.
# Remove bound parameters from the dictionary that cannot be process by the internal cmdlets.
if ($PSBoundParameters.ContainsKey("Force"))
{
$PSBoundParameters.Remove("Force") | Out-Null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ function Update-AzFunctionApp {

RegisterFunctionsTabCompleters

# Remove bound parameters from the dictionary that cannot be process by the intenal cmdlets.
# Remove bound parameters from the dictionary that cannot be process by the internal cmdlets.
$paramsToRemove = @(
"PlanName",
"ApplicationInsightsName",
Expand Down Expand Up @@ -332,7 +332,7 @@ function Update-AzFunctionApp {
{
if ($Force.IsPresent -or $PsCmdlet.ShouldContinue("Update function app '$Name'?", "Updating function app"))
{
# Remove bound parameters from the dictionary that cannot be process by the intenal cmdlets
# Remove bound parameters from the dictionary that cannot be process by the internal cmdlets
if ($PSBoundParameters.ContainsKey("Force"))
{
$PSBoundParameters.Remove("Force") | Out-Null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ function Update-AzFunctionAppPlan {

RegisterFunctionsTabCompleters

# Remove bound parameters from the dictionary that cannot be process by the intenal cmdlets.
# Remove bound parameters from the dictionary that cannot be process by the internal cmdlets.
foreach ($paramName in @("Sku", "MaximumWorkerCount", "MinimumWorkerCount", "Tag"))
{
if ($PSBoundParameters.ContainsKey($paramName))
Expand Down Expand Up @@ -170,7 +170,7 @@ function Update-AzFunctionAppPlan {
# Make sure the plan is a 'ElasticPremium'
if ($existingPlan.SkuTier -ne "ElasticPremium")
{
$errorMessage = "Only ElasticPremium sku is suported when updating a function app plan. Current plan sku is: $($existingPlan.SkuTier)."
$errorMessage = "Only ElasticPremium sku is supported when updating a function app plan. Current plan sku is: $($existingPlan.SkuTier)."
$exception = [System.InvalidOperationException]::New($errorMessage)
ThrowTerminatingError -ErrorId "InvalidPlanSku" `
-ErrorMessage $errorMessage `
Expand Down Expand Up @@ -255,7 +255,7 @@ function Update-AzFunctionAppPlan {
{
if ($Force.IsPresent -or $PsCmdlet.ShouldContinue("Update function app plan '$Name'?", "Updating function app plan"))
{
# Remove bound parameters from the dictionary that cannot be process by the intenal cmdlets
# Remove bound parameters from the dictionary that cannot be process by the internal cmdlets
if ($PSBoundParameters.ContainsKey("Force"))
{
$PSBoundParameters.Remove("Force") | Out-Null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function Update-AzFunctionAppSetting {

RegisterFunctionsTabCompleters

# Remove bound parameters from the dictionary that cannot be process by the intenal cmdlets
# Remove bound parameters from the dictionary that cannot be process by the internal cmdlets
$paramsToRemove = @(
"AppSetting"
"Force"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ Describe 'New-AzFunctionApp' {
}
}

It "Create Windows Consumption app and validiate app properties: 1) Location 2) App settings 3) Connection string suffix" {
It "Create Windows Consumption app and validate app properties: 1) Location 2) App settings 3) Connection string suffix" {

# Validate the following:
# - Location parameter supports passing a region with no spaces, e.g., `centralus` for Central US.
Expand Down Expand Up @@ -463,7 +463,7 @@ Describe 'New-AzFunctionApp' {

It "Creating a function app with 'UserAssigned' managed identity should throw if IdentityID is not provided " {

# Make sure user identiy is available
# Make sure user identity is available
$expetedErrorId = "IdentityIDIsRequiredForUserAssignedIdentity"

$functionName = $env.functionNamePowerShell
Expand Down
2 changes: 1 addition & 1 deletion src/Functions/Functions.Autorest/test/utils.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ $env = @{}
function setupEnv() {

# Set the test mode for the Az.Functions module
# This is requried to support playback mode (given that we need to have the same values in teh payload for each function app creation)
# This is required to support playback mode (given that we need to have the same values in teh payload for each function app creation)
# Currently this flag is used to have a constant share name when creation an app
$env:FunctionsTestMode = $true

Expand Down
2 changes: 1 addition & 1 deletion src/Functions/Functions/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
## Version 4.0.7
* Used ARM API to get Stacks information for Functions [#14682]
* Removed support to create v3 function apps (Functions v3 has reached EOL) [#20838]
* Removeed Preview flag for Java 17 function apps [#20009]
* Removed Preview flag for Java 17 function apps [#20009]
* Added support to create dotnet-isolated apps [#16349]
* Added support for custom handler [#12542]
* Redacted appsettings output on Get-AzFunctionApp and Update-AzFunctionAppSetting [#23241]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function TransformPSBoundParameters{
$PSBoundParameters.Add("VmssName", $Matches.vmssName)
$PSBoundParameters.Add("Name", $Matches.guestConfigurationAssignmentName)
}else {
throw "Unrecogized InputObject"
throw "Unrecognized InputObject"
}
$null = $PSBoundParameters.Remove("InputObject")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Test-AzGuestConfigurationAssi
}

Describe 'Test-AzGuestConfigurationAssignmentByHcrp' {
# No ARC marchine to test
# No ARC machine to test
It 'CreateExpanded' -skip{
New-AzGuestConfigurationAssignment -GuestConfigurationAssignmentName $env.assignmentName -ResourceGroupName $env.resourcegroupName -MachineName "test" -GuestConfigurationName $env.guestConfigName -GuestConfigurationVersion "1.0.0.3" -GuestConfigurationContentUri "https://thisisfake/package" -GuestConfigurationContentHash "123contenthash"
Get-AzGuestConfigurationAssignment -ResourceGroupName $env.resourcegroupName -MachineName "test"
Expand Down
2 changes: 1 addition & 1 deletion src/GuestConfiguration/GuestConfiguration/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

## Version 0.10.6
* Fixed the inconsistency of compliance status reporting when Policy is non-compliant due to parameter updates scenario.
* Quering data from PolicyInsights RP to get the updated compliance status.
* Querying data from PolicyInsights RP to get the updated compliance status.

## Version 0.10.5
- Fixed cmdlets failure when a subscription has an incorrect format initiative definition for GuestConfiguration category.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ function New-AzSapMonitorProviderInstance {
hanaDbName = $HanaDatabaseName
hanaDbSqlPort = $HanaDatabaseSqlPort
hanaDbUsername = $HanaDatabaseUsername
# To suppport descryption accross different platforms and PowerShell versions, we implement a script Unprotect-SecureString.ps1
# to convert securesting to plaintext
# To support descryption across different platforms and PowerShell versions, we implement a script Unprotect-SecureString.ps1
Copy link
Preview

Copilot AI Jun 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct the spelling of 'descryption' to 'decryption' in the comment.

Suggested change
# To support descryption across different platforms and PowerShell versions, we implement a script Unprotect-SecureString.ps1
# To support decryption across different platforms and PowerShell versions, we implement a script Unprotect-SecureString.ps1

Copilot uses AI. Check for mistakes.

# to convert securestring to plaintext
hanaDbPassword = . "$PSScriptRoot/../utils/Unprotect-SecureString.ps1" $HanaDatabasePassword
}
}
Expand Down
Loading