Skip to content

Commit ae9a4bb

Browse files
Merge branch 'preview'
2 parents 5cdfb6b + 1faaacd commit ae9a4bb

File tree

219 files changed

+35866
-47419
lines changed

Some content is hidden

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

219 files changed

+35866
-47419
lines changed

ChangeLog.md

Lines changed: 93 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,96 @@
1-
## 5.4.1 - February 2018
1+
## 5.5.0 - March 2018
2+
#### AzureRM.Profile
3+
* Fixed issue with importing aliases
4+
* Load version 10.0.3 of Newtonsoft.Json side-by-side with version 6.0.8
5+
6+
#### Azure.Storage
7+
* Support Soft-Delete feature
8+
- Enable-AzureStorageDeleteRetentionPolicy
9+
- Disable-AzureStorageDeleteRetentionPolicy
10+
- Get-AzureStorageBlob
11+
12+
#### AzureRM.AnalysisServices
13+
* Fixed issue with importing aliases
14+
* Add support of firewall and query scaleout feature, as well as support of 2017-08-01 api version.
15+
16+
#### AzureRM.Automation
17+
* Fixed issue with importing aliases
18+
19+
#### AzureRM.Cdn
20+
* Fixed issue with importing aliases
21+
22+
#### AzureRM.CognitiveServices
23+
* Update notice.txt and notice message.
24+
25+
#### AzureRM.Compute
26+
* 'New-AzureRmVMSS' prints connection strings in verbose mode.
27+
* 'New-AzureRmVmss' supports public IP address, load balancing rules, inbound NAT rules.
28+
* WriteAccelerator feature
29+
- Added WriteAccelerator switch parameter to the following cmdlets:
30+
Set-AzureRmVMOSDisk
31+
Set-AzureRmVMDataDisk
32+
Add-AzureRmVMDataDisk
33+
Add-AzureRmVmssDataDisk
34+
- Added OsDiskWriteAccelerator switch parameter to the following cmdlet:
35+
Set-AzureRmVmssStorageProfile.
36+
- Added OsDiskWriteAccelerator Boolean parameter to the following cmdlets:
37+
Update-AzureRmVM
38+
Update-AzureRmVmss
39+
40+
#### AzureRM.DataFactories
41+
* Fix credential encryption issue that caused no meaningful error for some encryption operations
42+
* Enable integration runtime to be shared across data factory
43+
44+
#### AzureRM.DataFactoryV2
45+
* Add parameter "SetupScriptContainerSasUri" and "Edition" for "Set-AzureRmDataFactoryV2IntegrationRuntime" cmd to enable custom setup and edition selection functionality
46+
* Fix credential encryption issue that caused no meaningful error for some encryption operations.
47+
* Enable integration runtime to be shared across data factory
48+
49+
#### AzureRM.HDInsight
50+
* Fixed issue with importing aliases
51+
52+
#### AzureRM.KeyVault
53+
* Fixed example for Set-AzureRmKeyVaultAccessPolicy
54+
55+
#### AzureRM.Network
56+
* Fixed issue with importing aliases
57+
58+
#### AzureRM.OperationalInsights
59+
* Fixed issue with importing aliases
60+
61+
#### AzureRM.RecoveryServices
62+
* Fixed issue with importing aliases
63+
64+
#### AzureRM.RecoveryServices.SiteRecovery
65+
* Fixed issue with importing aliases
66+
67+
#### AzureRM.Resources
68+
* Fixed issue with importing aliases
69+
70+
#### AzureRM.ServiceBus
71+
* Added EnableBatchedOperations property to Queue
72+
* Added DeadLetteringOnFilterEvaluationExceptions property to Subscriptions
73+
74+
#### AzureRM.ServiceFabric
75+
* Service Fabric cmdlet refresh
76+
- Updated ARM templates
77+
- Failed operations no longer rollback
78+
- Add-AzureRmServiceFabricNodeType
79+
- VMs default to managed disks
80+
- Existing VMSS subnet used
81+
- All operations are idempotent
82+
- Remove-AzureRmServiceFabricNodeType cleans up partially created VMSS and/or cluster node types
83+
- Fixed output of PSCluster object for complex property types
84+
85+
#### AzureRM.Sql
86+
* Fixed issue with importing aliases
87+
* Get-AzureRmSqlServer, New-AzureRmSqlServer, and Remove-AzureRmSqlServer response now includes FullyQualifiedDomainName property.
88+
89+
#### AzureRM.Websites
90+
* Fixed issue with importing aliases
91+
* New-AzureRMWebApp - added parameter set for simplified WebApp creation, with local git repository support.
92+
93+
## 5.4.1 - February 2018
294
#### AzureRM.Profile
395
* Fix concurrent module import issue in PowerShell Workflow and Azure Automation
496

