Skip to content

Commit 67afdee

Browse files
authored
Merge pull request #10262 from msJinLei/master
Merge Branch Release-2019-10-15 to Master
2 parents fb26e78 + bc83c5e commit 67afdee

File tree

185 files changed

+92115
-50459
lines changed

Some content is hidden

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

185 files changed

+92115
-50459
lines changed

ChangeLog.md

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,93 @@
1+
## 2.8.0 - October 2019
2+
### General
3+
* Az.HealthcareApis 1.0.0 release
4+
5+
#### Az.Accounts
6+
* Update telemetry and url rewriting for generated modules, fix windows unit tests.
7+
8+
#### Az.ApiManagement
9+
* **Set-AzApiManagementApi** - Added support for Updating Api into ApiVersionSet
10+
- Fix for issue https://github.com/Azure/azure-powershell/issues/10068
11+
12+
#### Az.Automation
13+
* Fixed New-AzureAutomationSoftwareUpdateConfiguration cmdlet for Linux reboot setting parameter.
14+
15+
#### Az.Batch
16+
* **Get-AzBatchNodeAgentSku** is deprecated and will be replaced by **Get-AzBatchSupportImage** in version 2.0.0.
17+
18+
#### Az.Compute
19+
* Add Priority, EvictionPolicy, and MaxPrice parameters to New-AzVM and New-AzVmss cmdlets
20+
* Fix warning message and help document for Add-AzVMAdditionalUnattendContent and Add-AzVMSshPublicKey cmdlets
21+
* Fix -skipVmBackup exception for Linux VMs with managed disks for Set-AzVMDiskEncryptionExtension.
22+
* Fix bug in update encryption settings in Set-AzVMDiskEncryptionExtension, two pass scenario.
23+
24+
#### Az.DataFactory
25+
* Adding CRUD commands for ADF V2 data flow: Set-AzDataFactoryV2DataFlow, Remove-AzDataFactoryV2DataFlow, and Get-AzDataFactoryV2DataFlow.
26+
* Adding action commands for ADF V2 data flow debug Session: Start-AzDataFactoryV2DataFlowDebugSession, Get-AzDataFactoryV2DataFlowDebugSession, Add-AzDataFactoryV2DataFlowDebugSessionPackage, Invoke-AzDataFactoryV2DataFlowDebugSessionCommand and Stop-AzDataFactoryV2DataFlowDebugSession.
27+
* Update ADF .Net SDK version to 4.2.0
28+
29+
#### Az.DataLakeStore
30+
* Fix account validation so that accounts with '-' can be passed without domain
31+
32+
#### Az.HealthcareApis
33+
* Updated the powershell version to 1.0.0
34+
* Updated the SDK version to 1.0.2
35+
* Update in tests to refer to new SDK version
36+
* Updated the output structure from nested to flattened.
37+
38+
#### Az.IotHub
39+
* Add new routing source: DigitalTwinChangeEvents
40+
* Minor bug fix: Get-AzIothub not returning subscriptionId
41+
42+
#### Az.Monitor
43+
* New action group receivers added for action group
44+
-ItsmReceiver
45+
-VoiceReceiver
46+
-ArmRoleReceiver
47+
-AzureFunctionReceiver
48+
-LogicAppReceiver
49+
-AutomationRunbookReceiver
50+
-AzureAppPushReceiver
51+
* Use common alert schema enabled for the receivers. This is not applicable for SMS, Azure App push , ITSM and Voice recievers
52+
* Webhooks now supports Azure active directory authentication .
53+
54+
#### Az.Network
55+
* Add new cmdlet Get-AzAvailableServiceAlias which can be called to get the aliases that can be used for Service Endpoint Policies.
56+
* Added support for the adding traffic selectors to Virtual Network Gateway Connections
57+
- New cmdlets added:
58+
- New-AzureRmTrafficSelectorPolicy
59+
- Cmdlets updated with optional parameter -TrafficSelectorPolicies
60+
-New-AzureRmVirtualNetworkGatewayConnection
61+
-Set-AzureRmVirtualNetworkGatewayConnection
62+
* Add support for ESP and AH protocols in network security rule configurations
63+
- Updated cmdlets:
64+
- Add-AzNetworkSecurityRuleConfig
65+
- New-AzNetworkSecurityRuleConfig
66+
- Set-AzNetworkSecurityRuleConfig
67+
* Improve handling of exceptions in Cortex cmdlets
68+
* New Generations and SKUs for VirtualNetworkGateways
69+
- Introduce new Generations for VirtualNetworkGateways.
70+
- Introduce new high throughput SKUs for VirtualNetworkGateways.
71+
72+
#### Az.RedisCache
73+
* Updated 'Set-AzRedisCache' reference documentation to include missing values for '-Size' parameter
74+
75+
#### Az.Sql
76+
* Add support for setting Active Directory Administrator on Managed Instance
77+
78+
#### Az.Storage
79+
* Upgrade Storage Client Library to 11.1.0
80+
* List containers with Management plane API, will list with NextPageLink
81+
- Get-AzRmStorageContainer
82+
* List Storage accounts from subscription, will list with NextPageLink
83+
- Get-AzStorageAccount
84+
85+
#### Az.StorageSync
86+
* Fix Issue 9810 in Reset-AzStorageSyncServerCertificate.
87+
88+
#### Az.Websites
89+
* Set-AzWebApp updating ASP of an app was failing
90+
191
## 2.7.0 - September 2019
292
#### Az.ApiManagement
393
* Update '-Format' parameter description in 'Set-AzApiManagementPolicy' reference documentation

