Skip to content

Commit 54f758e

Browse files
author
Dragos Avadanei
committed
Merge remote-tracking branch 'refs/remotes/Azure/preview' into preview
2 parents e0d808a + d0ea9ae commit 54f758e

File tree

1,837 files changed

+1815242
-125691
lines changed

Some content is hidden

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

1,837 files changed

+1815242
-125691
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,10 @@ ClientBin/
171171
*.dbproj.schemaview
172172
node_modules/
173173
.pshproj
174+
/tools/*.xml
175+
/tools/BuildPackagesTask/*.dll
176+
/tools/BuildPackagesTask/*.xml
177+
/restore.config
174178

175179
# RIA/Silverlight projects
176180
Generated_Code/

AzurePowershell.Test.targets

Lines changed: 8 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -55,73 +55,14 @@
5555
Command="MSTest.exe /testcontainer:$(_testAssembly) /testsettings:$(_testSettings) /category:$(_testFilter) /resultsfile:$(_testResult)"
5656
ContinueOnError="false" />
5757
</Target>
58-
5958
<Target Name="DeclareXunitTests">
60-
<ItemGroup>
61-
<AsmXUnitTests Include=".\src\ServiceManagement\Common\Commands.Common.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Common.Test.dll"/>
62-
<AsmXUnitTests Include=".\src\ServiceManagement\Services\Commands.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Test.dll"/>
63-
<AsmXUnitTests Include=".\src\ServiceManagement\StorSimple\Commands.StorSimple.Test\bin\Debug\Microsoft.WindowsAzure.Commands.StorSimple.Test.dll"/>
64-
<AsmXUnitTests Include=".\src\ServiceManagement\RemoteApp\Commands.RemoteApp.Test\bin\Debug\Microsoft.Azure.Commands.RemoteApp.Tests.dll"/>
65-
<AsmXUnitTests Include=".\src\ServiceManagement\Common\Commands.ScenarioTest\bin\Debug\Microsoft.WindowsAzure.Commands.ScenarioTest.dll"/>
66-
<AsmXUnitTests Include=".\src\ServiceManagement\RecoveryServices\Commands.RecoveryServices.Test\bin\Debug\Microsoft.Azure.Commands.RecoveryServices.Test.dll"/>
67-
<AsmXUnitTests Include=".\src\ServiceManagement\Network\Commands.Network.Test\bin\Debug\Microsoft.WindowsAzure.Commands.ServiceManagement.Network.Test.dll"/>
68-
<AsmXUnitTests Include=".\src\Storage\Commands.Storage.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Storage.Test.dll"/>
69-
</ItemGroup>
70-
<ItemGroup Condition=" '$(scope)' == 'all' ">
71-
<XUnitTests Include=".\tools\StaticAnalysis\StaticAnalysis.Test\bin\Debug\StaticAnalysis.Test.dll"/>
72-
<XUnitTests Include=".\src\ResourceManager\ApiManagement\Commands.ApiManagement.Test\bin\Debug\Microsoft.Azure.Commands.ApiManagement.Test.dll"/>
73-
<XUnitTests Include=".\src\ResourceManager\Automation\Commands.Automation.Test\bin\Debug\Microsoft.Azure.Commands.ResourceManager.Automation.Test.dll"/>
74-
<XUnitTests Include=".\src\ResourceManager\AzureBackup\Commands.AzureBackup.Test\bin\Debug\Microsoft.Azure.Commands.AzureBackup.Test.dll"/>
75-
<XUnitTests Include=".\src\ResourceManager\AzureBatch\Commands.Batch.Test\bin\Debug\Microsoft.Azure.Commands.Batch.Test.dll"/>
76-
<XUnitTests Include=".\src\ResourceManager\Billing\Commands.Billing.Test\bin\Debug\Microsoft.Azure.Commands.Billing.Test.dll"/>
77-
<XUnitTests Include=".\src\ResourceManager\Cdn\Commands.Cdn.Test\bin\Debug\Microsoft.Azure.Commands.Cdn.Test.ScenarioTests.dll"/>
78-
<XUnitTests Include=".\src\ResourceManager\CognitiveServices\CognitiveServices.Test\bin\Debug\Microsoft.Azure.Commands.Management.CognitiveServices.Test.dll"/>
79-
<XUnitTests Include=".\src\ResourceManager\ContainerRegistry\Commands.ContainerRegistry.Test\bin\Debug\Microsoft.Azure.Commands.ContainerRegistry.Test.dll"/>
80-
<XUnitTests Include=".\src\ResourceManager\Compute\Commands.Compute.Test\bin\Debug\Microsoft.Azure.Commands.Compute.Test.dll"/>
81-
<XUnitTests Include=".\src\ResourceManager\Consumption\Commands.Consumption.Test\bin\Debug\Microsoft.Azure.Commands.Consumption.Test.dll"/>
82-
<XUnitTests Include=".\src\ResourceManager\DataFactories\Commands.DataFactories.Test\bin\Debug\Microsoft.Azure.Commands.DataFactories.Test.dll"/>
83-
<XUnitTests Include=".\src\ResourceManager\DataLakeAnalytics\Commands.DataLakeAnalytics.Test\bin\Debug\Microsoft.Azure.Commands.DataLakeAnalytics.Test.dll"/>
84-
<XUnitTests Include=".\src\ResourceManager\DataLakeStore\Commands.DataLakeStore.Test\bin\Debug\Microsoft.Azure.Commands.DataLake.Test.dll"/>
85-
<!-- <XUnitTests Include=".\src\ResourceManager\DevTestLabs\Commands.DevTestLabs.Test\bin\Debug\Microsoft.Azure.Commands.DevTestLabs.Test.dll"/> -->
86-
<XUnitTests Include=".\src\ResourceManager\Dns\Commands.Dns.Test\bin\Debug\Microsoft.Azure.Commands.Dns.Test.dll"/>
87-
<XUnitTests Include=".\src\ResourceManager\EventHub\Commands.EventHub.Test\bin\Debug\Microsoft.Azure.Commands.EventHubs.Test.dll"/>
88-
<XUnitTests Include=".\src\ResourceManager\HDInsight\Commands.HDInsight.Test\bin\Debug\Commands.HDInsight.Test.dll"/>
89-
<XUnitTests Include=".\src\ResourceManager\Insights\Commands.Insights.Test\bin\Debug\Microsoft.Azure.Commands.Insights.Test.dll"/>
90-
<XUnitTests Include=".\src\ResourceManager\IotHub\Commands.IotHub.Test\bin\Debug\Microsoft.Azure.Commands.IotHub.Test.dll"/>
91-
<XUnitTests Include=".\src\ResourceManager\KeyVault\Commands.KeyVault.Test\bin\Debug\Microsoft.Azure.Commands.KeyVault.Test.dll"/>
92-
<XUnitTests Include=".\src\ResourceManager\LogicApp\Commands.LogicApp.Test\bin\Debug\Microsoft.Azure.Commands.LogicApp.Test.dll"/>
93-
<!-- <XUnitTests Include=".\src\ResourceManager\MachineLearning\Commands.MachineLearning.Test\bin\Debug\Microsoft.Azure.Commands.MachineLearning.Test.dll"/> -->
94-
<!-- <XUnitTests Include=".\src\ResourceManager\Media\Commands.Media.Test\bin\Debug\Microsoft.Azure.Commands.Media.Test.dll"/> -->
95-
<XUnitTests Include=".\src\ResourceManager\Network\Commands.Network.Test\bin\Debug\Microsoft.Azure.Commands.Network.Test.dll"/>
96-
<XUnitTests Include=".\src\ResourceManager\NotificationHubs\Commands.NotificationHubs.Test\bin\Debug\Microsoft.Azure.Commands.NotificationHubs.Test.dll"/>
97-
<XUnitTests Include=".\src\ResourceManager\OperationalInsights\Commands.OperationalInsights.Test\bin\Debug\Microsoft.Azure.Commands.OperationalInsights.Test.dll"/>
98-
<XUnitTests Include=".\src\ResourceManager\PowerBIEmbedded\Commands.PowerBIEmbedded.Test\bin\Debug\Microsoft.Azure.Commands.PowerBIEmbedded.Test.dll"/>
99-
<XUnitTests Include=".\src\ResourceManager\Profile\Commands.Profile.Test\bin\Debug\Microsoft.Azure.Commands.Profile.Test.dll"/>
100-
<XUnitTests Include=".\src\ResourceManager\RecoveryServices\Commands.RecoveryServices.Test\bin\Debug\Microsoft.Azure.Commands.RecoveryServicesArm.Test.dll"/>
101-
<XUnitTests Include=".\src\ResourceManager\RecoveryServices.Backup\Commands.RecoveryServices.Backup.Test\bin\Debug\Microsoft.Azure.Commands.RecoveryServices.Backup.Test.dll"/>
102-
<XUnitTests Include=".\src\ResourceManager\RedisCache\Commands.RedisCache.Test\bin\Debug\Microsoft.Azure.Commands.RedisCache.Test.dll"/>
103-
<XUnitTests Include=".\src\ResourceManager\Resources\Commands.Resources.Test\bin\Debug\Microsoft.Azure.Commands.Resources.Test.dll"/>
104-
<XUnitTests Include=".\src\ResourceManager\Scheduler\Commands.Scheduler.Test\bin\Debug\Microsoft.Azure.Commands.Scheduler.Test.dll"/>
105-
<!-- <XUnitTests Include=".\src\ResourceManager\ServerManagement\Commands.ServerManagement.Test\bin\Debug\Microsoft.Azure.Commands.ServerManagement.Test.dll"/> -->
106-
<XUnitTests Include=".\src\ResourceManager\ServiceBus\Commands.ServiceBus.Test\bin\Debug\Microsoft.Azure.Commands.ServiceBus.Test.dll"/>
107-
<XUnitTests Include=".\src\ResourceManager\ServiceFabric\Commands.ServiceFabric.Test\bin\Debug\Microsoft.Azure.Commands.ServiceFabric.Test.dll"/>
108-
<XUnitTests Include=".\src\ResourceManager\SiteRecovery\Commands.SiteRecovery.Test\bin\Debug\Microsoft.Azure.Commands.SiteRecovery.Test.dll"/>
109-
<XUnitTests Include=".\src\ResourceManager\Sql\Commands.Sql.Test\bin\Debug\Microsoft.Azure.Commands.Sql.Test.dll"/>
110-
<XUnitTests Include=".\src\ResourceManager\Storage\Commands.Management.Storage.Test\bin\Debug\Microsoft.Azure.Commands.Management.Storage.Test.dll"/>
111-
<XUnitTests Include=".\src\ResourceManager\StreamAnalytics\Commands.StreamAnalytics.Test\bin\Debug\Microsoft.Azure.Commands.StreamAnalytics.Test.dll"/>
112-
<XUnitTests Include=".\src\ResourceManager\TrafficManager\Commands.TrafficManager2.Test\bin\Debug\Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.dll"/>
113-
<XUnitTests Include=".\src\ResourceManager\UsageAggregates\Commands.UsageAggregates.Test\bin\Debug\Microsoft.Azure.Commands.UsageAggregates.Test.dll"/>
114-
<XUnitTests Include=".\src\ResourceManager\Websites\Commands.Websites.Test\bin\Debug\Microsoft.Azure.Commands.Websites.Test.dll"/>
115-
<XUnitTests Include=".\src\Common\Commands.Common.Authentication.Test\bin\Debug\Microsoft.Azure.Commands.Common.Authentication.Test.dll"/>
116-
<XUnitTests Include=".\src\ResourceManager\Relay\Commands.Relay.Test\bin\Debug\Microsoft.Azure.Commands.Relay.Test.dll"/>
117-
<XUnitTests Include="@(AsmXUnitTests)"/>
118-
</ItemGroup>
119-
<ItemGroup Condition=" '$(scope)' == 'ServiceManagement' ">
120-
<XUnitTests Include="@(AsmXUnitTests)"/>
121-
</ItemGroup>
122-
<ItemGroup Condition=" '$(scope)' != 'all' and '$(scope)' != 'ServiceManagement' and '$(scope)' != 'AzureStorage' ">
123-
<XUnitTests Include="$(MSBuildProjectDirectory)\src\ResourceManager\$(scope)\*\bin\Debug\*.Test.dll"/>
124-
</ItemGroup>
59+
<!--Get list of tests to be run based on files changed from a specified PullRequestNumber. Mapping between paths and test DLLs is used to produce the list.-->
60+
<SmartTestingTask RepositoryOwner="Azure" RepositoryName="azure-powershell" PullRequestNumber="$(PullRequestNumber)" MapFilePath=".\TestMappings.json">
61+
<Output TaskParameter ="TestAssemblies" ItemName="XUnitTests"/>
62+
</SmartTestingTask>
63+
<Message Text="Using these test assemblies:"/>
64+
<Message Text="%(XUnitTests.Identity)"/>
65+
<Message Text="Total: @(XunitTests->Count())"/>
12566
</Target>
12667

12768
<Target Name="InvokeXUnit" DependsOnTargets="DeclareXunitTests">
@@ -160,7 +101,7 @@
160101
DiagnosticMessages="false"
161102
ContinueOnError="false"
162103
Condition=" @(XUnitTests) != '' "/>
163-
104+
164105
<CallTarget Targets="TestSetup" />
165106
</Target>
166107

@@ -192,7 +133,6 @@
192133
<!-- We want to run setup tests related to signing that can only be run on signed bits -->
193134
<SetupReleaseTests Include=".\setup\PowerShellSetup.Test\bin\Release\PowerShellSetup.Test.dll" />
194135
</ItemGroup>
195-
196136
<xunit
197137
Assemblies="@(SetupDebugTests)"
198138
AppDomains="true"

ChangeLog.md

Lines changed: 110 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,113 @@
1-
## 2017.07.17 - Version 4.2.1
1+
## 2017.08.10 - Version 4.3.1
2+
* Update to fix assembly signing issue
3+
4+
## 2017.08.07 - Version 4.3.0
5+
* AnalysisServices
6+
* Fixed bug in Set-AzureRmAnalysisServciesServer
7+
- When admin was not provided, the admin will be removed.
8+
* Added BackupBlobContainerUri in New-AzureRmAnalysisServicesServer and Set-AzureRmAnalysisServicesServer
9+
- Enable to set/disable backup blob container for backup/restore Azure Analysis Services Server
10+
* Updated Sku lookup in New-AzureRmAnalysisServicesServer and Set-AzureRmAnalysisServicesServer
11+
- Changed hard coded Sku into dynamic lookup.
12+
* Add-AzureAnalysisServicesAccount to support login with Service Principal
13+
* Automation
14+
* Made changes to AutomationDSC* cmdlets to pull more than 100 records
15+
* Resolved the issue where the Verbose streams stop working after calling some Automation cmdlets (for example Get-AzureRmAutomationVariable, Get-AzureRmAutomationJob).
16+
* Support for NodeConfiguration Build versioning added in StartAzureAutomationDscCompilationJob and ImportAzureAutomationDscNodeConfiguration.
17+
* Bug fixes for existing issues - Fixes the alias issue is #3775 and the runOn alias and support for HybridWorkers.
18+
* Compute
19+
* Set-AzureRmVMAEMExtension: Add support for new Premium Disk sizes
20+
* Set-AzureRmVMAEMExtension: Add support for M series
21+
* Add ForceUpdateTag parameter to Add-AzureRmVmssExtension
22+
* Add Primary parameter to New-AzureRmVmssIpConfig
23+
* Add EnableAcceleratedNetworking parameter to Add-AzureRmVmssNetworkInterfaceConfig
24+
* Add InstanceId to Set-AzureRmVmss
25+
* Expose MaintenanceRedeployStatus to Get-AzureRmVM -Status output
26+
* Expose Restriction and Capability to the table format of Get-AzureRmComputeResourceSku
27+
* DataLakeStore
28+
* Fix for issue: https://github.com/Azure/azure-powershell/issues/4323
29+
* EventHub
30+
* added ResourceGroup property to NamespaceAttributes
31+
- 'ResourceGroup' Gets the name of the resource group the Namespace is in
32+
* updated commandlets with new parameter and parameter alias
33+
- below cmdlets updated with Parametersets for Namespace and EventHub for operation of AuthorizationRule
34+
- New-AzureRmEventHubAuthorizationRule
35+
+ Adds a new AuthorizationRule to the existing NameSpace or EventHub.
36+
- Get-AzureRmEventHubAuthorizationRule
37+
+ Gets AuthorizationRule / List of AuthorizationRules for the existing NameSpace or EventHub.
38+
- Set-AzureRmEventHubAuthorizationRule
39+
+ Updates properties of existing AuthorizationRule of EventHub NameSpace.
40+
- Remove-AzureRmEventHubAuthorizationRule
41+
+ Deletes the existing AuthorizationRule of existing NameSpace or EventHub.
42+
- New-AzureRmEventHubKey
43+
+ Generates a new Primary/Secondary Key for AuthorizationRule of existing NameSpace or EventHub.
44+
- Get-AzureRmEventHubKey
45+
+ Gets Primary/Secondary Key for AuthorizationRule of existing NameSpace or EventHub.
46+
* Network
47+
* New-AzureRmExpressRouteCircuitPeeringConfig: Added IPv6 support. New optional parameter added
48+
- PeerAddressType
49+
* Set-AzureRmExpressRouteCircuitPeeringConfig: Added IPv6 support. New optional parameter added
50+
- PeerAddressType
51+
* Remove-AzureRmExpressRouteCircuitPeeringConfig: Added IPv6 support. New optional parameter added
52+
- PeerAddressType
53+
* Marked parameter -ProbeEnabled as obsolete
54+
- Add-AzureRmApplicationGatewayBackendHttpSettings
55+
- New-AzureRmApplicationGatewayBackendHttpSettings
56+
- Set-AzureRmApplicationGatewayBackendHttpSettings
57+
* Profile
58+
* Data collection has been enabled by default. Usage data is collected by Microsoft in order to improve the user experience. The data is anonymous and does not include command-line argument values.
59+
- Use the Disable-AzureRmDataCollection cmdlet to turn the feature off
60+
- Use the Enable-AzureRmDataCollection cmdlet to turn this feature on
61+
* Resources
62+
* Add Support for validation of scopes for the following roledefinition and roleassignment commandlets before sending the request to ARM
63+
- Get-AzureRMRoleAssignment
64+
- New-AzureRMRoleAssignment
65+
- Remove-AzureRMRoleAssignment
66+
- Get-AzureRMRoleDefinition
67+
- New-AzureRMRoleDefinition
68+
- Remove-AzureRMRoleDefinition
69+
- Set-AzureRMRoleDefinition
70+
* ServiceBus
71+
* Added below new commandlets for AuthorizationRules for NameSpace, Queue and Topic. according to parameter set the authorization rule orperations are perfomed.
72+
- New-AzureRmServiceBusAuthorizationRule
73+
- Adds a new AuthorizationRule to the existing ServiceBus NameSpace/Queue/Topic.
74+
- Get-AzureRmServiceBusAuthorizationRule
75+
- Gets AuthorizationRule / List of AuthorizationRules for the existing ServiceBus NameSpace/Queue/Topic.
76+
- Set-AzureRmServiceBusAuthorizationRule
77+
- Updates properties of existing AuthorizationRule of Servicebus NameSpace/Queue/Topic.
78+
- New-AzureRmServiceBusKey
79+
- Generates a new Primary/Secondary Key for AuthorizationRule of existing ServiceBus NameSpace/Queue/Topic.
80+
- Get-AzureRmServiceBusKey
81+
- Gets Primary/Secondary Key for AuthorizationRule of existing ServiceBus NameSpace/Queue/Topic.
82+
- Remove-AzureRmServiceBusNamespaceAuthorizationRule
83+
- Deletes the existing AuthorizationRule of ServiceBus NameSpace/Queue/Topic.
84+
* Added Resource Group property to NamespceAttributes
85+
* Sql
86+
* Updating Set-AzureRmSqlServerTransparentDataEncryptionProtector to display a warning and require confirmation if the Encryption Protector Type is being set to AzureKeyVault
87+
* Adding new updated cmdlets for Auditing settings
88+
- Adding Get-AzureRmSqlDatabaseAuditing cmdlet which gets the auditing settings of an Azure SQL database.
89+
- Adding Get-AzureRmSqlServerAuditing cmdlet which gets the auditing settings of an Azure SQL server.
90+
- Adding Set-AzureRmSqlDatabaseAuditing cmdlet which changes the auditing settings for an Azure SQL database.
91+
- Adding Set-AzureRmSqlServerAuditing cmdlet which changes the auditing settings of an Azure SQL server.
92+
* Deprecating the existing Auditing policy cmdlets
93+
- Deprecating Get-AzureRmSqlDatabaseAuditingPolicy
94+
- Deprecating Get-AzureRmSqlServerAuditingPolicy
95+
- Deprecating Set-AzureRmSqlDatabaseAuditingPolicy
96+
- Deprecating Set-AzureRmSqlServerAuditingPolicy
97+
- Deprecating Use-AzureRmSqlServerAuditingPolicy
98+
- Deprecating Remove-AzureRmSqlDatabaseAuditing
99+
- Deprecating Remove-AzureRmSqlServerAuditing
100+
* Schema file parsing for Update-AzureRmSqlSyncGroup is now case insensitive.
101+
* Storage
102+
* Add NeworkRule support to resource mode storage account cmdlets
103+
- New-AzureRmStorageAccount
104+
- Set-AzureRmStorageAccount
105+
- Get-AzureRmStorageAccountNetworkRuleSet
106+
- Update-AzureRmStorageAccountNetworkRuleSet
107+
- Add-AzureRmStorageAccountNetworkRule
108+
- Remove-AzureRmStorageAccountNetworkRule
109+
110+
## 2017.07.17 - Version 4.2.1
2111
* Compute
3112
- Fix issue with VM DIsk and VM Disk snapshot create and update cmdlets, (link)[https://github.com/azure/azure-powershell/issues/4309]
4113
- New-AzureRmDisk

NuGet.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<packageSources>
44
<add key="local-feed" value="tools/LocalFeed" />
5-
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
5+
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
66
<add key="dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
77
<add key="powershell-core" value="https://powershell.myget.org/F/powershell-core/api/v3/index.json" />
88
</packageSources>

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ For detail descriptions and examples of the cmdlets, type
8282
## Installation
8383

8484
### PowerShell Gallery
85-
1. Install [Windows Management Framework 5 with PowerShellGet cmdlets](https://msdn.microsoft.com/en-us/powershell/gallery/psgallery/psgallery_gettingstarted)
85+
1. Install [Windows Management Framework 5 with PowerShellGet cmdlets](https://msdn.microsoft.com/en-us/powershell/gallery/psgallery/psgallery_gettingstarted) for Windows 7 SP1, 8.1, Server 2008 SP1, Server 2012 and Server 2012 R2.
8686
2. In an elevated PowerShell session, run ```Install-Module AzureRM```
87-
3. To install RDFE cmdlets, run ```Install-Module Azure```
87+
3. To install legacy RDFE cmdlets, run ```Install-Module Azure```
8888

8989
### Microsoft Web Platform Installer
9090

0 commit comments

Comments
 (0)