Skip to content

Commit 64ad444

Browse files
authored
Merge pull request Azure#3035 from Azure/release-3.0.0
Merge release-3.0.0 -> master
2 parents 4ab5080 + adf93f5 commit 64ad444

File tree

928 files changed

+114241
-115912
lines changed

Some content is hidden

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

928 files changed

+114241
-115912
lines changed

AzurePowershell.Test.targets

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,7 @@
9696
<XUnitTests Include=".\src\ResourceManager\PowerBIEmbedded\Commands.PowerBIEmbedded.Test\bin\Debug\Microsoft.Azure.Commands.PowerBIEmbedded.Test.dll"/>
9797
<XUnitTests Include=".\src\ResourceManager\DataLakeAnalytics\Commands.DataLakeAnalytics.Test\bin\Debug\Microsoft.Azure.Commands.DataLakeAnalytics.Test.dll"/>
9898
<XUnitTests Include=".\src\ResourceManager\DataLakeStore\Commands.DataLakeStore.Test\bin\Debug\Microsoft.Azure.Commands.DataLake.Test.dll"/>
99-
<!-- <XUnitTests Include=".\src\ResourceManager\AzureStackAdmin\Commands.AzureStackAdmin.Test\bin\Debug\Microsoft.AzureStack.Commands.Admin.Test.dll"/>
100-
<XUnitTests Include=".\src\ResourceManager\AzureStackStorage\Commands.AzureStackStorage.Tests\bin\Debug\Microsoft.AzureStack.Commands.StorageAdmin.Test.dll"/>
101-
<XUnitTests Include=".\src\ResourceManager\DevTestLabs\Commands.DevTestLabs.Test\bin\Debug\Microsoft.Azure.Commands.DevTestLabs.Test.dll"/>
99+
<!-- <XUnitTests Include=".\src\ResourceManager\DevTestLabs\Commands.DevTestLabs.Test\bin\Debug\Microsoft.Azure.Commands.DevTestLabs.Test.dll"/>
102100
<XUnitTests Include=".\src\ResourceManager\HDInsight\Commands.HDInsight.Test\bin\Debug\Commands.HDInsight.Test.dll"/>
103101
<XUnitTests Include=".\src\ResourceManager\Insights\Commands.Insights.Test\bin\Debug\Microsoft.Azure.Commands.Insights.Test.dll"/> -->
104102
<XUnitTests Include=".\src\ResourceManager\RecoveryServices\Commands.RecoveryServices.Test\bin\Debug\Microsoft.Azure.Commands.RecoveryServicesArm.Test.dll"/>

ChangeLog.md

