Skip to content

Commit 8adbe30

Browse files
authored
Merge branch 'main' into auth13
2 parents b0b1406 + 75bf9b9 commit 8adbe30

File tree

973 files changed

+195239
-14260
lines changed

Some content is hidden

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

973 files changed

+195239
-14260
lines changed

.azure-pipelines/daily-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ jobs:
9797
Release/**/Microsoft.Azure.PowerShell.Authentication.dll
9898
Release/**/Microsoft.Azure.PowerShell.Authentication.ResourceManager.dll
9999
Release/**/Microsoft.Azure.PowerShell.Authenticators.dll
100+
Release/**/Microsoft.Azure.PowerShell.AuthenticationAssemblyLoadContext.dll
101+
Release/**/Microsoft.Azure.Commands.*.AlcWrapper.dll
100102
!Release/**/Microsoft*Azure*PowerShell*Cmdlets*.Test.dll
101103
UseMinimatch: true
102104
signConfigType: 'inlineSignParams'

src/Accounts/Accounts/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
-->
2020

2121
## Upcoming Release
22+
* Updated Azure.Core from 1.16.0 to 1.19.0.
2223

2324
## Version 2.5.3
2425
* Corrected the URLs to Azure Portal in the results of `Get-AzEnvironment` and `Get-AzContext`. [#15429]

src/Accounts/AuthenticationAssemblyLoadContext/AzAssemblyLoadContextInitializer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ static AzAssemblyLoadContextInitializer()
3131
//TODO: Generate assembly version info into AzSharedAssemblies.json during build
3232
var azSharedAssemblies = new Dictionary<string, Version>()
3333
{
34-
{"Azure.Core", new Version("1.16.0.0")},
34+
{"Azure.Core", new Version("1.19.0.0")},
3535
{"Azure.Identity", new Version("1.4.0.0")},
3636
{"Microsoft.Bcl.AsyncInterfaces", new Version("1.0.0.0")},
3737
{"Microsoft.Identity.Client", new Version("4.30.1.0") },

src/Attestation/Attestation/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121

2222
## Upcoming Release
23+
* General availability of `Az.Attestation` module
2324

2425
## Version 0.1.8
2526
* Added default provider support to `Az.Attestation` module

src/Compute/Compute/Compute.csproj

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,13 @@
3737
</ItemGroup>
3838

3939
<ItemGroup>
40-
<ProjectReference Include="..\Compute.AlcWrapper\Compute.AlcWrapper.csproj" />
40+
<ProjectReference Include="..\Compute.AlcWrapper\Compute.AlcWrapper.csproj">
41+
<!-- AlcWrapper DLL (and its dependencies) won't be copied to the output folder -->
42+
<!-- Because we are going to put them under ModuleAlcAssemblies/ -->
43+
<!-- See https://docs.microsoft.com/en-us/dotnet/core/tutorials/creating-app-with-plugin-support -->
44+
<Private>false</Private>
45+
<ExcludeAssets>runtime</ExcludeAssets>
46+
</ProjectReference>
4147
</ItemGroup>
4248

4349
</Project>

src/Compute/Compute/help/New-AzGalleryImageVersion.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ $region_westus = @{Name = 'West US'}
162162
$region_ukwest = @{Name = 'UK West';ReplicaCount = 2}
163163
$region_southcentralus = @{Name = 'South Central US';StorageAccountType = Standard_LRS}
164164
$targetRegions = @($region_eastus, $region_westus, $region_ukwest, $region_southcentralus)
165-
New-AzGalleryImageVersion -ResourceGroupName $rgName -GalleryName $galleryName -GalleryImageDefinitionName $galleryImageDefinitionName -Name $galleryImageVersionName -Location $location -SourceImageId $sourceImageId -ReplicaCount 1 -StorageAccountType $storageAccountType
165+
New-AzGalleryImageVersion -ResourceGroupName $rgName -GalleryName $galleryName -GalleryImageDefinitionName $galleryImageDefinitionName -Name $galleryImageVersionName -Location $location -SourceImageId $sourceImageId -ReplicaCount 1 -StorageAccountType $storageAccountType -TargetRegion $targetRegions
166166
```
167167

168168
Create an image version in four regions. In this example, the global replica count is 1 and the global storage account type is Standard_ZRS. East US will have 3 replicas, each stored on Standard_LRS account storage. West US will inherit from global settings and have 1 replica stored on Standard_ZRS. UK West will have a replica count of 2 stored on Standard_ZRS. South Central US will have one replica stored on Standard_LRS.
@@ -197,7 +197,7 @@ $region_westus = @{Name = 'West US'; Encryption = $westus_encryption}}
197197
198198
# Create images
199199
$targetRegions = @($region_eastus, $region_westus)
200-
New-AzGalleryImageVersion -ResourceGroupName $rgName -GalleryName $galleryName -GalleryImageDefinitionName $galleryImageDefinitionName -Name $galleryImageVersionName -Location $location -SourceImageId $sourceImageId
200+
New-AzGalleryImageVersion -ResourceGroupName $rgName -GalleryName $galleryName -GalleryImageDefinitionName $galleryImageDefinitionName -Name $galleryImageVersionName -Location $location -SourceImageId $sourceImageId -TargetRegion $targetRegions
201201
```
202202

203203
Create an image version with encryption in two regions. Disk encryption sets are regional resources and a different disk encryption set must be used in each region.

src/DataFactory/DataFactoryV2.Test/ScenarioTests/IntegrationRuntimeTests.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,13 @@ public void TestSsisAzureIntegrationRuntimeWithSubnetId()
6464
RunPowerShellTest(_logger, "Test-Azure-IntegrationRuntime-SubnetId");
6565
}
6666

67+
[Fact]
68+
[Trait(Category.AcceptanceType, Category.CheckIn)]
69+
public void TestExpressSsisAzureIntegrationRuntime()
70+
{
71+
RunPowerShellTest(_logger, "Test-Azure-Express-IntegrationRuntime");
72+
}
73+
6774
[Fact(Skip = "New-AzureRMRoleAssignmentWithId and Remove-AzureRmRoleAssignment rely on Resources module. Needs fixed in AzureRM.Resources.ps1.")]
6875
[Trait(Category.AcceptanceType, Category.CheckIn)]
6976
public void TestSharedIntegrationRuntime()

src/DataFactory/DataFactoryV2.Test/ScenarioTests/IntegrationRuntimeTests.ps1

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,74 @@ function Test-Azure-IntegrationRuntime-SubnetId
360360
}
361361
}
362362

