Skip to content

Commit ded5c5b

Browse files
authored
Outbound Firewall Rules - RestrictOutboundNetworkAccess Powershell (#15259)
* Azure Powershell Cmdlets for Outbound Firewall Rules * Initial Breaking tests * Add Test Recording * Updated Server Crud Test Recordings * Move the changelog details to the Upcoming Release section * Update Get-Help Content * Fix the help section * Review Comments
1 parent 20f0601 commit ded5c5b

File tree

42 files changed

+13611
-7380
lines changed

Some content is hidden

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

42 files changed

+13611
-7380
lines changed

src/Sql/Sql.Test/ScenarioTests/ServerCrudTests.cs

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,34 @@ public void TestServerCreateAndGetWithPublicNetworkAccess()
8282
RunPowerShellTest("Test-CreateAndGetServerWithPublicNetworkAccess");
8383
}
8484

85-
[Fact(Skip = "Test needs to be rewritten, skipping until owning team can update")]
85+
[Fact]
8686
[Trait(Category.AcceptanceType, Category.CheckIn)]
8787
public void TestServerUpdateWithPublicNetworkAccess()
8888
{
8989
RunPowerShellTest("Test-UpdateServerWithPublicNetworkAccess");
9090
}
9191

92+
[Fact]
93+
[Trait(Category.AcceptanceType, Category.CheckIn)]
94+
public void TestOutboundFirewallRulesCRUD()
95+
{
96+
RunPowerShellTest("Test-OutboundFirewallRulesCRUD");
97+
}
98+
99+
[Fact]
100+
[Trait(Category.AcceptanceType, Category.CheckIn)]
101+
public void TestServerCreateAndGetWithRestrictOutboundNetworkAccess()
102+
{
103+
RunPowerShellTest("Test-CreateAndGetServerWithRestrictOutboundNetworkAccess");
104+
}
105+
106+
[Fact]
107+
[Trait(Category.AcceptanceType, Category.CheckIn)]
108+
public void TestServerUpdateWithRestrictOutboundNetworkAccess()
109+
{
110+
RunPowerShellTest("Test-UpdateServerWithRestrictOutboundNetworkAccess");
111+
}
112+
92113
[Fact]
93114
[Trait(Category.AcceptanceType, Category.CheckIn)]
94115
public void CreateandUpdateServerWithMinimalTlsVersion()

src/Sql/Sql.Test/ScenarioTests/ServerCrudTests.ps1

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

src/Sql/Sql.Test/SessionRecords/Microsoft.Azure.Commands.Sql.Test.ScenarioTests.ServerCrudTests/CreateandUpdateServerWithMinimalTlsVersion.json

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

0 commit comments

Comments
 (0)