Skip to content

Network April release #11839

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
May 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.Azure.Management.CognitiveServices" Version="7.1.0-preview" />
<PackageReference Include="Microsoft.Azure.Management.Network" Version="19.20.0-preview" />
<PackageReference Include="Microsoft.Azure.Management.Network" Version="19.21.1-preview" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion src/Compute/Compute.Test/Compute.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<PackageReference Include="Microsoft.Azure.Graph.RBAC" Version="3.4.0-preview" />
<PackageReference Include="Microsoft.Azure.Management.Compute" Version="36.0.0" />
<PackageReference Include="Microsoft.Azure.Management.KeyVault" Version="3.0.0" />
<PackageReference Include="Microsoft.Azure.Management.Network" Version="19.20.0-preview" />
<PackageReference Include="Microsoft.Azure.Management.Network" Version="19.21.1-preview" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/CosmosDB/CosmosDB.Test/CosmosDB.Test.csproj
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<PsModuleName>CosmosDB</PsModuleName>
</PropertyGroup>
<Import Project="$(MSBuildThisFileDirectory)..\..\Az.Test.props" />
<ItemGroup>
<PackageReference Include="Microsoft.Azure.Management.CosmosDB" Version="1.1.1" />
<PackageReference Include="Microsoft.Azure.Management.Network" Version="19.20.0-preview" />
<PackageReference Include="Microsoft.Azure.Management.Network" Version="19.21.1-preview" />
</ItemGroup>
</Project>
1 change: 1 addition & 0 deletions src/CosmosDB/CosmosDB.Test/ScenarioTests/TestController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ public void RunPsTestWorkflow(
{"Microsoft.Resources", null},
{"Microsoft.Features", null},
{"Microsoft.Authorization", null},
{"Microsoft.Network", null},
{"Microsoft.Compute", null}
};
var providersToIgnore = new Dictionary<string, string>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.Azure.Management.DataLake.Store" Version="2.4.2-preview" />
<PackageReference Include="Microsoft.Azure.Management.Network" Version="19.20.0-preview" />
<PackageReference Include="Microsoft.Azure.Management.Network" Version="19.21.1-preview" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Dns/Dns.Test/Dns.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.Azure.Management.Dns" Version="3.0.1" />
<PackageReference Include="Microsoft.Azure.Management.Network" Version="19.20.0-preview" />
<PackageReference Include="Microsoft.Azure.Management.Network" Version="19.21.1-preview" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion src/Dns/Dns.Test/ScenarioTests/DnsTestsBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public void RunPsTestWorkflow(
{
var d = new Dictionary<string, string>
{
{"Microsoft.Resources", null}, {"Microsoft.Features", null}, {"Microsoft.Authorization", null}
{"Microsoft.Resources", null}, {"Microsoft.Features", null}, {"Microsoft.Authorization", null}, {"Microsoft.Network", null}
};
var providersToIgnore = new Dictionary<string, string>
{
Expand Down
4 changes: 2 additions & 2 deletions src/KeyVault/KeyVault.Test/KeyVault.Test.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<PsModuleName>KeyVault</PsModuleName>
Expand All @@ -14,7 +14,7 @@
<PackageReference Include="Microsoft.Azure.KeyVault" Version="3.0.1" />
<PackageReference Include="Microsoft.Azure.KeyVault.WebKey" Version="3.0.1" />
<PackageReference Include="Microsoft.Azure.Management.KeyVault" Version="3.0.0" />
<PackageReference Include="Microsoft.Azure.Management.Network" Version="19.20.0-preview" />
<PackageReference Include="Microsoft.Azure.Management.Network" Version="19.21.1-preview" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ public void RunPsTestWorkflow(
{
{"Microsoft.Resources", null},
{"Microsoft.Features", null},
{"Microsoft.Network", null},
{"Microsoft.Authorization", null}
};
var providersToIgnore = new Dictionary<string, string>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ protected KeyVaultTestRunner(ITestOutputHelper output)
resourceProviders: new Dictionary<string, string>
{
{"Microsoft.KeyVault", null},
{"Microsoft.Network", null},
}
)
.Build();
Expand Down
4 changes: 2 additions & 2 deletions src/Monitor/Monitor.Test/Monitor.Test.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<PsModuleName>Monitor</PsModuleName>
Expand All @@ -13,7 +13,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.Azure.Management.Monitor" Version="0.25.1-preview" />
<PackageReference Include="Microsoft.Azure.Management.ApplicationInsights" Version="0.2.0-preview" />
<PackageReference Include="Microsoft.Azure.Management.Network" Version="19.20.0-preview" />
<PackageReference Include="Microsoft.Azure.Management.Network" Version="19.21.1-preview" />
<PackageReference Include="Microsoft.Azure.Management.OperationalInsights" Version="0.19.0-preview" />
</ItemGroup>

Expand Down
3 changes: 2 additions & 1 deletion src/Monitor/Monitor.Test/ScenarioTests/TestsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ public void RunPsTestWorkflow(
{
var providers = new Dictionary<string, string>()
{
{ "Microsoft.Insights", null }
{ "Microsoft.Insights", null },
{ "Microsoft.Network", null },
};

var providersToIgnore = new Dictionary<string, string>();
Expand Down
2 changes: 1 addition & 1 deletion src/NetAppFiles/NetAppFiles.Test/NetAppFiles.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.Azure.Management.NetApp" Version="1.4.0" />
<PackageReference Include="Microsoft.Azure.Management.Network" Version="19.20.0-preview" />
<PackageReference Include="Microsoft.Azure.Management.Network" Version="19.21.1-preview" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ public void RunPsTestWorkflow(
{"Microsoft.Resources", null},
{"Microsoft.Features", null},
{"Microsoft.Authorization", null},
{"Microsoft.Network", null},
{"Microsoft.Compute", null}
};
var providersToIgnore = new Dictionary<string, string>
Expand Down
2 changes: 1 addition & 1 deletion src/Network/Network.Test/Network.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.Azure.Graph.RBAC" Version="3.4.0-preview" />
<PackageReference Include="Microsoft.Azure.Management.Network" Version="19.20.0-preview" />
<PackageReference Include="Microsoft.Azure.Management.Network" Version="19.21.1-preview" />
<PackageReference Include="Microsoft.Azure.Insights" Version="0.16.0-preview" />
<PackageReference Include="Microsoft.Azure.Management.Compute" Version="36.0.0" />
<PackageReference Include="Microsoft.Azure.Management.ContainerInstance" Version="2.0.0" />
Expand Down
2 changes: 1 addition & 1 deletion src/Network/Network.Test/ScenarioTests/CortexTests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function Test-CortexCRUD
$virtualWan = Get-AzVirtualWan -ResourceGroupName $rgName -Name $virtualWanName
Assert-AreEqual $rgName $virtualWan.ResourceGroupName
Assert-AreEqual $virtualWanName $virtualWan.Name
Assert-AreEqual $false $virtualWan.AllowVnetToVnetTraffic
Assert-AreEqual $true $virtualWan.AllowVnetToVnetTraffic
Assert-AreEqual $false $virtualWan.AllowBranchToBranchTraffic

$virtualWans = Get-AzureRmVirtualWan -ResourceGroupName $rgName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function Test-PrivateLinkServiceCRUD
# Setup
$rgname = Get-ResourceGroupName;
$rname = Get-ResourceName;
$location = Get-ProviderLocation "Microsoft.Network/privateLinkServices" "westus";
$location = Get-ProviderLocation "Microsoft.Network/privateLinkServices" "westcentralus";
# Dependency parameters
$IpConfigurationName = "IpConfigurationName";
$vnetName = Get-ResourceName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,17 +67,17 @@ function Test-PublicIpPrefixCRUD
Assert-AreEqual 30 $list[0].PrefixLength
Assert-AreEqual "Succeeded" $list[0].ProvisioningState

$list = Get-AzPublicIpPrefix
Assert-NotNull $list
#$list = Get-AzPublicIpPrefix
#Assert-NotNull $list

$list = Get-AzPublicIpPrefix -ResourceGroupName "*"
<#$list = Get-AzPublicIpPrefix -ResourceGroupName "*"
Assert-True { $list.Count -ge 0 }

$list = Get-AzPublicIpPrefix -Name "*"
Assert-True { $list.Count -ge 0 }

$list = Get-AzPublicIpPrefix -ResourceGroupName "*" -Name "*"
Assert-True { $list.Count -ge 0 }
Assert-True { $list.Count -ge 0 }#>

$expected.Tag = @{ testtag = "testvalSet" }

Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading