Skip to content

Commit df5ce46

Browse files
authored
Merge branch 'master' into feature/updateApiVersion
2 parents 63da0ab + 244e337 commit df5ce46

File tree

571 files changed

+354049
-298110
lines changed

Some content is hidden

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

571 files changed

+354049
-298110
lines changed

ChangeLog.md

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,112 @@
1+
## 2.5.0 - July 2019
2+
#### Az.Accounts
3+
* Update common code to use latest version of ClientRuntime
4+
5+
#### Az.ApplicationInsights
6+
* Fix example typo in 'Remove-AzApplicationInsightsApiKey' documentation
7+
8+
#### Az.Automation
9+
* Fix typo in resource string
10+
11+
#### Az.CognitiveServices
12+
* Added NetworkRuleSet support.
13+
14+
#### Az.Compute
15+
* Add missing properties (ComputerName, OsName, OsVersion and HyperVGeneration) of VM instance view object.
16+
17+
#### Az.ContainerRegistry
18+
* Fix typo in Remove-AzContainerRegistryReplication for Replication parameter
19+
- More information here https://github.com/Azure/azure-powershell/issues/9633
20+
21+
#### Az.DataFactory
22+
* Updated ADF .Net SDK version to 4.1.0
23+
* Fix typo in documentation for 'Get-AzDataFactoryV2PipelineRun'
24+
25+
#### Az.EventHub
26+
* Added new cmmdlet added for generating SAS token : New-AzEventHubAuthorizationRuleSASToken
27+
* added verification and error message for authorizationrules rights if only 'Manage' is assigned
28+
29+
#### Az.KeyVault
30+
* Added support to specify the KeySize for Certificate Policies
31+
32+
#### Az.LogicApp
33+
* Fix for Get-AzIntegrationAccountMap to list all map types
34+
- Added new MapType parameter for filtering
35+
36+
#### Az.ManagedServices
37+
* Added support for api version 2019-06-01 (GA)
38+
39+
#### Az.Network
40+
* Add support for private endpoint and private link service
41+
- New cmdlets
42+
- Set-AzPrivateEndpoint
43+
- Set-AzPrivateLinkService
44+
- Approve-AzPrivateEndpointConnection
45+
- Deny-AzPrivateEndpointConnection
46+
- Get-AzPrivateEndpointConnection
47+
- Remove-AzPrivateEndpointConnection
48+
- Test-AzPrivateLinkServiceVisibility
49+
- Get-AzAutoApprovedPrivateLinkService
50+
* Updated below commands for feature: PrivateEndpointNetworkPolicies/PrivateLinkServiceNetworkPolicies flag on Subnet in Virtualnetwork
51+
- Updated New-AzVirtualNetworkSubnetConfig/Set-AzVirtualNetworkSubnetConfig/Add-AzVirtualNetworkSubnetConfig
52+
- Added optional parameter -PrivateEndpointNetworkPoliciesFlag to indicate that enable or disable apply network policies on pivate endpoint in this subnet.
53+
- Added optional parameter -PrivateLinkServiceNetworkPoliciesFlag to indicate that enable or disable apply network policies on private link service in this subnet.
54+
* AzPrivateLinkService's cmdlet parameter 'ServiceName' was renamed to 'Name' with an alias 'ServiceName' for backward compatibility
55+
* Enable ICMP protocol for network security rule configurations
56+
- Updated cmdlets
57+
- Add-AzNetworkSecurityRuleConfig
58+
- New-AzNetworkSecurityRuleConfig
59+
- Set-AzNetworkSecurityRuleConfig
60+
* Add ConnectionProtocolType (Ikev1/Ikev2) as a configurable parameter for New-AzVirtualNetworkGatewayConnection
61+
* Add PrivateIpAddressVersion in LoadBalancerFrontendIpConfiguration
62+
- Updated cmdlet:
63+
- New-AzLoadBalancerFrontendIpConfig
64+
- Add-AzLoadBalancerFrontendIpConfig
65+
- Set-AzLoadBalancerFrontendIpConfig
66+
* Application Gateway New-AzApplicationGatewayProbeConfig command update for supporting custom port in Probe
67+
- Updated New-AzApplicationGatewayProbeConfig: Added optional parameter Port which is used for probing backend server. This parameter is applicable for Standard_V2 and WAF_V2 SKU.
68+
69+
#### Az.OperationalInsights
70+
* Updated default version for saved searches to be 1.
71+
* Fixed custom log null regex handling
72+
73+
#### Az.RecoveryServices
74+
* Update 'Get-AzRecoveryServicesBackupJob.md'
75+
* Update 'Get-AzRecoveryServicesBackupContainer.md'
76+
* Update 'Get-AzRecoveryServicesVault.md'
77+
* Update 'Wait-AzRecoveryServicesBackupJob.md'
78+
* Update 'Set-AzRecoveryServicesVaultContext.md'
79+
* Update 'Get-AzRecoveryServicesBackupItem.md'
80+
* Update 'Get-AzRecoveryServicesBackupRecoveryPoint.md'
81+
* Update 'Restore-AzRecoveryServicesBackupItem.md'
82+
* Updated service call for Unregistering container for Azure File Share
83+
* Update 'Set-AzRecoveryServicesAsrAlertSetting.md'
84+
85+
#### Az.Resources
86+
- Remove missing cmdlet referenced in 'New-AzResourceGroupDeployment' documentation
87+
- Updated policy cmdlets to use new api version 2019-01-01
88+
89+
#### Az.ServiceBus
90+
* Added new cmmdlet added for generating SAS token : New-AzServiceBusAuthorizationRuleSASToken
91+
* added verification and error message for authorizationrules rights if only 'Manage' is assigned
92+
93+
#### Az.Sql
94+
* Fix missing examples for Set-AzSqlDatabaseSecondary cmdlet
95+
* Fix set Vulnerability Assessment recurring scans without providing any email addresses
96+
* Fix a small typo in a warining message.
97+
98+
#### Az.Storage
99+
* Update example in reference documentation for 'Get-AzStorageAccount' to use correct parameter name
100+
101+
#### Az.StorageSync
102+
* Adding Invoke-AzStorageSyncChangeDetection cmdlet.
103+
* Fix Issue 9551 for honoring TierFilesOlderThanDays
104+
105+
#### Az.Websites
106+
* Fixing a bug where some SiteConfig properties were not returned by Get-AzWebApp and Set-AzWebApp
107+
* Adds a new Location parameter to Get-AzDeletedWebApp and Restore-AzDeletedWebApp
108+
* Fixes a bug with cloning web app slots using New-AzWebApp -IncludeSourceWebAppSlots
109+
1110
## 2.4.0 - July 2019
2111
#### Az.Accounts
3112
* Add support for profile cmdlets