TestMappings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@
113113
".\\src\\ResourceManager\\Network\\Commands.Network.Test\\bin\\Debug\\Microsoft.Azure.Commands.Network.Test.dll",
114114
".\\src\\ResourceManager\\RecoveryServices.Backup\\Commands.RecoveryServices.Backup.Test\\bin\\Debug\\Microsoft.Azure.Commands.RecoveryServices.Backup.Test.dll",
115115
".\\src\\ResourceManager\\ServiceFabric\\Commands.ServiceFabric.Test\\bin\\Debug\\Microsoft.Azure.Commands.ServiceFabric.Test.dll",
116-
".\\src\\ResourceManager\\Sql\\Commands.Sql.Test\\bin\\Debug\\Microsoft.Azure.Commands.Sql.Test.dll"
116+
".\\src\\ResourceManager\\Sql\\Commands.Sql.Test\\bin\\Debug\\Microsoft.Azure.Commands.Sql.Test.dll",
117+
".\\src\\ResourceManager\\Dns\\Commands.Dns.Test\\bin\\Debug\\Microsoft.Azure.Commands.Dns.Test.dll"
117118
],
118119
"src/ResourceManager/NotificationHubs /": [
119120
".\\src\\ResourceManager\\NotificationHubs\\Commands.NotificationHubs.Test\\bin\\Debug\\Microsoft.Azure.Commands.NotificationHubs.Test.dll"
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
// ----------------------------------------------------------------------------------
2+
//
3+
// Copyright Microsoft Corporation
4+
// Licensed under the Apache License, Version 2.0 (the "License");
5+
// you may not use this file except in compliance with the License.
6+
// You may obtain a copy of the License at
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
// Unless required by applicable law or agreed to in writing, software
9+
// distributed under the License is distributed on an "AS IS" BASIS,
10+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
// See the License for the specific language governing permissions and
12+
// limitations under the License.
13+
// ----------------------------------------------------------------------------------
14+
15+
using Microsoft.Rest;
16+
using System.Threading.Tasks;
17+
using System.Net.Http.Headers;
18+
using System.Threading;
19+
using System.Net.Http;
20+
21+
namespace Microsoft.Azure.Commands.Common.Authentication
22+
{
23+
public class RenewingTokenCredential : ServiceClientCredentials
24+
{
25+
private IAccessToken _token;
26+
27+
28+
public RenewingTokenCredential(IAccessToken token)
29+
{
30+
_token = token;
31+
}
32+
33+
public override Task ProcessHttpRequestAsync(HttpRequestMessage request, CancellationToken cancellationToken)
34+
{
35+
return Task.Run( () => _token.AuthorizeRequest((type, token) => request.Headers.Authorization = new AuthenticationHeaderValue(type, token)));
36+
}
37+
38+
}
39+
}

src/Common/Commands.Common.Authentication/Authentication/ServicePrincipalTokenProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
using Hyak.Common;
1616
using Microsoft.Azure.Commands.Common.Authentication.Abstractions;
1717
using Microsoft.IdentityModel.Clients.ActiveDirectory;
18-
using Microsoft.Rest.Azure.Authentication;
1918
#if NETSTANDARD
19+
using Microsoft.Rest.Azure.Authentication;
2020
using Microsoft.WindowsAzure.Commands.Common;
2121
#endif
2222
using System;

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@
129129
<Compile Include="Authentication\ManagedServiceTokenInfo.cs" />
130130
<Compile Include="Authentication\ProtectedFileTokenCache.cs" />
131131
<Compile Include="Authentication\RawAccessToken.cs" />
132+
<Compile Include="Authentication\RenewingTokenCredential.cs" />
132133
<Compile Include="Authentication\ServicePrincipalKeyStore.cs" />
133134
<Compile Include="Authentication\ServicePrincipalTokenProvider.cs" />
134135
<Compile Include="Authentication\UserTokenProvider.cs" />

0 commit comments

Comments
 (0)