Skip to content

Commit 5754c23

Browse files
authored
Merge branch 'master' into master
2 parents f5cedb0 + 5a642a5 commit 5754c23

File tree

148 files changed

+90175
-21685
lines changed

Some content is hidden

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

148 files changed

+90175
-21685
lines changed

.azure-pipelines/powershell-core.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ variables:
55
LinuxImage: ubuntu-18.04
66
MacOSName: macOS
77
MacOSImage: macOS-10.13
8-
TestFramework: netcoreapp2.1
8+
TestFramework: netcoreapp2.2
99
TestTarget: Test
1010
Configuration: Debug
1111

.azure-pipelines/windows-powershell.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
variables:
22
WindowsName: windows
33
WindowsImage: VS2017-Win2016
4-
TestFramework: net472
5-
TestTarget: TestNet472
4+
TestFramework: netcoreapp2.2
5+
TestTarget: Test
66
Configuration: Debug
77

88
jobs:

ChangeLog.md

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,85 @@
1+
## 3.1.0 - November 2019
2+
### Highlights since the last major release
3+
* Az.DataBoxEdge 1.0.0 released
4+
* Az.SqlVirtualMachine 1.0.0 released
5+
6+
#### Az.Compute
7+
* VM Reapply feature
8+
- Add Reapply parameter to Set-AzVM cmdlet
9+
* VM Scale Set AutomaticRepairs feature:
10+
- Add EnableAutomaticRepair, AutomaticRepairGracePeriod, and AutomaticRepairMaxInstanceRepairsPercent parameters to the following cmdlets:
11+
New-AzVmssConfig
12+
Update-AzVmss
13+
* Cross tenant gallery image support for New-AzVM
14+
* Add 'Spot' to the argument completer of Priority parameter in New-AzVM, New-AzVMConfig and New-AzVmss cmdlets
15+
* Add DiskIOPSReadWrite and DiskMBpsReadWrite parameters to Add-AzVmssDataDisk cmdlet
16+
* Change SourceImageId parameter of New-AzGalleryImageVersion cmdlet to optional
17+
* Add OSDiskImage and DataDiskImage parameters to New-AzGalleryImageVersion cmdlet
18+
* Add HyperVGeneration parameter to New-AzGalleryImageDefinition cmdlet
19+
* Add SkipExtensionsOnOverprovisionedVMs parameters to New-AzVmss, New-AzVmssConfig and Update-AzVmss cmdlets
20+
21+
#### Az.DataBoxEdge
22+
* Added cmdlet `Get-AzDataBoxEdgeOrder`
23+
- Get the Order
24+
* Added cmdlet `New-AzDataBoxEdgeOrder`
25+
- Create new Order
26+
* Added cmdlet `Remove-AzDataBoxEdgeOrder`
27+
- Remove the Order
28+
* Change in cmdlet `New-AzDataBoxEdgeShare`
29+
- Now creates Local Share
30+
* Added cmdlet `Set-AzDataBoxEdgeRole`
31+
- Now IotRole can be mapped to Share
32+
* Added cmdlet `Invoke-AzDataBoxEdgeDevice`
33+
- Invoke scan update, download update, install updates on the device
34+
* Added cmdlet `Get-AzDataBoxEdgeTrigger`
35+
- Gets the information about Triggers
36+
* Added cmdlet `New-AzDataBoxEdgeTrigger`
37+
- Create new Triggers
38+
* Added cmdlet `Remove-AzDataBoxEdgeTrigger`
39+
- Remove the Triggers
40+
41+
#### Az.DataFactory
42+
* Update ADF .Net SDK version to 4.4.0
43+
* Add parameter 'ExpressCustomSetup' for 'Set-AzureRmDataFactoryV2IntegrationRuntime' cmd to enable setup configurations and 3rd party components without custom setup script.
44+
45+
#### Az.DataLakeStore
46+
* Update documentation of Get-AzDataLakeStoreDeletedItem and Restore-AzDataLakeStoreDeletedItem
47+
48+
#### Az.EventHub
49+
* Fix for issue 10301 : Fix the SAS Token date format
50+
51+
#### Az.FrontDoor
52+
* Add MinimumTlsVersion parameter to Enable-AzFrontDoorCustomDomainHttps and New-AzFrontDoorFrontendEndpointObject
53+
* Add HealthProbeMethod and EnabledState parameters to New-AzFrontDoorHealthProbeSettingObject
54+
* Add new cmdlet to create BackendPoolsSettings objec to pass into creation/update of Front Door
55+
- New-AzFrontDoorBackendPoolsSettingObject
56+
57+
#### Az.Network
58+
* Change 'Start-AzVirtualNetworkGatewayConnectionPacketCapture.md' and 'Start-AzVirtualnetworkGatewayPacketCapture.md' FilterData option examples.
59+
60+
#### Az.PrivateDns
61+
* Updated PrivateDns .net sdk to version 1.0.0
62+
63+
#### Az.RecoveryServices
64+
* Azure Site Recovery support to select disk type at enabling protection.
65+
* Azure Site Recovery bug fix for recovery plan action edit.
66+
* Azure Backup SQL Restore support to accept filestream DBs.
67+
68+
#### Az.RedisCache
69+
* Added 'MinimumTlsVersion' parameter in 'New-AzRedisCache' and 'Set-AzRedisCache' cmdlets. Also, added 'MinimumTlsVersion' in the output of 'Get-AzRedisCache' cmdlet.
70+
* Added validation on '-Size' parameter for 'Set-AzRedisCache' and 'New-AzRedisCache' cmdlets
71+
72+
#### Az.Resources
73+
- Updated policy cmdlets to use new api version 2019-06-01 that has new EnforcementMode property in policy assignment.
74+
- Updated create policy definition help example
75+
- Fix bug Remove-AZADServicePrincipal -ServicePrincipalName, throw null reference when service principal name not found.
76+
- Fix bug New-AZADServicePrincipal, throw null reference when tenant doesn't have any subscription.
77+
- Change New-AzAdServicePrincipal to add credentials only to associated application.
78+
79+
#### Az.Sql
80+
* Added support for database ReadReplicaCount.
81+
* Fixed Set-AzSqlDatabase when zone redundancy not set
82+
183
## 3.0.0 - November 2019
284
### General
385
* Az.PrivateDns 1.0.0 released