src/Accounts/Accounts/Az.Accounts.psd1

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#
2-
# Module manifest for module 'Az.Accounts'
2+
# Module manifest for module 'PSGet_Az.Accounts'
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 6/19/2019
6+
# Generated on: 7/23/2019
77
#
88

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

1414
# Version number of this module.
15-
ModuleVersion = '1.6.0'
15+
ModuleVersion = '1.6.1'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core', 'Desktop'
@@ -143,14 +143,12 @@ PrivateData = @{
143143
# IconUri = ''
144144

145145
# ReleaseNotes of this module
146-
ReleaseNotes = '* Add support for profile cmdlets
147-
* Add support for environments and data planes in generated cmdlets
148-
* Fix bug where incorrect endpoint was being used in some cases for data plane cmdlets in Windows PowerShell'
146+
ReleaseNotes = '* Update common code to use latest version of ClientRuntime'
149147

150148
# Prerelease string of this module
151149
# Prerelease = ''
152150

153-
# Flag to indicate whether the module requires explicit user acceptance for install/update/save
151+
# Flag to indicate whether the module requires explicit user acceptance for install/update
154152
# RequireLicenseAcceptance = $false
155153

156154
# External dependent modules of this module

src/Accounts/Accounts/ChangeLog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
22+
## Version 1.6.1
2123
* Update common code to use latest version of ClientRuntime
2224

2325
## Version 1.6.0

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("1.6.0")]
47-
[assembly: AssemblyFileVersion("1.6.0")]
46+
[assembly: AssemblyVersion("1.6.1")]
47+
[assembly: AssemblyFileVersion("1.6.1")]
4848
#if !SIGN
4949
[assembly: InternalsVisibleTo("Microsoft.Azure.PowerShell.Cmdlets.Accounts.Test")]
5050
#endif

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 = '1.6.0'; })
54+
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.6.1'; })
5555

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

src/Aks/Aks/Az.Aks.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ DotNetFrameworkVersion = '4.7.2'
5353
# ProcessorArchitecture = ''
5454

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

