Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
165 commits
Select commit Hold shift + click to select a range
f76dd2a
Remove non sensitivity for DDoS ruleset (#28757)
baoqihuang0326 Nov 4, 2025
037b3bb
Add NVA In VNet support for Network VirtualAppliance (#28776)
sbhosalemsft Nov 6, 2025
e838053
Rinilawar/filtering record type change (#28783)
riddhinilawar Nov 6, 2025
9b04545
RecordType test fix (#28817)
riddhinilawar Nov 7, 2025
f3b8146
Sync Branch with main & Resolve conflict
Nov 10, 2025
0f56e79
remove BreakingChangeIssues.csv files
azure-powershell-bot Nov 11, 2025
b3a542f
Bump Version for 15.0.0
azure-powershell-bot Nov 11, 2025
51368a4
Merge branch 'main' of https://github.com/kamboj-prjwl/azure-powershe…
Nov 11, 2025
bdbd295
add online version url
sbhosalemsft Nov 12, 2025
0342775
Merge pull request #1 from sbhosalemsft/fix_nvainvnet_help_file_issue
kamboj-prjwl Nov 12, 2025
cd78e32
Release network 2025 03 01 sync (#28847)
dolauli Nov 13, 2025
d33f6bd
Generated SDK for Network API version 2025-03-01 (#28866)
kamboj-prjwl Nov 17, 2025
6f57cc9
[skip ci] Archive d33f6bd54de6bfa3afdf47c228071f64f49e7774 (#28876)
azure-powershell-bot Nov 18, 2025
4a084e5
[skip ci] Archive Schedule (#28880)
azure-powershell-bot Nov 18, 2025
be0ea83
Datadog update powershell commands to 2025-06-11 spec (#28832)
jbhanuchand Nov 18, 2025
e84883e
Update commands to use new stable API version 2025-10-08 for Liftr-PA…
Prakriti-nith Nov 18, 2025
63db41d
Bump js-yaml from 4.1.0 to 4.1.1 in /tools/Mcp (#28874)
dependabot[bot] Nov 18, 2025
ad178b9
Resolve conflit when merging Az.15.0.0 to main
dolauli Nov 18, 2025
47fc36f
Pr 28862 (#28886)
VeryEarly Nov 18, 2025
73850d9
Revert "[ElasticSan] Support autoscale, prerestore, and prebackup " (…
yifanz7 Nov 19, 2025
26ad636
[skip ci] Archive 73850d91dd2209fd2300a35b03cd1c399c7e9d3b (#28896)
azure-powershell-bot Nov 19, 2025
11d78b6
Resolved Merge conflicts
Nov 19, 2025
152abd2
Resolved Merge conflict in BreakingChangeIssues file
Nov 19, 2025
218a56b
ElasticSan OOB Release (#28898)
azure-powershell-bot Nov 19, 2025
aac3a03
New Powershell Module for Disconnected Operations (#28870)
aviranjan24 Nov 20, 2025
3a6e34c
[skip ci] Archive aac3a0300263a5c371e5a4ab15388d46e6da2ef5 (#28906)
azure-powershell-bot Nov 20, 2025
cc96420
[Az.Functions] Enable support for Flex Consumption apps (#28873)
Francisco-Gamino Nov 20, 2025
59a899c
[skip ci] Archive Schedule (#28891)
azure-powershell-bot Nov 20, 2025
d0dd272
[skip ci] Archive e84883ebeb1fb35e9dff3dfdafaa8f9d97293904 (#28885)
azure-powershell-bot Nov 20, 2025
a98e158
[skip ci] Archive 30f3f25fda8651568830b88b3cd5f54d4c97dfee (#28875)
azure-powershell-bot Nov 20, 2025
42be82a
[skip ci] Archive be0ea8345fd20faa98641186b53720df4725258e (#28884)
azure-powershell-bot Nov 20, 2025
fffa52d
[skip ci] Archive cc964208da6fca1e0da60ab54c52a51f0fdba451 (#28907)
azure-powershell-bot Nov 20, 2025
e503809
[App Configuration] : Handle pagination of Get-AzAppConfigurationKeyV…
DanielMicrosoft Nov 20, 2025
99c8143
Add Az.DurableTask module (#28871)
AnatoliB Nov 21, 2025
9e9b9a5
Updated syntax for the breaking change records
Nov 21, 2025
9e69b19
Changes for resolving merge conflicts in the Release branch (#28900)
notyashhh Nov 24, 2025
8db5588
[skip ci] Archive 9e69b193238c7f81e147a2529300961c65d1e932 (#28915)
azure-powershell-bot Nov 25, 2025
3182e6d
[skip ci] Archive Schedule (#28913)
azure-powershell-bot Nov 25, 2025
626d807
[NetAppFiles] bump to 2025-09-01 (#28889)
audunn Nov 25, 2025
6edbcf5
Functions OOB Release (#28908)
azure-powershell-bot Nov 25, 2025
0b4b996
Release network 2025 03 01 (#28878)
notyashhh Nov 25, 2025
c162818
Sync resourceManagement.yml according To ADO Wiki Page - Service Cont…
azure-powershell-bot Nov 26, 2025
ea4b0ab
Add ResiliencyView parameter to Get-AzVmssVM for monitoring Resilient…
audreyttt Nov 26, 2025
1c71268
[CosmosDB] 2025-10-15 Stable API Version (#28812)
pjohari-ms Nov 26, 2025
d72152e
Bump Version for 15.1.0
azure-powershell-bot Nov 26, 2025
7016fbc
Added Sdk Supression for CosmosDB
notyashhh Dec 1, 2025
51ff46a
Bump express from 5.1.0 to 5.2.1 in /tools/Mcp (#28946)
dependabot[bot] Dec 2, 2025
9cb82c8
Release Az 15.1.0 (#28941)
notyashhh Dec 2, 2025
6a1a65a
Add instructions for Compute PR agent (#28914)
audreyttt Dec 2, 2025
9453ae0
Arc enable nodes before registration in latest Registration Flow (#28…
Samhitha-Microsoft Dec 4, 2025
42ffc5b
Update spec repo (#28948)
ankushbindlish2 Dec 4, 2025
8d210bf
StackHCI OOB Release (#28953)
azure-powershell-bot Dec 5, 2025
a34956e
Suppress CodeQL warning for RsaParamsFromPem method (#28960)
notyashhh Dec 8, 2025
00bf271
GA Az.NetAppFiles (#28962)
azure-powershell-bot Dec 8, 2025
43ccd98
Device Registry Public Preview 2025-11-01-preview (#28950)
Siongithub Dec 8, 2025
8ea4a34
[skip ci] Archive Schedule (#28965)
azure-powershell-bot Dec 9, 2025
0d212cd
Removed inactive accounts from CODEOWNERS (#28969)
isra-fel Dec 12, 2025
6c09c36
Security update for storageURL field of ApplicationPackage (#28957)
wiboris Dec 12, 2025
ef12235
Revert "Device Registry Public Preview 2025-11-01-preview" (#28968)
wyunchi-ms Dec 12, 2025
1951454
[skip ci] Archive Schedule (#28975)
azure-powershell-bot Dec 14, 2025
9b88294
[Az.Migrate] Stabilize command internals & update policy defaults (#2…
minhsuanlee Dec 14, 2025
0fc1607
tsp - upgrade tsp to 1.7 (#28985)
dolauli Dec 16, 2025
fa52ecc
[skip ci] Archive Schedule (#28979)
azure-powershell-bot Dec 17, 2025
5598e2b
Deprecate MobileNetwork (#28971)
wyunchi-ms Dec 17, 2025
00d42d0
[skip ci] Archive 9b882945f6d404e8b0733de7809060428c1f0381 (#28978)
azure-powershell-bot Dec 17, 2025
057e2ff
[Az.Aks] Bump api version to 2025-08-01 (#28786)
YanaXu Dec 18, 2025
f5b70ad
[NeonPostgres] test recording (#28996)
isra-fel Dec 19, 2025
f3bf3c0
[Sql] Update test recordings (#28997)
isra-fel Dec 19, 2025
97ab780
[skip ci] Archive 057e2ff8c19f00c102e5853aebcf8b9a6e710b67 (#28989)
azure-powershell-bot Dec 19, 2025
afe8d00
[skip ci] Archive Schedule (#28993)
azure-powershell-bot Dec 19, 2025
fe26e32
Update YamlDotNet installation to use CFS (#28981)
vidai-msft Dec 19, 2025
9e3bd5a
[Sql] Update test recordings (part 2) (#29002)
isra-fel Dec 19, 2025
c5c452e
[Eng] Improve typespec devexp with `New-DevTSPModule` (#28954)
VeryEarly Dec 22, 2025
1d465ea
[Dependency Update] Upgrade Azure.Core from 1.47.3 to 1.50.0 across m…
isra-fel Dec 22, 2025
747be9c
Powershell changes for IpVersionType property for Private Endpoint Cr…
bzpiyush Dec 23, 2025
2d820a5
Sync resourceManagement.yml according To ADO Wiki Page - Service Cont…
azure-powershell-bot Dec 24, 2025
ccb79f2
[FrontDoor] Add Sensitivity for WafManagedRuleOverrideObject (#28983)
Ptnan7 Dec 24, 2025
9d2d194
[skip ci] Archive Schedule (#29009)
azure-powershell-bot Dec 25, 2025
c6b9a5e
[skip ci] Archive ccb79f2716ed1bf301b1964bf914b3d73a726eea (#29008)
azure-powershell-bot Dec 25, 2025
edb5b10
[RecoveryServices]: add cross region restore support for Bleu Cloud C…
prog-rajkamal Dec 25, 2025
a7c4dd6
{EdgeAction} Add Az.EdgeAction PowerShell module for 2025-09-01-previ…
tundwed Dec 25, 2025
32c12d1
Adding Automatic Zone Placement (#28882)
audreyttt Dec 25, 2025
3b15629
[Az.Accounts] Fix `ClientRequestId` being overwritten in telemetry pa…
DanielMicrosoft Jan 4, 2026
fb0cd48
Fix an error in publishModules.psm1 (#29020)
YanaXu Jan 5, 2026
748802a
[skip ci] Archive Schedule (#29012)
azure-powershell-bot Jan 5, 2026
acbc567
Update Microsoft.Security/privateLinks to stable version (#29013)
amih90 Jan 5, 2026
667382e
[ContainerRegistry] Fix `-ExposeToken` only print token as secure str…
VeryEarly Jan 5, 2026
086c18a
Add ArgumentCompleter to Configuration parameter in BuildModules.ps1 …
Copilot Jan 5, 2026
e98d3c0
[Storage] Migrate Storage to base on swagger generated by TSP (#28984)
yifanz7 Jan 5, 2026
2c8ff18
[Eng] Exit when outdated submodules detected during release (#29021)
VeryEarly Jan 5, 2026
7bd54e0
[skip ci] Archive e98d3c05a16dd0cb9fd66e8ea195eb7529b08d0d (#29022)
azure-powershell-bot Jan 5, 2026
73a4498
[DataFactory]Powershell Release (#29024)
Jingshu918 Jan 5, 2026
17387b1
Added Deleted server command and modified new and set logical server …
rambabu-yalla Jan 6, 2026
047421d
Add High Speed Interconnect Placement property to VMSS commands (#28994)
audreyttt Jan 6, 2026
793427c
[PS] announcement for MachineLearningServices module migration breaki…
JoyerJin Jan 6, 2026
2b4434c
Adding platform fault domain and avzone support (#28681)
abageria Jan 6, 2026
79844eb
[skip ci] Archive Schedule (#29028)
azure-powershell-bot Jan 7, 2026
a025c3f
Fix comment formatting in RsaParamsFromPem method (#29030)
notyashhh Jan 7, 2026
aed0221
Fixed SoftDeleteRetentionDays computation (#29038)
rambabu-yalla Jan 9, 2026
065ed0b
Bump Version for 15.2.0
azure-powershell-bot Jan 10, 2026
949ea2b
Release Az 15.2.0 (#29041)
vidai-msft Jan 12, 2026
5fee27a
Remove the generated code for MobileNetwork (#29052)
wyunchi-ms Jan 12, 2026
45ee9bf
[skip ci] Archive Schedule (#29032)
azure-powershell-bot Jan 13, 2026
04a37e3
Detection of Cloud Deployment Flow using registry key (#29053)
Samhitha-Microsoft Jan 13, 2026
2b137e8
Generate PS SDK Microsoft.Network 2025-01-01 (#29057)
santoshgh317 Jan 15, 2026
c8f4e49
{EdgeAction}Update EdgeAction module to API version 2025-12-01-previe…
tundwed Jan 15, 2026
6504d6a
[skip ci] Archive c8f4e49bd11267426b328af628c2fb5c801eb5f0 (#29062)
azure-powershell-bot Jan 15, 2026
8b259ee
Remove unlisted packages Az.Pinecone and Az.WeightsAndBiases in azpre…
YanaXu Jan 15, 2026
e38610f
Merge remote-tracking branch 'Azure/main' into kamboj-prjwl/release-n…
Jan 15, 2026
ce93512
[Az.Aks] Enforce RSA as the GenerateSSHKeys default key type (#28998)
jovieir Jan 16, 2026
2ec688d
Sync branch network-release-2025-05-01 with main (#29063)
vidai-msft Jan 16, 2026
0b4bd76
[Az.Functions] Fix cloud portability by using dynamic endpoints for s…
Francisco-Gamino Jan 17, 2026
00d4520
[Az.Resources] Add breaking change preannouncement for `PSRoleDefinit…
atomassi Jan 17, 2026
c4480a6
Azure Automation Documentation update for Resume-AzAutomationJob and …
kkarmakarMS Jan 17, 2026
4e14c08
[Az.Resources] Fix Remove-AzRoleDefinition confirmation prompt (#29076)
atomassi Jan 19, 2026
83a254a
CodeQL Suppression comments for RSA parameter methods (#29078)
notyashhh Jan 20, 2026
553f639
[Storage] Upgrade to TLS1.2 when TLS1.0/1.1 is input to create/update…
yifanz7 Jan 20, 2026
8330df1
Added support for custom Azure Environments (#29067)
prateekprshr-nith Jan 20, 2026
dce6fd4
Do not arc enable the nodes for cloud deployed clusters even if they …
Samhitha-Microsoft Jan 20, 2026
63059b8
StackHCI OOB Release (#29087)
azure-powershell-bot Jan 22, 2026
2694809
[Az.Network] NSP changes 2025-05-01 (#29089)
karthik-gumpu Jan 22, 2026
fed399b
[skip ci] Archive 26948090c154606e8fe0a7d50975903650a29ba2 (#29093)
azure-powershell-bot Jan 22, 2026
d12255c
Fix Resources module console close when no login issue (#29086)
Pan-Qi Jan 22, 2026
5cc2fea
Add vna ps cmdlets (#29018)
arjun-d-patel Jan 22, 2026
5b32068
[RecoveryServices]: add cross region restore support for upcoming reg…
prog-rajkamal Jan 22, 2026
8df2ca6
[skip ci] Archive d12255c3f7f487992886ece4df8f1987ceea1f81 (#29095)
azure-powershell-bot Jan 22, 2026
c63c0dd
[BC]SignalR Breaking Change Announcement (#29080)
JiaSeng-v Jan 23, 2026
070064c
Generate Compute SDK using autorest.powershell (#28976)
audreyttt Jan 23, 2026
30698fc
[skip ci] Archive c63c0dda38f9282de2304b77f69bcb389c05b915 (#29097)
azure-powershell-bot Jan 23, 2026
99d6861
Az VMware Powershell Version new 2025-09-01 (#29090)
anaarias-msft Jan 23, 2026
72af274
[skip ci] Archive 99d68617d31163d259d9fdb1307182f303a8d999 (#29099)
azure-powershell-bot Jan 24, 2026
e5119d2
Release network 2025 05 01 (#29094)
dolauli Jan 26, 2026
dcdfb4b
[Storage] Support encryption in transit (#29083)
yifanz7 Jan 26, 2026
69da320
PS Support for Migration AvailaibilitySets APIs (#29085)
srcharug Jan 26, 2026
e16d6a4
corrected devcontainer to work on arm64 computers (#28939)
RenSilvaAU Jan 27, 2026
f0d58de
Replace Compute local swagger with remote swagger (#29101)
audreyttt Jan 27, 2026
985755a
Added support for DPP vault soft delete feature (#29064)
hiaga Jan 27, 2026
966b957
[skip ci] Archive 985755a77a8ae6f7ae983cb857388cc6cc9b6874 (#29105)
azure-powershell-bot Jan 27, 2026
0cfff18
Update ChangeLog for upcoming release features (#29106)
vidai-msft Jan 27, 2026
8a7392a
remove ProgressAction parameters
azure-powershell-bot Jan 27, 2026
052f226
Bump Version for 15.3.0
azure-powershell-bot Jan 27, 2026
1822a14
Deprecate trusted signing module (#29103)
janielMartell Jan 28, 2026
9a63799
Improve test coverage module extraction and file synchronization (#29…
vidai-msft Jan 29, 2026
64ac290
Merge branch 'main' into Daily/Release_20260127065525
vidai-msft Jan 29, 2026
2a36c4d
Release Az 15.3.0 (#29113)
isra-fel Jan 30, 2026
7ca1f5b
Create new artifact signing module (#29104)
janielMartell Feb 3, 2026
3b3e18d
[ElasticSan] Support auto scale, prebackup, and prerestore (#29114)
yifanz7 Feb 3, 2026
9754553
[MCP] Fix Security Vulnerabilities (#29091)
notyashhh Feb 5, 2026
e78037b
Replaced Invoke-Expression with Parser (#29056)
dunnryan Feb 5, 2026
d0413b6
[skip ci] Archive Schedule (#29128)
azure-powershell-bot Feb 5, 2026
cf307a8
Remove ignored ArtifactSigning.AutoRest csproj from source control (#…
Copilot Feb 6, 2026
cdf0754
[skip ci] Archive cf307a89ddefa41fc0a5eb2f508c961c82702a61 (#29147)
azure-powershell-bot Feb 6, 2026
a062a3d
Add Merge-DevPullRequest cmdlet and update documentation (#28718)
isra-fel Feb 9, 2026
02d58d4
Add DataReplication for PE (#29144)
srinivaas-ganesan Feb 9, 2026
2fa2e35
StorageAction tsp migration BC announcement (#29141)
Pan-Qi Feb 9, 2026
194a4f8
[Storage] Remove TLS1.0 and TLS1.1 options (#29140)
yifanz7 Feb 10, 2026
b71fe73
[skip ci] Archive 2fa2e3517a9856072db9d84599d8426eaf58ae11 (#29153)
azure-powershell-bot Feb 10, 2026
ef55c07
Fix live test issues (#29157)
vidai-msft Feb 10, 2026
7098616
Update agent name and description for Powershell PR
haagha Nov 12, 2025
84b2c34
Initial plan
Copilot Nov 17, 2025
4346d84
Add Disk Availability Policy support to Az.Compute cmdlets
Copilot Nov 17, 2025
f1b20bd
Add Test-DiskAvailabilityPolicy test for disk availability policy fea…
Feb 4, 2026
a6acb61
Update help docs for New-AzDiskConfig and New-AzDiskUpdateConfig with…
Feb 4, 2026
96bd468
[Az.Compute] Fix grammar in AvailabilityPolicy descriptions and clean…
Feb 9, 2026
22db800
Address PR review comments: revert auto-generated file, simplify desc…
Feb 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
9 changes: 2 additions & 7 deletions .azure-pipelines/azure-powershell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
- task: NodeTool@0
displayName: Install Autorest
inputs:
versionSpec: '18.20.8'
versionSpec: '20.19.6'
command: custom
verbose: false
customCommand: install autorest@latest
Expand All @@ -107,11 +107,6 @@ jobs:
targetType: inline
script: "$env:NODE_OPTIONS=\"--max-old-space-size=65536\""
pwsh: true
- task: Npm@1
displayName: Install tsp client
inputs:
command: custom
customCommand: install -g @azure-tools/typespec-client-generator-cli@0.15.x
- task: PowerShell@2
displayName: 'Build'
inputs:
Expand Down Expand Up @@ -212,7 +207,7 @@ jobs:
- task: NodeTool@0
displayName: Install autorest
inputs:
versionSpec: '18.20.8'
versionSpec: '20.19.6'
command: custom
verbose: false
customCommand: install autorest@latest
Expand Down
9 changes: 2 additions & 7 deletions .azure-pipelines/powershell-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- task: NodeTool@0
displayName: Install Autorest
inputs:
versionSpec: '18.20.8'
versionSpec: '20.19.6'
command: custom
verbose: false
customCommand: install autorest@latest
Expand All @@ -57,11 +57,6 @@ jobs:
targetType: inline
script: "$env:NODE_OPTIONS=\"--max-old-space-size=65536\""
pwsh: true
- task: Npm@1
displayName: Install tsp client
inputs:
command: custom
customCommand: install -g @azure-tools/typespec-client-generator-cli@0.15.x
- task: PowerShell@2
displayName: 'Build'
inputs:
Expand Down Expand Up @@ -107,7 +102,7 @@ jobs:
- task: NodeTool@0
displayName: Install autorest
inputs:
versionSpec: '18.20.8'
versionSpec: '20.19.6'
command: custom
verbose: false
customCommand: install autorest@latest
Expand Down
7 changes: 1 addition & 6 deletions .azure-pipelines/security-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- task: NodeTool@0
displayName: Install Autorest
inputs:
versionSpec: '18.20.7'
versionSpec: '20.19.6'
command: custom
verbose: false
customCommand: install autorest@latest
Expand All @@ -37,11 +37,6 @@ jobs:
targetType: inline
script: "$env:NODE_OPTIONS=\"--max-old-space-size=65536\""
pwsh: true
- task: Npm@1
displayName: Install tsp client
inputs:
command: custom
customCommand: install -g @azure-tools/typespec-client-generator-cli@0.15.x
- task: PowerShell@2
displayName: 'Build'
inputs:
Expand Down
4 changes: 4 additions & 0 deletions .azure-pipelines/sync-aliases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ jobs:
packageType: sdk
version: 8.x

- task: NuGetAuthenticate@1
inputs:
forceReinstallCredentialProvider: false

- pwsh: |
dotnet --version
dotnet new tool-manifest --force
Expand Down
7 changes: 1 addition & 6 deletions .azure-pipelines/util/analyze-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ steps:
- task: NodeTool@0
displayName: Install autorest
inputs:
versionSpec: '18.20.7'
versionSpec: '20.19.6'
command: custom
verbose: false
customCommand: install autorest@latest
Expand All @@ -21,11 +21,6 @@ steps:
targetType: inline
script: "$env:NODE_OPTIONS=\"--max-old-space-size=65536\""
pwsh: true
- task: Npm@1
displayName: Install tsp client
inputs:
command: custom
customCommand: install -g @azure-tools/typespec-client-generator-cli@0.15.x
- task: UseDotNet@2
displayName: 'Use .NET SDK'
inputs:
Expand Down
9 changes: 2 additions & 7 deletions .azure-pipelines/windows-powershell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- task: NodeTool@0
displayName: Install Autorest
inputs:
versionSpec: '18.20.8'
versionSpec: '20.19.6'
command: custom
verbose: false
customCommand: install autorest@latest
Expand All @@ -53,11 +53,6 @@ jobs:
targetType: inline
script: "$env:NODE_OPTIONS=\"--max-old-space-size=65536\""
pwsh: true
- task: Npm@1
displayName: Install tsp client
inputs:
command: custom
customCommand: install -g @azure-tools/typespec-client-generator-cli@0.15.x
- task: PowerShell@2
displayName: 'Build'
inputs:
Expand Down Expand Up @@ -103,7 +98,7 @@ jobs:
- task: NodeTool@0
displayName: Install autorest
inputs:
versionSpec: '18.20.8'
versionSpec: '20.19.6'
command: custom
verbose: false
customCommand: install autorest@latest
Expand Down
9 changes: 9 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Dockerfile for Azure PowerShell devcontainer
# Use official .NET 8.0 image for amd64 architecture
FROM --platform=linux/amd64 mcr.microsoft.com/devcontainers/dotnet:1-8.0

# Set working directory
WORKDIR /workspace

# Set default user to root for pwsh compatibility
USER root
35 changes: 22 additions & 13 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
// README at: https://github.com/devcontainers/templates/tree/main/src/dotnet
{
"name": "C# (.NET)",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/dotnet:1-8.0",
// Use a Dockerfile for custom configuration

"context": "..",

"dockerFile": "Dockerfile",

// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
Expand All @@ -15,28 +18,34 @@
}
},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [5000, 5001],
// "portsAttributes": {
// "5001": {
// "protocol": "https"
// }
// }

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "npm install -g autorest",
"postCreateCommand": "./.devcontainer/post-create.ps1",

// Configure tool-specific properties.
"customizations": {
"vscode": {
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"ms-dotnettools.csharp"
]
],
// Minimal settings to improve file search and git performance
"settings": {
"files.watcherExclude": {
"**/artifacts/**": true,
"**/.git/objects/**": true,
"**/node_modules/**": true
},
"search.exclude": {
"**/artifacts/**": true
}
}
}
},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// this will allow us to call pwsh in scripts
"remoteUser": "root"
"remoteUser": "root",

// Mount optimization for macOS
"workspaceMount": "source=${localWorkspaceFolder},target=/workspaces/${localWorkspaceFolderBasename},type=bind,consistency=cached"
}
27 changes: 27 additions & 0 deletions .devcontainer/post-create.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/usr/bin/env pwsh
#Requires -Version 7.0

$ErrorActionPreference = "Stop"

Write-Host "📦 Updating npm..." -ForegroundColor Cyan
npm update -g npm
if ($LASTEXITCODE -ne 0) {
throw "Failed to update npm"
}

Write-Host "🚀 Installing AutoRest..." -ForegroundColor Cyan
npm install -g autorest
if ($LASTEXITCODE -ne 0) {
throw "Failed to install AutoRest"
}

Write-Host "⚡ Installing platyPS..." -ForegroundColor Cyan
Install-Module -Name platyPS -Force -Scope CurrentUser -ErrorAction Stop

Write-Host "🔐 Installing Az.Accounts for authentication..." -ForegroundColor Cyan
Install-Module -Name Az.Accounts -Force -Scope CurrentUser -ErrorAction Stop

Write-Host "🧪 Installing PSScriptAnalyzer for static analysis..." -ForegroundColor Cyan
Install-Module -Name PSScriptAnalyzer -Force -Scope CurrentUser -ErrorAction Stop

Write-Host "✅ Post-create setup completed successfully!" -ForegroundColor Green
7 changes: 1 addition & 6 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
# @wyunchi-ms @dolauli @isra-fel are from the Azure PowerShell team. Adding them ensures they can merge the PR for those modules.

# To make sure Network PRs go to the right branch, e.g. network-april
/src/Compute/ @ookoka @haagha @audreyttt @wyunchi-ms @dolauli @isra-fel @VeryEarly @YanaXu @vidai-msft @NoriZC @notyashhh @Pan-Qi @DanielMicrosoft
/src/PolicyInsights/ @pilor @wyunchi-ms @dolauli @isra-fel @VeryEarly @YanaXu @vidai-msft @NoriZC @notyashhh @Pan-Qi @DanielMicrosoft
/src/Batch/ @wiboris @dpwatrous @wyunchi-ms @dolauli @isra-fel @VeryEarly @YanaXu @vidai-msft @NoriZC @notyashhh @Pan-Qi @DanielMicrosoft

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

# Make sure changes to .github folder go through our team's double check
/.github/ @wyunchi-ms @dolauli @isra-fel @VeryEarly @YanaXu @vidai-msft @NoriZC @notyashhh @Pan-Qi @DanielMicrosoft
77 changes: 77 additions & 0 deletions .github/agents/computePR.agent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
---
name: Compute PowerShell Pull Request Agent
description: Specialized agent for creating PowerShell pull requests based on a design request
---

The user is going to ask you to implement a new feature in existing C# code for a Powershell cmdlet. You will write tests, make code changes, add help docs, and add changelog.
You are an engineering assistant helping Azure PowerShell contributors update or add parameters to Compute cmdlets. Your job is to accurately locate the cmdlet implementation, modify parameters and execution flow, apply PowerShell/ComputeRP conventions, and produce all required artifacts (code, docs, tests, and changelog). Prioritize correctness, least-risk edits, and traceability.

# Scope
- Module: Azure PowerShell Compute
- Cmdlet files live under `src/Compute/Compute/**`
- You will read and reason about C# cmdlet sources, strategy classes, model classes, and test assets

# Objectives
1) Identify the correct cmdlet file and confirm the cmdlet mapping.
2) Add or modify parameters with proper metadata and mapping.
3) Update all required files (code, help, tests, changelog).

# Ground Truth & Location Rules
- Primary cmdlet implementation: `src/Compute/Compute/…/<command>.cs`
- Example: `New-AzVM` → `NewAzureVMCommand.cs`
- Confirm mapping via `[Cmdlet("Verb", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "Noun", ...)]`
- Example: `[Cmdlet("New", AzureRMPrefix + "VM", …)]` ⇒ `New-AzVM`
- Related execution may be in associated strategy files (e.g., `VirtualMachineStrategy.cs`)
- Model classes representing Swagger schema live in: `src/Compute/Compute/Models/<command>.cs`

# Parameter Authoring Rules
- Parameters are usually declared at the top of the cmdlet C# file.
- Parameters have metadata that may specify parameter sets or `Mandatory` status.
- **Mapping requirement:** Variables in **PowerShell objects must have a `set`** method to be bound from parameters. Follow the structure of existing parameters
- Keep parameter names, types, and sets consistent with the cmdlet design

# Execution Flow Rules
- `ExecuteCmdlet()` implements logic per **parameter set** (usually via `switch`).
- `DefaultExecuteCmdlet()` handles **DefaultParameterSet**.
- Additional methods (e.g., `CreateConfigAsync()`) may be invoked directly or via a `*Strategy` file.
- **Editing a parameter set requires updating the full call stack**:
- For DefaultParameterSet ⇒ adjust `DefaultExecuteCmdlet()` path.
- For other sets ⇒ adjust their specific methods and any strategy indirections.
- Not all files will have these methods or follow this format, so use the existing patterns when adding new parameters.

# Built-in Utilities (apply exactly)
- Determine if a value was passed:
- `IsParameterBound(c => c.<ParameterName>)`

- If required details are missing, make a comment and request clarification from the owning team.

# Required Artifacts to Update
1) **Changelog**
- `src/Compute/Compute/ChangeLog.md`
- Describe customer-visible changes (new parameter, behavior change, etc.).
2) **Model Class** (Swagger mapping)
- `src/Compute/Compute/Models/<model>.cs`
- Add/adjust properties to represent the API schema.
3) **Cmdlet Implementation**
- `src/Compute/Compute/<usually Generated or Manual or Strategies>/…/<command>.cs`
- Add/modify parameters, validation, binding, and execution paths.
- If code is split, also update related files (e.g., `NewAzureVMCommand.cs`, `VirtualMachineStrategy.cs`).
4) **Help Content**
- `src/Compute/Compute/help/<command>.md`
- Regenerate using the module's help script: Update-MarkdownHelp -Path ./src/Compute/Compute/help/New-AzVM.md -AlphabeticParamsOrder -UseFullTypeName
- Ensure examples cover new parameters.
- New parameters should go at the end of the parameter list.
5) **Tests**
- PowerShell scenario test: `src/Compute/Compute.Test/ScenarioTests/<resourceTests>.ps1`
- C# test reference: `src/Compute/Compute.Test/ScenarioTests/<resourceTests>.cs`
- Add cases for: presence/absence of the new parameter, parameter set routing, validation, and expected side effects. Use existing tests for reference on how to create new tests.
- Always create a new test instead of modifying existing tests.

# Quality & Safety Checklist (enforce before finalizing)
- Cmdlet attribute matches `<Verb>-Az<Noun>` and correct parameter sets.
- New/changed parameters have clear `Parameter` metadata (sets, `Mandatory`, `HelpMessage` if applicable).
- `ExecuteCmdlet()` routes correctly; Default vs non-default paths updated.
- `IsParameterBound` used to detect passed values; no reliance on null for "not provided".
- Help regenerated and examples verified.
- Scenario tests cover success/failure paths.
- `ChangeLog.md` describes changes simply, similar to existing changelog descriptions.
7 changes: 4 additions & 3 deletions .github/policies/resourceManagement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -669,9 +669,8 @@ configuration:
then:
- mentionUsers:
mentionees:
- fzkhan
- lasuredd-msft
- pkuma-msft
- ohnkoh-msft
- joschung
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
assignMentionees: False
- if:
Expand Down Expand Up @@ -3063,6 +3062,8 @@ configuration:
- mentionUsers:
mentionees:
- AzmonLogA
- raronen
- MeirMen
replyTemplate: Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc ${mentionees}.
assignMentionees: False
- if:
Expand Down
Loading