Skip to content

Commit

Permalink
Merge pull request Azure#4448 from Azure/master
Browse files Browse the repository at this point in the history
[Release 4.3.0] Merge master --> preview
  • Loading branch information
markcowl authored Aug 16, 2017
2 parents dd1009a + 99d490a commit b6203d6
Show file tree
Hide file tree
Showing 1,483 changed files with 680,018 additions and 40,505 deletions.
108 changes: 107 additions & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,110 @@
## 2017.07.17 - Version 4.2.1
## 2017.08.07 - Version 4.3.0
* AnalysisServices
* Fixed bug in Set-AzureRmAnalysisServciesServer
- When admin was not provided, the admin will be removed.
* Added BackupBlobContainerUri in New-AzureRmAnalysisServicesServer and Set-AzureRmAnalysisServicesServer
- Enable to set/disable backup blob container for backup/restore Azure Analysis Services Server
* Updated Sku lookup in New-AzureRmAnalysisServicesServer and Set-AzureRmAnalysisServicesServer
- Changed hard coded Sku into dynamic lookup.
* Add-AzureAnalysisServicesAccount to support login with Service Principal
* Automation
* Made changes to AutomationDSC* cmdlets to pull more than 100 records
* Resolved the issue where the Verbose streams stop working after calling some Automation cmdlets (for example Get-AzureRmAutomationVariable, Get-AzureRmAutomationJob).
* Support for NodeConfiguration Build versioning added in StartAzureAutomationDscCompilationJob and ImportAzureAutomationDscNodeConfiguration.
* Bug fixes for existing issues - Fixes the alias issue is #3775 and the runOn alias and support for HybridWorkers.
* Compute
* Set-AzureRmVMAEMExtension: Add support for new Premium Disk sizes
* Set-AzureRmVMAEMExtension: Add support for M series
* Add ForceUpdateTag parameter to Add-AzureRmVmssExtension
* Add Primary parameter to New-AzureRmVmssIpConfig
* Add EnableAcceleratedNetworking parameter to Add-AzureRmVmssNetworkInterfaceConfig
* Add InstanceId to Set-AzureRmVmss
* Expose MaintenanceRedeployStatus to Get-AzureRmVM -Status output
* Expose Restriction and Capability to the table format of Get-AzureRmComputeResourceSku
* DataLakeStore
* Fix for issue: https://github.com/Azure/azure-powershell/issues/4323
* EventHub
* added ResourceGroup property to NamespaceAttributes
- 'ResourceGroup' Gets the name of the resource group the Namespace is in
* updated commandlets with new parameter and parameter alias
- below cmdlets updated with Parametersets for Namespace and EventHub for operation of AuthorizationRule
- New-AzureRmEventHubAuthorizationRule
+ Adds a new AuthorizationRule to the existing NameSpace or EventHub.
- Get-AzureRmEventHubAuthorizationRule
+ Gets AuthorizationRule / List of AuthorizationRules for the existing NameSpace or EventHub.
- Set-AzureRmEventHubAuthorizationRule
+ Updates properties of existing AuthorizationRule of EventHub NameSpace.
- Remove-AzureRmEventHubAuthorizationRule
+ Deletes the existing AuthorizationRule of existing NameSpace or EventHub.
- New-AzureRmEventHubKey
+ Generates a new Primary/Secondary Key for AuthorizationRule of existing NameSpace or EventHub.
- Get-AzureRmEventHubKey
+ Gets Primary/Secondary Key for AuthorizationRule of existing NameSpace or EventHub.
* Network
* New-AzureRmExpressRouteCircuitPeeringConfig: Added IPv6 support. New optional parameter added
- PeerAddressType
* Set-AzureRmExpressRouteCircuitPeeringConfig: Added IPv6 support. New optional parameter added
- PeerAddressType
* Remove-AzureRmExpressRouteCircuitPeeringConfig: Added IPv6 support. New optional parameter added
- PeerAddressType
* Marked parameter -ProbeEnabled as obsolete
- Add-AzureRmApplicationGatewayBackendHttpSettings
- New-AzureRmApplicationGatewayBackendHttpSettings
- Set-AzureRmApplicationGatewayBackendHttpSettings
* Profile
* 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.
- Use the Disable-AzureRmDataCollection cmdlet to turn the feature off
- Use the Enable-AzureRmDataCollection cmdlet to turn this feature on
* Resources
* Add Support for validation of scopes for the following roledefinition and roleassignment commandlets before sending the request to ARM
- Get-AzureRMRoleAssignment
- New-AzureRMRoleAssignment
- Remove-AzureRMRoleAssignment
- Get-AzureRMRoleDefinition
- New-AzureRMRoleDefinition
- Remove-AzureRMRoleDefinition
- Set-AzureRMRoleDefinition
* ServiceBus
* Added below new commandlets for AuthorizationRules for NameSpace, Queue and Topic. according to parameter set the authorization rule orperations are perfomed.
- New-AzureRmServiceBusAuthorizationRule
- Adds a new AuthorizationRule to the existing ServiceBus NameSpace/Queue/Topic.
- Get-AzureRmServiceBusAuthorizationRule
- Gets AuthorizationRule / List of AuthorizationRules for the existing ServiceBus NameSpace/Queue/Topic.
- Set-AzureRmServiceBusAuthorizationRule
- Updates properties of existing AuthorizationRule of Servicebus NameSpace/Queue/Topic.
- New-AzureRmServiceBusKey
- Generates a new Primary/Secondary Key for AuthorizationRule of existing ServiceBus NameSpace/Queue/Topic.
- Get-AzureRmServiceBusKey
- Gets Primary/Secondary Key for AuthorizationRule of existing ServiceBus NameSpace/Queue/Topic.
- Remove-AzureRmServiceBusNamespaceAuthorizationRule
- Deletes the existing AuthorizationRule of ServiceBus NameSpace/Queue/Topic.
* Added Resource Group property to NamespceAttributes
* Sql
* Updating Set-AzureRmSqlServerTransparentDataEncryptionProtector to display a warning and require confirmation if the Encryption Protector Type is being set to AzureKeyVault
* Adding new updated cmdlets for Auditing settings
- Adding Get-AzureRmSqlDatabaseAuditing cmdlet which gets the auditing settings of an Azure SQL database.
- Adding Get-AzureRmSqlServerAuditing cmdlet which gets the auditing settings of an Azure SQL server.
- Adding Set-AzureRmSqlDatabaseAuditing cmdlet which changes the auditing settings for an Azure SQL database.
- Adding Set-AzureRmSqlServerAuditing cmdlet which changes the auditing settings of an Azure SQL server.
* Deprecating the existing Auditing policy cmdlets
- Deprecating Get-AzureRmSqlDatabaseAuditingPolicy
- Deprecating Get-AzureRmSqlServerAuditingPolicy
- Deprecating Set-AzureRmSqlDatabaseAuditingPolicy
- Deprecating Set-AzureRmSqlServerAuditingPolicy
- Deprecating Use-AzureRmSqlServerAuditingPolicy
- Deprecating Remove-AzureRmSqlDatabaseAuditing
- Deprecating Remove-AzureRmSqlServerAuditing
* Schema file parsing for Update-AzureRmSqlSyncGroup is now case insensitive.
* Storage
* Add NeworkRule support to resource mode storage account cmdlets
- New-AzureRmStorageAccount
- Set-AzureRmStorageAccount
- Get-AzureRmStorageAccountNetworkRuleSet
- Update-AzureRmStorageAccountNetworkRuleSet
- Add-AzureRmStorageAccountNetworkRule
- Remove-AzureRmStorageAccountNetworkRule

