Skip to content

Commit c8ecb19

Browse files
authored
Spelling Fixes (#28092)
1 parent f2a425d commit c8ecb19

24 files changed

+44
-44
lines changed

src/Storage/Storage.Management.Test/ScenarioTests/StorageBlobTests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ function Test-StorageBlobRestore
668668
New-AzStorageAccount -ResourceGroupName $rgname -Name $stoname -Location $loc -Type $stotype -Kind $kind
669669
$stos = Get-AzStorageAccount -ResourceGroupName $rgname;
670670

671-
# Enable Blob Delete Retension Policy, Enable Changefeed, then enabled blob restore policy, then get blob service proeprties and check the setting
671+
# Enable Blob Delete Retention Policy, Enable Changefeed, then enabled blob restore policy, then get blob service properties and check the setting
672672
Enable-AzStorageBlobDeleteRetentionPolicy -ResourceGroupName $rgname -StorageAccountName $stoname -RetentionDays 5
673673
Update-AzStorageBlobServiceProperty -ResourceGroupName $rgname -StorageAccountName $stoname -EnableChangeFeed $true -IsVersioningEnabled $true
674674
# If record, need sleep before enable the blob restore policy, or will get server error

src/Storage/Storage.Management.Test/ScenarioTests/StorageDataPlaneTests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ function Test-BlobFileCopy
644644

645645
<#
646646
.SYNOPSIS
647-
Tests Azure storage service loggin property, service metrics property and CORSRule commands.
647+
Tests Azure storage service logging property, service metrics property and CORSRule commands.
648648
#>
649649
function Test-Common
650650
{
@@ -666,7 +666,7 @@ function Test-Common
666666

667667
$storageContext2 = (Get-AzStorageAccount -ResourceGroupName $ResourceGroupName -Name $StorageAccountName).Context
668668

669-
# wait at most 120*5s=600s for the set sevice property updated on server.
669+
# wait at most 120*5s=600s for the set service property updated on server.
670670
$retryTimes = 120
671671

672672
# B/F/Q Service properties, in same code path

src/Storage/Storage.Management.Test/ScenarioTests/StorageFileTests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ function Test-ShareSoftDelete
229229
# restore share and check
230230
if ($env:AZURE_TEST_MODE -eq "Record")
231231
{
232-
# sleep 1 miniute if record. Don't need sleep in replay
232+
# sleep 1 minute if record. Don't need sleep in replay
233233
sleep 60
234234
}
235235
Restore-AzRmStorageShare -ResourceGroupName $rgname -StorageAccountName $stoname -Name $shareName1 -DeletedShareVersion $deletedShareVersion

src/Storage/Storage.Management/Blob/AddAzureStorageContainerLegalHold.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public class AddAzureStorageContainerLegalHoldCommand : StorageBlobBaseCmdlet
9292
[ValidateNotNullOrEmpty]
9393
public string[] Tag { get; set; }
9494

95-
[Parameter(Mandatory = false, HelpMessage = "When enabled, new blocks can be written to both 'Appened and Block Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted.")]
95+
[Parameter(Mandatory = false, HelpMessage = "When enabled, new blocks can be written to both 'Append and Block Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted.")]
9696
public bool AllowProtectedAppendWriteAll
9797
{
9898
get

src/Storage/Storage.Management/Blob/SetAzureStorageContainerImmutabilityPolicy.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,10 @@ public int ImmutabilityPeriod
187187

188188
public int? immutabilityPeriod;
189189

190-
[Parameter(Mandatory = false, ParameterSetName = AccountNameParameterSet, HelpMessage = "This property can only be changed for unlocked policies. When enabled, new blocks can be written to both 'Appened and Block Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. '-AllowProtectedAppendWrites' and '-AllowProtectedAppendWritesAll' are mutually exclusive.")]
191-
[Parameter(Mandatory = false, ParameterSetName = AccountObjectParameterSet, HelpMessage = "This property can only be changed for unlocked policies. When enabled, new blocks can be written to both 'Appened and Block Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. '-AllowProtectedAppendWrites' and '-AllowProtectedAppendWritesAll' are mutually exclusive.")]
192-
[Parameter(Mandatory = false, ParameterSetName = ContainerObjectParameterSet, HelpMessage = "This property can only be changed for unlocked policies. When enabled, new blocks can be written to both 'Appened and Block Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. '-AllowProtectedAppendWrites' and '-AllowProtectedAppendWritesAll' are mutually exclusive.")]
193-
[Parameter(Mandatory = false, ParameterSetName = ImmutabilityPolicyObjectParameterSet, HelpMessage = "This property can only be changed for unlocked policies. When enabled, new blocks can be written to both 'Appened and Block Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. '-AllowProtectedAppendWrites' and '-AllowProtectedAppendWritesAll' are mutually exclusive.")]
190+
[Parameter(Mandatory = false, ParameterSetName = AccountNameParameterSet, HelpMessage = "This property can only be changed for unlocked policies. When enabled, new blocks can be written to both 'Append and Block Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. '-AllowProtectedAppendWrites' and '-AllowProtectedAppendWritesAll' are mutually exclusive.")]
191+
[Parameter(Mandatory = false, ParameterSetName = AccountObjectParameterSet, HelpMessage = "This property can only be changed for unlocked policies. When enabled, new blocks can be written to both 'Append and Block Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. '-AllowProtectedAppendWrites' and '-AllowProtectedAppendWritesAll' are mutually exclusive.")]
192+
[Parameter(Mandatory = false, ParameterSetName = ContainerObjectParameterSet, HelpMessage = "This property can only be changed for unlocked policies. When enabled, new blocks can be written to both 'Append and Block Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. '-AllowProtectedAppendWrites' and '-AllowProtectedAppendWritesAll' are mutually exclusive.")]
193+
[Parameter(Mandatory = false, ParameterSetName = ImmutabilityPolicyObjectParameterSet, HelpMessage = "This property can only be changed for unlocked policies. When enabled, new blocks can be written to both 'Append and Block Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. '-AllowProtectedAppendWrites' and '-AllowProtectedAppendWritesAll' are mutually exclusive.")]
194194
public bool AllowProtectedAppendWriteAll
195195
{
196196
get

src/Storage/Storage.Management/StorageAccount/AddAzureStorageAccountManagementPolicyAction.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public int DaysAfterModificationGreaterThan
111111
public int? daysAfterModificationGreaterThan;
112112

113113
[Parameter(Mandatory = true,
114-
HelpMessage = "Integer value indicating the age in days after last blob access. This property can only be used in conjuction with last access time tracking policy.",
114+
HelpMessage = "Integer value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy.",
115115
ParameterSetName = BaseBlobLastAccessTimeParameterSet)]
116116
[ValidateNotNullOrEmpty]
117117
public int DaysAfterLastAccessTimeGreaterThan
@@ -185,7 +185,7 @@ public override void ExecuteCmdlet()
185185
& SnapshotAction != ManagementPolicyAction.TierToArchive
186186
& BlobVersionAction != ManagementPolicyAction.TierToArchive)
187187
{
188-
throw new PSArgumentException("-DaysAfterLastTierChangeGreaterThan is only avaialbe with action TierToArchive.", "DaysAfterLastTierChangeGreaterThan");
188+
throw new PSArgumentException("-DaysAfterLastTierChangeGreaterThan is only available with action TierToArchive.", "DaysAfterLastTierChangeGreaterThan");
189189
}
190190

191191
int? daysAfterCreationGreaterThan = this.DaysAfterCreationGreaterThan;

src/Storage/Storage.Management/StorageAccount/AddAzureStorageAccountNetworkRule.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class AddAzureStorageAccountNetworkRuleCommand : StorageAccountBaseCmdlet
3636
private const string NetWorkRuleStringParameterSet = "NetWorkRuleString";
3737

3838
/// <summary>
39-
/// IpRule in String paremeter set name
39+
/// IpRule in String parameter set name
4040
/// </summary>
4141
private const string IpRuleStringParameterSet = "IpRuleString";
4242

src/Storage/Storage.Management/StorageAccount/InvokeAzureStorageAccountHierarchicalNamespaceUpgrade.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public override void ExecuteCmdlet()
122122
{
123123
if (e.Body != null && e.Body.Error != null && e.Body.Error.Message != null)
124124
{
125-
// sdk will not add the detail error message to exception message for custmized error, so create a new exception with detail error in exception message
125+
// sdk will not add the detail error message to exception message for customized error, so create a new exception with detail error in exception message
126126
ErrorResponseException ex = new ErrorResponseException(e.Body.Error.Message, e);
127127
ex.Request = e.Request;
128128
ex.Response = e.Response;

src/Storage/Storage.Management/StorageAccount/NewAzStorageBlobRangeToRestore.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Management.Storage
2424
public class NewAzureStorageBlobRangeToRestoreCommand : StorageAccountBaseCmdlet
2525
{
2626
[Parameter(Mandatory = false,
27-
HelpMessage = "Specify the blob restore start range. Leave it as empty to restore from begining.")]
27+
HelpMessage = "Specify the blob restore start range. Leave it as empty to restore from beginning.")]
2828
[ValidateNotNull]
2929
public string StartRange { get; set; }
3030

src/Storage/Storage.Management/StorageAccount/NewAzureStorageAccount.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public bool EnableHttpsTrafficOnly
163163

164164
[Parameter(
165165
Mandatory = false,
166-
HelpMessage = "Generate and assign a new Storage Account Identity for this storage account for use with key management services like Azure KeyVault. If specify this paramter without \"-IdentityType\", will use system assigned identity.")]
166+
HelpMessage = "Generate and assign a new Storage Account Identity for this storage account for use with key management services like Azure KeyVault. If specify this parameter without \"-IdentityType\", will use system assigned identity.")]
167167
public SwitchParameter AssignIdentity { get; set; }
168168

169169
[Parameter(
@@ -174,7 +174,7 @@ public bool EnableHttpsTrafficOnly
174174

175175
[Parameter(
176176
Mandatory = false,
177-
HelpMessage = "Set the new Storage Account Identity type, the idenetity is for use with key management services like Azure KeyVault.")]
177+
HelpMessage = "Set the new Storage Account Identity type, the identity is for use with key management services like Azure KeyVault.")]
178178
[ValidateSet(AccountIdentityType.systemAssigned,
179179
AccountIdentityType.userAssigned,
180180
AccountIdentityType.systemAssignedUserAssigned,
@@ -616,7 +616,7 @@ public int ImmutabilityPeriod
616616
[Parameter(
617617
Mandatory = false,
618618
HelpMessage = "The mode of the policy. Possible values include: 'Unlocked', 'Disabled. " +
619-
"Disabled state disablesthe policy. " +
619+
"Disabled state disables the policy. " +
620620
"Unlocked state allows increase and decrease of immutability retention time and also allows toggling allowProtectedAppendWrites property. " +
621621
"A policy can only be created in a Disabled or Unlocked state and can be toggled between the two states." +
622622
"This property can only be specified with '-EnableAccountLevelImmutability'.")]

0 commit comments

Comments
 (0)