src/ApiManagement/ApiManagement/Az.ApiManagement.psd1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 9/19/2019
6+
# Generated on: 10/11/2019
77
#
88

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

1414
# Version number of this module.
15-
ModuleVersion = '1.3.1'
15+
ModuleVersion = '1.3.2'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core', 'Desktop'
@@ -189,8 +189,8 @@ PrivateData = @{
189189
# IconUri = ''
190190

191191
# ReleaseNotes of this module
192-
ReleaseNotes = '* Update ''-Format'' parameter description in ''Set-AzApiManagementPolicy'' reference documentation
193-
* Removed references of deprecated cmdlet ''Update-AzApiManagementDeployment'' from reference documentation. Use ''Set-AzApiManagement'' instead.'
192+
ReleaseNotes = '* **Set-AzApiManagementApi** - Added support for Updating Api into ApiVersionSet
193+
- Fix for issue https://github.com/Azure/azure-powershell/issues/10068'
194194

195195
# Prerelease string of this module
196196
# Prerelease = ''

src/ApiManagement/ApiManagement/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.2
2123
* **Set-AzApiManagementApi** - Added support for Updating Api into ApiVersionSet
2224
- Fix for issue https://github.com/Azure/azure-powershell/issues/10068
2325

src/ApiManagement/ApiManagement/Properties/AssemblyInfo.cs

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

44-
[assembly: AssemblyVersion("1.3.1")]
45-
[assembly: AssemblyFileVersion("1.3.1")]
44+
[assembly: AssemblyVersion("1.3.2")]
45+
[assembly: AssemblyFileVersion("1.3.2")]

src/Automation/Automation/Az.Automation.psd1

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

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

1414
# Version number of this module.
15-
ModuleVersion = '1.3.3'
15+
ModuleVersion = '1.3.4'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core', 'Desktop'
@@ -168,9 +168,7 @@ PrivateData = @{
168168
# IconUri = ''
169169

170170
# ReleaseNotes of this module
171-
ReleaseNotes = '* Fixed example typo in reference documentation for ''Register-AzAutomationDscNode''
172-
* Added clarification on OS restriction to Register-AzAutomationDSCNode
173-
* Fixed Start-AzAutomationRunbook cmdlet Null reference exception for -Wait option.'
171+
ReleaseNotes = '* Fixed New-AzureAutomationSoftwareUpdateConfiguration cmdlet for Linux reboot setting parameter. '
174172

175173
# Prerelease string of this module
176174
# Prerelease = ''

src/Automation/Automation/ChangeLog.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,14 @@
1919
-->
2020
## Upcoming Release
2121

22+
## Version 1.3.4
23+
24+
* Fixed New-AzureAutomationSoftwareUpdateConfiguration cmdlet for Linux reboot setting parameter.
25+
2226
## Version 1.3.3
2327
* Fixed example typo in reference documentation for `Register-AzAutomationDscNode`
2428
* Added clarification on OS restriction to Register-AzAutomationDSCNode
2529
* Fixed Start-AzAutomationRunbook cmdlet Null reference exception for -Wait option.
26-
* Fixed New-AzureAutomationSoftwareUpdateConfiguration cmdlet for Linux reboot setting parameter.
2730

2831
## Version 1.3.2
2932
* Fixed miscellaneous typos across module

src/Automation/Automation/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.3.3")]
47-
[assembly: AssemblyFileVersion("1.3.3")]
46+
[assembly: AssemblyVersion("1.3.4")]
47+
[assembly: AssemblyFileVersion("1.3.4")]
4848
#if !SIGN
4949
[assembly: InternalsVisibleTo("Microsoft.Azure.PowerShell.Cmdlets.Automation.Test")]
5050
#endif

src/Batch/Batch/Az.Batch.psd1

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 8/22/2019
6+
# Generated on: 10/11/2019
77
#
88

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

1414
# Version number of this module.
15-
ModuleVersion = '1.1.1'
15+
ModuleVersion = '1.1.2'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core', 'Desktop'
@@ -152,8 +152,7 @@ PrivateData = @{
152152
# IconUri = ''
153153

154154
# ReleaseNotes of this module
155-
ReleaseNotes = '* Fixed typo in help message and documentation to capitalize Windows
156-
* Fixed miscellaneous typos across module'
155+
ReleaseNotes = '* **Get-AzBatchNodeAgentSku** is deprecated and will be replaced by **Get-AzBatchSupportImage** in version 2.0.0.'
157156

158157
# Prerelease string of this module
159158
# Prerelease = ''

src/Batch/Batch/ChangeLog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
-->
2020

2121
## Upcoming Release
22+
23+
## Version 1.1.2
2224
* **Get-AzBatchNodeAgentSku** is deprecated and will be replaced by **Get-AzBatchSupportImage** in version 2.0.0.
2325

2426
## Version 1.1.1

src/Batch/Batch/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
[assembly: ComVisible(false)]
2626
[assembly: CLSCompliant(false)]
2727
[assembly: Guid("ed102280-3577-49bf-93dd-11b6e3a44a57")]
28-
[assembly: AssemblyVersion("1.1.1")]
29-
[assembly: AssemblyFileVersion("1.1.1")]
28+
[assembly: AssemblyVersion("1.1.2")]
29+
[assembly: AssemblyFileVersion("1.1.2")]
3030
#if !SIGN
3131
[assembly: InternalsVisibleTo("Microsoft.Azure.PowerShell.Cmdlets.Batch.Test")]
3232
#endif

src/Compute/Compute.Test/ScenarioTests/StrategiesVirtualMachineTests.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,5 +169,12 @@ public void TestSimpleNewVmPpgId()
169169
{
170170
TestRunner.RunTestScript("Test-SimpleNewVmPpgId");
171171
}
172+
173+
[Fact]
174+
[Trait(Category.AcceptanceType, Category.CheckIn)]
175+
public void TestSimpleNewVmBilling()
176+
{
177+
TestRunner.RunTestScript("Test-SimpleNewVmBilling");
178+
}
172179
}
173180
}

src/Compute/Compute.Test/ScenarioTests/StrategiesVirtualMachineTests.ps1

Lines changed: 42 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ Test Simple Paremeter Set for New Vm
5353
function Test-SimpleNewVmFromSIGImage
5454
{
5555
#This test needs to be run form the following subscription in record mode :
56-
# 9e223dbe-3399-4e19-88eb-0975f02ac87f
57-
#The vm needs to be created in the one of the following regions :
58-
# "South Central US", "East US 2" and "Central US"
59-
#To see more information on the steps to create a new SIG image go here: https://aka.ms/AA37jbt
56+
# 9e223dbe-3399-4e19-88eb-0975f02ac87f
57+
#The vm needs to be created in the one of the following regions :
58+
# "South Central US", "East US 2" and "Central US"
59+
#To see more information on the steps to create a new SIG image go here: https://aka.ms/AA37jbt
6060
# Setup
6161
$vmname = Get-ResourceName
6262

@@ -102,14 +102,14 @@ function Test-SimpleNewVmWithUltraSSD
102102
[string]$domainNameLabel = "$vmname-$vmname".tolower();
103103

104104
# Common
105-
#As of now the ultrasd feature is only supported in east us 2 and in the size Standard_D2s_v3, on the features GA the restriction will be lifted
106-
#Use the follwing command to figure out the one to use
107-
#Get-AzComputeResourceSku | where {$_.ResourceType -eq "disks" -and $_.Name -eq "UltraSSD_LRS" }
105+
#As of now the ultrasd feature is only supported in east us 2 and in the size Standard_D2s_v3, on the features GA the restriction will be lifted
106+
#Use the follwing command to figure out the one to use
107+
#Get-AzComputeResourceSku | where {$_.ResourceType -eq "disks" -and $_.Name -eq "UltraSSD_LRS" }
108108
$x = New-AzVM -Name $vmname -Credential $cred -DomainNameLabel $domainNameLabel -Location "eastus2" -EnableUltraSSD -Zone 2 -Size "Standard_D2s_v3"
109109

110110
Assert-AreEqual $vmname $x.Name;
111111
Assert-Null $x.Identity
112-
Assert-True { $x.AdditionalCapabilities.UltraSSDEnabled };
112+
Assert-True { $x.AdditionalCapabilities.UltraSSDEnabled };
113113

114114
$nic = Get-AzNetworkInterface -ResourceGroupName $vmname -Name $vmname
115115
Assert-NotNull $nic
@@ -434,7 +434,6 @@ function Test-SimpleNewVmWithAvailabilitySet2
434434
}
435435
}
436436

