Skip to content

Commit e1b12e9

Browse files
author
Maddie Clayton
authored
Merge pull request Azure#8597 from maddieclayton/mergerelease
Merge release into master
2 parents a1107eb + 703a2a8 commit e1b12e9

File tree

102 files changed

+50420
-26433
lines changed

Some content is hidden

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

102 files changed

+50420
-26433
lines changed

ChangeLog.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,69 @@
1+
## 1.4.0 - February 2019
2+
#### Az.AnalysisServices
3+
* Deprecated AddAzureASAccount cmdlet
4+
5+
#### Az.Automation
6+
* Update help for Import-AzAutomationDscNodeConfiguration
7+
* Added configuration name validation to Import-AzAutomationDscConfiguration cmdlet
8+
* Improved error handling for Import-AzAutomationDscConfiguration cmdlet
9+
10+
#### Az.CognitiveServices
11+
* Added CustomSubdomainName as a new optional parameter for New-AzCognitiveServicesAccount which is used to specify subdomain for the resource.
12+
13+
#### Az.Compute
14+
* Fix issue with ID parameter sets
15+
* Update Get-AzVMExtension to list all installed extension if Name parameter is not provided
16+
* Add Tag and ResourceId parameters to Update-AzImage cmdlet
17+
* Get-AzVmssVM without instance ID and with InstanceView can list VMSS VMs with instance view.
18+
19+
#### Az.DataLakeStore
20+
* Add cmdlets for ADL deleted item enumerate and restore
21+
22+
#### Az.EventHub
23+
* Added new boolean property SkipEmptyArchives to Skip Empty Archives in CaptureDescription class of Eventhub
24+
25+
#### Az.KeyVault
26+
* Fix tagging on Set-AzKeyVaultSecret
27+
28+
#### Az.LogicApp
29+
* Add in Basic sku for Integration Accounts
30+
* Add in XSLT 2.0, XSLT 3.0 and Liquid Map Types
31+
* New cmdlets for Integration Account Assemblies
32+
- Get-AzIntegrationAccountAssembly
33+
- New-AzIntegrationAccountAssembly
34+
- Remove-AzIntegrationAccountAssembly
35+
- Set-AzIntegrationAccountAssembly
36+
* New cmdlets for Integration Account Batch Configuration
37+
- Get-AzIntegrationAccountBatchConfiguration
38+
- New-AzIntegrationAccountBatchConfiguration
39+
- Remove-AzIntegrationAccountBatchConfiguration
40+
- Set-AzIntegrationAccountBatchConfiguration
41+
* Update Logic App SDK to version 4.1.0
42+
43+
#### Az.Monitor
44+
* Update help for Get-AzMetric
45+
46+
#### Az.Network
47+
* Update help example for Add-AzApplicationGatewayCustomError
48+
49+
#### Az.OperationalInsights
50+
* Additional support for New and Get ApplicationInsights data source.
51+
- Added new 'ApplicationInsights' kind to support Get specific and Get all ApplicationInsights data sources for given workspace.
52+
- Added New-AzOperationalInsightsApplicationInsightsDataSource cmdlet for creating data source by given Application-Insights resource parameters: subscription Id, resourceGroupName and name.
53+
54+
#### Az.Resources
55+
* Fix for issue https://github.com/Azure/azure-powershell/issues/8166
56+
* Fix for issue https://github.com/Azure/azure-powershell/issues/8235
57+
* Fix for issue https://github.com/Azure/azure-powershell/issues/6219
58+
* Fix bug preventing repeat creation of KeyCredentials
59+
60+
#### Az.Sql
61+
* Add support for SQL DB Hyperscale tier
62+
* Fixed bug where restore could fail due to setting unnecessary properties in restore request
63+
64+
#### Az.Websites
65+
* Correct example in Get-AzWebAppSlotMetrics
66+
167
## 1.3.0 - February 2019
268
#### Az.Accounts
369
* Update to latest version of ClientRuntime