## 2017.07.17 - Version 4.2.1
* Compute
- Fix issue with VM DIsk and VM Disk snapshot create and update cmdlets, (link)[https://github.com/azure/azure-powershell/issues/4309]
- New-AzureRmDisk
Expand Down
4 changes: 2 additions & 2 deletions NuGet.config
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="local-feed" value="tools/LocalFeed" />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
<add key="powershell-core" value="https://powershell.myget.org/F/powershell-core/api/v3/index.json" />
</packageSources>
Expand Down
4 changes: 2 additions & 2 deletions setup/azurecmd.wxs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<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">

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

<?define version="4.2.1" ?>
<?define version="4.3.0" ?>

<Product Id="*"
Name="$(var.productName)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.Rest.ClientRuntime.Azure, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.Azure.3.3.7\lib\net452\Microsoft.Rest.ClientRuntime.Azure.dll</HintPath>
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.Azure.3.3.8\lib\net452\Microsoft.Rest.ClientRuntime.Azure.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.Rest.ClientRuntime.Azure.Authentication, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
Expand Down
2 changes: 1 addition & 1 deletion src/Common/Commands.Common.Authentication/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<package id="Microsoft.IdentityModel.Clients.ActiveDirectory" version="2.28.3" targetFramework="net45" />
<package id="Microsoft.Net.Http" version="2.2.28" targetFramework="net45" />
<package id="Microsoft.Rest.ClientRuntime" version="2.3.8" targetFramework="net452" />
<package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.7" targetFramework="net452" />
<package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.8" targetFramework="net452" />
<package id="Microsoft.Rest.ClientRuntime.Azure.Authentication" version="2.2.9-preview" targetFramework="net45" />
<package id="Newtonsoft.Json" version="6.0.8" targetFramework="net45" />
</packages>
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Rest.ClientRuntime, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.2.3.5\lib\net45\Microsoft.Rest.ClientRuntime.dll</HintPath>
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.2.3.8\lib\net452\Microsoft.Rest.ClientRuntime.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.Rest.ClientRuntime.Azure, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.Azure.3.3.5\lib\net45\Microsoft.Rest.ClientRuntime.Azure.dll</HintPath>
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.Azure.3.3.8\lib\net452\Microsoft.Rest.ClientRuntime.Azure.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
Expand Down
4 changes: 2 additions & 2 deletions src/Common/Commands.Common.Authorization/packages.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.Rest.ClientRuntime" version="2.3.5" targetFramework="net452" />
<package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.5" targetFramework="net452" />
<package id="Microsoft.Rest.ClientRuntime" version="2.3.8" targetFramework="net452" />
<package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.8" targetFramework="net452" />
<package id="Newtonsoft.Json" version="6.0.8" targetFramework="net452" />
</packages>
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Rest.ClientRuntime, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.2.3.5\lib\net45\Microsoft.Rest.ClientRuntime.dll</HintPath>
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.2.3.8\lib\net452\Microsoft.Rest.ClientRuntime.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.Rest.ClientRuntime.Azure, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.Azure.3.3.5\lib\net45\Microsoft.Rest.ClientRuntime.Azure.dll</HintPath>
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.Azure.3.3.8\lib\net452\Microsoft.Rest.ClientRuntime.Azure.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.Threading.Tasks, Version=1.0.12.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
Expand Down
4 changes: 2 additions & 2 deletions src/Common/Commands.Common.Graph.RBAC/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<package id="Microsoft.Bcl.Async" version="1.0.168" targetFramework="net452" />
<package id="Microsoft.Bcl.Build" version="1.0.14" targetFramework="net452" />
<package id="Microsoft.Net.Http" version="2.2.22" targetFramework="net452" />
<package id="Microsoft.Rest.ClientRuntime" version="2.3.5" targetFramework="net452" />
<package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.5" targetFramework="net452" />
<package id="Microsoft.Rest.ClientRuntime" version="2.3.8" targetFramework="net452" />
<package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.8" targetFramework="net452" />
<package id="Newtonsoft.Json" version="6.0.8" targetFramework="net452" />
</packages>
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Rest.ClientRuntime, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.2.3.5\lib\net45\Microsoft.Rest.ClientRuntime.dll</HintPath>
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.2.3.8\lib\net452\Microsoft.Rest.ClientRuntime.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.Rest.ClientRuntime.Azure, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.Azure.3.3.5\lib\net45\Microsoft.Rest.ClientRuntime.Azure.dll</HintPath>
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.Azure.3.3.8\lib\net452\Microsoft.Rest.ClientRuntime.Azure.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
Expand Down
4 changes: 2 additions & 2 deletions src/Common/Commands.Common.Network/packages.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.Rest.ClientRuntime" version="2.3.5" targetFramework="net452" />
<package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.5" targetFramework="net452" />
<package id="Microsoft.Rest.ClientRuntime" version="2.3.8" targetFramework="net452" />
<package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.8" targetFramework="net452" />
<package id="Newtonsoft.Json" version="6.0.8" targetFramework="net452" />
</packages>
43 changes: 7 additions & 36 deletions src/Common/Commands.Common/AzureDataCmdlet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,48 +111,19 @@ protected override void SaveDataCollectionProfile()
WriteWarning(string.Format(Resources.DataCollectionSaveFileInformation, fileFullPath));
}

