Skip to content

Spelling Fixes #28073

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

Closed
wants to merge 1 commit into from
Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Creates a role eligibility schedule request.

## EXAMPLES

### Example 1: Create a new role eligibile schedule request as Admin
### Example 1: Create a new role eligible schedule request as Admin
```powershell
$guid = "12f8978c-5d8d-4fbf-b4b6-2f43eeb43eca"
$startTime = Get-Date -Format o
Expand All @@ -43,7 +43,7 @@ Name Type

Creates a request to provision an eligible assignment of `roleDefinition` on the `scope` for the specified `principal`

### Example 2: Remove a role eligibile schedule request as Admin
### Example 2: Remove a role eligible schedule request as Admin
```powershell
$guid = "13f8978c-5d8d-4fbf-b4b6-2f43eeb43eca"
$startTime = Get-Date -Format o
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### Example 1: Create a new role eligibile schedule request as Admin
### Example 1: Create a new role eligible schedule request as Admin
```powershell
$guid = "12f8978c-5d8d-4fbf-b4b6-2f43eeb43eca"
$startTime = Get-Date -Format o
Expand All @@ -14,7 +14,7 @@ Name Type

Creates a request to provision an eligible assignment of `roleDefinition` on the `scope` for the specified `principal`

### Example 2: Remove a role eligibile schedule request as Admin
### Example 2: Remove a role eligible schedule request as Admin
```powershell
$guid = "13f8978c-5d8d-4fbf-b4b6-2f43eeb43eca"
$startTime = Get-Date -Format o
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/MSGraph.Autorest/custom/Update-AzADUser.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function Update-AzADUser {
[SecureString]
# The password for the user. This property is required when a user is created.
# It can be updated, but the user will be required to change the password on the next login.
# The password must satisfy minimum requirements as speci./fied by the user's passwordPolicies property.
# The password must satisfy minimum requirements as specified by the user's passwordPolicies property.
# By default, a strong password is required. When changing the password using this method, AccountEnabled is set to true.
${Password},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ Create service principal with existing application
New-AzADServicePrincipal -DisplayName $name
```

Create application with display name and associated new service pincipal with it
Create application with display name and associated new service principal with it

## PARAMETERS

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Remove-AzADGroupOwner -GroupId $groupId -OwnerId $ownerId

Unassign an owner for a group.
Notice: 1.this cmdlet does not delete the owner directory object.
2.a group does not have a onwer by default, but has to have at least one owner once had one.
2.a group does not have a owner by default, but has to have at least one owner once had one.

## PARAMETERS

Expand Down
2 changes: 1 addition & 1 deletion src/Resources/MSGraph.Autorest/docs/Update-AzADUser.md
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ This property is required when a user is created.

It can be updated, but the user will be required to change the password on the next login.

The password must satisfy minimum requirements as speci./fied by the user's passwordPolicies property.
The password must satisfy minimum requirements as specified by the user's passwordPolicies property.
By default, a strong password is required.
When changing the password using this method, AccountEnabled is set to true.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ Create service principal with existing application
New-AzADServicePrincipal -DisplayName $name
```

Create application with display name and associated new service pincipal with it
Create application with display name and associated new service principal with it
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ $ownerId = (Get-AzADGroupOwner -GroupId $groupId)[0].Id
Remove-AzADGroupOwner -GroupId $groupId -OwnerId $ownerId
```

Unassign an owner for a group. Notice: 1.this cmdlet does not delete the owner directory object. 2.a group does not have a onwer by default, but has to have at least one owner once had one.
Unassign an owner for a group. Notice: 1.this cmdlet does not delete the owner directory object. 2.a group does not have a owner by default, but has to have at least one owner once had one.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ DynamicParam
Write-Host -ForegroundColor Cyan "begin:New-AzPolicyAssignment(" $PSBoundParameters ") - (ParameterSet: $($PSCmdlet.ParameterSetName))"
}

# generate dynamic parameters for assignement based on the policy definition being assigned
# generate dynamic parameters for assignment based on the policy definition being assigned
if ($PolicyDefinition)
{
$parameters = [PSObject]$PolicyDefinition.Parameter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ process {
Write-Host -ForegroundColor Cyan "process:New-AzPolicyExemption(" $PSBoundParameters ") - (ParameterSet: $($PSCmdlet.ParameterSetName))"
}

# remomve $null and empty values to avoid validation failures on pipeline input
# remove $null and empty values to avoid validation failures on pipeline input
$calledParameters = @{}
foreach ($parameterName in $PSBoundParameters.Keys) {
$value = $PSBoundParameters.($parameterName)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Describe 'AssignmentOverride' -Tag 'LiveOnly' {
$remove = ($assignment | Remove-AzPolicyAssignment -PassThru) -and $remove
}

# remove the policy defintion
# remove the policy definition
$remove = (Remove-AzPolicyDefinition -Name $policyDefName -Force -PassThru) -and $remove

# validate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Describe 'AssignmentResourceSelector' -Tag 'LiveOnly' {
$remove = ($assignment | Remove-AzPolicyAssignment -PassThru) -and $remove
}

# remove the policy defintion
# remove the policy definition
$remove = (Remove-AzPolicyDefinition -Name $policyDefName -Force -PassThru) -and $remove

# validate
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/Policy.Autorest/test/Common.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ param ($TargetTestName)

Write-Host -ForegroundColor DarkGreen "Loading Current.ps1 with TestName=[$($TestName)] and TargetTestName=[$($TargetTestName)]"

# The below initialization is only peformed following these rules:
# The below initialization is only performed following these rules:
# if $TargetTestName is provided, we will set up the test environment for that named test if
# the current test ($TestName) matches the named target test or
# there is no current test, which means all tests are being performed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Describe 'ExemptionResourceSelector' -Tag 'LiveOnly' {
$remove = ($assignment | Remove-AzPolicyAssignment -PassThru) -and $remove
}

# remove the policy defintion
# remove the policy definition
$remove = (Remove-AzPolicyDefinition -Name $policyDefName -Force -PassThru) -and $remove

# validate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Describe 'PolicyObjectPiping' {
$updatedDescription | Should -Be $expected.Description
}

It 'Update policy assignment from pipline and command line' {
It 'Update policy assignment from pipeline and command line' {
# update the policy assignment
$actual = Get-AzPolicyAssignment -Name $policyAssName -Scope $rgScope | Update-AzPolicyAssignment -Description $updatedDescription
$expected = Get-AzPolicyAssignment -Name $policyAssName -Scope $rgScope
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/ResourceManager/Components/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public static class Constants
public static readonly string DefaultApiVersion = "2015-01-01";

/// <summary>
/// The default appliction API version.
/// The default application API version.
/// </summary>
public static readonly string ApplicationApiVersion = "2017-09-01";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components
public class HttpClientHelperFactory
{
/// <summary>
/// Gets an instance of the facotry.
/// Gets an instance of the factory.
/// </summary>
public static HttpClientHelperFactory Instance { get; internal set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public static PackagedTemplate Pack(string rootTemplateFilePath)

public static PackagedTemplate PackBicep(string filePath, Action<string> writeVerbose, Action<string> writeWarning)
{
// Complex packaging is unneccessary for Bicep because it doesn't support usage of 'relativePath'.
// Complex packaging is unnecessary for Bicep because it doesn't support usage of 'relativePath'.
var templateJson = BicepUtility.Create().BuildBicepFile(filePath, msg => writeVerbose(msg), msg => writeWarning(msg));

return new PackagedTemplate
Expand Down Expand Up @@ -160,7 +160,7 @@ private static void PackArtifacts(
}

// Let's make sure we're not referencing a file outside of our root directory
// heirarchy. We won't allow such references for security purposes:
// hierarchy. We won't allow such references for security purposes:

if (!absoluteLocalPath.StartsWith(
context.RootTemplateDirectory + Path.DirectorySeparatorChar,
Expand Down Expand Up @@ -247,7 +247,7 @@ public static void Unpack(
{
throw new InvalidOperationException(
$"Unable to unpack artifact '{artifact.Path}' because it would create a file " +
$"outside of the target directory heirarchy of '{targetDirectory}'");
$"outside of the target directory hierarchy of '{targetDirectory}'");
}
}

Expand Down Expand Up @@ -388,7 +388,7 @@ private static string AbsoluteToRelativePath(
rootDirectoryPath = rootDirectoryPath
.TrimEnd(Path.DirectorySeparatorChar, Path.AltDirectorySeparatorChar);

// Ensure we have a trailing seperator
// Ensure we have a trailing separator
rootDirectoryPath += Path.DirectorySeparatorChar;

// Note: We use Path.GetFullPath to ensure the paths are normalized...
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,13 +190,13 @@ protected override void OnBeginProcessing()
/// <summary>
/// Attempts to load dynamic parameters from populated template/template parameter properties.
/// Runs on every tab complete and before processing on execution.
/// It will silently fail (exception is caught and not visible to user) until required properties are popluated.
/// It will silently fail (exception is caught and not visible to user) until required properties are populated.
/// </summary>
public new virtual object GetDynamicParameters()
{
var isBicepParamFile = BicepUtility.IsBicepparamFile(TemplateParameterFile);

// Ensure required properties are populated for dynamic parameter extration:
// Ensure required properties are populated for dynamic parameter extraction:
DynamicParameterValidityCheck(isBicepParamFile);

if (isBicepParamFile)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,13 +184,13 @@ protected override void OnBeginProcessing()
/// <summary>
/// Attempts to load dynamic parameters from populated template/template parameter properties.
/// Runs on every tab complete and before processing on execution.
/// It will silently fail (exception is caught and not visible to user) until required properties are popluated.
/// It will silently fail (exception is caught and not visible to user) until required properties are populated.
/// </summary>
public new virtual object GetDynamicParameters()
{
var isBicepParamFile = BicepUtility.IsBicepparamFile(TemplateParameterFile);

// Ensure required properties are populated for dynamic parameter extration:
// Ensure required properties are populated for dynamic parameter extraction:
DynamicParameterValidityCheck(isBicepParamFile);

if (isBicepParamFile)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation
public class GetAzureResourceLockCmdlet : ResourceLockManagementCmdletBase
{
/// <summary>
/// Contains the errors that encountered while satifying the request.
/// Contains the errors that encountered while satisfying the request.
/// </summary>
private readonly ConcurrentBag<ErrorRecord> errors = new ConcurrentBag<ErrorRecord>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public abstract class ResourceLockManagementCmdletBase : ResourceManagerCmdletBa
internal const string SubscriptionResourceLevelLock = "BySubscriptionLevel";

/// <summary>
/// The resource group lock parametere set.
/// The resource group lock parameter set.
/// </summary>
internal const string ResourceGroupLevelLock = "ByResourceGroup";

Expand All @@ -61,7 +61,7 @@ public abstract class ResourceLockManagementCmdletBase : ResourceManagerCmdletBa
/// <summary>
/// Gets or sets the scope.
/// </summary>
[Parameter(ParameterSetName = ResourceLockManagementCmdletBase.ScopeLevelLock, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The scope. e.g. to specify a database '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaserName}', to specify a resource group: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}'")]
[Parameter(ParameterSetName = ResourceLockManagementCmdletBase.ScopeLevelLock, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The scope. e.g. to specify a database '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}', to specify a resource group: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}'")]
[ValidateNotNullOrEmpty]
public string Scope { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public sealed class GetAzureResourceCmdlet : ResourceManagerCmdletBaseWithApiVer
public const string ByTagNameValueParameterSet = "ByTagNameValueParameterSet";

/// <summary>
/// Contains the errors that encountered while satifying the request.
/// Contains the errors that encountered while satisfying the request.
/// </summary>
private readonly ConcurrentBag<ErrorRecord> errors = new ConcurrentBag<ErrorRecord>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public override void ExecuteCmdlet()
}
catch
{
// Check if the user may have inadvertantly passed a file path using "-TemplateJson"
// Check if the user may have inadvertently passed a file path using "-TemplateJson"
// instead of using "-TemplateFile". If they did, display a warning message. Note we
// do not currently automatically switch to using a file in this case because if the
// JSON string is coming from an external script/source not authored directly by the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ public override void ExecuteCmdlet()
}
catch
{
// Check if the user may have inadvertantly passed a file path using "-TemplateJson"
// Check if the user may have inadvertently passed a file path using "-TemplateJson"
// instead of using "-TemplateFile". If they did, display a warning message. Note we
// do not currently automatically switch to using a file in this case because if the
// JSON string is coming from an external script/source not authored directly by the
Expand Down Expand Up @@ -309,7 +309,7 @@ public override void ExecuteCmdlet()
tags: Tag
);

// As the root template spec is a seperate resource type, it won't contain version
// As the root template spec is a separate resource type, it won't contain version
// details. To provide more information to the user, let's get the template spec
// with all of its version details:

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Resources/ResourceManager/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@
<value>The DeploymentDebug setting has been enabled. This can potentially log secrets like passwords used in resource property or listKeys operations when you retrieve the deployment operations through Get-AzResourceGroupDeploymentOperation</value>
</data>
<data name="InvalidRollbackParameters" xml:space="preserve">
<value>The paramater -RollbackToLastDeployment and -RollBackDeploymentName can't be defined at the same time.</value>
<value>The parameter -RollbackToLastDeployment and -RollBackDeploymentName can't be defined at the same time.</value>
</data>
<data name="InvalidDeploymentMode" xml:space="preserve">
<value>The 'Complete' mode is not supported for a deployment at the current scope. Please use 'Incremental' mode instead.</value>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ bool bypassStackOutOfSyncError
if (deleteResponse.Response.StatusCode == System.Net.HttpStatusCode.NoContent)
{
throw new PSArgumentException(
$"DeploymentStack '{name}' not found in the curent subscription scope."
$"DeploymentStack '{name}' not found in the current subscription scope."
);
}

Expand Down Expand Up @@ -843,7 +843,7 @@ bool bypassStackOutOfSyncError
BypassStackOutOfSyncError = bypassStackOutOfSyncError
};

// Evaulate Template:
// Evaluate Template:
if (templateSpec != null)
{
deploymentStackModel.TemplateLink = new DeploymentStacksTemplateLink
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ public virtual List<PSDeployment> FilterDeployments(FilterDeploymentOptions opti
}

/// <summary>
/// List deployments with fiter options.
/// List deployments with filter options.
/// </summary>
/// <param name="options">The filtering options</param>
private List<PSDeployment> ListDeployments(FilterDeploymentOptions options)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public static string ConstructTagsTable(Hashtable tags)
return resourcesTable.ToString();
}

// TODO: This function and the above tags contruction function could be combined into one function.
// TODO: This function and the above tags construction function could be combined into one function.
// Leaving for now to avoid introducing problems in existing code.
public static string ConstructTagsTableFromIDictionary(IDictionary<string, string> tags)
{
Expand Down
Loading
Loading