Skip to content

Commit b6203d6

Browse files
authored
Merge pull request #4448 from Azure/master
[Release 4.3.0] Merge master --> preview
2 parents dd1009a + 99d490a commit b6203d6

File tree

1,483 files changed

+680018
-40505
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,483 files changed

+680018
-40505
lines changed

ChangeLog.md

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

setup/azurecmd.wxs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension" xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension">
33

4-
<?define productName="Microsoft Azure PowerShell - July 2017" ?>
4+
<?define productName="Microsoft Azure PowerShell - August 2017" ?>
55
<?define sourceDir="$(var.SolutionDir)..\src\Package\$(var.Configuration)" ?>
66
<?define caSourceDir="$(var.SolutionDir)setup\bin\$(var.Configuration)" ?>
77

8-
<?define version="4.2.1" ?>
8+
<?define version="4.3.0" ?>
99

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

src/Common/Commands.Common.Authentication/Commands.Common.Authentication.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
<Private>True</Private>
7777
</Reference>
7878
<Reference Include="Microsoft.Rest.ClientRuntime.Azure, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
79-
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.Azure.3.3.7\lib\net452\Microsoft.Rest.ClientRuntime.Azure.dll</HintPath>
79+
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.Azure.3.3.8\lib\net452\Microsoft.Rest.ClientRuntime.Azure.dll</HintPath>
8080
<Private>True</Private>
8181
</Reference>
8282
<Reference Include="Microsoft.Rest.ClientRuntime.Azure.Authentication, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">

src/Common/Commands.Common.Authentication/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<package id="Microsoft.IdentityModel.Clients.ActiveDirectory" version="2.28.3" targetFramework="net45" />
1010
<package id="Microsoft.Net.Http" version="2.2.28" targetFramework="net45" />
1111
<package id="Microsoft.Rest.ClientRuntime" version="2.3.8" targetFramework="net452" />
12-
<package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.7" targetFramework="net452" />
12+
<package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.8" targetFramework="net452" />
1313
<package id="Microsoft.Rest.ClientRuntime.Azure.Authentication" version="2.2.9-preview" targetFramework="net45" />
1414
<package id="Newtonsoft.Json" version="6.0.8" targetFramework="net45" />
1515
</packages>

src/Common/Commands.Common.Authorization/Commands.Common.Authorization.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@
4646
</PropertyGroup>
4747
<ItemGroup>
4848
<Reference Include="Microsoft.Rest.ClientRuntime, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
49-
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.2.3.5\lib\net45\Microsoft.Rest.ClientRuntime.dll</HintPath>
49+
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.2.3.8\lib\net452\Microsoft.Rest.ClientRuntime.dll</HintPath>
5050
<Private>True</Private>
5151
</Reference>
5252
<Reference Include="Microsoft.Rest.ClientRuntime.Azure, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
53-
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.Azure.3.3.5\lib\net45\Microsoft.Rest.ClientRuntime.Azure.dll</HintPath>
53+
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.Azure.3.3.8\lib\net452\Microsoft.Rest.ClientRuntime.Azure.dll</HintPath>
5454
<Private>True</Private>
5555
</Reference>
5656
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Microsoft.Rest.ClientRuntime" version="2.3.5" targetFramework="net452" />
4-
<package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.5" targetFramework="net452" />
3+
<package id="Microsoft.Rest.ClientRuntime" version="2.3.8" targetFramework="net452" />
4+
<package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.8" targetFramework="net452" />
55
<package id="Newtonsoft.Json" version="6.0.8" targetFramework="net452" />
66
</packages>

src/Common/Commands.Common.Graph.RBAC/Commands.Common.Graph.RBAC.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@
4646
</PropertyGroup>
4747
<ItemGroup>
4848
<Reference Include="Microsoft.Rest.ClientRuntime, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
49-
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.2.3.5\lib\net45\Microsoft.Rest.ClientRuntime.dll</HintPath>
49+
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.2.3.8\lib\net452\Microsoft.Rest.ClientRuntime.dll</HintPath>
5050
<Private>True</Private>
5151
</Reference>
5252
<Reference Include="Microsoft.Rest.ClientRuntime.Azure, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
53-
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.Azure.3.3.5\lib\net45\Microsoft.Rest.ClientRuntime.Azure.dll</HintPath>
53+
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.Azure.3.3.8\lib\net452\Microsoft.Rest.ClientRuntime.Azure.dll</HintPath>
5454
<Private>True</Private>
5555
</Reference>
5656
<Reference Include="Microsoft.Threading.Tasks, Version=1.0.12.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">

