Skip to content
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 @@ -48,7 +48,7 @@ public static bool HasProperty(this PSObject source, string name)
/// </summary>
/// <typeparam name="T">The type of the property to look for</typeparam>
/// <param name="source">The PSObject to check</param>
/// <param name="name">The name of the proeprty to look for</param>
/// <param name="name">The name of the property to look for</param>
/// <returns>true if the PSObject has a property with the given name, otherwise false</returns>
public static bool HasProperty<T>(this PSObject source, string name)
{
Expand Down Expand Up @@ -211,7 +211,7 @@ public static void Populate(this IDictionary<string, string> dictionary, string
/// Populate a list from a proprty of the given PSObject
/// </summary>
/// <param name="list">The list to populate</param>
/// <param name="name">The name of the proeprty contiaing the list</param>
/// <param name="name">The name of the property contiaing the list</param>
/// <param name="other">The PSObject to populate the list from</param>
public static void Populate(this IList<string> list, string name, PSObject other)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Accounts/Authentication.Test/PSSerializationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,8 @@ IAzureContext GetDefaultContext()
VersionProfile = "2017_09_25"
};

context.SetProperty("ContextProeprty1", "ContextProperty1Value1", "ContextProperty1Value2");
context.SetProperty("ContextProeprty2", "ContextProperty2Value1", "ContextProperty2Value2");
context.SetProperty("ContextProperty1", "ContextProperty1Value1", "ContextProperty1Value2");
context.SetProperty("ContextProperty2", "ContextProperty2Value1", "ContextProperty2Value2");

return context;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ function Test-Common
$storageAccountKeyValue = $(Get-AzStorageAccountKey -ResourceGroupName $ResourceGroupName -Name $StorageAccountName)[0].Value
$storageContext = New-AzStorageContext -StorageAccountName $StorageAccountName -StorageAccountKey $storageAccountKeyValue

# wait at most 120*5s=600s for the set sevice proeprty updated on server.
# wait at most 120*5s=600s for the set sevice property updated on server.
$retryTimes = 120

# B/F/Q Service properties, in same code path
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace Microsoft.Azure.Commands.Management.Storage
/// <summary>
/// Modify Azure Storage service properties
/// </summary>
[CmdletOutputBreakingChange(typeof(PSRestorePolicy), ChangeDescription = "The deprecated proeprty LastEnabledTime will be removed in a future release.")]
[CmdletOutputBreakingChange(typeof(PSRestorePolicy), ChangeDescription = "The deprecated property LastEnabledTime will be removed in a future release.")]
[Cmdlet("Disable", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + StorageBlobRestorePolicy, SupportsShouldProcess = true, DefaultParameterSetName = AccountNameParameterSet), OutputType(typeof(PSRestorePolicy))]
public class DisableAzStorageBlobRestorePolicyCommand : StorageBlobBaseCmdlet
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace Microsoft.Azure.Commands.Management.Storage
/// <summary>
/// Modify Azure Storage service properties
/// </summary>
[CmdletOutputBreakingChange(typeof(PSRestorePolicy), ChangeDescription = "The deprecated proeprty LastEnabledTime will be removed in a future release.")]
[CmdletOutputBreakingChange(typeof(PSRestorePolicy), ChangeDescription = "The deprecated property LastEnabledTime will be removed in a future release.")]
[Cmdlet("Enable", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + StorageBlobRestorePolicy, DefaultParameterSetName = AccountNameParameterSet, SupportsShouldProcess = true), OutputType(typeof(PSRestorePolicy))]
public class EnableAzStorageBlobRestorePolicyCommand : StorageBlobBaseCmdlet
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace Microsoft.Azure.Commands.Management.Storage
/// <summary>
/// Modify Azure Storage service properties
/// </summary>
[CmdletOutputBreakingChange(typeof(PSBlobServiceProperties), ChangeDescription = "The deprecated proeprty RestorePolicy.LastEnabledTime will be removed in a future release.")]
[CmdletOutputBreakingChange(typeof(PSBlobServiceProperties), ChangeDescription = "The deprecated property RestorePolicy.LastEnabledTime will be removed in a future release.")]
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + StorageBlobServiceProperty, DefaultParameterSetName = AccountNameParameterSet), OutputType(typeof(PSBlobServiceProperties))]
public class GetAzStorageBlobServicePropertyCommand : StorageBlobBaseCmdlet
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace Microsoft.Azure.Commands.Management.Storage
/// <summary>
/// Modify Azure Storage service properties
/// </summary>
[CmdletOutputBreakingChange(typeof(PSBlobServiceProperties), ChangeDescription = "The deprecated proeprty RestorePolicy.LastEnabledTime will be removed in a future release.")]
[CmdletOutputBreakingChange(typeof(PSBlobServiceProperties), ChangeDescription = "The deprecated property RestorePolicy.LastEnabledTime will be removed in a future release.")]
[Cmdlet("Update", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + StorageBlobServiceProperty, SupportsShouldProcess = true, DefaultParameterSetName = AccountNameParameterSet), OutputType(typeof(PSBlobServiceProperties))]
public class UpdateAzStorageBlobServicePropertyCommand : StorageBlobBaseCmdlet
{
Expand Down