Skip to content

Commit b4eaa87

Browse files
committed
Merge branch 'master' of github.com:/azure/azure-powershell into qq-fix-plus
2 parents bae040f + a37f446 commit b4eaa87

File tree

166 files changed

+77640
-27430
lines changed

Some content is hidden

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

166 files changed

+77640
-27430
lines changed
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
---
2+
name: Az 4.x preview bug report
3+
about: Report errors or unexpected behaviors specifically for the Az 4.0 module in preview
4+
title: ''
5+
labels: 'Az 4.x Preview', 'Azure PS Team'
6+
assignees: ''
7+
8+
---
9+
10+
<!--
11+
12+
- This issue is specifically for reporting issues related to the preview versions of the Az 4.0 PowerShell module
13+
- Please search the existing issues to see if there has been a similar issue filed
14+
- For issue related to importing a module, please refer to our troubleshooting guide:
15+
- https://github.com/Azure/azure-powershell/blob/master/documentation/troubleshoot-module-load.md
16+
17+
-->
18+
19+
## Description
20+
21+
22+
23+
## Steps to reproduce
24+
25+
```powershell
26+
27+
```
28+
29+
## Environment data
30+
31+
<!-- Please run $PSVersionTable and paste the output in the below code block -->
32+
33+
```
34+
35+
```
36+
37+
## Module version
38+
39+
<!-- Please run (Get-Module -ListAvailable) and paste the output in the below code block -->
40+
41+
```powershell
42+
43+
```
44+
45+
## Azure Profile
46+
47+
<!-- Please indicate the selected Azure profile, if any -->
48+
49+
```powershell
50+
51+
```
52+
53+
## Debug output
54+
55+
<!-- Set $DebugPreference='Continue' before running the repro and paste the resulting debug stream in the below code block -->
56+
57+
```
58+
59+
```
60+
61+
## Error output
62+
63+
<!-- Please run Resolve-AzError and paste the output in the below code block -->
64+
65+
```
66+
67+
```

