Skip to content

Commit 988cab3

Browse files
authored
Merge branch 'master' into master
2 parents 5d4a542 + 4052d32 commit 988cab3

File tree

223 files changed

+85486
-10735
lines changed

Some content is hidden

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

223 files changed

+85486
-10735
lines changed

ChangeLog.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,66 @@
1+
## 2.2.0 - June 2019
2+
#### Az.Cdn
3+
* Updated cmdlets to support rulesEngine feature based on API version 2019-04-15.
4+
5+
#### Az.Compute
6+
* Added `NoWait` parameter that starts the operation and returns immediately, before the operation is completed.
7+
- Updated cmdlets:
8+
Export-AzLogAnalyticRequestRateByInterval
9+
Export-AzLogAnalyticThrottledRequest
10+
Remove-AzVM
11+
Remove-AzVMAccessExtension
12+
Remove-AzVMAEMExtension
13+
Remove-AzVMChefExtension
14+
Remove-AzVMCustomScriptExtension
15+
Remove-AzVMDiagnosticsExtension
16+
Remove-AzVMDiskEncryptionExtension
17+
Remove-AzVMDscExtension
18+
Remove-AzVMSqlServerExtension
19+
Restart-AzVM
20+
Set-AzVM
21+
Set-AzVMAccessExtension
22+
Set-AzVMADDomainExtension
23+
Set-AzVMAEMExtension
24+
Set-AzVMBginfoExtension
25+
Set-AzVMChefExtension
26+
Set-AzVMCustomScriptExtension
27+
Set-AzVMDiagnosticsExtension
28+
Set-AzVMDscExtension
29+
Set-AzVMExtension
30+
Start-AzVM
31+
Stop-AzVM
32+
Update-AzVM
33+
34+
#### Az.EventHub
35+
* Fix for #9231 - Get-AzEventHubNamespace does not return tags
36+
* Fix for #9230 - Get-AzEventHubNamespace returns ResourceGroup instead of ResourceGroupName
37+
38+
#### Az.Network
39+
* Update ResourceId and InputObject for Nat Gateway
40+
- Add alias for ResourceId and InputObject
41+
42+
#### Az.PolicyInsights
43+
* Fix Null reference issue in Get-AzPolicyEvent
44+
45+
#### Az.RecoveryServices
46+
* IaaSVM policy minimum retention in days changed to 7 from 1
47+
48+
#### Az.ServiceBus
49+
* Fix for issue #9182 - Get-AzServiceBusNamespace returns ResourceGroup instead of ResourceGroupName
50+
51+
#### Az.ServiceFabric
52+
* Fix typo in error message for 'Update-AzServiceFabricReliability'
53+
* Fix missing character in Service Fabric cmdlines
54+
55+
#### Az.Sql
56+
* Add DnsZonePartner Parameter for New-AzureSqlInstance cmdlet to support AutoDr for Managed Instance.
57+
* Deprecating Get-AzSqlDatabaseSecureConnectionPolicy cmdlet
58+
* Rename Threat Detection cmdlets to Advanced Threat Protection
59+
* New-AzSqlInstance -StorageSizeInGB and -LicenseType parameters are now optional.
60+
61+
#### Az.Websites
62+
* fixes the issue where using Set-AzWebApp and Set-AzWebAppSlot with -WebApp property was removing the tags
63+
164
## 2.1.0 - May 2019
265
#### Az.ApiManagement
366
* Created new Cmdlets for managing diagnostics at the global and API Scope