Lines changed: 71 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,74 @@
1-
## 2016.09.16 version 2.2.0
1+
## 2016.09.28 version 3.0.0
2+
* This release contains breaking changes. Please see [the migration guide](documentation/release-notes/migration-guide.3.0.0.md) for change details and the impact on existing scripts.
3+
* ApiManagement
4+
* Enable support of Importing and Exporting SOAP based APIs (Wsdl Format)
5+
- Import-AzureRmApiManagementApi
6+
- Export-AzureRmApiManagementApi
7+
* Deprecated cmdlet Set-AzureRmApiManagementVirtualNetworks. In place, place used cmdlet Update-AzureRmApiManagementDeployment
8+
* Enabled support for ARM based VNETs for configuration Vpn via cmdlet Update-AzureRmApiManagementDeployment
9+
* Introduced support for VpnType (None, External, Internal) to differentiate ApiManagement workloads for Internet and Intranet
10+
* Fixed PowerShell issues
11+
- https://github.com/Azure/azure-powershell/issues/2622
12+
- https://github.com/Azure/azure-powershell/issues/2606
13+
* Batch
14+
* Added new cmdlet for reactivating tasks
15+
- Enable-AzureBatchTask
16+
* Added new parameter for application packages on job manager tasks and cloud tasks
17+
- New-AzureBatchTask -ApplicationPackageReferences
18+
* Added new parameters for job auto termination
19+
- New-AzureBatchJob -OnAllTasksComplete -OnTaskFailure
20+
- New-AzureBatchJob -ExitConditions
21+
* ExpressRoute
22+
* Added new parameter service key in return object when provider list all cross connection
23+
- Get-AzureCrossConnectionCommand
24+
* MachineLearning
25+
* Get-AzureRmMlWebService supports paginated response
26+
* Remind user Get-AzureRmMlWebService "Name" parameter needs to work with "ResourceGroupName" parameter
27+
* Network
28+
* Added new cmdlet to get application gateway backend health
29+
- Get-AzureRmApplicationGatewayBackendHealth
30+
* Added support for creating UltraPerformance sku
31+
- New-AzureRmVirtualNetworkGateway -GatewaySku
32+
- New-AzureVirtualNetworkGateway -GatewaySku
33+
* RemoteApp
34+
* Added cmdlets to enable User Disk and Gold Image Migration feature
35+
- Export-AzureRemoteAppUserDisk
36+
- Export-AzureRemoteAppTemplateImage
37+
* SiteRecovery
38+
* New cmdlets have been added to support one to one mapping with service objects.
39+
- Get-AzureRmSiteRecoveryFabric
40+
- Get-AzureRmSiteRecoveryProtectableItem
41+
- Get-AzureRmSiteRecoveryProtectionContainerMapping
42+
- Get-AzureRmSiteRecoveryRecoveryPoin
43+
- Get-AzureRmSiteRecoveryReplicationProtectedItem
44+
- Get-AzureRmSiteRecoveryServicesProvider
45+
- New-AzureRmSiteRecoveryFabri
46+
- New-AzureRmSiteRecoveryProtectionContainerMapping
47+
- New-AzureRmSiteRecoveryReplicationProtectedItem
48+
- Remove-AzureRmSiteRecoveryFabric
49+
- Remove-AzureRmSiteRecoveryProtectionContainerMapping
50+
- Remove-AzureRmSiteRecoveryReplicationProtectedItem
51+
- Remove-AzureRmSiteRecoveryServicesProvider
52+
- Set-AzureRmSiteRecoveryReplicationProtectedItem
53+
- Start-AzureRmSiteRecoveryApplyRecoveryPoint
54+
- Update-AzureRmSiteRecoveryServicesProvider
55+
* Following cmdlets have been modified for to support one to one mapping with service objects.
56+
- Edit-AzureRmSiteRecoveryRecoveryPlan
57+
- Get-AzureRmSiteRecoveryNetwork
58+
- Get-AzureRmSiteRecoveryNetworkMapping
59+
- Get-AzureRmSiteRecoveryProtectionContainer
60+
- Get-AzureRmSiteRecoveryStorageClassification
61+
- Get-AzureRmSiteRecoveryStorageClassificationMapping
62+
- Start-AzureRmSiteRecoveryCommitFailoverJob
63+
- Start-AzureRmSiteRecoveryPlannedFailoverJob
64+
- Start-AzureRmSiteRecoveryTestFailoverJob
65+
- Start-AzureRmSiteRecoveryUnplannedFailoverJob
66+
- Update-AzureRmSiteRecoveryProtectionDirection
67+
- Update-AzureRmSiteRecoveryRecoveryPlan
68+
* HUB support added to Set-AzureRmSiteRecoveryReplicationProtectedItem.
69+
* Deprecation warning introduced for cmlets/parameter-sets which does not comply to SiteRecovery service object model.
70+
71+
## 2016.09.16 version 2.2.0
272
* Network
373
- New switch parameter added for network interface to enable/Disable accelerated networking -New-AzureRmNetworkInterface -EnableAcceleratedNetworking
474

build.proj

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@
5858
<StaticAnalysis Include=".\tools\StaticAnalysis\StaticAnalysis.sln" />
5959
</ItemGroup>
6060

