Skip to content

Spelling Fixes #28093

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

Merged
merged 1 commit into from
Jul 4, 2025
Merged
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 @@ -148,7 +148,7 @@ public ServerRegistrationData UpdateServerRegistrationData(ServerRegistrationDat
}

/// <summary>
/// Waits for access propogation.
/// Waits for access propagation.
/// </summary>
public void Wait()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public override ServerRegistrationData Setup(
}

/// <summary>
/// Persisting the register server resource from clooud to the local service.
/// Persisting the register server resource from cloud to the local service.
/// </summary>
/// <param name="registeredServerResource">Registered Server Resource</param>
/// <param name="subscriptionId">Subscription Id</param>
Expand Down Expand Up @@ -340,7 +340,7 @@ public override bool Persist(RegisteredServer registeredServerResource, Guid sub
registrationInfo.ApplicationId = applicationGuid;
}

// We try to register monitoring agent but do not gurantee it to succeed.
// We try to register monitoring agent but do not guarantee it to succeed.
hr = EcsManagementInteropClient.RegisterMonitoringAgent(JsonConvert.SerializeObject(registrationInfo), monitoringDataPath);

success = hr == 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public void WhenUNCPathRelativePartIsEqualToMaximumPathLengthValidationResultIsS
IValidationResult validationResult = validation.Validate(file);

// Verify
AssertExtension.ValidationResultIsSuccess(validationResult, "File with UNC path relative parth length equal to max path length triggers an error.");
AssertExtension.ValidationResultIsSuccess(validationResult, "File with UNC path relative path length equal to max path length triggers an error.");
}

}
Expand Down
2 changes: 1 addition & 1 deletion src/StorageSync/StorageSync.Test/UnitTests/MockFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ public static IDirectoryInfo DirectoryWithGivenParameters(
}

/// <summary>
/// Directorieses the with given parameters recursive.
/// Directories the with given parameters recursive.
/// </summary>
/// <param name="root">The root.</param>
/// <param name="level">The level.</param>
Expand Down
2 changes: 1 addition & 1 deletion src/StorageSync/StorageSync/AFSDirectoryInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public IEnumerable<IFileInfo> EnumerateFiles()
}

/// <summary>
/// Existses this instance.
/// Exists this instance.
/// </summary>
/// <returns><c>true</c> if XXXX, <c>false</c> otherwise.</returns>
public bool Exists()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ protected override void ProcessRecord()
{
WriteWarning(
$"Accessing network path {Path}' as {UserName} didn't work." + Environment.NewLine +
$"Consider using -Credential parameter to provide creentials of the user account with appropriate access.");
$"Consider using -Credential parameter to provide credentials of the user account with appropriate access.");
}
throw;
}
Expand Down
2 changes: 1 addition & 1 deletion src/StorageSync/StorageSync/Common/HelpMessages.cs
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ public class HelpMessages
/// <summary>
/// Storage Sync Service Assign Identity Parameter.
/// </summary>
public const string StorageSyncServiceAssignIdentityParameter = "Generate and assign a new Storage Sync Service Identity for this storage sync service for use with accessing storage account and file share. If specify this paramter without \"-IdentityType\", will use system assigned identity.";
public const string StorageSyncServiceAssignIdentityParameter = "Generate and assign a new Storage Sync Service Identity for this storage sync service for use with accessing storage account and file share. If specify this parameter without \"-IdentityType\", will use system assigned identity.";

/// <summary>
/// Registered Server Assign Identity Parameter.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public LocalServerType GetServerTypeFromRegistry()
public ServerRegistrationData UpdateServerRegistrationData(ServerRegistrationData pServerRegistrationData) => pServerRegistrationData;

/// <summary>
/// Waits for access propogation.
/// Waits for access propagation.
/// </summary>
public void Wait()
{
Expand Down
4 changes: 2 additions & 2 deletions src/StorageSync/StorageSync/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public class CodePointRange
public string Description { get; set; }

/// <summary>
/// Includeses the specified code point.
/// Includes the specified code point.
/// </summary>
/// <param name="codePoint">The code point.</param>
/// <returns><c>true</c> if XXXX, <c>false</c> otherwise.</returns>
Expand Down Expand Up @@ -144,7 +144,7 @@ public Configuration()
}

