Skip to content

Commit 00b976d

Browse files
authored
Alias Set-AzConfig (#22629)
1 parent ed18dfb commit 00b976d

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

src/Accounts/Accounts/Az.Accounts.psd1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ CmdletsToExport = 'Disable-AzDataCollection', 'Disable-AzContextAutosave',
118118
# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
119119
AliasesToExport = 'Add-AzAccount', 'Login-AzAccount', 'Remove-AzAccount',
120120
'Logout-AzAccount', 'Select-AzSubscription', 'Resolve-Error',
121-
'Save-AzProfile', 'Get-AzDomain', 'Invoke-AzRest'
121+
'Save-AzProfile', 'Get-AzDomain', 'Invoke-AzRest',
122+
'Set-AzConfig'
122123

123124
# DSC resources to export from this module
124125
# DscResourcesToExport = @()

src/Accounts/Accounts/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
-->
2020

2121
## Upcoming Release
22+
* Added an alias `Set-AzConfig` to `Update-AzConfig`
2223
* Refilled credentials from `AzKeyStore` when run `Save-AzContext` [#22355]
2324
* Added config `DisableErrorRecordsPersistence` to disable writing error records to file system [#21732]
2425
* Updated Azure.Core to 1.34.0.

src/Accounts/Accounts/Config/UpdateConfigCommand.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
namespace Microsoft.Azure.Commands.Common.Authentication.Config
2626
{
2727
[Cmdlet("Update", AzureRMConstants.AzureRMPrefix + "Config", SupportsShouldProcess = true)]
28+
[Alias("Set-AzConfig")]
2829
[OutputType(typeof(PSConfig))]
2930
public class UpdateConfigCommand : ConfigCommandBase, IDynamicParameters
3031
{

src/DedicatedHsm/DedicatedHsm.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AuthenticationAssemblyLoadC
1313
EndProject
1414
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Authenticators", "..\Accounts\Authenticators\Authenticators.csproj", "{467DE3DA-2D49-444B-933B-A01E621F0000}"
1515
EndProject
16-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.DedicatedHSM", "Az.DedicatedHSM.csproj", "{639F2669-5F10-418C-B5C6-768D04A30ECA}"
16+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.DedicatedHsm", "Az.DedicatedHsm.csproj", "{639F2669-5F10-418C-B5C6-768D04A30ECA}"
1717
EndProject
1818
Global
1919
GlobalSection(SolutionConfigurationPlatforms) = preSolution

0 commit comments

Comments
 (0)