61+
<!-- Tasks -->
62+
<UsingTask TaskName="ValidateStrongNameSignatureTask" AssemblyFile="$(LibraryToolsFolder)\Microsoft.Azure.Build.Tasks.dll" />
63+
<UsingTask TaskName="FilterOutAutoRestLibraries" AssemblyFile="$(LibraryToolsFolder)\Microsoft.Azure.Build.Tasks.dll" />
64+
<UsingTask TaskName="DebugTask" AssemblyFile="$(LibraryToolsFolder)\Microsoft.Azure.Build.Tasks.dll" />
65+
6166
<!--
6267
CI build related
6368
-->
@@ -143,7 +148,7 @@
143148
<Exec Command="$(NuGetCommand) restore %(CmdletSolutionsToBuild.FullPath) $(NuGetRestoreConfigSwitch) $(NuGetRestorePackageSetting)"
144149
ContinueOnError="false" />
145150
<!-- Restore packages for static analysis-->
146-
<Exec Command="$(NuGetCommand) restore %(StaticAnalysis.FullPath) $(NuGetRestoreConfigSwitch)"
151+
<Exec Command="$(NuGetCommand) restore %(StaticAnalysis.FullPath) $(NuGetRestoreConfigSwitch) $(NuGetRestorePackageSetting)"
147152
ContinueOnError="false" />
148153

149154
<!--Restore the xunit runner needed to run unit tests-->
@@ -161,7 +166,7 @@
161166
Properties="Configuration=$(Configuration);Platform=Any CPU"
162167
BuildInParallel="$(BuildInParallel)"
163168
ContinueOnError="false" />
164-
169+
165170
<CallTarget Targets="CodeSignBinaries" Condition=" '$(CodeSign)' == 'true' " />
166171

167172
<MSBuild
@@ -193,9 +198,6 @@
193198
Targets="Build" Properties="Configuration=Debug;Platform=AnyCPU" />
194199
</Target>
195200

196-
<UsingTask TaskName="ValidateStrongNameSignatureTask" AssemblyFile="$(LibraryToolsFolder)\Microsoft.Azure.Build.Tasks.dll" />
197-
<UsingTask TaskName="FilterOutAutoRestLibraries" AssemblyFile="$(LibraryToolsFolder)\Microsoft.Azure.Build.Tasks.dll" />
198-
199201
<Target Name="CodeSignBinaries">
200202
<PropertyGroup>
201203
<!--public token associated with MSSharedLibKey.snk-->
@@ -221,7 +223,7 @@
221223

222224
<Message Importance="high" Text="$(LibrarySourceFolder)\Package\$(Configuration) does not contains any files to sign. Code sign will skip."
223225
Condition="'@(DelaySignedAssembliesToSign)' == ''" />
224-
226+
225227
<ValidateStrongNameSignatureTask
226228
WindowsSdkPath="$(WindowsSdkPath)"
227229
Assembly="%(DelaySignedAssembliesToSign.Identity)"
@@ -259,7 +261,7 @@
259261
ExpectedDelaySigned="false"
260262
ContinueOnError="false"
261263
Condition="!$(DelaySign) and '@(DelaySignedAssembliesToSign)' != ''"/>
262-
264+
263265
<Exec Command="$(PowerShellCommand) -NonInteractive -NoLogo -NoProfile -Command &quot;. $(LibraryToolsFolder)\CheckStrongNameSignature.ps1 &quot;"/>
264266

