Skip to content
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

Adding basic SQL virtual network rules functionality #4404

Closed
wants to merge 26 commits into from
Closed
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
8677f51
Adding virtual network rules commands and tests
NayantaraD Jul 8, 2017
b2cef3c
Adding VirtualNetworkRules to format.ps1xml file
NayantaraD Jul 12, 2017
baa93a6
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
NayantaraD Jul 12, 2017
057677f
Merge branch 'privateacc' of https://github.com/EvgenyAgafonchikov/az…
NayantaraD Jul 14, 2017
630830b
Adding the temporary fix for HelpAnalyzer.
NayantaraD Jul 14, 2017
eadc1a1
Correcting minor build mistakes
NayantaraD Jul 14, 2017
c5570fd
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
NayantaraD Jul 31, 2017
3de79f6
Editing tests and updating session records
NayantaraD Aug 2, 2017
2171e87
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
NayantaraD Aug 2, 2017
e04d6cb
Revert "Adding the temporary fix for HelpAnalyzer."
NayantaraD Aug 2, 2017
89993cc
Editing tests and using Network's .Net SDK client
NayantaraD Aug 4, 2017
b370abc
Added service endpoints cmdlets
EvgenyAgafonchikov Aug 16, 2017
b93ce59
Regenerated MD files, updated ChangeLog
EvgenyAgafonchikov Aug 16, 2017
4340077
Updated SDK version, updated recordings
EvgenyAgafonchikov Aug 17, 2017
8133016
Re-adding the temporary fix for HelpAnalyzer.""
NayantaraD Aug 17, 2017
3455f68
Merge branch 'endpoints' of https://github.com/EvgenyAgafonchikov/azu…
NayantaraD Aug 17, 2017
c296abb
Fixing build bugs
NayantaraD Aug 17, 2017
23506fd
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
NayantaraD Aug 21, 2017
9846cdb
Adding fix for jenkins job
NayantaraD Aug 22, 2017
d873129
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
NayantaraD Aug 25, 2017
a25c0d6
Updating vnet tests and fixing build
NayantaraD Aug 26, 2017
d3489f1
Revert "Re-adding the temporary fix for HelpAnalyzer."""
NayantaraD Aug 28, 2017
1481cfc
Undoing other changed files
NayantaraD Aug 28, 2017
e8b91c0
Addressing Jared and Adam's comments
NayantaraD Aug 28, 2017
9944439
added tests to csproj
kisantia Sep 1, 2017
b1c0759
Addressed Adam's comment on updating description in New-AzureRmSqlSer…
kisantia Sep 6, 2017
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
4 changes: 0 additions & 4 deletions setup/azurecmdfiles.wxi
Original file line number Diff line number Diff line change
Expand Up @@ -1556,9 +1556,6 @@
<Component Id="cmpC67F14F377421F1BCD74EC5A579D43CB" Guid="*">
<File Id="filE9553CEC1D67AB3D4B77759239D60B18" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.IotHub\Microsoft.Azure.Commands.IotHub.dll-Help.xml" />
</Component>
<Component Id="cmpD844DA64698210481D550B5CD8799D26" Guid="*">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kisantia pulling the latest changes from the preview branch will remove the need for this change

<File Id="filA23D9B350E9B87D17B90B2181AE71E4B" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.IotHub\Microsoft.Azure.Commands.IotHub.format.ps1xml" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this an intentional change?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a change to fix broken build. This change - #4503 removed a file, but this file was not updated.

</Component>
<Component Id="cmp31610C192ED2776279BBDA3D9905552E" Guid="*">
<File Id="filB571C170B96736E7EE17BBF869A203A8" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.IotHub\Microsoft.Azure.Commands.ResourceManager.Common.dll" />
</Component>
Expand Down Expand Up @@ -5842,7 +5839,6 @@
<ComponentRef Id="cmp9DFE8C2688F7DF1A3DFF20EFA59BF3B5" />
<ComponentRef Id="cmpE29D513714759F365A7C0A2A7F2B5DC6" />
<ComponentRef Id="cmpC67F14F377421F1BCD74EC5A579D43CB" />
<ComponentRef Id="cmpD844DA64698210481D550B5CD8799D26" />
<ComponentRef Id="cmp31610C192ED2776279BBDA3D9905552E" />
<ComponentRef Id="cmpB0A6B8E083FEAEC29D41F54189DC6605" />
<ComponentRef Id="cmpB2620706D83DB49D3434BB39A5495055" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,18 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Azure.Management.Network, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kisantia this reference to the Network management library should be removed. Only the Network project should have a dependency on the management library. If you need to use the code from their library, please use the Commands.Common.Network project.