ChangeLog.md

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,132 @@
1+
## 2.7.0 - September 2019
2+
#### Az.ApiManagement
3+
* Update '-Format' parameter description in 'Set-AzApiManagementPolicy' reference documentation
4+
* Removed references of deprecated cmdlet 'Update-AzApiManagementDeployment' from reference documentation. Use 'Set-AzApiManagement' instead.
5+
6+
#### Az.Automation
7+
* Fixed example typo in reference documentation for 'Register-AzAutomationDscNode'
8+
* Added clarification on OS restriction to Register-AzAutomationDSCNode
9+
* Fixed Start-AzAutomationRunbook cmdlet Null reference exception for -Wait option.
10+
11+
#### Az.Compute
12+
* Add UploadSizeInBytes parameter tp New-AzDiskConfig
13+
* Add Incremental parameter to New-AzSnapshotConfig
14+
* Add a low priority virtual machine feature:
15+
- MaxPrice, EvictionPolicy and Priority parameters are added to New-AzVMConfig.
16+
- MaxPrice parameter is added to New-AzVmssConfig, Update-AzVM and Update-AzVmss cmdlets.
17+
* Fix VM reference issue for Get-AzAvailabilitySet cmdlet when it lists all availability sets in the subscription.
18+
* Fix the null exception for Get-AzRemoteDesktopFile.
19+
* Fix VHD Seek method for end-relative position.
20+
* Fix UltraSSD issue for New-AzVM and Update-AzVM.
21+
22+
#### Az.DataFactory
23+
* Adding 3 new commands for ADF V2 - Add-AzDataFactoryV2TriggerSubscription, Remove-AzDataFactoryV2TriggerSubscription, and Get-AzDataFactoryV2TriggerSubscriptionStatus
24+
* Updated ADF .Net SDK version to 4.1.3
25+
26+
#### Az.HDInsight
27+
* Call out breaking changes
28+
29+
#### Az.IotHub
30+
* Add support to invoke failover for an IotHub to the geo-paired disaster recovery region.
31+
* Add support to manage message enrichment for an IotHub. New cmdlets are:
32+
- Add-AzIotHubMessageEnrichment
33+
- Get-AzIotHubMessageEnrichment
34+
- Remove-AzIotHubMessageEnrichment
35+
- Set-AzIotHubMessageEnrichment
36+
37+
#### Az.Monitor
38+
* Pointing to the most recent Monitor SDK, i.e. 0.24.1-preview
39+
- Adds non-braking changes to the Metrics cmdlets, i.e. the Unit enumeration supports several new values. These are read-only cmdlets, so there would be no change in the input of the cmdlets.
40+
- The api-version of the **ActionGroups** requests is now **2019-06-01**, before it was **2018-03-01**. The scenario tests have been updated to accommodate for this change.
41+
- The constructors for the classes **EmailReceiver** and **WebhookReceiver** added one new mandatory argument, i.e. a Boolean value called **useCommonAlertSchema**. Currently, the value is fixed to **false** to hide this breaking change from the cmdlets. **NOTE**: this is a temporary change that must be validated by the Alerts team.
42+
- The order of the arguments for the constructor of the class **Source** (related to the **ScheduledQueryRuleSource** class) changed from the previous SDK. This change required two unit tests to the be fixed: they compiled, but failed to pass the tests.
43+
- The order of the arguments for the constructor of the class **AlertingAction** (related to the **ScheduledQueryRuleSource** class) changed from the previous SDK. This change required two unit tests to the be fixed: they compiled, but failed to pass the tests.
44+
* Support Dynamic Threshold criteria for metric alert V2
45+
- New-AzMetricAlertRuleV2Criteria: now creats dynamic threshold criteria also
46+
- Add-AzMetricAlertRuleV2: now accept dynamic threshold criteria also
47+
* Improvements in Scheduled Query Rule cmdlets (SQR)
48+
- Cmdlets will accept 'Location' paramater in both formats, either the location (e.g. eastus) or the location display name (e.g. East US)
49+
- Illustrated 'Enabled' parameter in help files properly
50+
- Added examples for 'ActionGroup' optional parameter
51+
- Overall improved help files
52+
* Fix bug in determining scope type for 'Set-AzActionRule'
53+
54+
#### Az.Network
55+
* Fix incorrect example in 'New-AzApplicationGateway' reference documentation
56+
* Add note in 'Get-AzNetworkWatcherPacketCapture' reference documentation about retrieving all properties for a packet capture
57+
* Fixed example in 'Test-AzNetworkWatcherIPFlow' reference documentation to correctly enumerate NICs
58+
* Improved cloud exception parsing to display additional details if they are present
59+
* Improved cloud exception parsing to handle additional type of SDK exception
60+
* Fixed incorrect mapping of Security Rule models
61+
* Added properties to network interface for private ip feature
62+
- Added property 'PrivateEndpoint' as type of PSResourceId to PSNetworkInterface
63+
- Added property 'PrivateLinkConnectionProperties' as type of PSIpConfigurationConnectivityInformation to PSNetworkInterfaceIPConfiguration
64+
- Added new model class PSIpConfigurationConnectivityInformation
65+
* Added new ApplicationRuleProtocolType 'mssql' for Azure Firewall resource
66+
* MultiLink support in Virtual WAN
67+
- New cmdlets
68+
- New-AzVpnSiteLink
69+
- New-AzVpnSiteLinkConnection
70+
- Updated cmdlet:
71+
- New-VpnSite
72+
- Update-VpnSite
73+
- New-VpnConnection
74+
- Update-VpnConnection
75+
* Fixed documents for some PowerShell examples to use Az cmdlets instead of AzureRM cmdlets
76+
77+
#### Az.RecoveryServices
78+
* Update AzureVMpolicy Object with ProtectedItemsCount Attribute
79+
* Added Tests for VM policy and Original Storage Account Restore
80+
81+
#### Az.Resources
82+
* Fix bug where New-AzRoleAssignment could not be called without parameter Scope.
83+
84+
#### Az.ServiceFabric
85+
* Fixed typo in example for 'Update-AzServiceFabricReliability' reference documentation
86+
* Adding new cmdlets to manage appliaction and services:
87+
- New-AzServiceFabricApplication
88+
- New-AzServiceFabricApplicationType
89+
- New-AzServiceFabricApplicationTypeVersion
90+
- New-AzServiceFabricService
91+
- Update-AzServiceFabricApplication
92+
- Get-AzServiceFabricApplication
93+
- Get-AzServiceFabricApplicationType
94+
- Get-AzServiceFabricApplicationTypeVersion
95+
- Get-AzServiceFabricService
96+
- Remove-AzServiceFabricApplication
97+
- Remove-AzServiceFabricApplicationType
98+
- Remove-AzServiceFabricApplicationTypeVersion
99+
- Remove-AzServiceFabricServic
100+
* Upgraded Service Fabric SDK to version 1.2.0 which uses service fabric resource provider api-version 2019-03-01.
101+
102+
#### Az.SignalR
103+
* Add Update, Restart, CheckNameAvailability, GetUsage Cmdlets
104+
105+
#### Az.Sql
106+
* Update example in reference documentation for 'Get-AzSqlElasticPool'
107+
* Added vCore example to creating an elastic pool (New-AzSqlElasticPool).
108+
* Remove the validation of EmailAddresses and the check that EmailAdmins is not false in case EmailAddresses is empty in Set-AzSqlServerAdvancedThreatProtectionPolicy and Set-AzSqlDatabaseAdvancedThreatProtectionPolicy
109+
* Enabled removal of server/database auditing settings when multiple diagnostic settings that enable audit category exist.
110+
* Fix email addresses validation in multiple Sql Vulnerability Assessment cmdlets (Update-AzSqlDatabaseVulnerabilityAssessmentSetting, Update-AzSqlServerVulnerabilityAssessmentSetting, Update-AzSqlInstanceDatabaseVulnerabilityAssessmentSetting and Update-AzSqlInstanceVulnerabilityAssessmentSetting).
111+
112+
#### Az.Storage
113+
* Updated example in reference documentation for 'Get-AzStorageAccountKey'
114+
* In upload/Downalod Azure File,support perserve the source File SMB properties (File Attributtes, File Creation Time, File Last Write Time) in the destination file
115+
- Set-AzStorageFileContent
116+
- Get-AzStorageFileContent
117+
* Fix Upload block blob with properties/metadate fail on container enabled ImmutabilityPolicy.
118+
- Set-AzStorageBlobContent
119+
* Support manage Azure File shares with Management plane API
120+
- New-AzRmStorageShare
121+
- Get-AzRmStorageShare
122+
- Update-AzRmStorageShare
123+
- Remove-AzRmStorageShare
124+
125+
#### Az.Websites
126+
* Fixing issue where webapp Tags were getting deleted when migrating App to new ASPwhere webapp Tags were getting deleted when migrating App to new ASP
127+
* Fixing the Publish-AzureWebapp to work across Linux and windows
128+
* Update example in 'Get-AzWebAppPublishingProfile' reference documentation
129+
1130
## 2.6.0 - August 2019
2131
#### General
3132
* Fixed miscellaneous typos across numerous modules