265267
<!-- Copying signed shortcut back -->
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
# Breaking changes for Microsoft Azure PowerShell 3.0.0.
2+
3+
This document serves as both a breaking change notification and migration guide for consumers of the Microsoft Azure PowerShell cmdlets. Each section describes both the impetus for the breaking change and the migration path of least resistance. For in-depth context, please refer to the pull request associated with each change.
4+
5+
## Table of Contents
6+
1. [Breaking changes to Data Lake Store cmdlets](#breaking-changes-to-data-lake-store-cmdlets)
7+
2. [Breaking changes to ApiManagement cmdlets](#breaking-changes-to-apimanagement-cmdlets)
8+
3. [Breaking changes to Network cmdlets](#breaking-changes-to-network-cmdlets)
9+
10+
## Breaking changes to Data Lake Store cmdlets
11+
12+
The following cmdlets were affected this release ([PR 2965](https://github.com/Azure/azure-powershell/pull/2965)):
13+
14+
**Get-AzureRmDataLakeStoreItemAcl (Get-AdlStoreItemAcl)**
15+
- This cmdlet was removed and replaced with ``Get-AzureRmDataLakeStoreItemAclEntry (Get-AdlStoreItemAclEntry)``.
16+
- The old cmdlet returned a complex object representing the access control list (ACL). The new cmdlet returns a simple list of entries in the chosen path's ACL.
17+
18+
```powershell
19+
# Old
20+
Get-AdlStoreItemAcl -Account myadlsaccount -Path /foo
21+
22+
# New
23+
Get-AdlStoreItemAclEntry -Account myadlsaccount -Path /foo
24+
```
25+
26+
**Get-AzureRmDataLakeStoreItemAclEntry (Get-AdlStoreItemAclEntry)**
27+
- This cmdlet replaces the old cmdlet ``Get-AzureRmDataLakeStoreItemAcl (Get-AdlStoreItemAcl)``.
28+
- This new cmdlet returns a simple list of entries in the chosen path's ACL, with type ``DataLakeStoreItemAce[]``.
29+
- The output of this cmdlet can be passed in to the ``-Acl`` parameter of the following cmdlets:
30+
- ``Remove-AzureRmDataLakeStoreItemAcl``
31+
- ``Set-AzureRmDataLakeStoreItemAcl``
32+
- ``Set-AzureRmDataLakeStoreItemAclEntry``
33+
34+
```powershell
35+
# Old
36+
Get-AdlStoreItemAcl -Account myadlsaccount -Path /foo
37+
38+
# New
39+
Get-AdlStoreItemAclEntry -Account myadlsaccount -Path /foo
40+
```
41+
42+
**Remove-AzureRmDataLakeStoreItemAcl (Remove-AdlStoreItemAcl)**, **Set-AzureRmDataLakeStoreItemAcl (Set-AdlStoreItemAcl)**, **Set-AzureRmDataLakeStoreItemAclEntry (Set-AdlStoreItemAclEntry)**
43+
- These cmdlets now accept ``DataLakeStoreItemAce[]`` for the ``-Acl`` parameter.
44+
- ``DataLakeStoreItemAce[]`` is returned by ``Get-AzureRmDataLakeStoreItemAclEntry (Get-AdlStoreItemAclEntry)``.
45+
46+
```powershell
47+
# Old
48+
$acl = Get-AdlStoreItemAcl -Account myadlsaccount -Path /foo
49+
Set-AdlStoreItemAcl -Account myadlsaccount -Path /foo -Acl $acl
50+
51+
# New
52+
$aclEntries = Get-AdlStoreItemAclEntry -Account myadlsaccount -Path /foo
53+
Set-AdlStoreItemAcl -Account myadlsaccount -Path /foo -Acl $aclEntries
54+
```
55+
56+
## Breaking changes to ApiManagement cmdlets
57+
58+
The following cmdlets were affected this release ([PR 2971](https://github.com/Azure/azure-powershell/pull/2971)):
59+
60+
**New-AzureRmApiManagementVirtualNetwork**
61+
- The required parameters to reference a virtual network changed from requiring SubnetName and VnetId to SubnetResourceId in format
62+
``/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ClassicNetwork/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}``
63+
64+
```powershell
65+
# Old
66+
$virtualNetwork = New-AzureRmApiManagementVirtualNetwork -Location <String> -SubnetName <String> -VnetId <Guid>
67+
68+
# New
69+
$virtualNetwork = New-AzureRmApiManagementVirtualNetwork -Location <String> -SubnetResourceId <String>
70+
71+
```
72+
73+
**Deprecating Cmdlet Set-AzureRmApiManagementVirtualNetworks**
74+
- The Cmdlet is getting deprecated as there was more than one way to Set Virtual Network associated to ApiManagement deployment.
75+
76+
```powershell
77+
# Old
78+
$networksList = @()
79+
$networksList += New-AzureRmApiManagementVirtualNetwork -Location $vnetLocation -VnetId $vnetId -SubnetName $subnetName
80+
Set-AzureRmApiManagementVirtualNetworks -ResourceGroupName "ContosoGroup" -Name "ContosoApi" -VirtualNetworks $networksList
81+
82+
# New
83+
$masterRegionVirtualNetwork = New-AzureRmApiManagementVirtualNetwork -Location <String> -SubnetResourceId <String>
84+
Update-AzureRmApiManagementDeployment -ResourceGroupName "ContosoGroup" -Name "ContosoApi" -VirtualNetwork $masterRegionVirtualNetwork
85+
```
86+
87+
## Breaking changes to Network cmdlets
88+
89+
The following cmdlets were affected this release ([PR 2982](https://github.com/Azure/azure-powershell/pull/2982)):
90+
91+
**New-AzureRmVirtualNetworkGateway**
92+
- Description of what has changed ``:- Bool parameter:-ActiveActive`` is removed and ``SwitchParameter:-EnableActiveActiveFeature`` is added for enabling Active-Active feature on newly creating virtual network gateway.
93+
94+
```powershell
95+
# Old
96+
# Sample of how the cmdlet was previously called
97+
New-AzureRmVirtualNetworkGateway -ResourceGroupName $rgname -name $rname -Location $location -IpConfigurations $vnetIpConfig1,$vnetIpConfig2 -GatewayType Vpn -VpnType RouteBased -EnableBgp $false -GatewaySku HighPerformance -ActiveActive $true
98+
99+
# New
100+
# Sample of how the cmdlet should now be called
101+
New-AzureRmVirtualNetworkGateway -ResourceGroupName $rgname -name $rname -Location $location -IpConfigurations $vnetIpConfig1,$vnetIpConfig2 -GatewayType Vpn -VpnType RouteBased -EnableBgp $false -GatewaySku HighPerformance -EnableActiveActiveFeature
102+
```
103+
104+
Set-AzureRmVirtualNetworkGateway
105+
- Description of what has changed ``:- Bool parameter:-ActiveActive`` is removed and 2 ``SwitchParameters:-EnableActiveActiveFeature`` / ``DisableActiveActiveFeature`` are added for enabling and disabling Active-Active feature on virtual network gateway.
106+
107+
```powershell
108+
# Old
109+
# Sample of how the cmdlet was previously called
110+
Set-AzureRmVirtualNetworkGateway -VirtualNetworkGateway $gw -ActiveActive $true
111+
Set-AzureRmVirtualNetworkGateway -VirtualNetworkGateway $gw -ActiveActive $false
112+
113+
# New
114+
# Sample of how the cmdlet should now be called
115+
Set-AzureRmVirtualNetworkGateway -VirtualNetworkGateway $gw -EnableActiveActiveFeature
116+
Set-AzureRmVirtualNetworkGateway -VirtualNetworkGateway $gw -DisableActiveActiveFeature
117+
```

setup/azurecmd.wxs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<?define sourceDir="$(var.SolutionDir)..\src\Package\$(var.Configuration)" ?>
66
<?define caSourceDir="$(var.SolutionDir)setup\bin\$(var.Configuration)" ?>
77

8-
<?define version="2.1.0" ?>
8+
<?define version="3.0.0" ?>
99

1010
<Product Id="*"
1111
Name="$(var.productName)"

0 commit comments

Comments
 (0)