build.proj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<!-- General -->
3030
<Configuration Condition="'$(Configuration)' != 'Release'">Debug</Configuration>
3131
<Scope Condition="$(Scope) == ''">All</Scope>
32-
<TestFramework Condition="'$(TestFramework)' == ''">netcoreapp2.1</TestFramework>
32+
<TestFramework Condition="'$(TestFramework)' == ''">netcoreapp2.2</TestFramework>
3333

3434
<!-- Flags -->
3535
<CodeSign Condition ="'$(CodeSign)' == ''">false</CodeSign>

src/Automation/Automation.Test/Automation.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<PropertyGroup>
1010
<RootNamespace>$(LegacyAssemblyPrefix)$(PsModuleName)$(AzTestAssemblySuffix)</RootNamespace>
1111
<AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects>
12-
<TargetFrameworks>netcoreapp2.0;netcoreapp2.1</TargetFrameworks>
12+
<TargetFrameworks>netcoreapp2.2;netcoreapp2.1</TargetFrameworks>
1313
</PropertyGroup>
1414

1515
<ItemGroup>

src/Az.Test.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<!-- Build -->
1313
<PropertyGroup>
14-
<TargetFrameworks>netcoreapp2.1;netcoreapp2.0;netstandard2.0</TargetFrameworks>
14+
<TargetFrameworks>netcoreapp2.2;netcoreapp2.1;netstandard2.0</TargetFrameworks>
1515
<AssemblyName>$(AzAssemblyPrefix)$(PsModuleName)$(AzTestAssemblySuffix)</AssemblyName>
1616
<RootNamespace>$(AzAssemblyPrefix)$(PsModuleName)$(AzTestAssemblySuffix)</RootNamespace>
1717
<IsPackable>false</IsPackable>