src/Common/Commands.Common.Graph.RBAC/packages.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<package id="Microsoft.Bcl.Async" version="1.0.168" targetFramework="net452" />
55
<package id="Microsoft.Bcl.Build" version="1.0.14" targetFramework="net452" />
66
<package id="Microsoft.Net.Http" version="2.2.22" targetFramework="net452" />
7-
<package id="Microsoft.Rest.ClientRuntime" version="2.3.5" targetFramework="net452" />
8-
<package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.5" targetFramework="net452" />
7+
<package id="Microsoft.Rest.ClientRuntime" version="2.3.8" targetFramework="net452" />
8+
<package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.8" targetFramework="net452" />
99
<package id="Newtonsoft.Json" version="6.0.8" targetFramework="net452" />
1010
</packages>

src/Common/Commands.Common.Network/Commands.Common.Network.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@
4646
</PropertyGroup>
4747
<ItemGroup>
4848
<Reference Include="Microsoft.Rest.ClientRuntime, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
49-
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.2.3.5\lib\net45\Microsoft.Rest.ClientRuntime.dll</HintPath>
49+
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.2.3.8\lib\net452\Microsoft.Rest.ClientRuntime.dll</HintPath>
5050
<Private>True</Private>
5151
</Reference>
5252
<Reference Include="Microsoft.Rest.ClientRuntime.Azure, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
53-
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.Azure.3.3.5\lib\net45\Microsoft.Rest.ClientRuntime.Azure.dll</HintPath>
53+
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.Azure.3.3.8\lib\net452\Microsoft.Rest.ClientRuntime.Azure.dll</HintPath>
5454
<Private>True</Private>
5555
</Reference>
5656
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Microsoft.Rest.ClientRuntime" version="2.3.5" targetFramework="net452" />
4-
<package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.5" targetFramework="net452" />
3+
<package id="Microsoft.Rest.ClientRuntime" version="2.3.8" targetFramework="net452" />
4+
<package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.8" targetFramework="net452" />
55
<package id="Newtonsoft.Json" version="6.0.8" targetFramework="net452" />
66
</packages>

src/Common/Commands.Common/AzureDataCmdlet.cs

Lines changed: 7 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -111,48 +111,19 @@ protected override void SaveDataCollectionProfile()
111111
WriteWarning(string.Format(Resources.DataCollectionSaveFileInformation, fileFullPath));
112112
}
113113

114-
protected override void PromptForDataCollectionProfileIfNotExists()
114+
protected override void SetDataCollectionProfileIfNotExists()
115115
{
116-
// Initialize it from the environment variable or profile file.
117116
InitializeDataCollectionProfile();
118117

119-
if (!_dataCollectionProfile.EnableAzureDataCollection.HasValue && CheckIfInteractive())
118+
if (_dataCollectionProfile.EnableAzureDataCollection.HasValue)
120119
{
121-
WriteWarning(Resources.DataCollectionPrompt);
122-
123-
const double timeToWaitInSeconds = 60;
124-
var status = string.Format(Resources.DataCollectionConfirmTime, timeToWaitInSeconds);
125-
ProgressRecord record = new ProgressRecord(0, Resources.DataCollectionActivity, status);
126-
127-
var startTime = DateTime.Now;
128-
var endTime = DateTime.Now;
129-
double elapsedSeconds = 0;
130-
131-
while (!this.Host.UI.RawUI.KeyAvailable && elapsedSeconds < timeToWaitInSeconds)
132-
{
133-
TestMockSupport.Delay(10 * 1000);
134-
endTime = DateTime.Now;
135-
136-
elapsedSeconds = (endTime - startTime).TotalSeconds;
137-
record.PercentComplete = ((int)elapsedSeconds * 100 / (int)timeToWaitInSeconds);
138-
WriteProgress(record);
139-
}
140-
141-
bool enabled = false;
142-
if (this.Host.UI.RawUI.KeyAvailable)
143-
{
144-
KeyInfo keyInfo =
145-
this.Host.UI.RawUI.ReadKey(ReadKeyOptions.NoEcho | ReadKeyOptions.AllowCtrlC |
146-
ReadKeyOptions.IncludeKeyDown);
147-
enabled = (keyInfo.Character == 'Y' || keyInfo.Character == 'y');
148-
}
149-
150-
_dataCollectionProfile.EnableAzureDataCollection = enabled;
120+
return;
121+
}
151122

152-
WriteWarning(enabled ? Resources.DataCollectionConfirmYes : Resources.DataCollectionConfirmNo);
123+
WriteWarning(Resources.RDFEDataCollectionMessage);
153124

154-
SaveDataCollectionProfile();
155-
}
125+
_dataCollectionProfile.EnableAzureDataCollection = true;
126+
SaveDataCollectionProfile();
156127
}
157128

158129
protected override void InitializeQosEvent()

0 commit comments

Comments
 (0)