Skip to content

Commit 42a89c4

Browse files
Merge pull request #3 from Azure/master
Merge from main repository
2 parents c33a447 + 6727874 commit 42a89c4

File tree

4,002 files changed

+772574
-1705238
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,002 files changed

+772574
-1705238
lines changed

.azure-pipelines/util/test-steps.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ steps:
3232
Install-Module -Name Pester -RequiredVersion 4.10.1 -Force -SkipPublisherCheck
3333
Install-Module -Name Az.Accounts -Scope CurrentUser -Force
3434
$env:PSModulePath = $env:PSModulePath + ";" + (pwd).Path
35-
Get-ChildItem -Directory Az.* | ForEach-Object {if (Test-Path $_/test-module.ps1) {cd $_; ./test-module.ps1}}
35+
Get-ChildItem -File -Recurse -Depth 1 test-module.ps1 | ForEach-Object {. $_; if ($LastExitCode -ne 0) {throw "test fails when executing $_"}}
3636
workingDirectory: 'artifacts/Debug'
3737
displayName: Test for AutoGen Modules With Windows PowerShell
3838
condition: and(succeeded(), ne('${{ parameters.testTarget }}', 'Test'))
@@ -42,7 +42,7 @@ steps:
4242
Install-Module -Name Az.Accounts -Scope CurrentUser -Force
4343
if ($IsWindows) { $sp = ";" } else { $sp = ":" }
4444
$env:PSModulePath = $env:PSModulePath + $sp + (pwd).Path
45-
Get-ChildItem -Directory Az.* | ForEach-Object {if (Test-Path $_/test-module.ps1) {cd $_; ./test-module.ps1}}
45+
Get-ChildItem -File -Recurse -Depth 1 test-module.ps1 | ForEach-Object {. $_; if ($LastExitCode -ne 0) {throw "test fails when executing $_"}}
4646
workingDirectory: 'artifacts/Debug'
4747
displayName: 'Test for AutoGen Modules With PowerShell Core'
4848
condition: and(succeeded(), eq('${{ parameters.testTarget }}', 'Test'))

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ src/local-artifacts/*
88

99
obj
1010
bin
11-
TestResults
11+
**/*TestResults*
1212
*.orig
1313
*.ncrunchsolution
1414
*.patch

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This repository contains PowerShell cmdlets for developers and administrators to
44

55
## Basics
66

7-
If you would like to become an active contributor to this project (or any other open source Microsoft project), please see the list of resources found on [this page](https://opensource.microsoft.com/resources).
7+
If you would like to become an active contributor to this project (or any other open source Microsoft project), please see the list of resources found on [this page](https://opensource.microsoft.com/collaborate/).
88

99
## Before Starting
1010

ChangeLog.md

Lines changed: 185 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,188 @@
1+
## 5.4.0 - January 2021
2+
#### Az.Accounts
3+
* Shown correct client request id on debug message [#13745]
4+
* Added common Azure PowerShell exception type
5+
* Supported storage API 2019-06-01
6+
7+
#### Az.Automation
8+
* Fixed issue where description was not populated for update management schedules
9+
10+
#### Az.CosmosDB
11+
* General availability of 'Az.CosmosDB' module
12+
* Restricting New-AzCosmosDBAccount cmdlet to make update calls to existing Database Accounts.
13+
* Introducing AnalyticalStorageTTL in SqlContainer.
14+
15+
#### Az.IotHub
16+
* Fixed a regression regarding SAS token generation
17+
18+
#### Az.KeyVault
19+
* Fixed an issue in Secret Management module
20+
21+
#### Az.LogicApp
22+
* Fixed issue that 'Get-AzLogicAppTriggerHistory' and 'Get-AzLogicAppRunAction' only retrieving the first page of results [#9141]
23+
24+
#### Az.Monitor
25+
* Added cmdlets for data collection rules:
26+
- 'Get-AzDataCollectionRule'
27+
- 'New-AzDataCollectionRule'
28+
- 'Set-AzDataCollectionRule'
29+
- 'Update-AzDataCollectionRule'
30+
- 'Remove-AzDataCollectionRule'
31+
* Added cmdlets for data collection rules associations
32+
- 'Get-AzDataCollectionRuleAssociation'
33+
- 'New-AzDataCollectionRuleAssociation'
34+
- 'Remove-AzDataCollectionRuleAssociation'
35+
36+
#### Az.Network
37+
* Added new cmdlets for CRUD of VpnGatewayNATRule.
38+
- 'New-AzAzVpnGatewayNatRule'
39+
- 'Update-AzAzVpnGatewayNatRule'
40+
- 'Get-AzAzVpnGatewayNatRule'
41+
- 'Remove-AzAzVpnGatewayNatRule'
42+
* Updated cmdlets to set NATRule on VpnGateway resource and associate it with VpnSiteLinkConnection resource.
43+
- 'New-AzVpnGateway'
44+
- 'Update-AzVpnGateway'
45+
- 'New-AzVpnSiteLinkConnection'
46+
* Updated cmdlets to enable setting of ConnectionMode on Virtual Network Gateway Connections.
47+
- 'New-AzVirtualNetworkGatewayConnection'
48+
- 'Set-AzVirtualNetworkGatewayConnection'
49+
* Updated 'New-AzFirewallPolicyApplicationRule' cmdlet:
50+
- Added parameter TargetUrl
51+
- Added parameter TerminateTLS
52+
* Added new cmdlets for Azure Firewall Premium Features
53+
- 'New-AzFirewallPolicyIntrusionDetection'
54+
- 'New-AzFirewallPolicyIntrusionDetectionBypassTraffic'
55+
- 'New-AzFirewallPolicyIntrusionDetectionSignatureOverride'
56+
* Updated New-AzFirewallPolicy cmdlet:
57+
- Added parameter -SkuTier
58+
- Added parameter -Identity
59+
- Added parameter -UserAssignedIdentityId
60+
- Added parameter -IntrusionDetection
61+
- Added parameter -TransportSecurityName
62+
- Added parameter -TransportSecurityKeyVaultSecretId
63+
* Added new cmdlet to fetch IKE Security Associations for Virtual Network Gateway Connections.
64+
- 'Get-AzVirtualNetworkGatewayConnectionIkeSa'
65+
* Added multiple Authentication support for p2sVpnGateway
66+
- Updated New-AzVpnServerConfiguration and Update-AzVpnServerConfiguration to allow multiple authentication parameters to be set.
67+
* Updated 'New-AzVpnGateway' and 'New-AzP2sVpnGateway' cmdlet:
68+
- Added parameter EnableRoutingPreferenceInternetFlag
69+
70+
#### Az.RecoveryServices
71+
* Added Cross Region Restore feature.
72+
* Blocked getting workload config when target item is an availability group.
73+
74+
#### Az.Resources
75+
* Added support for -QueryString parameter in New-Az*Deployments cmdlets
76+
77+
#### Az.Sql
78+
* Made 'Start-AzSqlInstanceDatabaseLogReplay' cmdlet synchronous, added -AsJob flag
79+
80+
#### Az.Storage
81+
* Fix ContinuationToken never null when list blob with -IncludeVersion
82+
- 'Get-AzStorageBlob'
83+
84+
#### Az.Websites
85+
* Added support for App Service Managed certificates
86+
- 'New-AzWebAppCertificate'
87+
- 'Remove-AzWebAppCertificate'
88+
* Fixed issue that causes Docker Password to be removed from appsettings in 'Set-AzWebApp' and 'Set-AzWebAppSlot'
89+
90+
### Thanks to our community contributors
91+
* Ivan Akcheurov (@ivanakcheurov), Update Set-AzSecurityWorkspaceSetting.md (#13877)
92+
* @javiermarasco, Update example (#13837)
93+
* @jhaprakash26, Update Set-AzVirtualNetwork.md (#13857)
94+
* Michael Holmes (@MichaelHolmesWP), Update New-AzStorageTableStoredAccessPolicy.md (#13871)
95+
* Michael James (@mikejwhat), Allow Get-AzLogicAppTriggerHistory and Get-AzLogicAppRunAction to return more than 30 results (#13846)
96+
* @Willem-J-an, Fix bug causing Docker Password to be removed from appsettings in Set-AzWebApp(Slot) (#13866)
97+
98+
99+
## 5.3.0 - December 2020
100+
#### Az.Accounts
101+
* Fixed the issue that Http proxy is not respected in Windows PowerShell [#13647]
102+
* Improved debug log of long running operations in generated modules
103+
104+
#### Az.Automation
105+
* Fixed issue that parameters of 'Start-AzAutomationRunbook' cannot convert PSObject wrapped string to JSON string [#13240]
106+
* Fixed location completer for New-AzAutomationUpdateManagementAzureQuery cmdlet
107+
108+
#### Az.Compute
109+
* New parameter 'VM' in new parameter set 'VMParameterSet' added to 'Get-AzVMDscExtensionStatus' and 'Get-AzVMDscExtension' cmdlets.
110+
* Edited 'New-AzSnapshot' cmdlet to check for existing snapshot with the same name in the same resource group.
111+
- Throws an error if a duplicate snapshot exists.
112+
113+
#### Az.Databricks
114+
* Fixed an issue that may cause 'New-AzDatabricksVNetPeering' to return before it is fully provisioned (https://github.com/Azure/autorest.powershell/issues/610)
115+
116+
#### Az.DataFactory
117+
* Fixed the command 'Invoke-AzDataFactoryV2Pipeline' for SupportsShouldProcess issue
118+
119+
#### Az.DesktopVirtualization
120+
* Added StartVMOnConnect property to hostpool.
121+
122+
#### Az.HDInsight
123+
* Added properties: Fqdn and EffectiveDiskEncryptionKeyUrl in the class AzureHDInsightHostInfo.
124+
125+
#### Az.KeyVault
126+
* Added a new parameter '-AsPlainText' to 'Get-AzKeyVaultSecret' to directly return the secret in plain text [#13630]
127+
* Supported selective restore a key from a managed HSM full backup [#13526]
128+
* Fixed some minor issues [#13583] [#13584]
129+
* Added missing return objects of 'Get-Secret' in SecretManagement module
130+
* Fixed an issue that may cause vault to be created without default access policy [#13687]
131+
132+
#### Az.Kusto
133+
* Updated API version to 2020-09-18.
134+
135+
#### Az.Network
136+
* Fixed issue in remove peering and connection cmdlet for ExpressRouteCircuit scenario
137+
- 'Remove-AzExpressRouteCircuitPeeringConfig' and 'Remove-AzExpressRouteCircuitConnectionConfig'
138+
139+
#### Az.PolicyInsights
140+
* Added support for returning paginated results for Get-AzPolicyState
141+
142+
#### Az.RecoveryServices
143+
* Enabled softdelete feature for SQL.
144+
* Fixed SQL AG restore and removed the container name check.
145+
* Changed container name format for Azure Files backup item.
146+
* Added CMK feature support for Recovery services vault.
147+
148+
#### Az.Resources
149+
* Fixed a NullRef exception issue in 'New-AzureManagedApplication' and 'Set-AzureManagedApplication'.
150+
* Updated Azure Resource Manager SDK to use latest DeploymentScripts GA api-version: 2020-10-01.
151+
152+
#### Az.ServiceFabric
153+
* Fixed 'Add-AzServiceFabricNodeType'. Added node type to service fabric cluster before creating virtual machine scale set.
154+
155+
#### Az.Sql
156+
* Fixed parameter description for 'InstanceFailoverGroup' command.
157+
* Updated the logic in which schemaName, tableName and columnName are being extracted from the id of SQL Data Classification commands.
158+
* Fixed Status and StatusMessage fields in 'Get-AzSqlDatabaseImportExportStatus' to conform to documentation
159+
* Added Microsoft support operations (DevOps) auditing cmdlets: Get-AzSqlServerMSSupportAudit, Set-AzSqlServerMSSupportAudit, Remove-AzSqlServerMSSupportAudit
160+
161+
#### Az.Storage
162+
* Supported create/update/get/list EncryptionScope of a Storage account
163+
- 'New-AzStorageEncryptionScope'
164+
- 'Update-AzStorageEncryptionScope'
165+
- 'Get-AzStorageEncryptionScope'
166+
* Supported create container and upload blob with Encryption Scope setting
167+
- 'New-AzRmStorageContainer'
168+
- 'New-AzStorageContainer'
169+
- 'Set-AzStorageBlobContent'
170+
171+
### Thanks to our community contributors
172+
* Andreas Wolter (@AndreasWolter), removed marketing language, better example filter (#13671)
173+
* Tidjani Belmansour (@BelRarr), Update Get-AzBillingInvoice.md (#13634)
174+
* David Klempfner (@DavidKlempfner)
175+
* Fixed spelling mistake (#13677)
176+
* Update PSMetricNoDetails.cs (#13676)
177+
* @kilobyte97, bugfix for remove cmdlet to delete config (#13655)
178+
* @kongou-ae, Update Set-AzFirewall.md (#13727)
179+
* @MasterKuat, Fix swap between title and code in documentation (#13666)
180+
* NickT (@nukeulis), Update Set-AzContext.md (#13702)
181+
* @PaulHCode, Update Start-AzJitNetworkAccessPolicy.md - Fix the Example to display the proper cmdlet being demonstrated (#13713)
182+
* Ryan Borstelmann (@ryanborMSFT), Removed Subscription ID (#13715)
183+
* Shashikant Shakya (@shshakya), Update Set-AzSqlDatabase.md (#13674)
184+
* Sebastian Olsen (@Spacebjorn), Update Get-AzRecoveryServicesBackupItem.md (#13719)
185+
1186
## 5.2.0 - December 2020
2187
#### Az.Accounts
3188
* Managed to parse ExpiresOn time from raw token if could not get from underlying library

NuGet.Config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
<add key="local-feed" value="tools/LocalFeed" />
55
<add key="myget-azure-powershell" value="https://www.myget.org/F/azure-powershell/api/v3/index.json" />
66
<add key="dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
7-
<add key="powershell-core" value="https://powershell.myget.org/F/powershell-core/api/v3/index.json" />
87
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
98
</packageSources>
109
</configuration>

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@
55
This repository contains PowerShell cmdlets for developers and administrators to develop, deploy, and manage Microsoft Azure applications.
66

77
Try it out in Azure Cloud Shell!
8+
* Direct link: Open a browser to https://shell.azure.com
9+
* Azure portal: Select the Cloud Shell icon on the [Azure portal](https://portal.azure.com/):
810

9-
[![CloudShellIcon]][CloudShell]
11+
[![CloudShellLaunchIcon](https://docs.microsoft.com/en-us/azure/cloud-shell/media/overview/portal-launch-icon.png)](#)
1012

1113
## Modules
1214
Below is a table containing our Azure PowerShell rollup module.
@@ -180,10 +182,7 @@ _This project has adopted the [Microsoft Open Source Code of Conduct][CodeOfCond
180182
[DotNetFramework]: https://dotnet.microsoft.com/download/dotnet-framework-runtime
181183
[PowerShellCore]: https://github.com/PowerShell/PowerShell/releases/latest
182184

183-
[CloudShell]: https://shell.azure.com/powershell
184-
[CloudShellIcon]: https://shell.azure.com/images/launchcloudshell.png "Launch Azure Cloud Shell"
185-
186-
[ContributionGuidelines]: https://azure.github.io/guidelines/
185+
[ContributionGuidelines]: https://opensource.microsoft.com/collaborate/
187186
[CodeOfConduct]: https://opensource.microsoft.com/codeofconduct/
188187
[CodeOfConductFaq]: https://opensource.microsoft.com/codeofconduct/faq/
189188
[OpenCodeEmail]: mailto:[email protected]

0 commit comments

Comments
 (0)