src/Compute/Compute.Test/ScenarioTests/StrategiesVmssTests.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,5 +123,12 @@ public void TestSimpleNewVmssScaleInPolicy()
123123
{
124124
TestRunner.RunTestScript("Test-SimpleNewVmssScaleInPolicy");
125125
}
126+
127+
[Fact]
128+
[Trait(Category.AcceptanceType, Category.CheckIn)]
129+
public void SimpleNewVmssSkipExtOverprovision()
130+
{
131+
TestRunner.RunTestScript("Test-SimpleNewVmssSkipExtOverprovision");
132+
}
126133
}
127134
}

src/Compute/Compute.Test/ScenarioTests/StrategiesVmssTests.ps1

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,3 +470,32 @@ function Test-SimpleNewVmssScaleInPolicy
470470
Clean-ResourceGroup $vmssname
471471
}
472472
}
473+
474+
<#
475+
.SYNOPSIS
476+
Test Simple Paremeter Set for New Vmss with SkipExtensionsOnOverprovisionedVMs.
477+
#>
478+
function Test-SimpleNewVmssSkipExtOverprovision
479+
{
480+
# Setup
481+
$vmssname = Get-ResourceName
482+
483+
try
484+
{
485+
$username = "admin01"
486+
$password = Get-PasswordForVM | ConvertTo-SecureString -AsPlainText -Force
487+
$cred = new-object -typename System.Management.Automation.PSCredential -argumentlist $username, $password
488+
[string]$domainNameLabel = "$vmssname$vmssname".tolower();
489+
490+
# Common
491+
New-AzVmss -Name $vmssname -Location "westus2" -Credential $cred -DomainNameLabel $domainNameLabel `
492+
-SkipExtensionsOnOverprovisionedVMs;
493+
$vmss = Get-AzVmss -ResourceGroupName $vmssname -Name $vmssname;
494+
Assert-True { $vmss.DoNotRunExtensionsOnOverprovisionedVMs };
495+
}
496+
finally
497+
{
498+
# Cleanup
499+
Clean-ResourceGroup $vmssname
500+
}
501+
}

src/Compute/Compute.Test/ScenarioTests/VirtualMachineScaleSetProfileTests.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,12 @@ function Test-VirtualMachineScaleSetProfile
133133
$exttype2 = 'AzureCATExtensionHandler';
134134
$extver2 = '2.2';
135135

136-
$vmss2 = New-AzVmssConfig -Location $loc -SkuCapacity 2 -SkuName 'Standard_A0' -UpgradePolicyMode 'Automatic' -DisableAutoRollback $false `
136+
$vmss2 = New-AzVmssConfig -Location $loc -SkuCapacity 2 -SkuName 'Standard_A0' -UpgradePolicyMode 'Automatic' -DisableAutoRollback $false -SkipExtensionsOnOverprovisionedVMs `
137137
| Add-AzVmssExtension -Name $extname -Publisher $publisher -Type $exttype -TypeHandlerVersion $extver -AutoUpgradeMinorVersion $false `
138138
| Add-AzVmssExtension -Name $extname2 -Publisher $publisher2 -Type $exttype2 -TypeHandlerVersion $extver2 -AutoUpgradeMinorVersion $false -ProvisionAfterExtension $extname;
139139

140140
Assert-False { $vmss2.UpgradePolicy.AutomaticOSUpgradePolicy.DisableAutomaticRollback };
141+
Assert-True { $vmss2.DoNotRunExtensionsOnOverprovisionedVMs };
141142

142143
Assert-AreEqual $extname $vmss2.VirtualMachineProfile.ExtensionProfile.Extensions[0].Name;
143144
Assert-False { $vmss2.VirtualMachineProfile.ExtensionProfile.Extensions[0].AutoUpgradeMinorVersion };

0 commit comments

Comments
 (0)