363+
<#
364+
.SYNOPSIS
365+
Creates a express azure integration runtime with subnetId.
366+
Deletes the created integration runtime at the end.
367+
368+
To record this test, please prepare a subnet, to which the Azure SSIS IR could join.
369+
#>
370+
function Test-Azure-Express-IntegrationRuntime
371+
{
372+
$dfname = Get-DataFactoryName
373+
$rgname = Get-ResourceGroupName
374+
$rglocation = Get-ProviderLocation ResourceManagement
375+
$dflocation = Get-ProviderLocation DataFactoryManagement
376+
377+
New-AzResourceGroup -Name $rgname -Location $rglocation -Force
378+
379+
try
380+
{
381+
382+
Set-AzDataFactoryV2 -ResourceGroupName $rgname `
383+
-Name $dfname `
384+
-Location $dflocation `
385+
-Force
386+
387+
$irname = "test-Azure-Express-SSIS-IR"
388+
$description = "Managed SSIS IR"
389+
$VNetInjectionMethod = "Express"
390+
391+
# Get SubnetId from environment variable.
392+
$IsSubnetIdSet = Test-Path env:SSIS_IR_SUBNETID
393+
if ($IsSubnetIdSet) {
394+
$subnetId = $Env:SSIS_IR_SUBNETID
395+
} else {
396+
$subnetId = "fakeId"
397+
}
398+
399+
$actual = Set-AzDataFactoryV2IntegrationRuntime -ResourceGroupName $rgname `
400+
-DataFactoryName $dfname `
401+
-Name $irname `
402+
-Type Managed `
403+
-Description $description `
404+
-Location $dflocation `
405+
-NodeSize Standard_A4_v2 `
406+
-NodeCount 1 `
407+
-MaxParallelExecutionsPerNode 1 `
408+
-Edition standard `
409+
-subnetId $subnetId `
410+
-VNetInjectionMethod $VNetInjectionMethod `
411+
-Force
412+
413+
$expected = Get-AzDataFactoryV2IntegrationRuntime -ResourceGroupName $rgname `
414+
-DataFactoryName $dfname `
415+
-Name $irname
416+
Assert-AreEqual $actual.Name $expected.Name
417+
if ($IsSubnetIdSet) {
418+
Assert-AreEqual $subnetId $expected.SubnetId
419+
}
420+
421+
Assert-AreEqual $expected.VNetInjectionMethod $VNetInjectionMethod
422+
423+
Remove-AzDataFactoryV2IntegrationRuntime -ResourceGroupName $rgname -DataFactoryName $dfname -Name $irname -Force
424+
}
425+
finally
426+
{
427+
CleanUp $rgname $dfname
428+
}
429+
}
430+
363431
<#
364432
.SYNOPSIS
365433
Creates a self-hosted integration runtime and then does piping operations.

0 commit comments

Comments
 (0)