Commit d3ce2b5
committed
Migrate Az.Functions from AutoRest PowerShell v3 to v4
Breaking changes:
- Replaced -IdentityType parameter with -EnableSystemAssignedIdentity
(Boolean/SwitchParameter) in New-AzFunctionApp and Update-AzFunctionApp
- Replaced -IdentityID parameter with -UserAssignedIdentity (String
array of ARM resource IDs) in New-AzFunctionApp and Update-AzFunctionApp
- New-AzFunctionApp and Update-AzFunctionApp now support combining
SystemAssigned and UserAssigned identities in a single call
- Output type property changes: enum types converted to strings,
arrays converted to Lists (see BreakingChangeIssues.csv)
Bug fixes:
- Fix parameter set conflict between Create and CreateExpanded when
passing identity params to internal cmdlet
- Fix AppSetting list type (List[Object] to List[INameValuePair])
- Fix error messages to reference new parameter names
- Fix variable typo (siteCofig to siteConfig)
- Add SKU validation guards for Flex Consumption and Container App plans
Tests:
- Added combined SystemAssigned+UserAssigned identity tests for
New-AzFunctionApp and Update-AzFunctionApp
- Added Update-AzFunctionApp error guard test for Flex Consumption apps
- Updated test assertions for new parameter names and ErrorIds
- Removed 9 auto-generated template test stubs
- All 64 tests pass in both record and playback modes
Other:
- Updated functionAppStacks.json (adds Node.js 24, Python 3.14, Java 25)
- Added HelpMessage attributes for InputObject, DefaultProfile, and
ResourceGroupName across all custom cmdlets
- Added comment on StorageAccounts_Update remove-operation directive1 parent 2581eda commit d3ce2b5
File tree
75 files changed
+13687
-9712
lines changed- src/Functions
- Functions.Autorest
- Properties
- custom
- FunctionsStack
- api/Support
- docs
- examples
- test
- Functions
- Properties
- help
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
75 files changed
+13687
-9712
lines changedLines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
130 | 132 | | |
131 | 133 | | |
132 | 134 | | |
| |||
560 | 562 | | |
561 | 563 | | |
562 | 564 | | |
563 | | - | |
564 | | - | |
565 | | - | |
566 | | - | |
567 | | - | |
568 | | - | |
569 | | - | |
570 | | - | |
571 | | - | |
572 | | - | |
573 | | - | |
574 | | - | |
575 | | - | |
576 | | - | |
577 | | - | |
578 | | - | |
579 | | - | |
580 | | - | |
581 | | - | |
582 | 565 | | |
583 | 566 | | |
584 | 567 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments