Skip to content

Commit 4715e55

Browse files
wyunchi-msEmmaZhumsJinLei
authored
Release Az 14.0.0 (#27765)
Co-authored-by: EmmaZhu-MSFT <emmazhu@microsoft.com> Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com> Co-authored-by: Jin Lei <54836179+msJinLei@users.noreply.github.com>
2 parents 9d70df6 + 058a5df commit 4715e55

File tree

186 files changed

+178171
-83152
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

186 files changed

+178171
-83152
lines changed

ChangeLog.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,70 @@
1+
## 14.0.0 - May 2025
2+
#### Az.Accounts 5.0.0
3+
* Changed the default output access token of 'Get-AzAccessToken' from plain text to 'SecureString'.
4+
* Removed the warning message about failing to initialize PSStyle in automation runbooks. [#26155]
5+
* Increased the timeout for tab-completion of location, resource group, etc. to 10 seconds.
6+
7+
#### Az.Aks 7.0.0
8+
* Introduced various new features by upgrading code generator. Please see detail [here](https://github.com/Azure/azure-powershell/blob/main/documentation/Autorest-powershell-v4-new-features.md).
9+
* Updated the default value of '-NodeVmSize' parameter in 'New-AzAksCluster' and '-VmSize' parameter in 'New-AzAksNodePool' from 'Standard_D2_V2' to being dynamically selected by the AKS resource provider based on quota and capacity in the next major release.
10+
11+
#### Az.AppConfiguration 2.0.0
12+
* Introduced various new features by upgrading code generator. Please see detail [here](https://github.com/Azure/azure-powershell/blob/main/documentation/Autorest-powershell-v4-new-features.md).
13+
14+
#### Az.Cdn 5.0.0
15+
* Upgraded Api version to 2025-04-15
16+
* Added support for cipher
17+
* Added support for migration from classic cdn to afdx
18+
19+
#### Az.Compute 10.0.0
20+
* Added new properties 'Architecture', 'HyperVGeneration', and 'ImageDeprecationStatus' to be returned in 'Get-AzVMImage' ListVMImage parameter set.
21+
* Deprecated 'Get-AzVMSize' 'List Virtual Machine Size' parameter set.
22+
* Added new parameters 'EnableAutomaticZoneRebalance', 'AutomaticZoneRebalanceStrategy' and 'AutomaticZoneRebalanceBehavior' to 'New-AzVmssConfig' and 'Update-AzVmss' cmdlets for VMSS Automatic Zone Rebalancing.
23+
24+
#### Az.EventHub 5.3.0
25+
* Added parameters 'MaxReplicationLagDurationInSeconds' and 'Replicalocation' in cmdlets 'New-AzEventHubNamespace' & 'Set-AzEventHubNamespace'
26+
* Added new cmdlets for doing namespace failover - 'Start-AzEventHubNamespaceFailOver'
27+
* Added new cmdlets for generating replication object for Replication parameter - 'New-AzEventHubLocationsNameObject'
28+
29+
#### Az.Functions 4.2.1
30+
* Updated API client to latest commit for version 2023-12-01
31+
* Refreshed stack definitions
32+
* Enforced runtime EOL policy for function app creation: block expired, warn if within 6 months
33+
34+
#### Az.ManagedServiceIdentity 2.0.0
35+
* Introduced various new features by upgrading code generator. Please see details [here](https://github.com/Azure/azure-powershell/blob/main/documentation/Autorest-powershell-v4-new-features.md).
36+
37+
#### Az.Migrate 2.7.1
38+
* Added validation for Data.Replication
39+
- Added validation to protect virtual machines in 'New-AzMigrateLocalServerReplication'
40+
41+
#### Az.Network 7.16.2
42+
* Onboarded 'Microsoft.FluidRelay/fluidRelayServers' to private link cmdlets
43+
44+
#### Az.RecoveryServices 7.7.1
45+
* Updated 'GetAzureRmRecoveryServicesBackupSchedulePolicyObject' to default the 'PolicySubType' to 'Enhanced' for AzureVM.
46+
* Updated Azure Backup SDK version to support protecting TVM with standard policy.
47+
48+
#### Az.RedisEnterpriseCache 1.5.0
49+
* Added support for listing all SKUs a cluster can scale to.
50+
* Added a new enum: NoCluster for Clustering policy.
51+
52+
#### Az.Resources 8.0.0
53+
* [Breaking Change] Updated API version of resource types from latest to DefaultApiVersion for cmdlets '*-AzResource' and 'Invoke-AzResourceAction'.
54+
55+
#### Az.Sql 6.0.4
56+
* Added server level action groups in enum of action groups to be able to be configured via auditing.
57+
58+
#### Az.StackHCI 2.6.0
59+
* Added EOL Message for 22H2
60+
61+
#### Az.Storage 9.0.0
62+
* Removed MD5 from blob and file upload in some scenarios
63+
- 'Set-AzStorageFileContent'
64+
- 'Set-AzStorageBlobContent'
65+
* Added prompt for customer confirmation for long running account migration operation .
66+
- 'Start-AzStorageAccountMigration'
67+
168
## 13.5.0 - May 2025
269
#### Az.Accounts 4.2.0
370
* Updated warning message about MFA. For more details, see https://go.microsoft.com/fwlink/?linkid=2276314

documentation/SyntaxChangeLog/SyntaxChangeLog-Az14.md

Lines changed: 495 additions & 0 deletions
Large diffs are not rendered by default.

generated/Storage/Storage.Autorest/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
2121
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
2222
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - Storage")]
23-
[assembly: System.Reflection.AssemblyFileVersionAttribute("8.1.0")]
24-
[assembly: System.Reflection.AssemblyVersionAttribute("8.1.0")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("8.4.0")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("8.4.0")]
2525
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
2626
[assembly: System.CLSCompliantAttribute(false)]

generated/Storage/Storage.Autorest/exports/Get-AzStorageAccountMigration.ps1

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,15 @@ begin {
138138
$PSBoundParameters['OutBuffer'] = 1
139139
}
140140
$parameterSet = $PSCmdlet.ParameterSetName
141+
142+
$testPlayback = $false
143+
$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
144+
145+
$context = Get-AzContext
146+
if (-not $context -and -not $testPlayback) {
147+
Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
148+
exit
149+
}
141150

142151
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
143152
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
@@ -161,8 +170,6 @@ begin {
161170
GetViaIdentity = 'Az.Storage.private\Get-AzStorageAccountMigration_GetViaIdentity';
162171
}
163172
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
164-
$testPlayback = $false
165-
$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
166173
if ($testPlayback) {
167174
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
168175
} else {

generated/Storage/Storage.Autorest/exports/Get-AzStorageFileServiceUsage.ps1

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,15 @@ begin {
147147
$PSBoundParameters['OutBuffer'] = 1
148148
}
149149
$parameterSet = $PSCmdlet.ParameterSetName
150+
151+
$testPlayback = $false
152+
$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
153+
154+
$context = Get-AzContext
155+
if (-not $context -and -not $testPlayback) {
156+
Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
157+
exit
158+
}
150159

151160
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
152161
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
@@ -171,8 +180,6 @@ begin {
171180
List = 'Az.Storage.private\Get-AzStorageFileServiceUsage_List';
172181
}
173182
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
174-
$testPlayback = $false
175-
$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
176183
if ($testPlayback) {
177184
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
178185
} else {

generated/Storage/Storage.Autorest/exports/ProxyCmdletDefinitions.ps1

Lines changed: 33 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,15 @@ begin {
138138
$PSBoundParameters['OutBuffer'] = 1
139139
}
140140
$parameterSet = $PSCmdlet.ParameterSetName
141+
142+
$testPlayback = $false
143+
$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
144+
145+
$context = Get-AzContext
146+
if (-not $context -and -not $testPlayback) {
147+
Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
148+
exit
149+
}
141150

142151
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
143152
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
@@ -161,8 +170,6 @@ begin {
161170
GetViaIdentity = 'Az.Storage.private\Get-AzStorageAccountMigration_GetViaIdentity';
162171
}
163172
if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
164-
$testPlayback = $false
165-
$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
166173
if ($testPlayback) {
167174
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
168175
} else {
@@ -355,6 +362,15 @@ begin {
355362
$PSBoundParameters['OutBuffer'] = 1
356363
}
357364
$parameterSet = $PSCmdlet.ParameterSetName
365+
366+
$testPlayback = $false
367+
$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
368+
369+
$context = Get-AzContext
370+
if (-not $context -and -not $testPlayback) {
371+
Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
372+
exit
373+
}
358374

359375
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
360376
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
@@ -379,8 +395,6 @@ begin {
379395
List = 'Az.Storage.private\Get-AzStorageFileServiceUsage_List';
380396
}
381397
if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
382-
$testPlayback = $false
383-
$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
384398
if ($testPlayback) {
385399
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
386400
} else {
@@ -552,6 +566,12 @@ param(
552566
# SrpAccountMigrationType in ARM contract which is 'accountMigrations'
553567
${Type},
554568

569+
[Parameter()]
570+
[Microsoft.Azure.PowerShell.Cmdlets.Storage.Category('Body')]
571+
[System.Management.Automation.SwitchParameter]
572+
# Forces the cmdlet to convert the account's redundancy configuration without prompting for confirmation.
573+
${Force},
574+
555575
[Parameter(ParameterSetName='CustomerViaJsonString', Mandatory)]
556576
[Microsoft.Azure.PowerShell.Cmdlets.Storage.Category('Body')]
557577
[System.String]
@@ -638,6 +658,15 @@ begin {
638658
$PSBoundParameters['OutBuffer'] = 1
639659
}
640660
$parameterSet = $PSCmdlet.ParameterSetName
661+
662+
$testPlayback = $false
663+
$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
664+
665+
$context = Get-AzContext
666+
if (-not $context -and -not $testPlayback) {
667+
Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
668+
exit
669+
}
641670

642671
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
643672
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
@@ -663,8 +692,6 @@ begin {
663692
CustomerViaIdentityExpanded = 'Az.Storage.custom\Start-AzStorageAccountMigration';
664693
}
665694
if (('CustomerExpanded', 'CustomerViaJsonString', 'CustomerViaJsonFilePath') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
666-
$testPlayback = $false
667-
$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
668695
if ($testPlayback) {
669696
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
670697
} else {

generated/Storage/Storage.Autorest/exports/Start-AzStorageAccountMigration.ps1

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,12 @@ param(
126126
# SrpAccountMigrationType in ARM contract which is 'accountMigrations'
127127
${Type},
128128

129+
[Parameter()]
130+
[Microsoft.Azure.PowerShell.Cmdlets.Storage.Category('Body')]
131+
[System.Management.Automation.SwitchParameter]
132+
# Forces the cmdlet to convert the account's redundancy configuration without prompting for confirmation.
133+
${Force},
134+
129135
[Parameter(ParameterSetName='CustomerViaJsonString', Mandatory)]
130136
[Microsoft.Azure.PowerShell.Cmdlets.Storage.Category('Body')]
131137
[System.String]
@@ -212,6 +218,15 @@ begin {
212218
$PSBoundParameters['OutBuffer'] = 1
213219
}
214220
$parameterSet = $PSCmdlet.ParameterSetName
221+
222+
$testPlayback = $false
223+
$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
224+
225+
$context = Get-AzContext
226+
if (-not $context -and -not $testPlayback) {
227+
Write-Error "No Azure login detected. Please run 'Connect-AzAccount' to log in."
228+
exit
229+
}
215230

216231
if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) {
217232
[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString()
@@ -237,8 +252,6 @@ begin {
237252
CustomerViaIdentityExpanded = 'Az.Storage.custom\Start-AzStorageAccountMigration';
238253
}
239254
if (('CustomerExpanded', 'CustomerViaJsonString', 'CustomerViaJsonFilePath') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId') ) {
240-
$testPlayback = $false
241-
$PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } }
242255
if ($testPlayback) {
243256
$PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1')
244257
} else {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"generate_Id": "c1579e62-4c75-4579-8aab-b119ed48e6eb"
2+
"generate_Id": "2355f548-6ff6-4ef8-81a5-ed5ba38c77c0"
33
}

0 commit comments

Comments
 (0)