5858
# Assemblies that must be loaded prior to importing this module
5959
RequiredAssemblies = '.\YamlDotNet.dll', '.\AutoMapper.dll'
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<PsModuleName>AlertsManagement</PsModuleName>
5+
</PropertyGroup>
6+
7+
<Import Project="$(MSBuildThisFileDirectory)..\..\Az.Test.props" />
8+
9+
<PropertyGroup>
10+
<RootNamespace>$(LegacyAssemblyPrefix)$(PsModuleName)$(AzTestAssemblySuffix).ScenarioTests</RootNamespace>
11+
</PropertyGroup>
12+
13+
<ItemGroup>
14+
<PackageReference Include="Microsoft.Azure.Management.AlertsManagement" Version="0.9.1-preview" />
15+
</ItemGroup>
16+
17+
<ItemGroup>
18+
<Folder Include="SessionRecords\" />
19+
</ItemGroup>
20+
21+
</Project>
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
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 System.Reflection;
16+
using System.Runtime.InteropServices;
17+
using Xunit;
18+
19+
// General Information about an assembly is controlled through the following
20+
// set of attributes. Change these attribute values to modify the information
21+
// associated with an assembly.
22+
[assembly: AssemblyTitle("Microsoft.Azure.Commands.AlertsManagement.Test")]
23+
[assembly: AssemblyDescription("")]
24+
[assembly: AssemblyConfiguration("")]
25+
[assembly: AssemblyCompany("")]
26+
[assembly: AssemblyProduct("Microsoft.Azure.Commands.AlertsManagement.Test")]
27+
[assembly: AssemblyCopyright(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCopyright)]
28+
[assembly: AssemblyTrademark("")]
29+
[assembly: AssemblyCulture("")]
30+
31+
// Setting ComVisible to false makes the types in this assembly not visible
32+
// to COM components. If you need to access a type in this assembly from
33+
// COM, set the ComVisible attribute to true on that type.
34+
[assembly: ComVisible(false)]
35+
36+
// The following GUID is for the ID of the typelib if this project is exposed to COM
37+
[assembly: Guid("822d5889-438f-4c18-9c06-f5db728d417d")]
38+
39+
// Version information for an assembly consists of the following four values:
40+
//
41+
// Major Version
42+
// Minor Version
43+
// Build Number
44+
// Revision
45+
//
46+
// You can specify all the values or you can default the Build and Revision Numbers
47+
// by using the '*' as shown below:
48+
[assembly: AssemblyVersion("4.0.0")]
49+
[assembly: AssemblyFileVersion("4.0.0")]
50+
[assembly: CollectionBehavior(DisableTestParallelization = true)]
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
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 System;
16+
using Microsoft.WindowsAzure.Commands.ScenarioTest;
17+
using Microsoft.WindowsAzure.Commands.Test.Utilities.Common;
18+
using Xunit;
19+
using Microsoft.Azure.ServiceManagement.Common.Models;
20+
using Xunit.Abstractions;
21+
22+
namespace Microsoft.Azure.Commands.AlertsManagement.Test.ScenarioTests
23+
{
24+
public class ActionRuleTests : RMTestBase
25+
{
26+
public XunitTracingInterceptor _logger;
27+
28+
public ActionRuleTests(Xunit.Abstractions.ITestOutputHelper output)
29+
{
30+
_logger = new XunitTracingInterceptor(output);
31+
XunitTracingInterceptor.AddToContext(_logger);
32+
}
33+
34+
[Fact]
35+
[Trait(Category.AcceptanceType, Category.CheckIn)]
36+
public void TestGetActionRulesFilteredByParameters()
37+
{
38+
TestController.NewInstance.RunPowerShellTest(_logger, "Test-GetActionRulesFilteredByParameters");
39+
}
40+
41+
[Fact]
42+
[Trait(Category.AcceptanceType, Category.CheckIn)]
43+
public void TestCreateUpdateAndDeleteSuppressionRule()
44+
{
45+
TestController.NewInstance.RunPowerShellTest(_logger, "Test-CreateUpdateAndDeleteSuppressionRule");
46+
}
47+
48+
[Fact]
49+
[Trait(Category.AcceptanceType, Category.CheckIn)]
50+
public void TestCreateUpdateAndDeleteActionGroupRule()
51+
{
52+
TestController.NewInstance.RunPowerShellTest(_logger, "Test-CreateUpdateAndDeleteActionGroupRule");
53+
}
54+
55+
[Fact]
56+
[Trait(Category.AcceptanceType, Category.CheckIn)]
57+
public void TestCreateUpdateAndDeleteDiagnosticsRule()
58+
{
59+
TestController.NewInstance.RunPowerShellTest(_logger, "Test-CreateUpdateAndDeleteDiagnosticsRule");
60+
}
61+
}
62+
}

0 commit comments

Comments
 (0)