src/AnalysisServices/AnalysisServices/Az.AnalysisServices.psd1

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

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

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

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core', 'Desktop'
@@ -68,7 +68,8 @@ RequiredAssemblies = '.\Microsoft.Azure.Management.Analysis.dll'
6868
# FormatsToProcess = @()
6969

7070
# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
71-
NestedModules = @('.\Microsoft.Azure.PowerShell.Cmdlets.AnalysisServices.dll', '.\Microsoft.Azure.PowerShell.Cmdlets.AnalysisServices.Dataplane.dll')
71+
NestedModules = @('.\Microsoft.Azure.PowerShell.Cmdlets.AnalysisServices.dll',
72+
'.\Microsoft.Azure.PowerShell.Cmdlets.AnalysisServices.Dataplane.dll')
7273

7374
# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
7475
FunctionsToExport = @()
@@ -122,7 +123,7 @@ PrivateData = @{
122123
# IconUri = ''
123124

124125
# ReleaseNotes of this module
125-
ReleaseNotes = 'General availability for Az.AnalysisServices module.'
126+
ReleaseNotes = '* Deprecated AddAzureASAccount cmdlet'
126127

127128
# Prerelease string of this module
128129
# Prerelease = ''

src/AnalysisServices/AnalysisServices/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.0.2
2123
* Deprecated AddAzureASAccount cmdlet
2224

2325
## Version 1.0.1

src/AnalysisServices/AnalysisServices/Properties/AssemblyInfo.cs

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

37-
[assembly: AssemblyVersion("1.0.1")]
38-
[assembly: AssemblyFileVersion("1.0.1")]
37+
[assembly: AssemblyVersion("1.0.2")]
38+
[assembly: AssemblyFileVersion("1.0.2")]

src/Automation/Automation/Az.Automation.psd1

Lines changed: 5 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: 1/23/2019
6+
# Generated on: 2/19/2019
77
#
88

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

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

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core', 'Desktop'
@@ -167,8 +167,9 @@ PrivateData = @{
167167
# IconUri = ''
168168

169169
# ReleaseNotes of this module
170-
ReleaseNotes = '* Added support for Python 2 runbooks
171-
* Update incorrect online help URLs'
170+
ReleaseNotes = '* Update help for Import-AzAutomationDscNodeConfiguration
171+
* Added configuration name validation to Import-AzAutomationDscConfiguration cmdlet
172+
* Improved error handling for Import-AzAutomationDscConfiguration cmdlet'
172173

173174
# Prerelease string of this module
174175
# Prerelease = ''

src/Automation/Automation/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.1.1
2123
* Update help for Import-AzAutomationDscNodeConfiguration
2224
* Added configuration name validation to Import-AzAutomationDscConfiguration cmdlet
2325
* Improved error handling for Import-AzAutomationDscConfiguration cmdlet

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.1.0")]
47-
[assembly: AssemblyFileVersion("1.1.0")]
46+
[assembly: AssemblyVersion("1.1.1")]
47+
[assembly: AssemblyFileVersion("1.1.1")]
4848
#if SIGN
4949
[assembly: InternalsVisibleTo("Microsoft.Azure.PowerShell.Cmdlets.Automation.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]
5050
#else

src/CognitiveServices/CognitiveServices.Test/ScenarioTests/CognitiveServicesAccountTests.cs

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ public void TestNewAccount()
4242
TestController.NewInstance.RunPsTest(traceInterceptor, "Test-NewAzureRmCognitiveServicesAccount");
4343
}
4444

45+
[Fact]
46+
[Trait(Category.AcceptanceType, Category.CheckIn)]
47+
public void TestNewAccountWithCustomDomain()
48+
{
49+
TestController.NewInstance.RunPsTest(traceInterceptor, "Test-NewAzureRmCognitiveServicesAccountWithCustomDomain");
50+
}
51+
4552
[Fact]
4653
[Trait(Category.AcceptanceType, Category.CheckIn)]
4754
public void TestCreateAllKindsOfAccounts()
@@ -118,13 +125,7 @@ public void TestMinMaxAccountNames()
118125
{
119126
TestController.NewInstance.RunPsTest(traceInterceptor, "Test-MinMaxAccountName");
120127
}
121-
122-
[Fact]
123-
[Trait(Category.AcceptanceType, Category.CheckIn)]
124-
public void TestGetWithPaging()
125-
{
126-
TestController.NewInstance.RunPsTest(traceInterceptor, "Test-GetWithPaging");
127-
}
128+
128129

129130
[Fact]
130131
[Trait(Category.AcceptanceType, Category.CheckIn)]

src/CognitiveServices/CognitiveServices.Test/ScenarioTests/CognitiveServicesAccountTests.ps1

Lines changed: 44 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -65,23 +65,16 @@ function Test-NewAzureRmAllKindsOfCognitiveServicesAccounts
6565
New-AzResourceGroup -Name $rgname -Location 'West US';
6666

6767
# Create all known kinds of Cognitive Services accounts.
68-
Test-CreateCognitiveServicesAccount $rgname 'AcademicTest' 'Academic' 'S0' $locWU
69-
Test-CreateCognitiveServicesAccount $rgname 'BingAutosuggestTest' 'Bing.Autosuggest' 'S1' $locGBL
70-
Test-CreateCognitiveServicesAccount $rgname 'BingSearchTest' 'Bing.Search' 'S1' $locGBL
71-
Test-CreateCognitiveServicesAccount $rgname 'BingSpeechTest' 'Bing.Speech' 'S0' $locGBL
72-
Test-CreateCognitiveServicesAccount $rgname 'BingSpellCheckTest' 'Bing.SpellCheck' 'S1' $locGBL
68+
Test-CreateCognitiveServicesAccount $rgname 'BingSearchTest' 'Bing.Search.v7' 'S1' $locGBL
69+
Test-CreateCognitiveServicesAccount $rgname 'BingSpeechTest' 'SpeechServices' 'S0' $locWU
70+
Test-CreateCognitiveServicesAccount $rgname 'BingSpellCheckTest' 'Bing.SpellCheck.v7' 'S1' $locGBL
7371
Test-CreateCognitiveServicesAccount $rgname 'ComputerVisionTest' 'ComputerVision' 'S0' $locWU
7472
Test-CreateCognitiveServicesAccount $rgname 'ContentModeratorTest' 'ContentModerator' 'S0' $locWU
75-
Test-CreateCognitiveServicesAccount $rgname 'EmotionTest' 'Emotion' 'S0' $locWU
7673
Test-CreateCognitiveServicesAccount $rgname 'FaceTest' 'Face' 'S0' $locWU
7774
Test-CreateCognitiveServicesAccount $rgname 'LUISTest' 'LUIS' 'S0' $locWU
78-
Test-CreateCognitiveServicesAccount $rgname 'RecommendationsTest' 'Recommendations' 'S1' $locWU
7975
Test-CreateCognitiveServicesAccount $rgname 'SpeakerRecognitionTest' 'SpeakerRecognition' 'S0' $locWU
80-
Test-CreateCognitiveServicesAccount $rgname 'SpeechTest' 'Speech' 'S0' $locWU
81-
Test-CreateCognitiveServicesAccount $rgname 'SpeechTranslationTest' 'SpeechTranslation' 'S1' $locGBL
8276
Test-CreateCognitiveServicesAccount $rgname 'TextAnalyticsTest' 'TextAnalytics' 'S1' $locWU
8377
Test-CreateCognitiveServicesAccount $rgname 'TextTranslationTest' 'TextTranslation' 'S1' $locGBL
84-
Test-CreateCognitiveServicesAccount $rgname 'WebLMTest' 'WebLM' 'S0' $locWU
8578
}
8679
finally
8780
{
@@ -292,6 +285,43 @@ function Test-NewAzureRmCognitiveServicesAccountKey
292285
}
293286
}
294287

288+
289+
<#
290+
.SYNOPSIS
291+
Test New-AzCognitiveServicesAccountKey
292+
#>
293+
function Test-NewAzureRmCognitiveServicesAccountWithCustomDomain
294+
{
295+
# Setup
296+
$rgname = Get-CognitiveServicesManagementTestResourceName;
297+
298+
try
299+
{
300+
# Test
301+
$accountname = 'csa' + $rgname;
302+
$skuname = 'S2';
303+
$accounttype = 'TextAnalytics';
304+
$loc = Get-Location -providerNamespace "Microsoft.CognitiveServices" -resourceType "accounts" -preferredLocation "West Central US";
305+
306+
New-AzResourceGroup -Name $rgname -Location $loc;
307+
308+
$createdAccount = New-AzCognitiveServicesAccount -ResourceGroupName $rgname -Name $accountname -Type $accounttype -SkuName $skuname -Location $loc -CustomSubdomainName $accountname -Force;
309+
Assert-NotNull $createdAccount;
310+
# Call create again, expect to get the same account
311+
$createdAccountAgain = New-AzCognitiveServicesAccount -ResourceGroupName $rgname -Name $accountname -Type $accounttype -SkuName $skuname -Location $loc -CustomSubdomainName $accountname -Force;
312+
Assert-NotNull $createdAccountAgain
313+
Assert-AreEqual $createdAccount.Name $createdAccountAgain.Name;
314+
Assert-AreEqual $createdAccount.Endpoint $createdAccountAgain.Endpoint;
315+
Assert-True {$createdAccount.Endpoint.Contains('cognitiveservices.azure.com')}
316+
Retry-IfException { Remove-AzCognitiveServicesAccount -ResourceGroupName $rgname -Name $accountname -Force; }
317+
}
318+
finally
319+
{
320+
# Cleanup
321+
Clean-ResourceGroup $rgname
322+
}
323+
}
324+
295325
<#
296326
.SYNOPSIS
297327
Test Get-AzCognitiveServicesAccountSkus
@@ -306,13 +336,13 @@ function Test-GetAzureRmCognitiveServicesAccountSkus
306336
$skus = (Get-AzCognitiveServicesAccountSkus -Type 'TextAnalytics');
307337
$skuNames = $skus | Select-Object -ExpandProperty Name | Sort-Object | Get-Unique
308338

309-
$expectedSkus = "F0", "S0","S1", "S2", "S3", "S4"
339+
$expectedSkus = "F0", "S", "S0","S1", "S2", "S3", "S4"
310340
Assert-AreEqualArray $expectedSkus $skuNames
311341

312342
$skus = (Get-AzCognitiveServicesAccountSkus -Type 'TextAnalytics' -Location 'westus');
313343
$skuNames = $skus | Select-Object -ExpandProperty Name | Sort-Object | Get-Unique
314344

315-
$expectedSkus = "F0", "S0","S1", "S2", "S3", "S4"
345+
$expectedSkus = "F0", "S", "S0","S1", "S2", "S3", "S4"
316346
Assert-AreEqualArray $expectedSkus $skuNames
317347

318348
$skus = (Get-AzCognitiveServicesAccountSkus -Type 'QnAMaker' -Location 'global');
@@ -479,10 +509,10 @@ function Test-GetWithPaging
479509
New-AzCognitiveServicesAccount -ResourceGroupName $rgname -Name "facepaging_wu_$i" -Type 'Face' -SkuName 'S0' -Location $loc -Force;
480510
}
481511

482-
# 100 Emotion
512+
# 100 CV
483513
For($i = 0; $i -lt $TotalCount ; $i++)
484514
{
485-
New-AzCognitiveServicesAccount -ResourceGroupName $rgname -Name "emotionpaging_wu_$i" -Type 'Emotion' -SkuName 'S0' -Location $loc -Force;
515+
New-AzCognitiveServicesAccount -ResourceGroupName $rgname -Name "cvpaging_wu_$i" -Type 'ComputerVision' -SkuName 'S0' -Location $loc -Force;
486516
}
487517

488518
$accounts = Get-AzCognitiveServicesAccount

src/CognitiveServices/CognitiveServices.Test/SessionRecords/CognitiveServices.Test.ScenarioTests.CognitiveServicesAccountTests/TestAccountSkus.json

Lines changed: 67 additions & 67 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)