Skip to content

Spelling Fixes #28091

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 @@ -53,7 +53,7 @@ public abstract class DataLakeGen2ACLRecursiveBaseCmdlet : StorageCloudBlobCmdle
public PSPathAccessControlEntry[] Acl { get; set; }

[Parameter(Mandatory = false,
HelpMessage = "Set this parameter to ignore failures and continue proceeing with the operation on other sub-entities of the directory. Default the operation will terminate quickly on encountering failures.")]
HelpMessage = "Set this parameter to ignore failures and continue processing with the operation on other sub-entities of the directory. Default the operation will terminate quickly on encountering failures.")]
public SwitchParameter ContinueOnFailure { get; set; }

[Parameter(Mandatory = false,
Expand Down Expand Up @@ -187,7 +187,7 @@ protected void WriteResult(long taskId)
}

/// <summary>
/// Set/Update/Remove ACL recusive async function
/// Set/Update/Remove ACL recursive async function
/// </summary>
protected abstract Task OperationAclResusive(long taskId);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ public int? MaxCount
public SwitchParameter AsJob { get; set; }

[Alias("UserPrincipalName")]
[Parameter(Mandatory = false, HelpMessage = "If speicify this parameter, the user identity values returned in the owner and group fields of each list entry will be transformed from Microsoft Entra Object IDs to User Principal Names. "
+ "If not speicify this parameter, the values will be returned as Microsoft Entra Object IDs. Note that group and application Object IDs are not translated because they do not have unique friendly names.")]
[Parameter(Mandatory = false, HelpMessage = "If you specify this parameter, the user identity values returned in the owner and group fields of each list entry will be transformed from Microsoft Entra Object IDs to User Principal Names. "
+ "If you do not specify this parameter, the values will be returned as Microsoft Entra Object IDs. Note that group and application Object IDs are not translated because they do not have unique friendly names.")]
public SwitchParameter OutputUserPrincipalName { get; set; }

// Overwrite the useless parameter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ internal string GetFullReceiveFilePath(string fileName, string blobName)
throw new ArgumentException(String.Format(Resources.InvalidFileName, fileName));
}

//there is no need to check the read/write permission on the specified file path, the datamovement libraray will do that
//there is no need to check the read/write permission on the specified file path, the data movement library will do that

return filePath;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public RemoveAzDataLakeGen2AclRecursiveCommand(IStorageBlobManagement channel)
}

/// <summary>
/// Remove ACL recusive async function
/// Remove ACL recursive async function
/// </summary>
protected override async Task OperationAclResusive(long taskId)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public class RestoreAzDataLakeGen2DeletedItemCommand : StorageCloudBlobCmdletBas
public string Path { get; set; }

[Parameter(ValueFromPipeline = true, Position = 2, Mandatory = true, HelpMessage =
"The deletion ID associated with the soft deleted path. You can get soft deleted paths and their assocaited deletion IDs with cmdlet 'Get-AzDataLakeGen2DeletedItem'.", ParameterSetName = ManualParameterSet)]
"The deletion ID associated with the soft deleted path. You can get soft deleted paths and their associated deletion IDs with cmdlet 'Get-AzDataLakeGen2DeletedItem'.", ParameterSetName = ManualParameterSet)]
[ValidateNotNullOrEmpty]
public string DeletionId { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public SetAzDataLakeGen2AclRecursiveCommand(IStorageBlobManagement channel)
}

/// <summary>
/// Set ACL recusive async function
/// Set ACL recursive async function
/// </summary>
protected override async Task OperationAclResusive(long taskId)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public UpdateAzDataLakeGen2AclRecursiveCommand(IStorageBlobManagement channel)
}

/// <summary>
/// Update ACL recusive async function
/// Update ACL recursive async function
/// </summary>
protected override async Task OperationAclResusive(long taskId)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Storage/Storage/File/AzureStorageFileException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class AzureStorageFileException : Exception
/// <summary>
/// Initializes a new instance of the AzureStorageFileException class.
/// </summary>
/// <param name="category">Indicating the error cateogory.</param>
/// <param name="category">Indicating the error category.</param>
/// <param name="errorId">Indicating the error id.</param>
/// <param name="errorDetails">Indicating the error message.</param>
/// <param name="targetObject">Indicating the target object.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public class GetAzureStorageFileCopyStateCommand : AzureStorageFileCmdletBase
public SwitchParameter WaitForComplete { get; set; }