protected override void PromptForDataCollectionProfileIfNotExists()
protected override void SetDataCollectionProfileIfNotExists()
{
// Initialize it from the environment variable or profile file.
InitializeDataCollectionProfile();

if (!_dataCollectionProfile.EnableAzureDataCollection.HasValue && CheckIfInteractive())
if (_dataCollectionProfile.EnableAzureDataCollection.HasValue)
{
WriteWarning(Resources.DataCollectionPrompt);

const double timeToWaitInSeconds = 60;
var status = string.Format(Resources.DataCollectionConfirmTime, timeToWaitInSeconds);
ProgressRecord record = new ProgressRecord(0, Resources.DataCollectionActivity, status);

var startTime = DateTime.Now;
var endTime = DateTime.Now;
double elapsedSeconds = 0;

while (!this.Host.UI.RawUI.KeyAvailable && elapsedSeconds < timeToWaitInSeconds)
{
TestMockSupport.Delay(10 * 1000);
endTime = DateTime.Now;

elapsedSeconds = (endTime - startTime).TotalSeconds;
record.PercentComplete = ((int)elapsedSeconds * 100 / (int)timeToWaitInSeconds);
WriteProgress(record);
}

bool enabled = false;
if (this.Host.UI.RawUI.KeyAvailable)
{
KeyInfo keyInfo =
this.Host.UI.RawUI.ReadKey(ReadKeyOptions.NoEcho | ReadKeyOptions.AllowCtrlC |
ReadKeyOptions.IncludeKeyDown);
enabled = (keyInfo.Character == 'Y' || keyInfo.Character == 'y');
}

_dataCollectionProfile.EnableAzureDataCollection = enabled;
return;
}

WriteWarning(enabled ? Resources.DataCollectionConfirmYes : Resources.DataCollectionConfirmNo);
WriteWarning(Resources.RDFEDataCollectionMessage);

SaveDataCollectionProfile();
}
_dataCollectionProfile.EnableAzureDataCollection = true;
SaveDataCollectionProfile();
}

protected override void InitializeQosEvent()
Expand Down
Loading

0 comments on commit b6203d6

Please sign in to comment.