<HintPath>..\..\..\packages\Microsoft.Azure.Management.Network.14.0.0-preview\lib\net452\Microsoft.Azure.Management.Network.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.Rest.ClientRuntime, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\Microsoft.Rest.ClientRuntime.2.3.9\lib\net452\Microsoft.Rest.ClientRuntime.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.Rest.ClientRuntime.Azure, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\Microsoft.Rest.ClientRuntime.Azure.3.3.9\lib\net452\Microsoft.Rest.ClientRuntime.Azure.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
<Reference Include="System.Security" />
<Reference Include="System.ServiceModel" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@
<package id="Microsoft.Azure.Common" version="2.1.0" targetFramework="net452" />
<package id="Microsoft.Azure.Common.Dependencies" version="1.0.0" targetFramework="net452" />
<package id="Microsoft.Azure.KeyVault.Core" version="1.0.0" targetFramework="net452" />
<package id="Microsoft.Azure.Management.Network" version="14.0.0-preview" targetFramework="net452" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kisantia same comment

<package id="Microsoft.Bcl" version="1.1.9" targetFramework="net452" />
<package id="Microsoft.Bcl.Async" version="1.0.168" targetFramework="net452" />
<package id="Microsoft.Bcl.Build" version="1.0.14" targetFramework="net452" />
<package id="Microsoft.Net.Http" version="2.2.28" targetFramework="net452" />
<package id="Microsoft.Rest.ClientRuntime" version="2.3.8" targetFramework="net452" />
<package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.8" targetFramework="net452" />
<package id="Microsoft.Rest.ClientRuntime" version="2.3.9" targetFramework="net452" />
<package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.9" targetFramework="net452" />
<package id="Microsoft.WindowsAzure.Management" version="4.1.1" targetFramework="net452" />
<package id="Newtonsoft.Json" version="6.0.8" targetFramework="net452" />
</packages>
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,15 @@ public string RMStorageDataPlaneModule
}
}

public string RMNetworkModule
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kisantia same comment

{
get
{
return Path.Combine(this.PackageDirectory,
@"ResourceManager\AzureResourceManager\AzureRM.Network\AzureRM.Network.psd1");
}
}

