Skip to content

[Do Not Squash] merge latest main branch change to storage preview branch #15964

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 173 commits into from
Sep 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
173 commits
Select commit Hold shift + click to select a range
2416771
Enable Available Zones when creating hub Firewalls (#15339)
kenchenMicrosoft Jun 24, 2021
c631d70
Adding new parameters for CustomIpPrefix (#15333)
gitlwh Jul 1, 2021
e4c24d5
Add new parameter for New-AzPublicIpPrefix (#15412)
BethanyZhou Jul 5, 2021
2547f2a
Fixed merge commits issue
dingmeng-xue Jul 5, 2021
3f43365
refine help docs (#15597)
BethanyZhou Aug 4, 2021
f16aa20
Update New-AzWebAppCertificate.md (#15599)
kratz0719 Aug 4, 2021
94dbd6d
Update Test-AzKustoClusterNameAvailability.md (#15604)
jmyerscough Aug 4, 2021
dcc2e4b
ApiManagement - new verison 2020-12-01 update (#15524)
KacieKK Aug 4, 2021
a8eeaf7
Add build.proj to sync list when main branch is changed. (#15607)
wyunchi-ms Aug 4, 2021
4143de6
modify az-ps-latest.csv to match the requirement of docs team (#15606)
BethanyZhou Aug 4, 2021
c24f304
set default value for auto pause and auto scale settings of New-AzSy…
yanjungao718 Aug 5, 2021
c0d0c74
[Synapse] Update Set-AzSynapseSqlActiveDirectoryAdministrator to add …
wonner Aug 5, 2021
ed3d7c9
added MSI based Restore (#15519)
hiaga Aug 5, 2021
5d8ab3b
Update Get-AzFirewallPolicy readme.md (#15621)
tobystic Aug 6, 2021
e742b43
[PowerBI] Add Private Link Support (#15613)
moli-msft Aug 6, 2021
1a5ca02
Add some SingularNouns for Statis Analysis (#15624)
wyunchi-ms Aug 10, 2021
b088740
[DataFactory]Updated ADF .Net SDK version to 4.22.0 (#15625)
Jingshu923 Aug 10, 2021
615fb74
[PowerBI] Add Private Link Support with updated parameters (#15632)
moli-msft Aug 10, 2021
367651b
Move BotService to main (#15636)
wyunchi-ms Aug 10, 2021
efb1b14
recovery services 4.5.0 (#15628)
VeryEarly Aug 10, 2021
662a3ff
Add psm1 generation for hybrid modules in debug build, #15483 (#15638)
dolauli Aug 11, 2021
061923b
Update New-AzDataMigrationService.md (#15646)
cawrites Aug 11, 2021
4ad1464
[Storage] Fix Bug 10483492: Remove-AzDataLakeGen2Item fails with read…
blueww Aug 11, 2021
4024ada
[Storage] Fix 2 sas issue (#15648)
blueww Aug 11, 2021
5794114
change [Update-AzSynapseWorkspaceKey] to [Enable-AzSynapseWorkspace] …
yanjungao718 Aug 12, 2021
0fd280b
Keep RequiredModules for Debug configuraiton during add psm1 dependen…
erich-wang Aug 12, 2021
2f94e55
add params to New-Azvm (#15605)
grizzlytheodore Aug 13, 2021
6010979
Corrections based on build warnings in the docs repo (#15664)
mikefrobbins Aug 13, 2021
2ce9bcc
Refine description for Enable-AzSynapseWorkspace cmdlet help doc (#15…
yanjungao718 Aug 13, 2021
4eeda23
[Synapse] Add support for workspace Repository Configuration (#15660)
wonner Aug 13, 2021
3c7bec2
Create mutex names that are safe for Linux (fixes #15653) (#15666)
jeepingben Aug 16, 2021
28a5583
[SQL] Updating SDK Package Version (#15667)
rewongmicrosoft Aug 16, 2021
2692a0e
[Resources] Add support for new change types to What-If cmdlets (#15683)
shenglol Aug 17, 2021
c73f049
Add autogen-directives-for-azure-powershell.md (#15684)
BethanyZhou Aug 17, 2021
2d9c039
[ProviderHub] Move ProviderHub to main (#15675)
VeryEarly Aug 17, 2021
c21caf3
Move CloudService to main (#15655)
wyunchi-ms Aug 18, 2021
1d9faf9
[Compute] SpotRestorePolicy changes to New-AzVmss (#15681)
haagha Aug 18, 2021
a52d3ce
Supports GitHub codespaces (#15694)
isra-fel Aug 18, 2021
b4917ce
move cmdlet init logic into BeginProcessing() (#15695)
isra-fel Aug 18, 2021
4b6bf42
Fix examples regarding EmailAdmins parameter (#15701)
vitomaz-msft Aug 19, 2021
b53a33d
[CosmosDB] Fixing the Restore-AzCosmosDBAccount command bug for delet…
kavskalyan Aug 19, 2021
56496e0
Import-AzAutomationRunbook: Closing the file stream opened to import …
jagpreetstamber Aug 19, 2021
95aa856
Add new SIG-related examples (#15693)
olayemio Aug 19, 2021
aa24916
[Compute] Restore point and Restore point collection (#15588)
haagha Aug 19, 2021
8229206
[AppService]: fix #9316-Calling Set-AzWebApp with -HostNames can fail…
Kotasudhakarreddy Aug 19, 2021
f606f49
Supports overriding default subscription via -SubscriptionId (#15659)
isra-fel Aug 19, 2021
9bf2db0
Add examples to Update-AzGalleryImageVersion and Update-AzGalleryImag…
olayemio Aug 20, 2021
70408f4
SecurityInsights-1.1.0 (#15703)
Aug 20, 2021
a12ab0f
Move Purview to main (#15700)
BethanyZhou Aug 20, 2021
f431299
add parameters to Set-AzVmssOSProfile (#15692)
grizzlytheodore Aug 20, 2021
51c48b7
[PostgreSQL] Codegen/postgre sql (#15677)
VeryEarly Aug 20, 2021
dfe4cbc
Update Changelog.md (#15717)
VeryEarly Aug 20, 2021
7f959d1
Codegen/change analysis (#15697)
VeryEarly Aug 20, 2021
766912c
Fix typo in cmdlet example (#15719)
mauricio-msft Aug 24, 2021
41ef0d8
[DataFactory]Updated ADF .Net SDK version to 4.23.0 (#15724)
Jingshu923 Aug 24, 2021
a6c6017
Update StorageSyncClientCmdletBase.cs (#15728)
isra-fel Aug 24, 2021
7700337
[Az.StorageSync] Update to StorageSync SDK 6, support authoritative u…
anpint Aug 24, 2021
0f87d95
[Doc] How to: Enable Overriding Subscription ID in Your Module (#15710)
isra-fel Aug 24, 2021
b3eca2d
added 3 action group to enum (#15698)
IliasKhan Aug 24, 2021
449145c
[DataFactory]Added PublicNetworkAccess to Data Factory (#15736)
Jingshu923 Aug 25, 2021
b88731c
Added ZoneRedundant parameter to new and set managed instance operati…
krivi37 Aug 25, 2021
f8e8e6b
Onboard few private links (#15746)
BethanyZhou Aug 25, 2021
44ffd02
[Storage] Support blob tag (#15742)
blueww Aug 25, 2021
7af211f
Reimplemented overriding subscription ID (#15743)
isra-fel Aug 25, 2021
f229918
[Azure CDN] Fixed mandatory parameters issue in Get-AzCdnEndpointReso…
t-bzhan Aug 26, 2021
7d1138c
[ApiManagement] Add private Link Support (#15594)
RupengLiu Aug 26, 2021
d2ff6b1
[DataFactory] Support outboundNetworkDependency API and subnetId for …
nick-ms-ts Aug 26, 2021
ae19270
[Synapse] - Add license header (#15760)
idear1203 Aug 27, 2021
83ab5b8
docs: add examples for Update-AzSubscription (#15748)
matsest Aug 27, 2021
913b1d8
[Tools] Fix the issue for large PR (#15763)
wyunchi-ms Aug 27, 2021
d528134
OOB release for CosmosDB (#15741)
VeryEarly Aug 30, 2021
b2c3af2
[Synapse] - Add support for workspace package (#15727)
idear1203 Aug 30, 2021
e96af04
support creating ec keys in key vault (#15737)
BethanyZhou Aug 30, 2021
90138d4
Added method to support allocate/deallocate of hub firewalls (#15750)
kenchenMicrosoft Aug 30, 2021
e8eabf2
Azure Site Recovery - RCM multi appliance support (#15757)
pradheepm Aug 30, 2021
6f3647d
Adding support for pagination in Sql Get Databases (#15772)
harpaul-gill Aug 30, 2021
ef94fa5
Polish changelog for upcoming release (#15773)
dingmeng-xue Aug 30, 2021
4920aca
Gateway Load Balancer inconsistency fix (#15745)
matyang22 Aug 31, 2021
7e69bd7
Move DataBox to main (#15755)
VeryEarly Aug 31, 2021
b483e27
Ignore method of input parameter from serialized cmdlets (#15775)
dingmeng-xue Aug 31, 2021
4fd8ba2
[Az.StorageSync] Add parameter sets to Invoke-AzStorageSyncChangeDete…
geolivo Aug 31, 2021
ab0c125
New-TestCredential method unable to use according to Azure.TestFramew…
LucasYao93 Aug 31, 2021
b4a9efb
Fixed targetPhysicalPath issue with SQL CRR (#15777)
hiaga Aug 31, 2021
9d99931
Update New-AzSqlDatabaseFailoverGroup.md (#15778)
BustosMSFT Aug 31, 2021
7a00bde
Fix spelling of accountname (#15779)
asears Aug 31, 2021
9a4f05f
Fix Spelling, examples (#15780)
asears Aug 31, 2021
f068076
Move DataProtection to main (#15783)
VeryEarly Aug 31, 2021
7b2dae3
Move PostgreSql to main (#15784)
VeryEarly Aug 31, 2021
5b35cbe
Move Confluent to main (#15782)
VeryEarly Aug 31, 2021
deae9f2
migrate synapse.autorest to main (#15786)
VeryEarly Aug 31, 2021
fa028b0
Codegen/migrate (#15787)
VeryEarly Aug 31, 2021
c04ec14
Docs: Parameter is ignored when listing secrets (#15788)
LosManos Aug 31, 2021
8831286
Updated parameter value as it does not support lexical timespans (#15…
mikefrobbins Sep 1, 2021
b70510b
Update enable-subscription-id-overriding.md with limitations (#15796)
isra-fel Sep 2, 2021
d1921a2
Initial documentation for RDFE Authentication (#15721)
markcowl Sep 2, 2021
07f48a6
[Az.KeyVault] Supports overriding default subscription via -Subscript…
BethanyZhou Sep 2, 2021
ca88134
hide real name in help docs (#15798)
wanyang7 Sep 2, 2021
1870c90
Update New-AzOperationalInsightsWorkspace.md (#15804)
maheswaran-pa Sep 3, 2021
1924527
Changed using azure test framework help docs. (#15797)
LucasYao93 Sep 3, 2021
e620da9
release-2021-09-07
VeryEarly Sep 3, 2021
72bcf8a
Merge pull request #15811 from Azure/resolve-conflict-for-release-202…
VeryEarly Sep 4, 2021
ec493b6
Recode Example2 (#15808)
grabery Sep 6, 2021
00f4328
update docs for managed hsm (#15817)
BethanyZhou Sep 6, 2021
8b4f2c8
Fix typo with breaking change descriptions and Sql migration docs (#1…
ArmaanMcleod Sep 7, 2021
24f497c
Supports Encrypt/Decrypt/Wrap/Unwrap using keys (#15816)
BethanyZhou Sep 7, 2021
e251542
[DataFactory]Updated ADF .Net SDK version to 4.24.0 (#15821)
Jingshu923 Sep 7, 2021
364d74b
Fix null ref and typos for new afdx rule (#15832)
Sep 8, 2021
2a56655
update get-azaccesstoken markdown file (#15834)
BethanyZhou Sep 8, 2021
bf2f74b
Update Set-AzNetworkInterfaceIpConfig.md (#15846)
SysAdminforCoffee Sep 9, 2021
9c050cd
Cplat update sd kto49 (#15814)
grizzlytheodore Sep 9, 2021
a387ffb
[Synapse] - fix workspace package null check issue (#15847)
idear1203 Sep 10, 2021
2e72f97
Rebased with main branch
MikhailTryakhov Sep 10, 2021
c32a63d
Merge branch 'network-march' into mitryakh/network-master
MikhailTryakhov Sep 13, 2021
2ceca3f
[Synapse] Add cmdlet to encrypt credential in linked service (#15840)
v-hozhao Sep 13, 2021
acb97e4
add/fix examples (#15849)
DaeunYim Sep 13, 2021
ee972ab
Added ConsentToPermissions optional parameter to Register-AzResourceP…
fwanggg Sep 13, 2021
d5ea593
Merge pull request #15857 from Azure/mitryakh/network-master
wyunchi-ms Sep 14, 2021
537b4fb
Update Get-AzVpnConnection.md (#15866)
wtnlee Sep 14, 2021
f22c1cf
Fix ImportExport Status commandlet to return the error message if the…
sredman Sep 14, 2021
f6f147a
Hotfix for Synapse (#15871)
wyunchi-ms Sep 14, 2021
ebd0f73
[Synapse] Add synapse Trigger Run commands (#15853)
kevinzz6 Sep 15, 2021
65b76a6
[FrontDoor] New-AzFrontDoorRulesEngineActionObject: Allow rule engine…
t-bzhan Sep 15, 2021
596a9bf
Set the correlation id and share project props (#15877)
kceiw Sep 15, 2021
3878746
Onboarding ARM to the Private Link Common Cmdlets (#15858)
jennyhunter-msft Sep 15, 2021
4ef123b
[Synapse] Add synapse Integration Runtime commands (#15837)
kevinzz6 Sep 15, 2021
caacb3c
Add a clearer error message for a case in which TemplateUri do not ac…
BethanyZhou Sep 15, 2021
a78cc16
Upgrade Storage dataplane SDK to STG78, Azure.Core to 1.19.0 (#15880)
blueww Sep 16, 2021
9d62943
Match and provide the survey/feedback cmdlet (#15884)
kceiw Sep 16, 2021
2a574a7
[Synapse] Update version of reference package to use stable api versi…
wanyang7 Sep 16, 2021
64adaa2
Broken link review (#15893)
mimckitt Sep 17, 2021
9dfbd0e
Reworded sentence to make it clear that a specific key version must b…
x509cert Sep 17, 2021
1bb1f72
Support for Sku and ScaleUnits parameter for BastionHost resource (#1…
abhi7860 Sep 17, 2021
52824dd
(AzureCXP) fixed New-AzFirewallPolicyNatRuleCollection (#15894)
ChaitanyaNaykodi-MSFT Sep 17, 2021
2403f09
(AzureCXP) fixed Example 1 (#15895)
ChaitanyaNaykodi-MSFT Sep 17, 2021
2fd2da0
Fixed changelog
MikhailTryakhov Sep 17, 2021
40f4c6f
fix (#15900)
KacieKK Sep 18, 2021
974f6e3
Azure Site Recovery - Minor bug fixes (#15892)
pradheepm Sep 18, 2021
7abf28c
[Storage] Support upgrade storage account to enable HierarchicalNames…
blueww Sep 18, 2021
998132e
[DataFactory]Updated ADF .Net SDK version to 4.25.0 (#15902)
Jingshu923 Sep 18, 2021
fe37b09
PowerShell support for spark pool link with spark configuration file …
yanjungao718 Sep 18, 2021
8ea9f3a
Merge pull request #15897 from Azure/mitryakh/march-HF
wyunchi-ms Sep 18, 2021
ddd3fac
Update ASC power shell (#15815)
GalGrinblat Sep 18, 2021
542f9ad
Support Assembly Load Context (#15411)
erich-wang Sep 20, 2021
0a07add
Fix multi-regional examples (#15918)
joelmforsyth Sep 22, 2021
77152b5
Add new cmdlets for HubBgpConnection child resource of VirtualHub (#1…
AndriiKalinichenko Sep 22, 2021
9a4e43f
[DataFactory] Support Express Azure-SSIS IR (#15904)
nick-ms-ts Sep 22, 2021
36de966
Remove duplicated .props file reference in csproj (#15921)
isra-fel Sep 22, 2021
8beb5be
Add new parameter to enable/disable BGP route translation for NAT Vir…
Nilambari Sep 22, 2021
4bb5529
[Az.StorageSync] Ensure all properties in PSSyncSessionStatus and PSS…
anpint Sep 22, 2021
4b158e3
[VMware] Migrate change from generation branch (#15903)
wyunchi-ms Sep 22, 2021
ac0c5c7
Fix publish error caused by coping assembly that doesn't exist (#15924)
isra-fel Sep 22, 2021
356978a
Update the external module dependencies to Az.Accounts. (#15930)
kceiw Sep 22, 2021
892c54b
[DataFactory] Support Express Azure-SSIS IR (#15925)
nick-ms-ts Sep 23, 2021
42a38fb
Fix daily smoke test (#15928)
isra-fel Sep 23, 2021
0749c74
Fix default parameter sets for HubBgpConnection cmdlets. Minor fixes …
AndriiKalinichenko Sep 23, 2021
c3a34f7
Onboard Azure HDInsight to Private Link Common cmdlets (#15926)
aim-for-better Sep 23, 2021
4929e40
[Az Resources] Fix resource tags casing serialization - tags casing n…
jorgecotillo Sep 23, 2021
684a236
[DataFlow] add additional cmd parameter for quick reuse of cluster fo…
lee1961 Sep 23, 2021
d2fa530
Fix wrong encoding in *-AzVirtualHubRoute*.md (#15935)
isra-fel Sep 23, 2021
10cb220
Sign AuthenticationAssemblyLoadContext.dll in daily build (#15934)
isra-fel Sep 23, 2021
75bf9b9
Add Az.Attestation module to Az (#15933)
BethanyZhou Sep 23, 2021
2511b07
[AppService]: fix #14790- updated `Import-AzWebAppKeyVaultCertificate…
Kotasudhakarreddy Sep 24, 2021
b47f246
Use last PowerState instance in Statuses for power status (#15941)
DSakura207 Sep 24, 2021
a7cb13d
Update to Microsoft.Azure.Management.Authorization 2.13.0-preview (#1…
sneivandt Sep 24, 2021
e929c55
Update userAgent of autogen cmdlet (#15939)
dingmeng-xue Sep 24, 2021
2c5f062
[Storage] Support new SRP features on new API version 2021-06-01 (#15…
blueww Sep 26, 2021
33040c6
[Synapse] Add support for restoring SQL pool from dropped SQL pool (#…
wanyang7 Sep 26, 2021
2e8fe0a
[KeyVault] Supports creating custom role definitions (#15953)
isra-fel Sep 26, 2021
2e094a6
[Synapse] Optimize project structure (#15952)
wanyang7 Sep 26, 2021
d3e2f7f
Move Elastic to main (#15951)
wyunchi-ms Sep 27, 2021
d7ec64f
Added UserIndentity support for Customer Managed Keys (#15859)
hiaga Sep 27, 2021
20e4a17
Aladdin generated examples for Compute, Monitor, Network, Resources, …
aladdindoc Sep 27, 2021
cd40d5d
fix merge conflicts
blueww Sep 28, 2021
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.
2 changes: 2 additions & 0 deletions .azure-pipelines/daily-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ jobs:
Release/**/Microsoft.Azure.PowerShell.Authentication.dll
Release/**/Microsoft.Azure.PowerShell.Authentication.ResourceManager.dll
Release/**/Microsoft.Azure.PowerShell.Authenticators.dll
Release/**/Microsoft.Azure.PowerShell.AuthenticationAssemblyLoadContext.dll
Release/**/Microsoft.Azure.Commands.*.AlcWrapper.dll
!Release/**/Microsoft*Azure*PowerShell*Cmdlets*.Test.dll
UseMinimatch: true
signConfigType: 'inlineSignParams'
Expand Down
13 changes: 13 additions & 0 deletions .azure-pipelines/util/sync-tools-folder-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ steps:
cp src/lib src/lib-tmp -r

cp tools tools-tmp -r

cp build.proj build-tmp.proj
pwsh: true
- task: PowerShell@2
displayName: Config git
Expand All @@ -25,6 +27,17 @@ steps:

git checkout -b syncToolsFolder-${{ parameters.BranchName }} origin/${{ parameters.BranchName }}
pwsh: true
- task: PowerShell@2
displayName: Sync build.proj folder from main to ${{ parameters.BranchName }}
inputs:
targetType: inline
script: >-
rm build.proj

mv build-tmp.proj build.proj

git add build.proj
pwsh: true
- task: PowerShell@2
displayName: Sync .azure-pipelines folder from main to ${{ parameters.BranchName }}
inputs:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -235,3 +235,6 @@ launchSettings.json

# Added due to scan
src/DataFactory/DataFactoryV2.Test/SessionRecords/Microsoft.Azure.Commands.DataFactoryV2.Test.RunTests/TestRunV2.json

# GitHub codespaces
.venv
155 changes: 155 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,158 @@
## 6.4.0 - September 2021
#### Az.Accounts
* Corrected the URLs to Azure Portal in the results of 'Get-AzEnvironment' and 'Get-AzContext'. [#15429]
* Made infrastructural changes to support overriding default subscription via a '-SubscriptionId <String>' parameter.
- [Az.Aks](https://docs.microsoft.com/powershell/module/az.aks/get-azakscluster) is the first module that supports it.

#### Az.Aks
* Made '-Subscription <String>' available in all Aks cmdlets. You can manage Aks resources in other subscriptions without switching the context.

#### Az.ApiManagement
* Added new 'Sync-AzApiManagementKeyVaultSecret' cmdlet.
* Added new 'New-AzApiManagementKeyVaultObject' cmdlet.
* Added new optional [-useFromLocation] parameter to the 'Get-ApiManagementCache' 'New-ApiManagementCache''Update-ApiManagementCache' cmdlet.
* Updated cmdlet **New-AzApiManagement** to manage ApiManagement service
- Added support for the new 'Isolated' SKU
- Added support for managing Availability Zones using 'Zone' property
- Added support for Disabling Gateway in a Region using 'DisableGateway' property
- Added support for managing the minimum Api Version to allow for Control Plane using 'MinimalControlPlaneApiVersion' property.
* Updated cmdlet **New-AzApiManagementRegion** to manage ApiManagement service
- Added support for managing Availability Zones using 'Zone' property
- Added support for Disabling Gateway in a Region using 'DisableGateway' property
* Updated cmdlet **Add-AzApiManagementRegion** to manage ApiManagement service
- Added support for managing Availability Zones using 'Zone' property
- Added support for Disabling Gateway in a Region using 'DisableGateway' property
* Updated cmdlet **Update-AzApiManagementRegion** to manage ApiManagement service
- Added support for managing Availability Zones using 'Zone' property
- Added support for Disabling Gateway in a Region using 'DisableGateway' property
* Updated cmdlet **New-AzApiManagementCustomHostnameConfiguration** to manage Custom Hostname Configuration
- Added support for specifying 'IdentityClientId' to provide Managed Identity User Assigned ClientId to use with KeyVault

#### Az.Automation
* Fixed bug: Closing in input file handle in Import-AzAutomationRunbook

#### Az.Cdn
* Fixed mandatory parameters issue in 'Get-AzCdnEndpointResourceUsage' cmdlet

#### Az.Compute
* Added new parameters '-LinuxConfigurationPatchMode', '-WindowsConfigurationPatchMode', and '-LinuxConfigurationProvisionVMAgent' to 'Set-AzVmssOSProfile'
* Added new parameters '-SshKeyName' and '-GenerateSshKey' to 'New-AzVM' to create a VM with SSH
* Fixed a bug in 'Add-AzVHD' on Linux that caused uploads to fail for certain destination URI
* Added new cmdlets for Restore Points and Restore Point Collection:
- 'New-AzRestorePoint'
- 'New-AzRestorePointCollection'
- 'Get-AzRestorePoint'
- 'Get-AzRestorePointCollection'
- 'Update-AzRestorePointCollection'
- 'Remove-AzRestorePoint'
- 'Remove-AzRestorePointCollection'
* Added new parameters '-EnableSpotRestore' and '-SpotRestoreTimeout' to 'New-AzVMSSConfig' to enable Spot Restore Policy
* Added new cmdlets: 'Update-AzCapacityReservationGroup' and 'Update-AzCapacityReservation'

#### Az.CosmosDB
* Fixed a bug where the restore of deleted database accounts fail.

#### Az.DataFactory
* Added a subnetId argument for the 'Set-AzDataFactoryV2IntegrationRuntime' cmdlet to support RBAC checking for VNet injection against the subnet resource ID instead of the VNet resource ID.
* Added the 'Get-AzDataFactoryV2IntegrationRuntimeOutboundNetworkDependenciesEndpoint' cmdlet to provide a list of outbound network dependencies for SSIS integration runtime in Azure Data Factory that joins a virtual network.
* Added PublicNetworkAccess to Data Factory.
* Updated ADF .Net SDK version to 4.23.0

#### Az.KeyVault
* Supported adding EC keys in key vault [#15699]

#### Az.Migrate
* Supported duplicate disk UUID in source disk.
* Supported subnets in same VNet for AVSet.
* Supported runAsAccount fetching for multiple Vcenters in same site.

#### Az.Network
* Updated cmdlet to add 'Subnet' property for IP based load balancer backend address pool.
- 'New-AzLoadBalancerBackendAddressConfig'
* Updated cmdlet to add 'TunnelInterface' property for backend pool related operations.
- 'New-AzLoadBalancerBackendAddressPool'
- 'Set-AzLoadBalancerBackendAddressPool'

#### Az.RecoveryServices
* Azure Site Recovery multi appliance support for VMware to Azure disaster recovery scenarios using RCM as the control plane.
* Azure Backup fixed targetPhysicalPath issue with SQL CRR
* Azure Backup fixed disable protection for SQL workload
* Azure Backup resolved bug in setting CMK properties in latest release
* Azure Backup removed special characters from register-azrecoveryservicesbackupcontainer command help text

#### Az.Resources
* Use JsonExtensions to serialize deserialize JSON objects to ensure the use of custom serialization settings [#15552]
* Added support for 'Unsupported' and 'NoEffect' change types to deployment What-If cmdlets.

#### Az.SecurityInsights
* Updated to 'Get-AzSentinelIncident' parameters
- Added '-Filter' to support OData filter
- Added '-OrderBy' to support OData ordering
- Added '-Max' to support retrieving more than the default of 1000 incidents.

#### Az.Sql
* Changed the underlying implementation of 'Get-AzSqlDatabase' to support a paginated response from the server
* Added 'ZoneRedundant' parameter to 'New-AzSqlInstance' and 'Set-AzSqlInstance' to enable the creation and the update of zone - redundant instances.
* Added ZoneRedundant field to the model of the managed instance so that it displays information about zone - redundancy for instance that are returned by 'Get-AzSqlInstance'.
* Extended AuditActionGroups enum in server & database audit. Added DBCC_GROUP, DATABASE_OWNERSHIP_CHANGE_GROUP and DATABASE_CHANGE_GROUP.
* Added 'AsJob' flag to 'Remove-AzSqlInstance'
* Added 'SubnetId' parameter to 'Set-AzSqlInstance' to support the cross-subnet update SLO
* Upgraded to newest SDK version

#### Az.Storage
* Supported get/set blob tags on a specific blob
- 'Get-AzStorageBlobTag'
- 'Set-AzStorageBlobTag'
* Supported create destination blob with specific blob tags while upload/copy Blob
- 'Set-AzStorageBlobContent'
- 'Start-AzStorageBlobCopy'
* Supported list blobs across containers with a blob tag filter sql expression
- 'Get-AzStorageBlobByTag'
* Supported list blobs inside a container and include Blob Tags
- 'Get-AzStorageBlob'
* Supported run blob operation with blob tag condition, and fail the cmdlet when blob tag condition not match
- 'Get-AzStorageBlob'
- 'Get-AzStorageBlobContent'
- 'Get-AzStorageBlobTag'
- 'Remove-AzStorageBlob'
- 'Set-AzStorageBlobContent'
- 'Set-AzStorageBlobTag'
- 'Start-AzStorageBlobCopy'
- 'Stop-AzStorageBlobCopy'
* Generate blob sas token with new API version
- 'New-AzStorageBlobSASToken'
- 'New-AzStorageContainerSASToken'
- 'New-AzStorageAccountSASToken'
* Fixed blob copy failure with OAuth credential when client and server has time difference [#15644]
- 'Copy-AzStorageBlob'
* Fixed remove Data Lake Gen2 item fail with readonly SAS token
- 'Remove-AzDataLakeGen2Item'
* Revised destination existing check in move Data Lake Gen2 item
- 'Move-AzDataLakeGen2Item'

#### Az.StorageSync
* Added parameter sets to 'Invoke-AzStorageSyncChangeDetection'
- Can call the cmdlet without -DirectoryPath and -Path parameters to trigger change detection on an entire file share
* Added support for authoritative upload as part of New-AzStorageSyncServerEndpoint.
* Added cloud change enumeration status information in Cloud Endpoint object.
* Updated Server Endpoint object with various health properties
* Added 'ServerName' property in Server Endpoint and Registered Server objects to support showing the current FQDN of a server.

#### Az.Websites
* Fixed 'Set-AzWebApp' to return a valid warning message when fails to add -Hostname #9316
* Fixed 'Get-AzWebApp' to return CustomDomainVerificationId in the response. #9316

### Thanks to our community contributors
* Andrew Sears (@asears)
* Fix spelling of accountname (#15779)
* Fix Spelling, examples (#15780)
* @cawrites, Update New-AzDataMigrationService.md (#15646)
* @harpaul-gill, Adding support for pagination in Sql Get Databases (#15772)
* @jeepingben, Create mutex names that are safe for Linux (fixes #15653) (#15666)
* @LosManos, Docs: Parameter is ignored when listing secrets (#15788)
* Mats Estensen (@matsest), docs: add examples for Update-AzSubscription (#15748)
* Mauricio Arroyo (@mauricio-msft), Fix typo in cmdlet example (#15719)

## 6.3.0 - August 2021
#### Az.Accounts
* Disabled context auto saving when token cache persistence fails on Windows and macOS
Expand Down
2 changes: 1 addition & 1 deletion build.proj
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
<RuntimeDllsIncludeList>Microsoft.Powershell.*.dll,System*.dll,Microsoft.VisualBasic.dll,Microsoft.CSharp.dll,Microsoft.CodeAnalysis.dll,Microsoft.CodeAnalysis.CSharp.dll</RuntimeDllsIncludeList>
<RuntimeDllsExcludeList>System.Security.Cryptography.ProtectedData.dll,System.Configuration.ConfigurationManager.dll,System.Runtime.CompilerServices.Unsafe.dll,System.IO.FileSystem.AccessControl.dll,System.Buffers.dll,System.Text.Encodings.Web.dll,System.CodeDom.dll,System.Management.dll,System.Text.Json.dll,System.Threading.Tasks.Extensions.dll</RuntimeDllsExcludeList>
</PropertyGroup>
<Exec Command="$(PowerShellCoreCommandPrefix) &quot;Get-ChildItem -Path $(RepoArtifacts)/$(Configuration) -Recurse -Include $(RuntimeDllsIncludeList) -Exclude $(RuntimeDllsExcludeList) | Where-Object {$_.FullName -notlike '*PreloadAssemblies*' -and $_.FullName -notlike '*NetCoreAssemblies*'} | Remove-Item -Force&quot;"/>
<Exec Command="$(PowerShellCoreCommandPrefix) &quot;Get-ChildItem -Path $(RepoArtifacts)/$(Configuration) -Recurse -Include $(RuntimeDllsIncludeList) -Exclude $(RuntimeDllsExcludeList) | Where-Object {$_.FullName -notlike '*PreloadAssemblies*' -and $_.FullName -notlike '*NetCoreAssemblies*' -and $_.FullName -notlike '*AzSharedAlcAssemblies*' -and $_.FullName -notlike '*ModuleAlcAssemblies*'} | Remove-Item -Force&quot;"/>
<Exec Command="$(PowerShellCoreCommandPrefix) &quot;Get-ChildItem -Path $(RepoArtifacts)/$(Configuration) -Recurse -Include 'runtimes' | Remove-Item -Recurse -Force&quot;" Condition="'$(CodeSign)' == 'true'" />

<Exec Command="$(PowerShellCoreCommandPrefix) &quot;. $(RepoTools)/UpdateModules.ps1 -BuildConfig $(Configuration) -Scope $(Scope)&quot;"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Autogen Directives for Azure Powershell
## Directive Scenarios
- [Resource Group Append](#Resource-Group-Append)
### Resource Group Append
To provide `ResourceGroupName` in returned object, set `resourcegroup-append` as true in readme.md
```
resourcegroup-append: true
```
102 changes: 102 additions & 0 deletions documentation/development-docs/enable-subscription-id-overriding.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
# How to: Enable Overriding Subscription ID in Your Module

- [Background](#background)
- [Limitation](#limitation)
- [Steps](#steps)
- [Add `SupportsSubscriptionId` Attribute](#add-supportssubscriptionid-attribute)
- [Regenerate Help Documents](#regenerate-help-documents)
- [Notes / Troubleshooting](#notes--troubleshooting)
- [Your Cmdlet Implements `IDynamicParameters`](#your-cmdlet-implements-idynamicparameters)
- [Static Analysis Fails: Parameters are Removed](#static-analysis-fails-parameters-are-removed)

## Background

Working with **multiple Azure subscriptions** can be inconvenient in Azure PowerShell, because users has to keep switching the context, which is why we introduced a mechanism that can easily turn your module **multiple-subscription-friendly** in [Az v6.4.0](https://github.com/Azure/azure-powershell/blob/isra-fel-patch-1/ChangeLog.md#640---september-2021). For example

```powershell
# Legacy (switch subscription first)
Select-AzSubscription -SubscriptionId "00000000-0000-0000-0000-000000000000"
New-AzAksCluster ...

# New (just -SubscriptionId)
New-AzAksCluster ... -SubscriptionId "00000000-0000-0000-0000-000000000000"
```

The new design does not only simplify scripts, but also runs more efficiently, as it saves 1 cmdlet execution per subscription switching.

## Limitation

The feature was designed to balance between "supporting more login scenarios" and "being easy to use". Here are the limitations:

- **One subscription, multiple accounts**: when you login Azure PowerShell with multiple user accounts, and there is one subscription owned by more than one of them, it is obvious that `-SubscriptionId` is not enough to tell which context you wish to use, but we do not want to introduce more parameters, so this is not supported.
- Work-around is to log in with only 1 user account.
- **Management-plane only**: as subscription may not make as much sense in data-plane as in management-plane, this feature is suggested to be applied to management-plane cmdlets only.

## Steps

Here are the two simple steps to enable this for your module:

### Add `SupportsSubscriptionId` Attribute

You can either add it to the cmdlet base class, which applies to all the derived cmdlets; or to individual cmdlets.

```csharp
[SupportsSubscriptionId] // Adding to base class: all cmdlets that inherit `KubeCmdletBase` will benefit
public abstract class KubeCmdletBase : AzureRMCmdlet { /* ... */ }

[SupportsSubscriptionId] // Adding to cmdlet class: only this cmdlet will benefit
public class NewAzureRmAks : CreateOrUpdateKubeBase { /* ... */ }
```

### Regenerate Help Documents

By adding the attribute your cmdlet(s) get a `[-Subscription <String>]` parameter, so the help documents need to be regenerated.
Please refer to [Azure PowerShell Help Generation](https://github.com/Azure/azure-powershell/blob/main/documentation/development-docs/help-generation.md) for more details.


## Notes / Troubleshooting

This design is compatible with most modules, however, there are some uncommon case you should be careful.

### Your Cmdlet Implements `IDynamicParameters`

The `-SubscriptionId` parameter is added via `IDynamicParameters` interface, so if your cmdlet has already implemented it, make sure:

1. `GetDynamicParameters()` is decorated with [`new` modifier](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/new-modifier).
1. Call `base.GetDynamicParameters()` and combine the results in your `GetDynamicParameters()`.

A sample implementation:

```csharp
public new object GetDynamicParameters()
{
var parameters = base.GetDynamicParameters() as RuntimeDefinedParameterDictionary;
// here should be customized logic to construct `RuntimeDefinedParameter` objects,
// and call `parameters.Add()`
return parameters;
}
```

### Static Analysis Fails: Parameters are Removed

This happens when the constructor of your cmdlet throws an exception -- normally constructors are not called during static analysis, but things are different if this feature is enabled.
Make sure you use `BeginProcessing()` for heavy work.

```csharp
// DO NOT
public StorageSyncClientCmdletBase()
{
InitializeComponent(); // do stuff that throws exception in test environment, like an API call
}

// DO
public StorageSyncClientCmdletBase()
{
}

protected override void BeginProcessing()
{
base.BeginProcessing();
InitializeComponent();
}
```
32 changes: 32 additions & 0 deletions documentation/internal/authinrdfe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Authentication and Authorization in RDFE (Azure) and ARM (Az/AzureRM)
## RDFE Authorization
In RDFE, users are authorized on a per-subscription basis. Users who are authorized to access a subscription may perform any action within that subscription - on the subscription itself, or on any resources in the subscription. There is no mechanism for limiting the access of an authorized user within a subscription.
## RDFE Authentication Mechanisms
- Management Certificate Authentication
- User Authentication
### RDFE Management Certificate Authentication
Management certificate authentication is the most popular mechanism for authenticating RDFE calls for automation. In this authentication mechanism, the public key of a management certificate is associated with one or more subscriptions. Users in possession of the certificate private key use standard Http certificate authentication to negotiate an SSL session with the RDFE endpoint, and all subsequent calls in that session have access to any subscriptions associated with the certificate.

To acquire management certificate credentials, you must download a PublishingProfile from the portal (using Get-AzurePublishSettingsFile, or direct download from the portal), and import it using Import-AzurePublishSettingsFile. This downloads a file containing management certificates for selected subscriptions. Importing will automatically add each certificate as an account.

### RDFE User Authentication
The Add-AzureAccount command can be used to acquire a token based on user credentials, and if the associated user is authorized for RDFE access to a subscription (they must be a classic administrator or co-admin of the subscription), they will have access to those subscriptions authorized to their account for classic administrator access

## General Notes
- Managemnt certificate authentication lasts for an entire TCP session. User authentication is self-renewing, just as it is in ARM.

## Programmatic Authentication for PowerShell clients
- Clients are still authenticated using an IAuthenticationFactory, and the following overload:

```c#
SubscriptionCloudCredentials GetSubscriptionCloudCredentials(IAzureContext context)
```
Note that, the ARM token audience is different than the token audience used for RDFE, although the RDFE tolken audience is accepted by both endpoints.

Similarly, RDFE clients can be created using the IClientFactory interface:

```c#
TClient CreateClient<TClient>(IAzureContext context, string endpoint) where TClient : ServiceClient<TClient>;
```

Also note that, for management certificate authentication, authentication is performed as part of creating the http client - the ```ServiceClientCredentials``` returned above automatically apply the certificate to the http connection, which automatically performs HTTP certificate authentication using the certificate private key. You can see this implementation here: https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/mgmtcommon/ClientRuntime/ClientRuntime/CertificateCredentials.cs
Loading