/// <summary>
/// CloudFile objects which need to mointor until copy complete
/// CloudFile objects which need to monitor until copy complete
/// </summary>
private ConcurrentQueue<Tuple<long, ShareFileClient>> jobList = new ConcurrentQueue<Tuple<long, ShareFileClient>>();
private ConcurrentDictionary<long, bool> TaskStatus = new ConcurrentDictionary<long, bool>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public class NewAzureStorageFileSasToken : AzureStorageFileCmdletBase
public string Path { get; set; }

[Parameter(Mandatory = true,
HelpMessage = "ShareFlieClient instance to represent the file to get SAS token against.",
HelpMessage = "ShareFileClient instance to represent the file to get SAS token against.",
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true,
ParameterSetName = FileClientSasPermissionParameterSet)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class NewAzureStorageShareSasToken : AzureStorageFileCmdletBase
private const string SasPermissionParameterSet = "SasPermission";

/// <summary>
/// Sas policy paremeter set name
/// Sas policy parameter set name
/// </summary>
private const string SasPolicyParmeterSet = "SasPolicy";

Expand Down
2 changes: 1 addition & 1 deletion src/Storage/Storage/File/Cmdlet/RemoveAzureStorageShare.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public override void ExecuteCmdlet()
bool retryDeleteSnapshot = false;

//Force means will delete the share anyway, so use 'IncludeSnapshots' to delete the share even has snapshot, or delete will fail when share has snapshot
// To delete a Share shapshot, must use 'None'
// To delete a Share snapshot, must use 'None'
if (IncludeAllSnapshot.IsPresent)
{
includeSnapshots = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class RenameAzureStorageDirectory : StorageFileDataManagementCmdletBase
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true,
ParameterSetName = ShareObjectParameterSet,
HelpMessage = "ShareClienr indicated the share where the directory would be listed.")]
HelpMessage = "ShareClient indicated the share where the directory would be listed.")]
[ValidateNotNull]
public ShareClient ShareClient { get; set; }

Expand Down
8 changes: 4 additions & 4 deletions src/Storage/Storage/File/Cmdlet/StartAzureStorageFileCopy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public class StartAzureStorageFileCopyCommand : StorageFileDataManagementCmdletB
[ValidateNotNullOrEmpty]
public string Group { get; set; }

private const string ownerCopyModeParameterDescription = "Only applicable to NFS Files. The value \"Override\" need to be specified together with parameter `-Owner` and `-Group`. If not specified, the desination file will have the default Owner and Group.";
private const string ownerCopyModeParameterDescription = "Only applicable to NFS Files. The value \"Override\" need to be specified together with parameter `-Owner` and `-Group`. If not specified, the destination file will have the default Owner and Group.";
[Parameter(Mandatory = false, ParameterSetName = ShareNameParameterSet, HelpMessage = ownerCopyModeParameterDescription)]
[Parameter(Mandatory = false, ParameterSetName = ShareParameterSet, HelpMessage = ownerCopyModeParameterDescription)]
[Parameter(Mandatory = false, ParameterSetName = FileFilePathParameterSet, HelpMessage = ownerCopyModeParameterDescription)]
Expand All @@ -184,7 +184,7 @@ public class StartAzureStorageFileCopyCommand : StorageFileDataManagementCmdletB
[PSArgumentCompleter("Source", "Override")]
public string OwnerCopyMode { get; set; }

private const string fileModeCopyModeParameterDescription = "Only applicable to NFS Files. The value \"Override\" need to be specified together with parameter `-FileMode`. If not specified, the desination file will have the default File Mode.";
private const string fileModeCopyModeParameterDescription = "Only applicable to NFS Files. The value \"Override\" need to be specified together with parameter `-FileMode`. If not specified, the destination file will have the default File Mode.";
[Parameter(Mandatory = false, ParameterSetName = ShareNameParameterSet, HelpMessage = fileModeCopyModeParameterDescription)]
[Parameter(Mandatory = false, ParameterSetName = ShareParameterSet, HelpMessage = fileModeCopyModeParameterDescription)]
[Parameter(Mandatory = false, ParameterSetName = FileFilePathParameterSet, HelpMessage = fileModeCopyModeParameterDescription)]
Expand Down Expand Up @@ -248,7 +248,7 @@ internal IStorageFileManagement GetDestinationChannel()
{
//If destChannel exits, reuse it.
//If desContext exits, use it.
//If Channl object exists, use it.
//If Channel object exists, use it.
//Otherwise, create a new channel.
IStorageFileManagement destChannel = default(IStorageFileManagement);

Expand Down Expand Up @@ -419,7 +419,7 @@ private void StartCopyFromFile()

if (!sourceFile.CanGenerateSasUri && (sourceFile.Uri.Query != null && !sourceFile.Uri.Query.Contains("sig=")) && string.Compare(sourceFile.Uri.Host, destFile.Uri.Host, ignoreCase: true) != 0)
{
WriteWarning("The source File cannot generate SAS Uri and might cause cross account file copy failures. Please use source File based on SharedKey or SAS creadencial to avoid the failure.");
WriteWarning("The source File cannot generate SAS Uri and might cause cross account file copy failures. Please use source File based on SharedKey or SAS credential to avoid the failure.");
}

ShareFileCopyOptions copyOptions = new ShareFileCopyOptions();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ protected SingleTransferContext GetTransferContext(ProgressRecord record, long t
// Dynamic Parameters which are only available on Windows.
public class WindowsOnlyParameters
{
[Parameter(HelpMessage = "Keep the source File SMB properties (File Attributtes, File Creation Time, File Last Write Time) in destination File. This parameter is only available on Windows.")]
[Parameter(HelpMessage = "Keep the source File SMB properties (File Attributes, File Creation Time, File Last Write Time) in destination File. This parameter is only available on Windows.")]
public SwitchParameter PreserveSMBAttribute { get; set; }
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/Storage/Storage/Model/Contract/IStorageBlobManagement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public interface IStorageBlobManagement : IStorageManagement
ContainerResultSegment ListContainersSegmented(string prefix, ContainerListingDetails detailsIncluded, int? maxResults, BlobContinuationToken continuationToken, BlobRequestOptions options, OperationContext operationContext);

/// <summary>
/// Get container presssions
/// Get container permissions
/// </summary>
/// <param name="container">A cloudblobcontainer object</param>
/// <param name="accessCondition">Access condition</param>
Expand Down Expand Up @@ -237,7 +237,7 @@ public interface IStorageBlobManagement : IStorageManagement
string GetStorageAccountSASToken(SharedAccessAccountPolicy sharedAccessAccountPolicy);

/// <summary>
/// Async get container presssions
/// Async get container permissions
/// </summary>
/// <param name="container">A cloudblobcontainer object</param>
/// <param name="accessCondition">Access condition</param>
Expand Down
2 changes: 1 addition & 1 deletion src/Storage/Storage/Model/Contract/IStorageManagement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Microsoft.WindowsAzure.Commands.Storage.Model.Contract
public interface IStorageManagement
{
/// <summary>
/// The azure storage context assoicated with this IStorageBlobManagement
/// The azure storage context associated with this IStorageBlobManagement
/// </summary>
AzureStorageContext StorageContext { get; }
}
Expand Down
10 changes: 5 additions & 5 deletions src/Storage/Storage/Model/Contract/StorageBlobManagement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ private CloudBlobClient BlobClient
}

/// <summary>
/// The azure storage context assoicated with this IStorageBlobManagement
/// The azure storage context associated with this IStorageBlobManagement
/// </summary>
public AzureStorageContext StorageContext
{
Expand Down Expand Up @@ -117,7 +117,7 @@ public IEnumerable<CloudBlobContainer> ListContainers(string prefix, ContainerLi
}

/// <summary>
/// Get container presssions
/// Get container permissions
/// </summary>
/// <param name="container">A CloudBlobContainer object</param>
/// <param name="accessCondition">Access condition</param>
Expand Down Expand Up @@ -576,7 +576,7 @@ public string GetStorageAccountSASToken(XSCL.SharedAccessAccountPolicy sharedAcc
}

/// <summary>
/// Async Get container presssions
/// Async Get container permissions
/// </summary>
/// <param name="container">A CloudBlobContainer object</param>
/// <param name="accessCondition">Access condition</param>
Expand Down Expand Up @@ -893,7 +893,7 @@ public Task<string> StartCopyAsync(CloudPageBlob blob, Uri source, PremiumPageBl
/// <summary>
/// Return a task that asynchronously start copy operation to a CloudBlockBlob with StandardBlobTier.
/// </summary>
/// <param name="blob">CloudBlob object whcih is a Block blob</param>
/// <param name="blob">CloudBlob object which is a Block blob</param>
/// <param name="source">Uri to copying source</param>
/// <param name="standardBlobTier">Access condition to source if it's file/blob in azure.</param>
/// <param name="rehydratePriority"></param>
Expand Down Expand Up @@ -948,7 +948,7 @@ public UserDelegationKey GetUserDelegationKey(DateTimeOffset? keyStart, DateTime
DateTimeOffset userDelegationKeyStartTime = keyStart == null ? DateTime.Now : keyStart.Value;
DateTimeOffset userDelegationKeyEndTime = keyEnd == null ? userDelegationKeyStartTime.AddHours(1) : keyEnd.Value;

//Check the Expire Time and Start Time, should remove this if server can rerturn clear error message
//Check the Expire Time and Start Time, should remove this if server can return clear error message
Util.ValidateUserDelegationKeyStartEndTime(userDelegationKeyStartTime, userDelegationKeyEndTime);

return this.BlobClient.GetUserDelegationKey(userDelegationKeyStartTime, userDelegationKeyEndTime, accessCondition, options, operationContext);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class StorageQueueManagement : IStorageQueueManagement
private AzureStorageContext internalStorageContext;

/// <summary>
/// The azure storage context assoicated with this IStorageBlobManagement
/// The azure storage context associated with this IStorageBlobManagement
/// </summary>
public AzureStorageContext StorageContext
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public partial class StorageTableManagement : IStorageTableManagement
private AzureStorageContext internalStorageContext;

/// <summary>
/// The azure storage context assoicated with this IStorageBlobManagement
/// The azure storage context associated with this IStorageBlobManagement
/// </summary>
public AzureStorageContext StorageContext
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ namespace Microsoft.WindowsAzure.Commands.Storage.Model.Contract
public partial class StorageTableManagement : IStorageTableManagement
{
/// <summary>
/// Table servcie client from track 2 sdk
/// Table service client from track 2 sdk
/// </summary>
private TableServiceClient tableServiceClient;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class NewAzureStorageQueueSasTokenCommand : StorageQueueBaseCmdlet
private const string SasPermissionParameterSet = "SasPermission";

/// <summary>
/// Sas policy paremeter set name
/// Sas policy parameter set name
/// </summary>
private const string SasPolicyParmeterSet = "SasPolicy";

Expand Down
2 changes: 1 addition & 1 deletion src/Storage/Storage/Resources.Designer.cs

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

6 changes: 3 additions & 3 deletions src/Storage/Storage/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
</data>
<data name="DownloadBlobFailed" xml:space="preserve">
<value>Cannot download the blob '{0}' in container '{1}' into local file '{2}'. Error: {3}</value>
<comment>place holder 0 for blob name, 1 for blob's container name, 2 for download destination in local machine. 3 for excpetion error message.</comment>
<comment>place holder 0 for blob name, 1 for blob's container name, 2 for download destination in local machine. 3 for exception error message.</comment>
</data>
<data name="DownloadBlobSuccessful" xml:space="preserve">
<value>Download blob '{0}' successful.</value>
Expand Down Expand Up @@ -333,7 +333,7 @@
<value>https://</value>
</data>
<data name="CurrentStorageAccountNotFoundOnAzure" xml:space="preserve">
<value>Can not found current storage account '{0}' of subsciption '{1}' on azure, please check whether the specified storage account exists.</value>
<value>Can not found current storage account '{0}' of subscription '{1}' on azure, please check whether the specified storage account exists.</value>
<comment>0 storage account name, 1 subscription name</comment>
</data>
<data name="UseCurrentStorageAccountFromSubscription" xml:space="preserve">
Expand Down Expand Up @@ -416,7 +416,7 @@
</data>
<data name="FileNameFormatForSnapShot" xml:space="preserve">
<value>{0} ({1}){2}</value>
<comment>0 for blob name, 1 for snaphsot time, 2 blob name extension</comment>
<comment>0 for blob name, 1 for snapshot time, 2 blob name extension</comment>
</data>
<data name="SkipDownloadSnapshot" xml:space="preserve">
<value>Skip to download blob '{0}' with snapshot time '{0}'.</value>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class NewAzureStorageTableSasTokenCommand : StorageCloudTableCmdletBase
private const string SasPermissionParameterSet = "SasPermission";

/// <summary>
/// Sas policy paremeter set name
/// Sas policy parameter set name
/// </summary>
private const string SasPolicyParmeterSet = "SasPolicy";

Expand Down