src/ApiManagement/ApiManagement/Az.ApiManagement.psd1

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 8/22/2019
6+
# Generated on: 9/19/2019
77
#
88

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

1414
# Version number of this module.
15-
ModuleVersion = '1.3.0'
15+
ModuleVersion = '1.3.1'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core', 'Desktop'
@@ -189,14 +189,8 @@ PrivateData = @{
189189
# IconUri = ''
190190

191191
# ReleaseNotes of this module
192-
ReleaseNotes = '* Fixed miscellaneous typos across module
193-
* Fix for issue https://github.com/Azure/azure-powershell/issues/9351
194-
- Update .net nuget version, which does not enforce restrictions on productId, apiId, groupId and userId
195-
* **Get-AzApiManagementProduct** - Added support for querying products using Api.
196-
https://github.com/Azure/azure-powershell/issues/9482
197-
* **New-AzApiManagementApiRevision** - Fix for issue where ApiRevisionDescription was not being set when creating new api revision
198-
https://github.com/Azure/azure-powershell/issues/9752
199-
* Fixed typo in model ''PsApiManagementOAuth2AuthrozationServer'' to ''PsApiManagementOAuth2AuthorizationServer'''
192+
ReleaseNotes = '* Update ''-Format'' parameter description in ''Set-AzApiManagementPolicy'' reference documentation
193+
* Removed references of deprecated cmdlet ''Update-AzApiManagementDeployment'' from reference documentation. Use ''Set-AzApiManagement'' instead.'
200194

201195
# Prerelease string of this module
202196
# Prerelease = ''

src/ApiManagement/ApiManagement/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.3.1
2123
* Update `-Format` parameter description in `Set-AzApiManagementPolicy` reference documentation
2224
* Removed references of deprecated cmdlet `Update-AzApiManagementDeployment` from reference documentation. Use `Set-AzApiManagement` instead.
2325

src/ApiManagement/ApiManagement/Properties/AssemblyInfo.cs

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

44-
[assembly: AssemblyVersion("1.3.0")]
45-
[assembly: AssemblyFileVersion("1.3.0")]
44+
[assembly: AssemblyVersion("1.3.1")]
45+
[assembly: AssemblyFileVersion("1.3.1")]

src/Automation/Automation/Az.Automation.psd1

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

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

1414
# Version number of this module.
15-
ModuleVersion = '1.3.2'
15+
ModuleVersion = '1.3.3'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core', 'Desktop'
@@ -168,7 +168,9 @@ PrivateData = @{
168168
# IconUri = ''
169169

170170
# ReleaseNotes of this module
171-
ReleaseNotes = '* Fixed miscellaneous typos across module'
171+
ReleaseNotes = '* Fixed example typo in reference documentation for ''Register-AzAutomationDscNode''
172+
* Added clarification on OS restriction to Register-AzAutomationDSCNode
173+
* Fixed Start-AzAutomationRunbook cmdlet Null reference exception for -Wait option.'
172174

173175
# Prerelease string of this module
174176
# Prerelease = ''

src/Automation/Automation/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.3.3
2123
* Fixed example typo in reference documentation for `Register-AzAutomationDscNode`
2224
* Added clarification on OS restriction to Register-AzAutomationDSCNode
2325
* Fixed Start-AzAutomationRunbook cmdlet Null reference exception for -Wait option.

src/Automation/Automation/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.3.2")]
47-
[assembly: AssemblyFileVersion("1.3.2")]
46+
[assembly: AssemblyVersion("1.3.3")]
47+
[assembly: AssemblyFileVersion("1.3.3")]
4848
#if !SIGN
4949
[assembly: InternalsVisibleTo("Microsoft.Azure.PowerShell.Cmdlets.Automation.Test")]
5050
#endif

src/Batch/Batch/BatchAccounts/GetBatchAccountNodeAgentSkuCommand.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@
1414

1515
using Microsoft.Azure.Batch;
1616
using Microsoft.Azure.Commands.Batch.Models;
17+
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;
1718
using System.Management.Automation;
1819
using Constants = Microsoft.Azure.Commands.Batch.Utils.Constants;
1920

2021
namespace Microsoft.Azure.Commands.Batch
2122
{
23+
[CmdletDeprecation(ReplacementCmdletName = "Get-AzBatchSupportedImage")]
2224
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzurePrefix + "BatchNodeAgentSku"),OutputType(typeof(PSNodeAgentSku))]
2325
public class GetBatchAccountNodeAgentSkuCommand : BatchObjectModelCmdletBase
2426
{

src/Batch/Batch/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
-->
2020

2121
## Upcoming Release
22+
* **Get-AzBatchNodeAgentSku** is deprecated and will be replaced by **Get-AzBatchSupportImage** in version 2.0.0.
2223

2324
## Version 1.1.1
2425
* Fixed typo in help message and documentation to capitalize Windows

src/Compute/Compute.Test/Compute.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<ItemGroup>
1414
<PackageReference Include="Microsoft.Azure.Graph.RBAC" Version="3.4.0-preview" />
15-
<PackageReference Include="Microsoft.Azure.Management.Compute" Version="29.0.0" />
15+
<PackageReference Include="Microsoft.Azure.Management.Compute" Version="29.1.0" />
1616
<PackageReference Include="Microsoft.Azure.Management.KeyVault" Version="2.4.2" />
1717
<PackageReference Include="Microsoft.Azure.Management.Network" Version="19.15.0-preview" />
1818
</ItemGroup>

src/Compute/Compute.Test/ScenarioTests/AvailabilitySetTests.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,12 @@ public void TestAvailabilitySet()
3030
{
3131
TestRunner.RunTestScript("Test-AvailabilitySet");
3232
}
33+
34+
[Fact]
35+
[Trait(Category.AcceptanceType, Category.CheckIn)]
36+
public void TestAvailabilitySetVM()
37+
{
38+
TestRunner.RunTestScript("Test-AvailabilitySetVM");
39+
}
3340
}
3441
}

0 commit comments

Comments
 (0)