Skip to content

Commit 189374a

Browse files
committed
Merge branch 'main' of https://github.com/Azure/azure-powershell into jinpei/main/ArcResourceBridge-v4
2 parents 8ca620e + ada0b93 commit 189374a

File tree

4,027 files changed

+821807
-163196
lines changed

Some content is hidden

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

4,027 files changed

+821807
-163196
lines changed

.azure-pipelines/PipelineSteps/BatchGeneration/analyse-modules.ps1

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,6 @@ foreach ($moduleName in $moduleGroup) {
6262
{
6363
$FailedTasks += "UXMetadata"
6464
}
65-
.("$toolsDirectory/ExecuteCIStep.ps1") -StaticAnalysisCmdletDiff @Parameters 2>>$ErrorLogPath
66-
If (($LASTEXITCODE -ne 0) -and ($LASTEXITCODE -ne $null))
67-
{
68-
$FailedTasks += "CmdletDiff"
69-
}
7065
If ($FailedTasks.Length -ne 0)
7166
{
7267
Write-Host "There are failed tasks: $FailedTasks"

.azure-pipelines/sync-aliases.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,20 @@ jobs:
3434
dotnet tool install powershell --version 7.4.*
3535
displayName: Install PowerShell 7.4.x
3636
37+
- pwsh: |
38+
if (-not (Get-PackageProvider -Name NuGet -ErrorAction SilentlyContinue)) {
39+
Install-PackageProvider -Name NuGet -Force
40+
}
41+
Install-Package -Name YamlDotNet -RequiredVersion $(YamlDotNetVersion) -ProviderName NuGet -Force -ErrorAction Stop
42+
displayName: Install YamlDotNet NuGet Package
43+
retryCountOnTaskFailure: 5
44+
3745
- pwsh: |
3846
dotnet tool run pwsh -NoLogo -NoProfile -NonInteractive -File ./tools/Github/ParseServiceContactsList.ps1 -AccessToken $env:SYSTEM_ACCESSTOKEN
3947
env:
4048
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
4149
displayName: Update resourceManagement.yml file locally
50+
condition: succeeded()
4251
4352
- pwsh: |
4453
$hasChanges = git diff --name-only .github/policies

.azure-pipelines/test-coverage.yml

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,10 @@ parameters:
77
displayName: Test Framework
88
type: string
99
default: net8.0
10-
- name: testPoolName
11-
displayName: Test Pool Name
12-
type: string
13-
default: pool-windows-2019
14-
- name: testPoolVMImage
15-
displayName: Test Pool VM Image
16-
type: string
17-
default: ' '
10+
- name: updateBaseline
11+
displayName: Update Test Coverage Baseline?
12+
type: boolean
13+
default: false
1814

1915
variables:
2016
EnableTestCoverage: true
@@ -51,9 +47,7 @@ jobs:
5147
- job: TestCoverage
5248
dependsOn: Build
5349
timeoutInMinutes: 600
54-
pool:
55-
name: ${{ parameters.testPoolName }}
56-
vmImage: ${{ parameters.testPoolVMImage }}
50+
pool: pool-windows-2019
5751

5852
steps:
5953
- task: UseDotNet@2
@@ -85,7 +79,7 @@ jobs:
8579

8680
- task: PowerShell@2
8781
displayName: Test Autorest-Based Cmdlets
88-
condition: succeeded()
82+
condition: succeededOrFailed()
8983
inputs:
9084
pwsh: true
9185
targetType: inline
@@ -103,18 +97,20 @@ jobs:
10397
10498
- task: PowerShell@2
10599
displayName: Analyze Test Coverage
106-
condition: succeeded()
100+
condition: succeededOrFailed()
107101
inputs:
108102
pwsh: true
109103
targetType: filePath
110104
filePath: ./tools/TestFx/Coverage/AnalyzeTestCoverage.ps1
111-
arguments: -CalcBaseline
105+
arguments: '-CalcBaseline:$${{ parameters.updateBaseline }}'
112106

113107
- template: util/get-github-pat-steps.yml
108+
parameters:
109+
execCondition: and(succeeded(), ${{ parameters.updateBaseline }})
114110

115111
- task: PowerShell@2
116112
displayName: Update Test Coverage Baseline
117-
condition: succeeded()
113+
condition: and(succeeded(), ${{ parameters.updateBaseline }})
118114
inputs:
119115
pwsh: true
120116
targetType: inline

.azure-pipelines/util/get-github-pat-steps.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
1+
parameters:
2+
- name: execCondition
3+
type: string
4+
default: succeeded()
5+
16
steps:
27
- task: AzurePowerShell@5
8+
displayName: Get GitHub PAT from Key Vault
9+
condition: ${{ parameters.execCondition }}
310
inputs:
411
pwsh: true
12+
azurePowerShellVersion: 'LatestVersion'
513
azureSubscription: '$(AzureSubscription)'
614
ScriptType: 'InlineScript'
715
Inline: |
816
$GithubToken = Get-AzKeyVaultSecret -VaultName $(GithubPATKeyVaultName) -Name $(GithubPATKeyVaultAccount) -AsPlainText
917
Write-Host "##vso[task.setvariable variable=GithubToken;issecret=true]$GithubToken"
10-
azurePowerShellVersion: 'LatestVersion'
11-
displayName: Get Github PAT from Key Vault

.github/CODEOWNERS

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# @wyunchi-ms @dolauli @isra-fel are from the Azure PowerShell team. Adding them ensures they can merge the PR for those modules.
22
# To make sure Network PRs go to the right branch, e.g. network-april
3-
/src/Compute/ @EdwinBernal1 @grizzlytheodore @ntangy @sandido @wyunchi-ms @dolauli @isra-fel @VeryEarly @YanaXu @vidai-msft @NoriZC @notyashhh @Pan-Qi @msJinLei
4-
/src/PolicyInsights/ @pilor @wyunchi-ms @dolauli @isra-fel @VeryEarly @YanaXu @vidai-msft @NoriZC @notyashhh @Pan-Qi @msJinLei
5-
/src/Batch/ @wiboris @dpwatrous @wyunchi-ms @dolauli @isra-fel @VeryEarly @YanaXu @vidai-msft @NoriZC @notyashhh @Pan-Qi @msJinLei
3+
/src/Compute/ @EdwinBernal1 @grizzlytheodore @ntangy @sandido @wyunchi-ms @dolauli @isra-fel @VeryEarly @YanaXu @vidai-msft @NoriZC @notyashhh @Pan-Qi
4+
/src/PolicyInsights/ @pilor @wyunchi-ms @dolauli @isra-fel @VeryEarly @YanaXu @vidai-msft @NoriZC @notyashhh @Pan-Qi
5+
/src/Batch/ @wiboris @dpwatrous @wyunchi-ms @dolauli @isra-fel @VeryEarly @YanaXu @vidai-msft @NoriZC @notyashhh @Pan-Qi
66

77
# Make sure Device Registry team gets notified of any DeviceRegistry PRs:
88
# PRLabel: %Device Registry
9-
/src/DeviceRegistry/ @marcodalessandro @rohankhandelwal @riteshrao @davidemontanari @wyunchi-ms @dolauli @isra-fel @VeryEarly @YanaXu @vidai-msft @NoriZC @notyashhh @Pan-Qi @msJinLei
9+
/src/DeviceRegistry/ @marcodalessandro @rohankhandelwal @riteshrao @davidemontanari @wyunchi-ms @dolauli @isra-fel @VeryEarly @YanaXu @vidai-msft @NoriZC @notyashhh @Pan-Qi
1010

1111
# Make sure changes to .github folder go through our team's double check
12-
/.github/ @wyunchi-ms @dolauli @isra-fel
12+
/.github/ @wyunchi-ms @dolauli @isra-fel @VeryEarly @YanaXu @vidai-msft @NoriZC @notyashhh @Pan-Qi

.github/policies/resourceManagement.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -669,13 +669,11 @@ configuration:
669669
then:
670670
- mentionUsers:
671671
mentionees:
672-
- mksuni
673-
- bgklein
674-
- mscurrell
675672
- dpwatrous
676-
- gingi
677-
- paterasMSFT
673+
- wiboris
678674
- cRui861
675+
- skapur12
676+
- wanghoppe
679677
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
680678
assignMentionees: False
681679
- if:

.github/workflows/sync-main-to-future.yml

Lines changed: 0 additions & 48 deletions
This file was deleted.

ChangeLog.md

Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,142 @@
1+
## 14.3.0 - August 2025
2+
#### Az.Accounts 5.2.0
3+
* Fixed an issue where 'Clear-AzContext' does not clear the token cache when broker is enabled.
4+
* Added new parameter '-ClaimsChallenge' to 'Connect-AzAccount' to support claims challenge authentication for MFA.
5+
* Refined the error message when a cmdlet fails because of policy violations about Multi-Factor Authentication (MFA) to provide more actionable guidance.
6+
7+
#### Az.ArizeAI 1.0.0
8+
* General availability for module Az.ArizeAI
9+
* Upgraded the API version to 2024-10-01
10+
11+
#### Az.Compute 10.2.0
12+
* Compute DiskRP related cmdlets will now use 2025-01-02 version of the DiskRP API.
13+
* Upgraded SpotPlacementScore cmdlets to api version 2025-06-05
14+
15+
#### Az.CosmosDB 1.18.2
16+
* Fixed issue where the restore command failed to detect the source account, even when it existed.
17+
18+
#### Az.DataLakeStore 1.5.0
19+
* Added a new cmdlet GetAzureDataLakeStoreDeletedItemWithtoken to support pagination in GetAzureDataLakeStoreDeletedItem
20+
21+
#### Az.DevCenter 2.0.2
22+
* Added preannouncement breaking change messages.
23+
24+
#### Az.EventHub 5.4.0
25+
* Added new cmdlets for Eventhubnetworksecurityperimeterconfiguration - 'Get-AzEventHubNetworkSecurityPerimeterConfigurationsForAssociation', 'Get-AzEventHubNetworkSecurityPerimeterConfiguration'
26+
27+
#### Az.Fabric 1.0.0
28+
* General availability for module Az.Fabric
29+
30+
#### Az.LambdaTest 1.0.0
31+
* General availability for module Az.LambdaTest
32+
* Upgraded the API version to 2024-02-01
33+
34+
#### Az.ManagedServices 3.1.2
35+
* Update the outputs of breaking change announcements.
36+
37+
#### Az.Migrate 2.9.0
38+
* Added '-OsType' as an optional parameter to command 'Set-AzMigrateLocalServerReplication' to allow user-specified OS type.
39+
* Fixed bugs in 'New-AzMigrateServerReplication' caused by deprecation of 'Get-AzVmSize -location'
40+
* Removed '-TargetStoragePathId' parameter from command 'New-AzMigrateLocalDiskMappingObject' until the feature to associate each disk to their own storage container path is supported.
41+
* Added '-SourceApplianceName' and '-TargetApplianceName' as required parameters to command 'New-AzMigrateLocalServerReplication' to allow users to specify appliance pairs of their choosing.
42+
* Enhanced resource validations in 'Initialize-AzMigrateLocalReplicationInfrastructure' and 'New-AzMigrateLocalServerReplication'.
43+
44+
#### Az.Monitor 6.0.3
45+
* Added breaking change announcement for below cmdlets from single object or fixed array to list.
46+
- 'Get-AzActivityLogAlert'
47+
- 'New-AzActivityLogAlert'
48+
- 'Update-AzActivityLogAlert'
49+
- 'New-AzActivityLogAlertAlertRuleAnyOfOrLeafConditionObject'
50+
- 'New-AzActivityLogAlertAlertRuleLeafConditionObject'
51+
- 'Get-AzAutoscalePredictiveMetric'
52+
- 'Get-AzAutoscaleSetting'
53+
- 'New-AzAutoscaleNotificationObject'
54+
- 'New-AzAutoscaleProfileObject'
55+
- 'New-AzAutoscaleScaleRuleMetricDimensionObject'
56+
- 'New-AzAutoscaleScaleRuleObject'
57+
- 'New-AzAutoscaleSetting'
58+
- 'Update-AzAutoscaleSetting'
59+
- 'Get-AzMonitorWorkspace'
60+
- 'New-AzMonitorWorkspace'
61+
- 'Update-AzMonitorWorkspace'
62+
- 'New-AzDiagnosticSetting'
63+
- 'New-AzSubscriptionDiagnosticSetting'
64+
- 'Get-AzDiagnosticSetting'
65+
- 'Get-AzDiagnosticSettingCategory'
66+
- 'Get-AzSubscriptionDiagnosticSetting'
67+
- 'Get-AzScheduledQueryRule'
68+
- 'New-AzScheduledQueryRule'
69+
- 'New-AzScheduledQueryRuleConditionObject'
70+
- 'New-AzScheduledQueryRuleDimensionObject'
71+
- 'Update-AzScheduledQueryRule'
72+
73+
#### Az.MySql 1.5.0
74+
- Aligned with SimplySql, use a PSCredential object instead of UserName/Password parameters when calling Open-MySQLConnection
75+
- Introduced a Timeout value when running Test-AzMySqlFlexibleServerConnect with long running query
76+
77+
#### Az.Network 7.19.0
78+
* Returned appgw and agc in waf policy
79+
* Updated cmdlet 'New-AzFirewallPolicyApplicationRule' to use HTTPS as the default protocol when creating a new FQDN Tag application rule.
80+
* Added 'EnableDnstapLogging' parameter to 'New-AzFirewall'
81+
82+
#### Az.NetworkCloud 1.2.0
83+
* Upgraded API version to 2025-02-01
84+
85+
#### Az.Nginx 1.2.1
86+
* Added breaking change announcement for below cmdlets from fixed array to list.
87+
- 'Get-AzNginxConfiguration'
88+
- 'New-AzNginxConfiguration'
89+
- 'Get-AzNginxDeployment'
90+
- 'New-AzNginxDeployment'
91+
- 'Update-AzNginxDeployment'
92+
- 'Invoke-AzNginxAnalysisConfiguration'
93+
- 'New-AzNginxNetworkProfileObject'
94+
* Added breaking change announcement for 'New-AzNginxDeployment' and 'Update-AzNginxDeployment' cmdlets.
95+
- Removed '-IdentityType' parameter to support new Managed Identity settings.
96+
- Removed '-IdentityUserAssignedIdentity'.
97+
* The parameters of the 'New-AzNginxDeployment' and 'Update-AzNginxDeployment' cmdlets will be changed by new Managed Identity settings.
98+
- Added '-UserAssignedIdentity' parameter. The type of 'UserAssignedIdentity' is simplified to a list of strings that is used to specify the user's assigned identity.
99+
- Added 'EnableSystemAssignedIdentity' to enable/disable system-assigned identities.
100+
101+
#### Az.Oracle 1.2.0
102+
* Upgraded to the stable version 2025-03-01
103+
104+
#### Az.PostgreSql 1.4.0
105+
- Aligned with SimplySql, use a PSCredential object instead of UserName/Password parameters when calling Open-PostGreConnection
106+
- Introduced a Timeout value when running Test-AzPostgreSqlFlexibleServerConnect with long running query
107+
108+
#### Az.RecoveryServices 7.8.0
109+
* Added new optional parameter CVMOsDiskEncryptionSetId in Restore-AzRecoveryServicesBackupItem.
110+
111+
#### Az.Relay 2.1.2
112+
* Update the outputs of breaking change announcements.
113+
114+
#### Az.Resources 8.1.0
115+
* Added functionality for cmdlet 'GetAzureResourceGroup'[#27865]
116+
* Added breaking change announcement for below cmdlets from array to list.
117+
- 'Get-AzRoleManagementPolicy'
118+
- 'Update-AzRoleManagementPolicy'
119+
* Added support for exporting resource group templates as Bicep files
120+
- Added 'OutputFormat' parameter to 'Export-AzResourceGroup' cmdlet
121+
- Supported values: 'Json' (default), 'Bicep'
122+
123+
#### Az.ServiceFabric 3.6.0
124+
* Added parameter 'Location' to allow users to specify a different node type location than the resource group location in cmdlet 'Add-AzServiceFabricNodeType'.
125+
* Added parameter 'VmSize' to allow for in-place sku swap for cmdlet 'Set-AzServiceFabricManagedNodeType'.
126+
* Updated SFMC to latest api preview version '2025-03-01-preview'
127+
128+
#### Az.Sql 6.0.5
129+
* Updated 'DatabaseOperations' Api to version '2024-11-01-preview' for .Net Sdk
130+
131+
#### Az.StackHCI 2.6.1
132+
* Used fully qualified computer name and added warning for user to upgrade to solution.
133+
134+
#### Az.StorageSync 2.5.1
135+
* Fixed security bug in token acquisition for MI server registration
136+
137+
#### Az.Synapse 3.2.2
138+
* Fixed an error when remove artifact throw 'ArgumentNullException'
139+
1140
## 14.2.0 - July 2025
2141
#### Az.Accounts 5.1.1
3142
* Updated the date in the message about multi-factor authentication (MFA). For more details, see https://go.microsoft.com/fwlink/?linkid=2276971

docker/Dockerfile-ubuntu-20.04

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)