/// <summary>
/// Executings the assembly path.
/// Executing the assembly path.
/// </summary>
/// <returns>System.String.</returns>
private string ExecutingAssemblyPath()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.StorageSync.Evaluation.Interfaces
public interface INamespaceEnumeratorListener
{
/// <summary>
/// Nexts the file.
/// Next the file.
/// </summary>
/// <param name="node">The node.</param>
void NextFile(IFileInfo node);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public interface IPowershellCommandRunner
void AddScript(string value);

/// <summary>
/// Errorses this instance.
/// Errors this instance.
/// </summary>
/// <returns>PSDataCollection&lt;ErrorRecord&gt;.</returns>
PSDataCollection<ErrorRecord> Errors();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public interface IStorageSyncResourceManager
/// <returns>ServerRegistrationData.</returns>
ServerRegistrationData UpdateServerRegistrationData(ServerRegistrationData pServerRegistrationData);
/// <summary>
/// Waits for access propogation.
/// Waits for access propagation.
/// </summary>
void Wait();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.StorageSync.InternalObjects
/// </summary>
public enum ServerRoleType
{
// Stadalone server, not participating in a cluster
// Standalone server, not participating in a cluster
/// <summary>
/// The standalone
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ public class EcsManagementInteropClient : IEcsManagement
/// </summary>
private static Guid IID_IUnknown = ManagementInteropConstants.IID_IUnknown;
/// <summary>
/// the iid stbale version deep gc progress.
/// the iid stable version deep gc progress.
/// </summary>
private static Guid IID_IStableVersionDeepGcProgress = ManagementInteropConstants.IID_IStableVersionDeepGcProgress;
/// <summary>
/// the iid stbale version deep gc progress.
/// the iid stable version deep gc progress.
/// </summary>
private static Guid IID_IScrubbingEngineConnectionPoint = ManagementInteropConstants.IID_IScrubbingEngineConnectionPoint;

Expand Down Expand Up @@ -860,15 +860,15 @@ public int ResetServerCertificateSettingsRegistry()
}

/// <summary>
/// Coes the set proxy blanket.
/// Does the set proxy blanket.
/// </summary>
/// <param name="proxy">The proxy.</param>
/// <param name="dwAuthnSvc">The dw authn SVC.</param>
/// <param name="dwAuthzSvc">The dw authz SVC.</param>
/// <param name="pServerPrincName">Name of the p server princ.</param>
/// <param name="dwAuthnLevel">The dw authn level.</param>
/// <param name="dwImpLevel">The dw imp level.</param>
/// <param name="dwCapababilities">The dw capababilities.</param>
/// <param name="dwCapababilities">The dw capabilities.</param>
/// <param name="exception">if set to <c>true</c> [exception].</param>
/// <returns>System.Int32.</returns>
private static int CoSetProxyBlanket(IntPtr proxy,
Expand All @@ -892,7 +892,7 @@ private static int CoSetProxyBlanket(IntPtr proxy,
exception);
}
/// <summary>
/// Coes the set proxy blanket.
/// Does the set proxy blanket.
/// </summary>
/// <param name="proxy">The proxy.</param>
/// <param name="dwAuthnSvc">The dw authn SVC.</param>
Expand All @@ -901,7 +901,7 @@ private static int CoSetProxyBlanket(IntPtr proxy,
/// <param name="dwAuthnLevel">The dw authn level.</param>
/// <param name="dwImpLevel">The dw imp level.</param>
/// <param name="pAuthInfo">The p authentication information.</param>
/// <param name="dwCapababilities">The dw capababilities.</param>
/// <param name="dwCapababilities">The dw capabilities.</param>
/// <param name="throwOnError">if set to <c>true</c> [throw on error].</param>
/// <returns>System.Int32.</returns>
/// <exception cref="COMException">CoSetProxyBlanket failed with HRESULT {hr:X}</exception>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class SyncServerCertificateRolloverClient : ISyncServerCertificateRollove
protected IEcsManagement EcsManagementInteropClient { get; private set; }

/// <summary>
/// Parameterzed constructor for Sync Server certificate rollover Client
/// Parameterized constructor for Sync Server certificate rollover Client
/// </summary>
/// <param name="ecsManagementInteropClient">The ecs management interop client.</param>
public SyncServerCertificateRolloverClient(IEcsManagement ecsManagementInteropClient)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class SyncServerRegistrationClient : SyncServerRegistrationClientBase
protected readonly IServerManagedIdentityProvider ServerManagedIdentityProvider;

/// <summary>
/// Parameterzed constructor for Sync Server Registration Client
/// Parameterized constructor for Sync Server Registration Client
/// </summary>
/// <param name="ecsManagementInteropClient">The ecs management interop client.</param>
/// <param name="serverManagedIdentityProvider">The server managed identity provider.</param>
Expand Down Expand Up @@ -277,7 +277,7 @@ public override ServerRegistrationData Setup(
}

/// <summary>
/// Persisting the register server resource from clooud to the local service.
/// Persisting the register server resource from cloud to the local service.
/// </summary>
/// <param name="registeredServerResource">Registered Server Resource</param>
/// <param name="subscriptionId">Subscription Id</param>
Expand Down
8 changes: 4 additions & 4 deletions src/StorageSync/StorageSync/Interop/Helpers/Win32Helper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace Commands.StorageSync.Interop.DataObjects
public sealed class Win32Helper
{
/// <summary>
/// Coes the create instance.
/// Does the create instance.
/// </summary>
/// <param name="clsid">The CLSID.</param>
/// <param name="inner">The inner.</param>
Expand All @@ -43,7 +43,7 @@ static public extern int
out IntPtr rReturnedComObject);

/// <summary>
/// Coes the initialize.
/// Does the initialize.
/// </summary>
/// <param name="reserved3">The reserved3.</param>
/// <returns>Int32.</returns>
Expand All @@ -53,7 +53,7 @@ [In] IntPtr reserved3
);

/// <summary>
/// Coes the set proxy blanket.
/// Does the set proxy blanket.
/// </summary>
/// <param name="pProxy">The p proxy.</param>
/// <param name="dwAuthnSvc">The dw authn SVC.</param>
Expand All @@ -62,7 +62,7 @@ [In] IntPtr reserved3
/// <param name="dwAuthnLevel">The dw authn level.</param>
/// <param name="dwImpLevel">The dw imp level.</param>
/// <param name="pAuthInfo">The p authentication information.</param>
/// <param name="dwCapababilities">The dw capababilities.</param>
/// <param name="dwCapababilities">The dw capabilities.</param>
/// <returns>System.Int32.</returns>
[DllImport("ole32.DLL", CharSet = CharSet.Auto)]
public static extern int CoSetProxyBlanket(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public static void ValidateMIToken(string accessToken)
/// Try to get the AadToken from an encoded JWT token string.
/// </summary>
/// <param name="accessToken">JWT token in string format</param>
/// <returns>String of resource ID for the managed identity asociated with the token</returns>
/// <returns>String of resource ID for the managed identity associated with the token</returns>
private static AadToken TryGetAadTokenFromAccessTokenString(string accessToken)
{
var payload = accessToken.Split('.')[1].Replace('-', '+').Replace('_', '/');
Expand All @@ -95,7 +95,7 @@ private static AadToken TryGetAadTokenFromAccessTokenString(string accessToken)
/// Try to get the Managed Identity ResourceID from the "xms_mirid" claim in a token.
/// </summary>
/// <param name="accessToken">JWT token in string format</param>
/// <returns>String of resource ID for the managed identity asociated with the token</returns>
/// <returns>String of resource ID for the managed identity associated with the token</returns>
private static string TryParseMIResourceIDFromToken(string accessToken) => TryGetAadTokenFromAccessTokenString(accessToken)?.MIResourceId;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ await defaultRetryPolicy.ExecuteAsync(

/// <summary>
/// Obtaining tokens on an Arc server is restricted to privileged applications or processes.
/// To enforce this, there is an additional chellenge/response check when requesting a token.
/// To enforce this, there is an additional challenge/response check when requesting a token.
/// </summary>
/// <param name="requestUri"> himds uri to request token from </param>
/// <param name="client"> HttpClient used to request token if provided </param>
Expand Down
4 changes: 2 additions & 2 deletions src/StorageSync/StorageSync/NamespaceEnumerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,11 @@ private void NotifyEndOfEnumeration()
/// it is done this way to guarantee that by the time we finish any directory
/// all of its subdirectories/files had been visited
/// Note:
/// if operaiton is cancelled - not all notifications will be emited,
/// if operation is cancelled - not all notifications will be emitted,
/// and namespace information will be partial.
/// </summary>
/// <param name="root">directory to scan</param>
/// <param name="cancelationCallback">function to consult with for cancelation</param>
/// <param name="cancelationCallback">function to consult with for cancellation</param>
/// <exception cref="System.IO.DirectoryNotFoundException">Cannot access directory: {root.FullName}</exception>
private void EnumeratePostOrderNonRecursive(IDirectoryInfo root, Func<bool> cancelationCallback = null)
{
Expand Down
2 changes: 1 addition & 1 deletion src/StorageSync/StorageSync/ProgressReporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ protected ProgressRecord CreateCompletionRecord()

#region Private methods
/// <summary>
/// Shoulds the update progress.
/// Should the update progress.
/// </summary>
/// <returns><c>true</c> if XXXX, <c>false</c> otherwise.</returns>
private bool ShouldUpdateProgress()
Expand Down

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

Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
<value>Primary Certificate Thumbprint: {0} Secondary Certificate Thumbprint: {1}</value>
</data>
<data name="ResetCertificateMessageFormat3" xml:space="preserve">
<value>Succesfully retrieved secondary certificate with thumbprint: {0} from store with HResult: {1}</value>
<value>Successfully retrieved secondary certificate with thumbprint: {0} from store with HResult: {1}</value>
</data>
<data name="ResetCertificateMessageFormat4" xml:space="preserve">
<value>Failed to retrieve the secondary certificate from store with HResult: {0}</value>
Expand Down
2 changes: 1 addition & 1 deletion src/StreamAnalytics/StreamAnalytics.Autorest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ directive:
"description": "The function type."
}
}
# Fix the issue that remove operation finally result is that StatusCode is 404 and staus is deleteing.
# Fix the issue that remove operation finally result is that StatusCode is 404 and status is deleting.
- from: swagger-document
where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StreamAnalytics/clusters/{clusterName}"].delete.responses
transform: >-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Remove-AzStreamAnalyticsCluster -ResourceGroupName pwshaz-rg-test -Name sac-m-te
```

This command removes a stream analytics by name.
**Please stop all jobs of the stream analytics cluster brefore invoke Remove-AzStreamAnalyticsCluster.**
**Please stop all jobs of the stream analytics cluster before invoke Remove-AzStreamAnalyticsCluster.**

### Example 2: Remove a stream analytics by pipeline
```powershell
Expand All @@ -45,7 +45,7 @@ Get-AzStreamAnalyticsCluster -ResourceGroupName pwshaz-rg-test -Name sac-m-test0
```

This command removes a stream analytics by pipeline.
**Please stop all jobs of the stream analytics cluster brefore invoke Remove-AzStreamAnalyticsCluster.**
**Please stop all jobs of the stream analytics cluster before invoke Remove-AzStreamAnalyticsCluster.**

## PARAMETERS

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Remove-AzStreamAnalyticsCluster -ResourceGroupName pwshaz-rg-test -Name sac-m-te

```
This command removes a stream analytics by name.
**Please stop all jobs of the stream analytics cluster brefore invoke Remove-AzStreamAnalyticsCluster.**
**Please stop all jobs of the stream analytics cluster before invoke Remove-AzStreamAnalyticsCluster.**

### Example 2: Remove a stream analytics by pipeline
```powershell
Expand All @@ -13,4 +13,4 @@ Get-AzStreamAnalyticsCluster -ResourceGroupName pwshaz-rg-test -Name sac-m-test0
```

This command removes a stream analytics by pipeline.
**Please stop all jobs of the stream analytics cluster brefore invoke Remove-AzStreamAnalyticsCluster.**
**Please stop all jobs of the stream analytics cluster before invoke Remove-AzStreamAnalyticsCluster.**
4 changes: 2 additions & 2 deletions src/StreamAnalytics/StreamAnalytics.Autorest/test/utils.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ function Start-TestSleep {
$env = @{}

<# Pre-Step:
1. Create azure machine learing workspace and deploy model in azure portal. Doc links:https://learn.microsoft.com/en-us/azure/machine-learning/tutorial-first-experiment-automated-ml
1. Create azure machine learning workspace and deploy model in azure portal. Doc links:https://learn.microsoft.com/en-us/azure/machine-learning/tutorial-first-experiment-automated-ml
2. Get endpoint of the deployment model that type into the .\test\template-json\MachineLearningServices.json
#>
function setupEnv() {
Write-Warning "
Pre-step:
1. Create azure machine learing workspace and deploy model in azure portal. Doc links:https://learn.microsoft.com/en-us/azure/machine-learning/tutorial-first-experiment-automated-ml
1. Create azure machine learning workspace and deploy model in azure portal. Doc links:https://learn.microsoft.com/en-us/azure/machine-learning/tutorial-first-experiment-automated-ml
2. Get endpoint of the deployment model that type into the .\test\template-json\MachineLearningServices.json
"
# Import modules for test.
Expand Down