Skip to content

Commit 2e98fab

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 08218b3 + 5bcd2fb commit 2e98fab

File tree

461 files changed

+62541
-2505242
lines changed

Some content is hidden

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

461 files changed

+62541
-2505242
lines changed

ChangeLog.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
## 1.3.0 - February 2019
2+
#### Az.Accounts
3+
* Update to latest version of ClientRuntime
4+
5+
#### Az.AnalysisServices
6+
General availability for Az.AnalysisServices module.
7+
8+
#### Az.Compute
9+
* AEM extension: Add support for UltraSSD and P60,P70 and P80 disks
10+
* Update help description for Set-AzVMBootDiagnostics
11+
* Update help description and example for Update-AzImage
12+
13+
#### Az.RecoveryServices
14+
General availability for Az.RecoveryServices module.
15+
16+
#### Az.Resources
17+
* Fix tagging for resource groups
18+
- More information here: https://github.com/Azure/azure-powershell/issues/8166
19+
* Fix issue where `Get-AzureRmRoleAssignment` doesn't respect -ErrorAction
20+
- More information here: https://github.com/Azure/azure-powershell/issues/8235
21+
22+
#### Az.Sql
23+
* Add Get/Set AzSqlDatabaseBackupShortTermRetentionPolicy
24+
* Fix issue where not being logged into Azure account would result in nullref exception when executing SQL cmdlets
25+
* Fixed null ref exception in Get-AzSqlCapability
26+
127
## 1.2.1 - January 2019
228
#### Az.Accounts
329
* Release with correct version of Authentication
@@ -8,6 +34,7 @@
834
#### Az.RecoveryServices
935
* Release with updated Authentication dependency
1036

37+
1138
## 1.2.0 - January 2019
1239
#### Az.Accounts
1340
* Add interactive and username/password authentication for Windows PowerShell 5.1 only

src/Accounts/Accounts/Az.Accounts.psd1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 1/23/2019
6+
# Generated on: 2/5/2019
77
#
88