src/Cdn/Cdn/Az.Cdn.psd1

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#
2-
# Module manifest for module 'PSGet_Az.Cdn'
2+
# Module manifest for module 'Az.Cdn'
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 4/18/2019
6+
# Generated on: 5/29/2019
77
#
88

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

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

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core', 'Desktop'
@@ -87,7 +87,7 @@ CmdletsToExport = 'Get-AzCdnProfile', 'Get-AzCdnProfileSsoUrl', 'New-AzCdnProfil
8787
'Disable-AzCdnCustomDomainHttps', 'Get-AzCdnProfileResourceUsage',
8888
'Confirm-AzCdnEndpointProbeUrl', 'Get-AzCdnEndpointResourceUsage',
8989
'Get-AzCdnProfileSupportedOptimizationType',
90-
'Get-AzCdnSubscriptionResourceUsage', 'Get-AzCdnEdgeNode',
90+
'Get-AzCdnSubscriptionResourceUsage', 'Get-AzCdnEdgeNode',
9191
'New-AzCdnDeliveryRule', 'New-AzCdnDeliveryRuleCondition',
9292
'New-AzCdnDeliveryRuleAction', 'New-AzCdnDeliveryPolicy'
9393

@@ -124,12 +124,12 @@ PrivateData = @{
124124
# IconUri = ''
125125

126126
# ReleaseNotes of this module
127-
ReleaseNotes = '* Updated cmdlets with plural nouns to singular, and deprecated plural names.'
127+
ReleaseNotes = '* Updated cmdlets to support rulesEngine feature based on API version 2019-04-15.'
128128

129129
# Prerelease string of this module
130130
# Prerelease = ''
131131

132-
# Flag to indicate whether the module requires explicit user acceptance for install/update
132+
# Flag to indicate whether the module requires explicit user acceptance for install/update/save
133133
# RequireLicenseAcceptance = $false
134134

135135
# External dependent modules of this module

src/Cdn/Cdn/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.3.0
2224
* Updated cmdlets to support rulesEngine feature based on API version 2019-04-15.
2325

2426
## Version 1.2.0

src/Cdn/Cdn/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@
2525
[assembly: ComVisible(false)]
2626
[assembly: CLSCompliant(false)]
2727
[assembly: Guid("d90791a2-8102-47fc-8150-de25ae796eb1")]
28-
[assembly: AssemblyVersion("1.2.0")]
29-
[assembly: AssemblyFileVersion("1.2.0")]
28+
[assembly: AssemblyVersion("1.3.0")]
29+
[assembly: AssemblyFileVersion("1.3.0")]

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,5 +155,19 @@ public void TestSimpleNewVmImageNameMicrosoftSqlUbuntu()
155155
{
156156
TestRunner.RunTestScript("Test-SimpleNewVmImageNameMicrosoftSqlUbuntu");
157157
}
158+
159+
[Fact]
160+
[Trait(Category.AcceptanceType, Category.CheckIn)]
161+
public void TestSimpleNewVmPpg()
162+
{
163+
TestRunner.RunTestScript("Test-SimpleNewVmPpg");
164+
}
165+
166+
[Fact]
167+
[Trait(Category.AcceptanceType, Category.CheckIn)]
168+
public void TestSimpleNewVmPpgId()
169+
{
170+
TestRunner.RunTestScript("Test-SimpleNewVmPpgId");
171+
}
158172
}
159173
}

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

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,4 +500,75 @@ function Test-SimpleNewVmImageNameMicrosoftSqlUbuntu
500500
# Cleanup
501501
Clean-ResourceGroup $vmname
502502
}
503+
}
504+
505+
<#
506+
.SYNOPSIS
507+
Test Simple Parameter Set for New Vm with PPG
508+
#>
509+
function Test-SimpleNewVmPpg
510+
{
511+
# Setup
512+
$rgname = Get-ResourceName
513+
514+
try
515+
{
516+
$username = "admin01"
517+
$password = Get-PasswordForVM | ConvertTo-SecureString -AsPlainText -Force
518+
$cred = new-object -typename System.Management.Automation.PSCredential -argumentlist $username, $password
519+
$ppgname = "MyPpg"
520+
$vmname = "MyVm"
521+
[string]$domainNameLabel = "$vmname-$vmname".tolower();
522+
523+
# Common
524+
$rg = New-AzResourceGroup -Name $rgname -Location "eastus"
525+
$ppg = New-AzProximityPlacementGroup `
526+
-ResourceGroupName $rgname `
527+
-Name $ppgname `
528+
-Location "eastus"
529+
$vm = New-AzVM -Name $vmname -ResourceGroup $rgname -Credential $cred -DomainNameLabel $domainNameLabel -ProximityPlacementGroup $ppgname
530+
531+
Assert-AreEqual $vm.ProximityPlacementGroup.Id $ppg.Id
532+
}
533+
finally
534+
{
535+
# Cleanup
536+
Clean-ResourceGroup $rgname
537+
}
538+
}
539+
540+
<#
541+
.SYNOPSIS
542+
Test Simple Parameter Set for New Vm with PPG Id
543+
#>
544+
function Test-SimpleNewVmPpgId
545+
{
546+
# Setup
547+
$rgname = Get-ResourceName
548+
$vmname = Get-ResourceName
549+
550+
try
551+
{
552+
$username = "admin01"
553+
$password = Get-PasswordForVM | ConvertTo-SecureString -AsPlainText -Force
554+
$cred = new-object -typename System.Management.Automation.PSCredential -argumentlist $username, $password
555+
$ppgname = "MyPpg"
556+
[string]$domainNameLabel = "$vmname-$vmname".tolower();
557+
558+
# Common
559+
$rg = New-AzResourceGroup -Name $rgname -Location "eastus"
560+
$ppg = New-AzProximityPlacementGroup `
561+
-ResourceGroupName $rgname `
562+
-Name $ppgname `
563+
-Location "eastus"
564+
$vm = New-AzVM -Name $vmname -Credential $cred -DomainNameLabel $domainNameLabel -ProximityPlacementGroup $ppg.Id
565+
566+
Assert-AreEqual $vm.ProximityPlacementGroup.Id $ppg.Id
567+
}
568+
finally
569+
{
570+
# Cleanup
571+
Clean-ResourceGroup $rgname
572+
Clean-ResourceGroup $vmname
573+
}
503574
}

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,5 +102,12 @@ public void TestSimpleNewVmssWithoutDomainName()
102102
TestRunner.RunTestScript("Test-SimpleNewVmssWithoutDomainName");
103103
create.SetValue(null, oldCreate);
104104
}
105+
106+
[Fact]
107+
[Trait(Category.AcceptanceType, Category.CheckIn)]
108+
public void TestSimpleNewVmssPpg()
109+
{
110+
TestRunner.RunTestScript("Test-SimpleNewVmssPpg");
111+
}
105112
}
106113
}

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

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,3 +368,39 @@ function Test-SimpleNewVmssWithoutDomainName
368368
Clean-ResourceGroup $vmssname
369369
}
370370
}
371+
372+
<#
373+
.SYNOPSIS
374+
Test Simple Paremeter Set for New Vm
375+
#>
376+
function Test-SimpleNewVmssPpg
377+
{
378+
# Setup
379+
$rgname = Get-ResourceName
380+
381+
try
382+
{
383+
$vmssname = "MyVmss"
384+
$ppgname = "MyPpg"
385+
$lbName = $vmssname + "LoadBalancer"
386+
$username = "admin01"
387+
$password = Get-PasswordForVM | ConvertTo-SecureString -AsPlainText -Force
388+
$cred = new-object -typename System.Management.Automation.PSCredential -argumentlist $username, $password
389+
[string]$domainNameLabel = "$vmssname$vmssname".tolower();
390+
391+
# Common
392+
$rg = New-AzResourceGroup -Name $rgname -Location "eastus"
393+
$ppg = New-AzProximityPlacementGroup `
394+
-ResourceGroupName $rgname `
395+
-Name $ppgname `
396+
-Location "eastus"
397+
$vmss = New-AzVmss -Name $vmssname -ResourceGroup $rgname -Credential $cred -DomainNameLabel $domainNameLabel -LoadBalancerName $lbName -ProximityPlacementGroup $ppgname
398+
399+
Assert-AreEqual $vmss.ProximityPlacementGroup.Id $ppg.Id
400+
}
401+
finally
402+
{
403+
# Cleanup
404+
Clean-ResourceGroup $rgname
405+
}
406+
}

0 commit comments

Comments
 (0)