437-
438437
<#
439438
.SYNOPSIS
440439
Test Simple Paremeter Set for New Vm
@@ -452,9 +451,8 @@ function Test-SimpleNewVmImageName
452451
[string]$domainNameLabel = "$vmname-$vmname".tolower()
453452

454453
# Common
455-
$imgversion = Get-VMImageVersion -publisher "MicrosoftWindowsServer" `
456-
-offer "WindowsServer" -sku "2016-Datacenter"
457-
$x = New-AzVM `
454+
$imgversion = Get-VMImageVersion -publisher "MicrosoftWindowsServer" -offer "WindowsServer" -sku "2016-Datacenter"
455+
$x = New-AzVM `
458456
-Name $vmname `
459457
-Credential $cred `
460458
-DomainNameLabel $domainNameLabel `
@@ -469,7 +467,6 @@ function Test-SimpleNewVmImageName
469467
}
470468
}
471469

472-
473470
<#
474471
.SYNOPSIS
475472
Test Simple Paremeter Set for New Vm
@@ -571,4 +568,35 @@ function Test-SimpleNewVmPpgId
571568
Clean-ResourceGroup $rgname
572569
Clean-ResourceGroup $vmname
573570
}
574-
}
571+
}
572+
573+
<#
574+
.SYNOPSIS
575+
Test Simple Paremeter Set for New VM with eviction policy, priority and max price.
576+
#>
577+
function Test-SimpleNewVmBilling
578+
{
579+
# Setup
580+
$vmname = Get-ResourceName
581+
582+
try
583+
{
584+
$username = "admin01"
585+
$password = Get-PasswordForVM | ConvertTo-SecureString -AsPlainText -Force
586+
$cred = new-object -typename System.Management.Automation.PSCredential -argumentlist $username, $password
587+
[string]$domainNameLabel = "$vmname-$vmname".tolower();
588+
589+
# Common
590+
$vm = New-AzVM -Name $vmname -Credential $cred -DomainNameLabel $domainNameLabel -EvictionPolicy 'Deallocate' -Priority 'Low' -MaxPrice 0.2;
591+
592+
Assert-AreEqual $vmname $vm.Name;
593+
Assert-AreEqual 'Deallocate' $vm.EvictionPolicy;
594+
Assert-AreEqual 'Low' $vm.Priority;
595+
Assert-AreEqual 0.2 $vm.BillingProfile.MaxPrice;
596+
}
597+
finally
598+
{
599+
# Cleanup
600+
Clean-ResourceGroup $vmname
601+
}
602+
}

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,5 +109,12 @@ public void TestSimpleNewVmssPpg()
109109
{
110110
TestRunner.RunTestScript("Test-SimpleNewVmssPpg");
111111
}
112+
113+
[Fact]
114+
[Trait(Category.AcceptanceType, Category.CheckIn)]
115+
public void TestSimpleNewVmssBilling()
116+
{
117+
TestRunner.RunTestScript("Test-SimpleNewVmssBilling");
118+
}
112119
}
113120
}

0 commit comments

Comments
 (0)