99
@{
@@ -12,7 +12,7 @@
1212
# RootModule = ''
1313

1414
# Version number of this module.
15-
ModuleVersion = '1.2.1'
15+
ModuleVersion = '1.3.0'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core', 'Desktop'
@@ -141,7 +141,7 @@ PrivateData = @{
141141
# IconUri = ''
142142

143143
# ReleaseNotes of this module
144-
ReleaseNotes = '* Release with correct version of Authentication'
144+
ReleaseNotes = '* Update to latest version of ClientRuntime'
145145

146146
# Prerelease string of this module
147147
# Prerelease = ''

src/Accounts/Accounts/AzureRmAlias/Mappings.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1288,6 +1288,10 @@
12881288
"New-AzApplicationGatewayFrontendPort": "New-AzureRmApplicationGatewayFrontendPort",
12891289
"Remove-AzApplicationGatewayFrontendPort": "Remove-AzureRmApplicationGatewayFrontendPort",
12901290
"Set-AzApplicationGatewayFrontendPort": "Set-AzureRmApplicationGatewayFrontendPort",
1291+
"Get-AzApplicationGatewayIdentity": "Get-AzureRmApplicationGatewayIdentity",
1292+
"New-AzApplicationGatewayIdentity": "New-AzureRmApplicationGatewayIdentity",
1293+
"Remove-AzApplicationGatewayIdentity": "Remove-AzureRmApplicationGatewayIdentity",
1294+
"Set-AzApplicationGatewayIdentity": "Set-AzureRmApplicationGatewayIdentity",
12911295
"Add-AzApplicationGatewayIPConfiguration": "Add-AzureRmApplicationGatewayIPConfiguration",
12921296
"Get-AzApplicationGatewayIPConfiguration": "Get-AzureRmApplicationGatewayIPConfiguration",
12931297
"New-AzApplicationGatewayIPConfiguration": "New-AzureRmApplicationGatewayIPConfiguration",

src/Accounts/Accounts/ChangeLog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
22+
## Version 1.3.0
2123
* Update to latest version of ClientRuntime
2224

2325
## Version 1.2.1

src/Accounts/Accounts/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
// You can specify all the values or you can default the Build and Revision Numbers
4444
// by using the '*' as shown below:
4545

46-
[assembly: AssemblyVersion("1.2.1")]
47-
[assembly: AssemblyFileVersion("1.2.1")]
46+
[assembly: AssemblyVersion("1.3.0")]
47+
[assembly: AssemblyFileVersion("1.3.0")]
4848
#if SIGN
4949
[assembly: InternalsVisibleTo("Microsoft.Azure.PowerShell.Cmdlets.Accounts.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]
5050
[assembly: InternalsVisibleTo("Microsoft.WindowsAzure.Commands.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]

src/Accounts/Accounts/help/Get-AzSubscription.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ the current account.
4747

4848
### Example 2: Get all subscriptions for a specific tenant
4949
```
50-
PS C:\>Get-AzSubscription -TenantId "xxxx-xxxx-xxxx-xxxx"
50+
PS C:\>Get-AzSubscription -TenantId "aaaa-aaaa-aaaa-aaaa"
5151
5252
Name Id TenantId State
5353
---- -- -------- -----

src/Advisor/Advisor/Az.Advisor.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ DotNetFrameworkVersion = '4.7.2'
5151
# ProcessorArchitecture = ''
5252

5353
# Modules that must be imported into the global environment prior to importing this module
54-
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.2.1'; })
54+
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.3.0'; })
5555

5656
# Assemblies that must be loaded prior to importing this module
5757
RequiredAssemblies = '.\Microsoft.Azure.Management.Advisor.dll'

src/Aks/Aks/Az.Aks.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ DotNetFrameworkVersion = '4.7.2'
5353
# ProcessorArchitecture = ''
5454

5555
# Modules that must be imported into the global environment prior to importing this module
56-
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.2.1'; })
56+
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.3.0'; })
5757

5858
# Assemblies that must be loaded prior to importing this module
5959
RequiredAssemblies = '.\YamlDotNet.dll', '.\AutoMapper.dll'

src/AnalysisServices/AnalysisServices.Dataplane/Commands/AddAzureASAccount.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,14 @@
2323
using Microsoft.Azure.Commands.Common.Authentication.Abstractions;
2424
using Microsoft.WindowsAzure.Commands.Common;
2525
using System;
26+
using Microsoft.WindowsAzure.Commands.Common.CustomAttributes;
2627

2728
namespace Microsoft.Azure.Commands.AnalysisServices.Dataplane
2829
{
2930
/// <summary>
3031
/// Cmdlet to log into an Analysis Services environment
3132
/// </summary>
33+
[CmdletDeprecation("2.0.0")]
3234
[Cmdlet("Add", ResourceManager.Common.AzureRMConstants.AzurePrefix + "AnalysisServicesAccount", DefaultParameterSetName = "UserParameterSetName", SupportsShouldProcess =true)]
3335
[Alias("Login-AzureAsAccount", "Login-AzAsAccount")]
3436
[OutputType(typeof(AsAzureProfile))]

src/AnalysisServices/AnalysisServices/Az.AnalysisServices.psd1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# RootModule = ''
1313

1414
# Version number of this module.
15-
ModuleVersion = '1.0.1'
15+
ModuleVersion = '1.0.0'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core', 'Desktop'
@@ -53,7 +53,7 @@ DotNetFrameworkVersion = '4.7.2'
5353
# ProcessorArchitecture = ''
5454

5555
# Modules that must be imported into the global environment prior to importing this module
56-
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.2.1'; })
56+
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.3.0'; })
5757

5858
# Assemblies that must be loaded prior to importing this module
5959
RequiredAssemblies = '.\Microsoft.Azure.Management.Analysis.dll'
@@ -122,7 +122,7 @@ PrivateData = @{
122122
# IconUri = ''
123123

124124
# ReleaseNotes of this module
125-
ReleaseNotes = '* Release with updated Authentication dependency'
125+
ReleaseNotes = 'General availability for Az.AnalysisServices module.'
126126

127127
# Prerelease string of this module
128128
# Prerelease = ''

src/AnalysisServices/AnalysisServices/ChangeLog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Deprecated AddAzureASAccount cmdlet
2122

2223
## Version 1.0.1
2324
* Release with updated Authentication dependency
2425

2526
## Version 1.0.0
26-
* General availability of `Az.AnalysisServices` module
27+
* General availability of `Az.AnalysisServices` module

src/ApiManagement/ApiManagement/Az.ApiManagement.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ DotNetFrameworkVersion = '4.7.2'
5353
# ProcessorArchitecture = ''
5454

5555
# Modules that must be imported into the global environment prior to importing this module
56-
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.2.1'; })
56+
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.3.0'; })
5757

5858
# Assemblies that must be loaded prior to importing this module
5959
RequiredAssemblies = '.\AutoMapper.dll',

src/ApplicationInsights/ApplicationInsights/Az.ApplicationInsights.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ DotNetFrameworkVersion = '4.7.2'
5353
# ProcessorArchitecture = ''
5454

5555
# Modules that must be imported into the global environment prior to importing this module
56-
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.2.1'; })
56+
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.3.0'; })
5757

5858
# Assemblies that must be loaded prior to importing this module
5959
RequiredAssemblies = '.\Microsoft.Azure.Management.ApplicationInsights.dll'

src/Automation/Automation.Test/ScenarioTests/AccountTests.cs

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,37 +12,32 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
using Microsoft.Azure.Commands.Automation.Test;
16-
using Microsoft.Azure.ServiceManagement.Common.Models;
1715
using Microsoft.WindowsAzure.Commands.ScenarioTest;
1816
using Xunit;
1917

2018
namespace Commands.Automation.Test
2119
{
22-
public class AccountTests : AutomationScenarioTestsBase
20+
public class AccountTests : AutomationTestRunner
2321
{
24-
public XunitTracingInterceptor _logger;
25-
2622
public AccountTests(Xunit.Abstractions.ITestOutputHelper output)
23+
: base(output)
2724
{
28-
_logger = new XunitTracingInterceptor(output);
29-
XunitTracingInterceptor.AddToContext(_logger);
3025
}
3126

3227
[Fact]
3328
[Trait(Category.AcceptanceType, Category.CheckIn)]
3429
[Trait(Category.Service, Category.Automation)]
3530
public void TestGetAutomationAccts()
3631
{
37-
RunPowerShellTest(_logger, "Test-GetAutomationAccounts");
32+
TestRunner.RunTestScript("Test-GetAutomationAccounts");
3833
}
3934

4035
[Fact]
4136
[Trait(Category.AcceptanceType, Category.CheckIn)]
4237
[Trait(Category.Service, Category.Automation)]
4338
public void TestAutomationAcctTags()
4439
{
45-
RunPowerShellTest(_logger, "Test-AutomationAccountTags");
40+
TestRunner.RunTestScript("Test-AutomationAccountTags");
4641
}
4742
}
4843
}

src/Automation/Automation.Test/ScenarioTests/AutomationScenarioTestsBase.cs

Lines changed: 0 additions & 96 deletions
This file was deleted.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
using Microsoft.Azure.Commands.TestFx;
2+
using Xunit.Abstractions;
3+
4+
namespace Commands.Automation.Test
5+
{
6+
public class AutomationTestRunner
7+
{
8+
protected readonly ITestRunner TestRunner;
9+
10+
protected AutomationTestRunner(ITestOutputHelper output)
11+
{
12+
TestRunner = TestManager.CreateInstance (output)
13+
.WithNewPsScriptFilename ($"{GetType().Name}.ps1")
14+
.WithProjectSubfolderForTests ("ScenarioTests")
15+
.WithCommonPsScripts (new[]
16+
{
17+
@"../AzureRM.Resources.ps1",
18+
})
19+
.WithNewRmModules (helper => new[]
20+
{
21+
helper.RMProfileModule,
22+
helper.GetRMModulePath(@"AzureRM.Automation.psd1")
23+
})
24+
.Build();
25+
}
26+
}
27+
}

0 commit comments

Comments
 (0)