public string GetRMModulePath(string psd1FileName)
{
string basename = Path.GetFileNameWithoutExtension(psd1FileName);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,22 @@
<HintPath>..\..\..\packages\Microsoft.Data.Services.Client.5.8.2\lib\net40\Microsoft.Data.Services.Client.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.Rest.ClientRuntime, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kisantia please revert the changes in this file. All changes to dependencies should be done in Common.Dependencies.targets and the packages.config in Commands.ResourceManager.Common.

<HintPath>..\..\..\packages\Microsoft.Rest.ClientRuntime.2.3.9\lib\net452\Microsoft.Rest.ClientRuntime.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.Rest.ClientRuntime.Azure, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\Microsoft.Rest.ClientRuntime.Azure.3.3.9\lib\net452\Microsoft.Rest.ClientRuntime.Azure.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.WindowsAzure.Storage, Version=8.1.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\WindowsAzure.Storage.8.1.1\lib\net45\Microsoft.WindowsAzure.Storage.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System.IO.Compression.FileSystem" />
<Reference Include="System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
<Reference Include="System.Spatial, Version=5.8.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
Expand Down
3 changes: 3 additions & 0 deletions src/ResourceManager/Compute/Commands.Compute/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@
<package id="Microsoft.Azure.Management.Compute" version="16.2.0" targetFramework="net452" />
<package id="Microsoft.Azure.Management.Network" version="14.0.0-preview" targetFramework="net452" />
<package id="Microsoft.Azure.Management.Storage" version="4.1.0-preview" targetFramework="net45" />
<package id="Microsoft.Rest.ClientRuntime" version="2.3.9" targetFramework="net452" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kisantia same comment about reverting the changes in this file

<package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.9" targetFramework="net452" />
<package id="Newtonsoft.Json" version="6.0.8" targetFramework="net452" />
<package id="WindowsAzure.Storage" version="8.1.1" targetFramework="net452" />
</packages>
2 changes: 1 addition & 1 deletion src/ResourceManager/Network/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* Marked parameter -ProbeEnabled as obsolete
- Add-AzureRmApplicationGatewayBackendHttpSettings
- New-AzureRmApplicationGatewayBackendHttpSettings
- Set-AzureRmApplicationGatewayBackendHttpSettings
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kisantia please revert the change in this file

- Set-AzureRmApplicationGatewayBackendHttpSettings

## Version 4.2.1

Expand Down
6 changes: 5 additions & 1 deletion src/ResourceManager/Sql/AzureRM.Sql.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,11 @@ CmdletsToExport = 'Get-AzureRmSqlDatabaseTransparentDataEncryption',
'Get-AzureRmSqlSyncMember', 'Remove-AzureRmSqlSyncMember',
'New-AzureRmSqlSyncAgent', 'Get-AzureRmSqlSyncAgent',
'Remove-AzureRmSqlSyncAgent', 'New-AzureRmSqlSyncAgentKey',
'Get-AzureRmSqlSyncAgentLinkedDatabase'
'Get-AzureRmSqlSyncAgentLinkedDatabase',
'New-AzureRmSqlServerVirtualNetworkRule',
'Set-AzureRmSqlServerVirtualNetworkRule',
'Get-AzureRmSqlServerVirtualNetworkRule',
'Remove-AzureRmSqlServerVirtualNetworkRule'

# Variables to export from this module
# VariablesToExport = @()
Expand Down
5 changes: 5 additions & 0 deletions src/ResourceManager/Sql/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
- Additional information about change #1
-->
## Current Release
* Adding support for Virtual Network Rules
- Adding Get-AzureRmSqlServerVirtualNetworkRule cmdlet which gets the virtual network rules by a specific rule name or a list of virtual network rules in an Azure Sql server.
- Adding Set-AzureRmSqlServerVirtualNetworkRule cmdlet which changes the virtual network that the rule points to.
- Adding Remove-AzureRmSqlServerVirtualNetworkRule cmdlet which removes a virtual network rule for an Azure Sql server.
- Adding New-AzureRmSqlServerVirtualNetworkRule cmdlet which creates a new virtual network rule for an Azure Sql server.

## Version 3.3.1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,12 @@
<Reference Include="Microsoft.Azure.Management.Authorization, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Authorization.2.0.0\lib\net40\Microsoft.Azure.Management.Authorization.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.Azure.Management.Network">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kisantia please use the generated Network code in Commands.Common.Network

<HintPath>..\..\..\packages\Microsoft.Azure.Management.Network.14.0.0-preview\lib\net452\Microsoft.Azure.Management.Network.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Azure.Management.Sql, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Sql.1.5.0-preview\lib\net452\Microsoft.Azure.Management.Sql.dll</HintPath>
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Sql.1.6.0-preview\lib\net452\Microsoft.Azure.Management.Sql.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.Azure.Management.Storage">
Expand Down Expand Up @@ -310,6 +313,7 @@
<Compile Include="ScenarioTests\SqlTestsBase.cs" />
<Compile Include="ScenarioTests\TransparentDataEncryptionCrudTests.cs" />
<Compile Include="ScenarioTests\ServerKeyVaultKeyTests.cs" />
<Compile Include="ScenarioTests\VirtualNetworkRuleTest.cs" />
<Compile Include="ScenarioTests\IndexRecommendationTests.cs" />
<Compile Include="ScenarioTests\ImportExportTests.cs" />
<Compile Include="UnitTests\AzureSqlDatabaseImportExportTests.cs" />
Expand Down Expand Up @@ -396,6 +400,9 @@
<None Include="ScenarioTests\ServerKeyVaultKeyTests.ps1">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="ScenarioTests\VirtualNetworkRuleTest.ps1">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="SessionRecords\Microsoft.Azure.Commands.Sql.Test.ScenarioTests.AdvisorTests\TestGetElasticPoolAdvisor.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
Expand Down Expand Up @@ -941,6 +948,15 @@
</None>
<None Include=".\SessionRecords\Microsoft.Azure.Commands.Sql.Test.ScenarioTests.ServerUpgradeTests\TestServerUpgradeWithUpgradeHint.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include=".\SessionRecords\Microsoft.Azure.Commands.Sql.Test.ScenarioTests.VirtualNetworkRuleTest\TestVirtualNetworkRuleCreateAndUpdate.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include=".\SessionRecords\Microsoft.Azure.Commands.Sql.Test.ScenarioTests.VirtualNetworkRuleTest\TestVirtualNetworkRuleGet.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include=".\SessionRecords\Microsoft.Azure.Commands.Sql.Test.ScenarioTests.VirtualNetworkRuleTest\TestVirtualNetworkRuleRemove.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
Expand Down
21 changes: 9 additions & 12 deletions src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests/Common.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,15 @@ function Get-FailoverGroupName
return getAssetName
}

