Skip to content

Commit 83c3a31

Browse files
authored
Merge pull request #15258 from msJinLei/merge_release
[DO NO SQUASH] Merge release-2021-06-15 to main
2 parents a39ce72 + 4fba268 commit 83c3a31

File tree

210 files changed

+206696
-184885
lines changed

Some content is hidden

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

210 files changed

+206696
-184885
lines changed

ChangeLog.md

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,133 @@
1+
## 6.1.0 - June 2021
2+
#### Az.Accounts
3+
* Added cmdlet 'Open-AzSurveyLink'
4+
* Supported certificate file as input parameter of Connect-AzAccount
5+
6+
#### Az.Aks
7+
* Fixed the issue that 'Set-AzAks' will fail in Automation Runbook. [#15006]
8+
9+
#### Az.ApplicationInsights
10+
* Fixed issue that 'ResourcegroupName' is missed when executing below cmdlets with 'InputObject' parameter [#14848]
11+
* 'Get-AzApplicationInsightsLinkedStorageAccount'
12+
* 'New-AzApplicationInsightsLinkedStorageAccount'
13+
* 'Update-AzApplicationInsightsLinkedStorageAccount'
14+
* 'Remove-AzApplicationInsightsLinkedStorageAccount'
15+
16+
#### Az.Cdn
17+
* Fixed profile missing issue in 'Remove-AzCdnProfile' cmdlet
18+
19+
#### Az.Compute
20+
* Updated Compute module to use the latest .Net SDK version 47.0.0.
21+
22+
#### Az.ContainerInstance
23+
* Removed the display of file share credential [#15224]
24+
25+
#### Az.DataFactory
26+
* Updated ADF .Net SDK version to 4.19.0
27+
28+
#### Az.EventHub
29+
* Added functionality to accept input from pipeline for 'Get-AzEventHub' from 'Get-AzEventHubNamespace'.
30+
31+
#### Az.HDInsight
32+
* Support new azure monitor feature in HDInsight:
33+
- Add cmdlet 'Get-AzHDInsightAzureMonitor' to allow customer to get the Azure Monitor status of HDInsight cluster.
34+
- Add cmdlet 'Enable-AzHDInsightAzureMonitor' to allow customer to enable the Azure Monitor in HDInsight cluster.
35+
- Add cmdlet 'Disable-AzHDInsightAzureMonitor' to allow customer to disable the Azure Monitor in HDInsight cluster.
36+
37+
#### Az.KeyVault
38+
* Removed duplicate list item in 'Get-AzKeyVault' [#15164]
39+
* Added 'SecretManagement' tag to 'Az.KeyVault' module [#15173]
40+
41+
#### Az.Network
42+
* Updated cmdlets for route server for a more stable way to add IP configuration.
43+
* Added support for getting a single private link resource.
44+
* Added more detailed description about GroupId in 'New-AzPrivateLinkServiceConnection'
45+
* Updated cmdlets to enable setting of PrivateRange on AzureFirewallPolicy.
46+
- 'New-AzFirewallPolicy'
47+
- 'Set-AzFirewallPolicy'
48+
* Updated cmdlets to add NatRules in VirtualNetworkGateway and BgpRouteTranslationForNat.
49+
- 'New-AzVirtualNetworkGateway'
50+
- 'Set-AzVirtualNetworkGateway'
51+
* Updated cmdlets to add EngressNatRules and EgressNatRules in VirtualNetworkGateway Connection.
52+
- 'New-AzVirtualNetworkGatewayConnection'
53+
- 'Set-AzVirtualNetworkGatewayConnection'
54+
* Updated cmdlet to enable setting of FlowTimeout in VirtualNetwork.
55+
- 'New-AzVirtualNetwork'
56+
* Added cmdlets for Get/Create/Update/Delete VirtualNetworkGatewayNatRules.
57+
- 'New-AzVirtualNetworkGatewayNatRule'
58+
- 'Update-AzVirtualNetworkGatewayNatRule'
59+
- 'Get-AzVirtualNetworkGatewayNatRule'
60+
- 'Remove-AzVirtualNetworkGatewayNatRule'
61+
* Added a new cmdlet for Sync on VirtualNetworkPeering
62+
- 'Sync-AzVirtualNetworkPeering'
63+
* Updated cmdlets to add new properties and redefined an existing property in the VirtualNetworkPeering
64+
- 'Add-AzVirtualNetworkPeering'
65+
- 'Get-AzVirtualNetworkPeering'
66+
* Updated cmdlets to enable setting of PreferredRoutingGateway on VirtualHub.
67+
- 'New-AzVirtualHub'
68+
- 'Update-AzVirtualHub'
69+
* Updated cmdlets to expose two read-only properties of client certificate.
70+
- 'Get-AzApplicationGatewayTrustedClientCertificate'
71+
72+
#### Az.RecoveryServices
73+
* Added cross tenant DS Move.
74+
* Removed restriction to fetch recovery points only for a 30 days time range.
75+
* Enabled CRR for new regions.
76+
77+
#### Az.Resources
78+
* Allowed naming the deployment when testing deployments [#11497]
79+
80+
#### Az.SignalR
81+
* Changed to 'Allow' and 'Deny' parameters of 'Update-AzSignalRNetworkAcl' cmdlet:
82+
- Accepted 'Trace' as a valid value.
83+
- Accepted '@()' as empty collection to clear the list.
84+
* Supported 'ResourceGroupCompleter' and 'ResourceNameCompleter' in the applicable cmdlets.
85+
* Deprecated the 'HostNamePrefix' property of output type 'PSSignalRResource' of following cmdlets:
86+
- 'Get-AzSignalR'
87+
- 'New-AzSignalR'
88+
- 'Update-AzSignalR'
89+
90+
#### Az.Sql
91+
* Added option to support short version of maintenance configuration id for Managed Instance in 'New-AzSqlInstance' and 'Set-AzSqlInstance' cmdlets
92+
* Added HighAvailabilityReplicaCount to 'New-AzSqlDatabaseSecondary'
93+
* Added External Administrator and AAD Only Properties to AzSqlServer and AzSqlInstance
94+
- Added option to specify '-ExternalAdminName', '-ExternalAdminSid', '-EnableActiveDirectoryOnlyAuthentication' in 'New-AzSqlInstance' and 'Set-AzSqlInstance' cmdlets
95+
- Added option to expand external administrators information using '-ExpandActiveDirectoryAdministrator' in 'Get-AzSqlServer' and 'Get-AzSqlInstance' cmdlets
96+
* Fixed 'Set-AzSqlDatabase' to no longer default ReadScale to Disabled when not specified
97+
* Fixed 'Set-AzSqlServer' and 'Set-AzSqlInstance' for partial PUT with only identity and null properties
98+
* Added parameters related to UMI in 'New-AzSqlServer', 'New-AzSqlInstance', 'Set-AzSqlServer' and 'Set-AzSqlInstance' cmdlets.
99+
* Added -AutoRotationEnabled parameter to following cmdlets:
100+
- 'Set-AzSqlServerTransparentDataEncryptionProtector'
101+
- 'Get-AzSqlServerTransparentDataEncryptionProtector'
102+
- 'Set-AzSqlInstanceTransparentDataEncryptionProtector'
103+
- 'Get-AzSqlInstanceTransparentDataEncryptionProtector'
104+
105+
#### Az.Storage
106+
* Supported create file share with NFS/SMB enabledEnabledProtocol and RootSquash, and update share with RootSquash
107+
- 'New-AzRmStorageShare'
108+
- 'Update-AzRmStorageShare'
109+
* Supported enable Smb Multichannel on File service
110+
- 'Update-AzStorageFileServiceProperty'
111+
* Fixed copy inside same account issue by access source with anonymous credential, when copy Blob inside same account with Oauth credential
112+
* Removed StorageFileDataSmbShareOwner from value set of parameter DefaultSharePermission in create/update storage account
113+
- 'New-AzStorageAccount'
114+
- 'Set-AzStorageAccount'
115+
116+
#### Az.Websites
117+
* Fixed issue that prevented removing rules by name and unique identifier in 'Remove-AzWebAppAccessRestrictionRule'
118+
* Fixed issue that defaults AlwaysOn to false in 'Set-AzWebAppSlot'
119+
120+
### Thanks to our community contributors
121+
* Andy Roberts (@andyr8939), Removing unused TimeGrain variable from example (#15062)
122+
* Ashley Roll (@AshleyRoll), Remove Write-Host leaking file share credentials (#15225)
123+
* Kailash Mandal (@KaishM), Update New-AzPublicIpAddress.md (#15040)
124+
* Olivier Miossec (@omiossec), Update Get-AzExpressRouteCircuitRouteTable.md (#15054)
125+
* Scott (@S-T-S), Update Set-AzNetworkInterface.md (#15112)
126+
* @sohaibMSFT, Application Gateway AutoScale Example (#15071)
127+
* @Srihsu, Update Split-AzReservation.md (#15049)
128+
* @srozemuller, typo in examples resourcegroup parameter (#15146)
129+
130+
1131
## 6.0.0 - May 2021
2132
Az 6.0.0 (Az.Accounts 2.3.0) is only supported on Windows PowerShell 5.1, PowerShell 7.0 version 7.0.6 or greater and PowerShell 7.1 version 7.1.3 or greater, open https://aka.ms/install-powershell to learn how to upgrade. For further information, go to http://aka.ms/azpslifecyle.
3133

setup/generate.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ if( (-not (get-command -ea 0 light)) -or (-not (get-command -ea 0 heat)) -or (-n
3737
$outputName ="Az-Cmdlets"
3838

3939
# generate the product name from the current month/year.
40-
$productName = "Microsoft Azure PowerShell - May 2021"
40+
$productName = "Microsoft Azure PowerShell - June 2021"
4141

4242
# where to put temp files
4343
$tmp = Join-Path $env:temp azure-cmdlets-tmp

src/ADDomainServices/Az.ADDomainServices.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ DotNetFrameworkVersion = '4.7.2'
5151
# ProcessorArchitecture = ''
5252

5353
# Modules that must be imported into the global environment prior to importing this module
54-
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.2.8'; })
54+
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.4.0'; })
5555

5656
# Assemblies that must be loaded prior to importing this module
5757
RequiredAssemblies = './bin/Az.ADDomainServices.private.dll'

src/Accounts/Accounts/Az.Accounts.psd1

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 5/20/2021
6+
# Generated on: 6/11/2021
77
#
88

99
@{
@@ -12,7 +12,7 @@
1212
# RootModule = ''
1313

1414
# Version number of this module.
15-
ModuleVersion = '2.3.0'
15+
ModuleVersion = '2.4.0'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core', 'Desktop'
@@ -47,7 +47,7 @@ PowerShellVersion = '5.1'
4747
DotNetFrameworkVersion = '4.7.2'
4848

4949
# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
50-
# CLRVersion = ''
50+
# ClrVersion = ''
5151

5252
# Processor architecture (None, X86, Amd64) required by this module
5353
# ProcessorArchitecture = ''
@@ -78,7 +78,8 @@ RequiredAssemblies = 'Microsoft.Azure.PowerShell.Authentication.Abstractions.dll
7878
'Microsoft.WindowsAzure.Storage.dll',
7979
'Microsoft.WindowsAzure.Storage.DataMovement.dll',
8080
'Microsoft.Azure.PowerShell.Clients.Aks.dll',
81-
'Microsoft.Azure.PowerShell.Strategies.dll'
81+
'Microsoft.Azure.PowerShell.Strategies.dll',
82+
'Microsoft.Azure.PowerShell.Common.Share.dll'
8283

8384
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
8485
# ScriptsToProcess = @()
@@ -106,7 +107,8 @@ CmdletsToExport = 'Disable-AzDataCollection', 'Disable-AzContextAutosave',
106107
'Disconnect-AzAccount', 'Get-AzContextAutosaveSetting',
107108
'Set-AzDefault', 'Get-AzDefault', 'Clear-AzDefault',
108109
'Register-AzModule', 'Enable-AzureRmAlias', 'Disable-AzureRmAlias',
109-
'Uninstall-AzureRm', 'Invoke-AzRestMethod', 'Get-AzAccessToken'
110+
'Uninstall-AzureRm', 'Invoke-AzRestMethod', 'Get-AzAccessToken',
111+
'Open-AzSurveyLink'
110112

111113
# Variables to export from this module
112114
# VariablesToExport = @()
@@ -143,12 +145,8 @@ PrivateData = @{
143145
# IconUri = ''
144146

145147
# ReleaseNotes of this module
146-
ReleaseNotes = '* Upgraded Azure.Identity to 1.4 and MSAL to 4.30.1
147-
* Removed obsolete parameters ''ManagedServiceHostName'', ''ManagedServicePort'' and ''ManagedServiceSecret'' of cmdlet ''Connect-AzAccount'', environment variables ''MSI_ENDPOINT'' and ''MSI_SECRET'' could be used instead
148-
* Customize display format of PSAzureRmAccount to hide secret of service principal [#14208]
149-
* Added optional parameter ''AuthScope'' to ''Connect-AzAccount'' to support enhanced authentication of data plane features
150-
* Set retry times by environment variable [#14748]
151-
* Supported subject name issuer authentication'
148+
ReleaseNotes = '* Added cmdlet ''Open-AzSurveyLink''
149+
* Supported certificate file as input parameter of Connect-AzAccount'
152150

153151
# Prerelease string of this module
154152
# Prerelease = ''

src/Accounts/Accounts/ChangeLog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
-->
2020

2121
## Upcoming Release
22+
23+
## Version 2.4.0
24+
* Added cmdlet `Open-AzSurveyLink`
2225
* Supported certificate file as input parameter of Connect-AzAccount
2326

2427
## Version 2.3.0
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
// ----------------------------------------------------------------------------------
2+
//
3+
// Copyright Microsoft Corporation
4+
// Licensed under the Apache License, Version 2.0 (the "License");
5+
// you may not use this file except in compliance with the License.
6+
// You may obtain a copy of the License at
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
// Unless required by applicable law or agreed to in writing, software
9+
// distributed under the License is distributed on an "AS IS" BASIS,
10+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
// See the License for the specific language governing permissions and
12+
// limitations under the License.
13+
// ----------------------------------------------------------------------------------
14+
15+
using Microsoft.Azure.Commands.Common.Authentication.Abstractions;
16+
using Microsoft.WindowsAzure.Commands.Utilities.Common;
17+
using System;
18+
using System.Diagnostics;
19+
using System.Management.Automation;
20+
using System.Runtime.InteropServices;
21+
22+
namespace Microsoft.Azure.Commands.Profile.Survey
23+
{
24+
[Cmdlet(VerbsCommon.Open, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "SurveyLink"), OutputType(typeof(void))]
25+
public class OpenAzSurveyLinkCmdlet : AzurePSCmdlet
26+
{
27+
private const string _surveyLinkFormat = "https://aka.ms/azpssurvey?Q_CHL=INTERCEPT";
28+
29+
protected override IAzureContext DefaultContext => null;
30+
31+
protected override string DataCollectionWarning => null;
32+
33+
public override void ExecuteCmdlet()
34+
{
35+
WriteInformation(new HostInformationMessage() { Message = $"Opening the default browser to {_surveyLinkFormat}" }, new string[] { "PSHOST" });
36+
OpenBrowser(_surveyLinkFormat);
37+
}
38+
39+
private void OpenBrowser(string url)
40+
{
41+
try
42+
{
43+
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
44+
{
45+
url = url.Replace("&", "^&");
46+
Process.Start(new ProcessStartInfo("cmd", $"/c start {url}") { CreateNoWindow = true });
47+
}
48+
else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
49+
{
50+
Process.Start("xdg-open", url);
51+
}
52+
else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
53+
{
54+
Process.Start("open", url);
55+
}
56+
else
57+
{
58+
throw new PlatformNotSupportedException(RuntimeInformation.OSDescription);
59+
}
60+
}
61+
catch
62+
{
63+
}
64+
}
65+
}
66+
}

src/Accounts/Accounts/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
// You can specify all the values or you can default the Build and Revision Numbers
4444
// by using the '*' as shown below:
4545

46-
[assembly: AssemblyVersion("2.3.0")]
47-
[assembly: AssemblyFileVersion("2.3.0")]
46+
[assembly: AssemblyVersion("2.4.0")]
47+
[assembly: AssemblyFileVersion("2.4.0")]
4848
#if !SIGN
4949
[assembly: InternalsVisibleTo("Microsoft.Azure.PowerShell.Cmdlets.Accounts.Test")]
5050
#endif

src/Accounts/Accounts/help/Az.Accounts.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ Loads Azure authentication information from a file.
8181
### [Invoke-AzRestMethod](Invoke-AzRestMethod.md)
8282
Construct and perform HTTP request to Azure resource management endpoint only
8383

84+
### [Open-AzSurveyLink](Open-AzSurveyLink.md)
85+
Open survey link in default browser.
86+
8487
### [Register-AzModule](Register-AzModule.md)
8588
FOR INTERNAL USE ONLY - Provide Runtime Support for AutoRest Generated cmdlets
8689

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
external help file: Microsoft.Azure.PowerShell.Cmdlets.Accounts.dll-Help.xml
3+
Module Name: Az.Accounts
4+
online version: https://docs.microsoft.com/powershell/module/az.accounts/open-azsurveylink
5+
schema: 2.0.0
6+
---
7+
8+
# Open-AzSurveyLink
9+
10+
## SYNOPSIS
11+
Open survey link in default browser.
12+
13+
## SYNTAX
14+
15+
```
16+
Open-AzSurveyLink [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
17+
```
18+
19+
## DESCRIPTION
20+
Open survey link in default browser.
21+
22+
## EXAMPLES
23+
24+
### Example 1
25+
```
26+
Open-AzSurveyLink
27+
Opening the default browser to https://aka.ms/azpssurvey?Q_CHL=INTERCEPT
28+
```
29+
30+
## PARAMETERS
31+
32+
### -DefaultProfile
33+
The credentials, account, tenant, and subscription used for communication with Azure.
34+
35+
```yaml
36+
Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
37+
Parameter Sets: (All)
38+
Aliases: AzContext, AzureRmContext, AzureCredential
39+
40+
Required: False
41+
Position: Named
42+
Default value: None
43+
Accept pipeline input: False
44+
Accept wildcard characters: False
45+
```
46+
47+
### CommonParameters
48+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
49+
50+
## INPUTS
51+
52+
### None
53+
54+
## OUTPUTS
55+
56+
## NOTES
57+
58+
## RELATED LINKS

src/Accounts/Authentication/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@
4343
// You can specify all the values or you can default the Build and Revision Numbers
4444
// by using the '*' as shown below:
4545
// [assembly: AssemblyVersion("1.0.*")]
46-
[assembly: AssemblyVersion("2.3.0")]
47-
[assembly: AssemblyFileVersion("2.3.0")]
46+
[assembly: AssemblyVersion("2.4.0")]
47+
[assembly: AssemblyFileVersion("2.4.0")]

src/Accounts/Authenticators/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@
4848
// You can specify all the values or you can default the Build and Revision Numbers
4949
// by using the '*' as shown below:
5050
// [assembly: AssemblyVersion("1.0.*")]
51-
[assembly: AssemblyVersion("2.3.0")]
52-
[assembly: AssemblyFileVersion("2.3.0")]
51+
[assembly: AssemblyVersion("2.4.0")]
52+
[assembly: AssemblyFileVersion("2.4.0")]

src/Advisor/Advisor/Az.Advisor.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ DotNetFrameworkVersion = '4.7.2'
5151
# ProcessorArchitecture = ''
5252

5353
# Modules that must be imported into the global environment prior to importing this module
54-
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.2.8'; })
54+
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.4.0'; })
5555

5656
# Assemblies that must be loaded prior to importing this module
5757
RequiredAssemblies = 'Microsoft.Azure.Management.Advisor.dll'

0 commit comments

Comments
 (0)