<#
.SYNOPSIS
Gets valid virtual network rule name
#>
function Get-VirtualNetworkRuleName
{
return getAssetName
}

<#
.SYNOPSIS
Gets the location for a provider, if not found return East US
Expand Down Expand Up @@ -388,18 +397,6 @@ function Remove-ResourceGroupForTest ($rg)
Remove-AzureRmResourceGroup -Name $rg.ResourceGroupName -Force
}

<#
.SYNOPSIS
Gets the server credential
#>
function Create-ServerForTest ($resourceGroup, $location = "westcentralus")
{
$serverLogin = "testusername"
$serverPassword = "t357ingP@s5w0rd!"
$credentials = new-object System.Management.Automation.PSCredential($serverLogin, ($serverPassword | ConvertTo-SecureString -asPlainText -Force))
return $credentials
}

<#
.SYNOPSIS
Gets the server credential
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
using Microsoft.Azure.Commands.Common.Authentication;
using Microsoft.Azure.Commands.ScenarioTest.Mocks;
using Microsoft.Azure.Management.Authorization;
using Microsoft.Azure.Management.Network;
using Microsoft.Azure.Management.Resources;
using Microsoft.Azure.Test;
using Microsoft.Azure.Test.HttpRecorder;
Expand Down Expand Up @@ -95,7 +96,8 @@ protected void RunPowerShellTest(params string[] scripts)
helper.GetRMModulePath(@"AzureRM.Insights.psd1"),
helper.GetRMModulePath(@"AzureRM.Sql.psd1"),
"AzureRM.Storage.ps1",
"AzureRM.Resources.ps1");
"AzureRM.Resources.ps1",
helper.RMNetworkModule);
helper.RunPowerShellTest(scripts);
}
}
Expand Down Expand Up @@ -169,6 +171,18 @@ protected AuthorizationManagementClient GetAuthorizationManagementClient()
return client;
}

protected Management.Network.NetworkManagementClient GetNetworkClient(RestTestFramework.MockContext context)
{
Management.Network.NetworkManagementClient client =
context.GetServiceClient<Management.Network.NetworkManagementClient>(
RestTestFramework.TestEnvironmentFactory.GetTestEnvironment());
if (HttpMockServer.Mode == HttpRecorderMode.Playback)
{
client.LongRunningOperationRetryTimeout = 0;
}
return client;
}

protected GraphRbacManagementClient GetGraphClient(RestTestFramework.MockContext context)
{
var environment = RestTestFramework.TestEnvironmentFactory.GetTestEnvironment();
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// ----------------------------------------------------------------------------------

using Microsoft.Azure.Commands.ScenarioTest.SqlTests;
using Microsoft.WindowsAzure.Commands.ScenarioTest;
using Xunit;
using Xunit.Abstractions;
using RestTestFramework = Microsoft.Rest.ClientRuntime.Azure.TestFramework;

namespace Microsoft.Azure.Commands.Sql.Test.ScenarioTests
{
public class VirtualNetworkRuleTest : SqlTestsBase
{
protected override void SetupManagementClients(RestTestFramework.MockContext context)
{
var sqlClient = GetSqlClient(context);
var sqlLegacyClient = GetLegacySqlClient();
var resourcesClient = GetResourcesClient();
var newResourcesClient = GetResourcesClient(context);
var networkClient = GetNetworkClient(context);
helper.SetupSomeOfManagementClients(sqlClient, sqlLegacyClient, resourcesClient, newResourcesClient, networkClient);
}
public VirtualNetworkRuleTest(ITestOutputHelper output) : base(output)
{
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestVirtualNetworkRuleCreateAndUpdate()
{
RunPowerShellTest("Test-CreateAndUpdateVirtualNetworkRule");
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestVirtualNetworkRuleGet()
{
RunPowerShellTest("Test-GetVirtualNetworkRule");
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestVirtualNetworkRuleRemove()
{
RunPowerShellTest("Test-RemoveVirtualNetworkRule");
}
}
}
Loading