Skip to content

Commit c1a2b35

Browse files
sayghoshMaddie Clayton
authored andcommitted
Powershell changes to onboard additional traffic analytics parameters with existing networkwatcher flowlog parameters (#6253)
* Powershell changes satge 1 * Some small changes in required assembly list * Basic commandlets working * Basic implementations done * Implementatioan and test file changes * Workspace object usage coded * Changes done * Optional and mandatory variables sorted * Version updates * Updating test * Reverting changes in service fabric test and squashing all commits into one * Reverting service fabric changes * Adding help generation text * Cleaning the signatureIssues.csv file * Pushing minor string update to retrigger build * Revising the service fabric changes
1 parent 8be26bd commit c1a2b35

File tree

39 files changed

+1289
-692
lines changed

39 files changed

+1289
-692
lines changed

src/Common/Commands.Common.Network/Commands.Common.Network.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
<Compile Include="Common\INetworkInterfaceReference.cs" />
6767
<Compile Include="Common\IResourceReference.cs" />
6868
<Compile Include="Common\NetworkClient.cs" />
69+
<Compile Include="Common\IOperationalInsightWorkspace.cs" />
6970
<Compile Include="Version2017_03_01\ILoadBalancersOperations.cs" />
7071
<Compile Include="Version2017_03_01\INetworkInterfacesOperations.cs" />
7172
<Compile Include="Version2017_03_01\INetworkManagementClient.cs" />
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// ----------------------------------------------------------------------------------
2+
//
3+
// Copyright Microsoft Corporation
4+
// Licensed under the Apache License, Version 2.0 (the "License");
5+
// you may not use this file except in compliance with the License.
6+
// You may obtain a copy of the License at
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
// Unless required by applicable law or agreed to in writing, software
9+
// distributed under the License is distributed on an "AS IS" BASIS,
10+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
// See the License for the specific language governing permissions and
12+
// limitations under the License.
13+
// ----------------------------------------------------------------------------------
14+
15+
using System;
16+
using System.Collections.Generic;
17+
18+
namespace Microsoft.Azure.Management.Internal.Network.Common
19+
{
20+
public interface IOperationalInsightWorkspace
21+
{
22+
string ResourceId { get; set; }
23+
24+
string Location { get; set; }
25+
26+
Guid? CustomerId { get; set; }
27+
}
28+
}

src/ResourceManager/Common/Commands.Common.Strategies/Common.Strategies.Netcore.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@
2424
<ItemGroup>
2525
<PackageReference Include="Microsoft.Azure.Management.ResourceManager" Version="1.6.0-preview" />
2626
<PackageReference Include="Microsoft.Azure.Management.Compute" Version="17.5.0" />
27-
<PackageReference Include="Microsoft.Azure.Management.Network" Version="17.0.0-preview" />
27+
<PackageReference Include="Microsoft.Azure.Management.Network" Version="19.0.1-preview" />
2828
</ItemGroup>
2929
</Project>

src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common/EnvironmentSetupHelper.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ public EnvironmentSetupHelper()
9292
module = GetModuleManifest(StorageDirectory, "Azure.Storage");
9393
LogIfNotNull($"Storage Data Plane Module path: {module}");
9494
RMStorageDataPlaneModule = module;
95+
module = GetModuleManifest(RmDirectory, "AzureRM.OperationalInsights");
96+
LogIfNotNull($"Storage Data Plane Module path: {module}");
97+
RMOperationalInsightsModule = module;
9598
module = GetModuleManifest(RmDirectory, "AzureRM.Network");
9699
LogIfNotNull($"Network Module path: {module}");
97100
RMNetworkModule = module;
@@ -152,7 +155,9 @@ public EnvironmentSetupHelper()
152155

153156
public string RMInsightsModule { get; private set; }
154157

155-
public string RMStorageModule { get; private set; }
158+
public string RMStorageModule { get; private set; }
159+
160+
public string RMOperationalInsightsModule { get; private set; }
156161

157162
//TODO: clarify (data plane should not be under ARM folder)
158163
public string RMStorageDataPlaneModule { get; private set; }

src/ResourceManager/Compute.ManagedService/Commands.Compute.ManagedService.Test/Commands.Compute.ManagedService.Test.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@
6767
<Reference Include="Microsoft.Azure.Management.Compute">
6868
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Compute.17.0.1\lib\net452\Microsoft.Azure.Management.Compute.dll</HintPath>
6969
</Reference>
70-
<Reference Include="Microsoft.Azure.Management.Network, Version=15.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
71-
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Network.15.1.0-preview\lib\net452\Microsoft.Azure.Management.Network.dll</HintPath>
70+
<Reference Include="Microsoft.Azure.Management.Network, Version=19.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
71+
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Network.19.0.1-preview\lib\net452\Microsoft.Azure.Management.Network.dll</HintPath>
7272
<Private>True</Private>
7373
</Reference>
7474
<Reference Include="Microsoft.Azure.Management.Storage, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">

src/ResourceManager/Compute.ManagedService/Commands.Compute.ManagedService.Test/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<package id="Microsoft.Azure.Graph.RBAC" version="3.4.0-preview" targetFramework="net452" />
88
<package id="Microsoft.Azure.Management.Authorization" version="2.0.0" targetFramework="net45" />
99
<package id="Microsoft.Azure.Management.Compute" version="17.0.1" targetFramework="net452" />
10-
<package id="Microsoft.Azure.Management.Network" version="15.1.0-preview" targetFramework="net452" />
10+
<package id="Microsoft.Azure.Management.Network" version="19.0.1-preview" targetFramework="net452" />
1111
<package id="Microsoft.Azure.Management.Storage" version="4.1.0-preview" targetFramework="net45" />
1212
<package id="Microsoft.Azure.Test.Framework" version="1.0.6179.26854-prerelease" targetFramework="net45" />
1313
<package id="Microsoft.Azure.Test.HttpRecorder" version="1.6.7-preview" targetFramework="net45" />

src/ResourceManager/Compute/Commands.Compute.Test/Commands.Compute.Test.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@
6666
<Reference Include="Microsoft.Azure.Management.Compute">
6767
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Compute.18.0.0\lib\net452\Microsoft.Azure.Management.Compute.dll</HintPath>
6868
</Reference>
69-
<Reference Include="Microsoft.Azure.Management.Network, Version=19.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
70-
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Network.19.0.0-preview\lib\net452\Microsoft.Azure.Management.Network.dll</HintPath>
69+
<Reference Include="Microsoft.Azure.Management.Network, Version=19.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
70+
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Network.19.0.1-preview\lib\net452\Microsoft.Azure.Management.Network.dll</HintPath>
7171
</Reference>
7272
<Reference Include="Microsoft.Azure.Management.KeyVault, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
7373
<SpecificVersion>False</SpecificVersion>

src/ResourceManager/Compute/Commands.Compute.Test/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<package id="Microsoft.Azure.Management.Authorization" version="2.0.0" targetFramework="net45" />
99
<package id="Microsoft.Azure.Management.Compute" version="18.0.0" targetFramework="net452" />
1010
<package id="Microsoft.Azure.Management.KeyVault" version="2.3.0-preview" targetFramework="net452" />
11-
<package id="Microsoft.Azure.Management.Network" version="19.0.0-preview" targetFramework="net452" />
11+
<package id="Microsoft.Azure.Management.Network" version="19.0.1-preview" targetFramework="net452" />
1212
<package id="Microsoft.Azure.Management.Storage" version="4.1.0-preview" targetFramework="net45" />
1313
<package id="Microsoft.Azure.Test.Framework" version="1.0.6179.26854-prerelease" targetFramework="net45" />
1414
<package id="Microsoft.Azure.Test.HttpRecorder" version="1.6.7-preview" targetFramework="net45" />

src/ResourceManager/Dns/Commands.Dns.Test/Commands.Dns.Test.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@
6666
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Dns.2.2.0-preview\lib\net452\Microsoft.Azure.Management.Dns.dll</HintPath>
6767
<Private>True</Private>
6868
</Reference>
69-
<Reference Include="Microsoft.Azure.Management.Network, Version=19.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
70-
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Network.19.0.0-preview\lib\net452\Microsoft.Azure.Management.Network.dll</HintPath>
69+
<Reference Include="Microsoft.Azure.Management.Network, Version=19.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
70+
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Network.19.0.1-preview\lib\net452\Microsoft.Azure.Management.Network.dll</HintPath>
7171
</Reference>
7272
<Reference Include="Microsoft.Azure.Management.ResourceManager, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
7373
<SpecificVersion>False</SpecificVersion>

src/ResourceManager/Dns/Commands.Dns.Test/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<package id="Microsoft.Azure.Gallery" version="2.6.2-preview" targetFramework="net45" />
77
<package id="Microsoft.Azure.Management.Authorization" version="2.0.0" targetFramework="net45" />
88
<package id="Microsoft.Azure.Management.Dns" version="2.2.0-preview" targetFramework="net452" />
9-
<package id="Microsoft.Azure.Management.Network" version="19.0.0-preview" targetFramework="net452" />
9+
<package id="Microsoft.Azure.Management.Network" version="19.0.1-preview" targetFramework="net452" />
1010
<package id="Microsoft.Azure.Management.ResourceManager" version="1.1.1-preview" targetFramework="net45" />
1111
<package id="Microsoft.Azure.Management.Resources" version="2.20.0-preview" targetFramework="net45" />
1212
<package id="Microsoft.Azure.Test.Framework" version="1.0.6179.26854-prerelease" targetFramework="net45" />

src/ResourceManager/Network/AzureRM.Network.Netcore.psd1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ PowerShellVersion = '5.1'
5454
RequiredModules = @(@{ModuleName = 'AzureRM.Profile.Netcore'; ModuleVersion = '0.11.0'; })
5555

5656
# Assemblies that must be loaded prior to importing this module
57-
RequiredAssemblies = '.\AutoMapper.dll',
58-
'.\Microsoft.Azure.Management.Network.dll'
57+
RequiredAssemblies = '.\AutoMapper.dll','.\Microsoft.Azure.Management.Network.dll'
5958

6059
# Script files (.ps1) that are run in the caller's environment prior to importing this module.
6160
# ScriptsToProcess = @()

src/ResourceManager/Network/Commands.Network.Test/Commands.Network.Test.csproj

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,11 @@
6464
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Authorization.2.0.0\lib\net40\Microsoft.Azure.Management.Authorization.dll</HintPath>
6565
<Private>True</Private>
6666
</Reference>
67-
<Reference Include="Microsoft.Azure.Management.Network, Version=19.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
68-
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Network.19.0.0-preview\lib\net452\Microsoft.Azure.Management.Network.dll</HintPath>
67+
<Reference Include="Microsoft.Azure.Management.Network, Version=19.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
68+
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Network.19.0.1-preview\lib\net452\Microsoft.Azure.Management.Network.dll</HintPath>
69+
</Reference>
70+
<Reference Include="Microsoft.Azure.Management.OperationalInsights, Version=0.18.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
71+
<HintPath>..\..\..\packages\Microsoft.Azure.Management.OperationalInsights.0.18.0-preview\lib\net45\Microsoft.Azure.Management.OperationalInsights.dll</HintPath>
6972
</Reference>
7073
<Reference Include="Microsoft.Azure.Management.ResourceManager">
7174
<HintPath>..\..\..\packages\Microsoft.Azure.Management.ResourceManager.1.6.0-preview\lib\net452\Microsoft.Azure.Management.ResourceManager.dll</HintPath>
@@ -685,6 +688,10 @@
685688
<Project>{98cfd96b-a6bc-4f15-ae2c-603fc2b58981}</Project>
686689
<Name>Commands.Network</Name>
687690
</ProjectReference>
691+
<ProjectReference Include="..\..\OperationalInsights\Commands.OperationalInsights\Commands.OperationalInsights.csproj">
692+
<Project>{5BE35A94-C20F-4659-AA29-9B9AEBCFAF36}</Project>
693+
<Name>Commands.OperationalInsights</Name>
694+
</ProjectReference>
688695
</ItemGroup>
689696
<ItemGroup>
690697
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />

src/ResourceManager/Network/Commands.Network.Test/NetworkResourcesController.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
using Microsoft.Azure.Management.Redis;
2222
using Microsoft.Azure.Management.Resources;
2323
using Microsoft.Azure.Management.Storage;
24+
using Microsoft.Azure.Management.OperationalInsights;
2425
using Microsoft.Azure.Subscriptions;
2526
using Microsoft.Azure.Test;
2627
using Microsoft.Azure.Test.HttpRecorder;
@@ -52,6 +53,8 @@ public sealed class NetworkResourcesController
5253

5354
public StorageManagementClient StorageManagementClient { get; private set; }
5455

56+
public OperationalInsightsManagementClient OperationalInsightsManagementClient { get; private set; }
57+
5558
public InsightsManagementClient InsightsManagementClient { get; private set; }
5659

5760
public RedisManagementClient RedisManagementClient { get; private set; }
@@ -127,6 +130,7 @@ public void RunPsTestWorkflow(
127130
helper.GetRMModulePath("AzureRM.RedisCache.psd1"),
128131
helper.GetRMModulePath("AzureRM.Network.psd1"),
129132
helper.GetRMModulePath("AzureRM.Compute.psd1"),
133+
helper.GetRMModulePath("AzureRM.OperationalInsights.psd1"),
130134
helper.RMStorageDataPlaneModule,
131135
"AzureRM.Storage.ps1",
132136
"AzureRM.Resources.ps1");
@@ -177,6 +181,7 @@ private void SetupManagementClients(RestTestFramework.MockContext context)
177181
this.NetworkManagementClient = this.GetNetworkManagementClient(context);
178182
this.ComputeManagementClient = this.GetComputeManagementClient(context);
179183
this.StorageManagementClient = this.GetStorageManagementClient(context);
184+
this.OperationalInsightsManagementClient = this.GetOperationalInsightsManagementClient(context);
180185
this.AuthorizationManagementClient = this.GetAuthorizationManagementClient();
181186
this.InsightsManagementClient = this.GetInsightsManagementClient();
182187
this.RedisManagementClient = this.GetRedisManagementClient(context);
@@ -189,6 +194,7 @@ private void SetupManagementClients(RestTestFramework.MockContext context)
189194
this.NetworkManagementClient,
190195
this.ComputeManagementClient,
191196
this.StorageManagementClient,
197+
this.OperationalInsightsManagementClient,
192198
this.AuthorizationManagementClient,
193199
this.InsightsManagementClient,
194200
this.RedisManagementClient);
@@ -219,6 +225,11 @@ private StorageManagementClient GetStorageManagementClient(RestTestFramework.Moc
219225
return context.GetServiceClient<StorageManagementClient>(RestTestFramework.TestEnvironmentFactory.GetTestEnvironment());
220226
}
221227

228+
private OperationalInsightsManagementClient GetOperationalInsightsManagementClient(RestTestFramework.MockContext context)
229+
{
230+
return context.GetServiceClient<OperationalInsightsManagementClient>(RestTestFramework.TestEnvironmentFactory.GetTestEnvironment());
231+
}
232+
222233
private GalleryClient GetGalleryClient()
223234
{
224235
return TestBase.GetServiceClient<GalleryClient>(this.csmTestFactory);

src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/NetworkWatcherAPITests.ps1

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -503,24 +503,23 @@ function Test-FlowLog
503503
# Setup
504504
$resourceGroupName = Get-ResourceGroupName
505505
$nwName = Get-ResourceName
506-
$location = "eastus"
506+
#Since Traffic Analytics is not available in all Azure regions, hardcoded locations are used
507+
#Once Traffic Analytics is available in all Azure regions, the below two location variables should be updated to Get-Location
508+
$location = "eastus2euap"
509+
$workspaceLocation = "eastus"
507510
$resourceTypeParent = "Microsoft.Network/networkWatchers"
508511
$nwLocation = Get-ProviderLocation $resourceTypeParent
509512
$nwRgName = Get-ResourceGroupName
510513
$domainNameLabel = Get-ResourceName
511-
$vnetName = Get-ResourceName
512-
$subnetName = Get-ResourceName
513514
$nsgName = Get-ResourceName
515+
$stoname = Get-ResourceName
516+
$workspaceName = Get-ResourceName
514517

515518
try
516519
{
517520
# Create Resource group
518521
New-AzureRmResourceGroup -Name $resourceGroupName -Location "$location"
519522

520-
# Create the Virtual Network
521-
$subnet = New-AzureRmVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.1.0/24
522-
$vnet = New-AzureRmvirtualNetwork -Name $vnetName -ResourceGroupName $resourceGroupName -Location $location -AddressPrefix 10.0.0.0/16 -Subnet $subnet
523-
524523
# Create NetworkSecurityGroup
525524
$nsg = New-AzureRmNetworkSecurityGroup -name $nsgName -ResourceGroupName $resourceGroupName -Location $location
526525

@@ -534,14 +533,20 @@ function Test-FlowLog
534533
$nw = New-AzureRmNetworkWatcher -Name $nwName -ResourceGroupName $nwRgName -Location $location
535534

536535
# Create storage
537-
$stoname = 'sto' + $resourceGroupName
536+
$stoname = 'sto' + $stoname
538537
$stotype = 'Standard_GRS'
539-
$containerName = 'cont' + $resourceGroupName
540538

541539
New-AzureRmStorageAccount -ResourceGroupName $resourceGroupName -Name $stoname -Location $location -Type $stotype;
542540
$sto = Get-AzureRmStorageAccount -ResourceGroupName $resourceGroupName -Name $stoname;
543541

544-
$job = Set-AzureRmNetworkWatcherConfigFlowLog -NetworkWatcher $nw -TargetResourceId $getNsg.Id -EnableFlowLog $true -StorageAccountId $sto.Id -AsJob
542+
# create workspace
543+
$workspaceName = 'tawspace' + $workspaceName
544+
$workspaceSku = 'free'
545+
546+
New-AzureRmOperationalInsightsWorkspace -ResourceGroupName $resourceGroupName -Name $workspaceName -Location $workspaceLocation -Sku $workspaceSku;
547+
$workspace = Get-AzureRmOperationalInsightsWorkspace -Name $workspaceName -ResourceGroupName $resourceGroupName
548+
549+
$job = Set-AzureRmNetworkWatcherConfigFlowLog -NetworkWatcher $nw -TargetResourceId $getNsg.Id -EnableFlowLog $true -StorageAccountId $sto.Id -EnableTrafficAnalytics:$true -Workspace $workspace -AsJob
545550
$job | Wait-Job
546551
$config = $job | Receive-Job
547552
$job = Get-AzureRmNetworkWatcherFlowLogStatus -NetworkWatcher $nw -TargetResourceId $getNsg.Id -AsJob
@@ -554,11 +559,19 @@ function Test-FlowLog
554559
Assert-AreEqual $config.Enabled $true
555560
Assert-AreEqual $config.RetentionPolicy.Days 0
556561
Assert-AreEqual $config.RetentionPolicy.Enabled $false
562+
Assert-AreEqual $config.FlowAnalyticsConfiguration.NetworkWatcherFlowAnalyticsConfiguration.Enabled $true
563+
Assert-AreEqual $config.FlowAnalyticsConfiguration.NetworkWatcherFlowAnalyticsConfiguration.WorkspaceResourceId $workspace.ResourceId
564+
Assert-AreEqual $config.FlowAnalyticsConfiguration.NetworkWatcherFlowAnalyticsConfiguration.WorkspaceId $workspace.CustomerId.ToString()
565+
Assert-AreEqual $config.FlowAnalyticsConfiguration.NetworkWatcherFlowAnalyticsConfiguration.WorkspaceRegion $workspace.Location
557566
Assert-AreEqual $status.TargetResourceId $getNsg.Id
558567
Assert-AreEqual $status.StorageId $sto.Id
559568
Assert-AreEqual $status.Enabled $true
560569
Assert-AreEqual $status.RetentionPolicy.Days 0
561570
Assert-AreEqual $status.RetentionPolicy.Enabled $false
571+
Assert-AreEqual $status.FlowAnalyticsConfiguration.NetworkWatcherFlowAnalyticsConfiguration.Enabled $true
572+
Assert-AreEqual $status.FlowAnalyticsConfiguration.NetworkWatcherFlowAnalyticsConfiguration.WorkspaceResourceId $workspace.ResourceId
573+
Assert-AreEqual $status.FlowAnalyticsConfiguration.NetworkWatcherFlowAnalyticsConfiguration.WorkspaceId $workspace.CustomerId.ToString()
574+
Assert-AreEqual $status.FlowAnalyticsConfiguration.NetworkWatcherFlowAnalyticsConfiguration.WorkspaceRegion $workspace.Location
562575
}
563576
finally
564577
{

src/ResourceManager/Network/Commands.Network.Test/SessionRecords/Commands.Network.Test.ScenarioTests.NetworkWatcherAPITests/TestFlowLog.json

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

src/ResourceManager/Network/Commands.Network.Test/packages.config

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
<package id="Microsoft.Azure.Insights" version="0.13.1-preview" targetFramework="net45" />
99
<package id="Microsoft.Azure.Management.Authorization" version="2.0.0" targetFramework="net452" />
1010
<package id="Microsoft.Azure.Management.Compute" version="18.0.0" targetFramework="net452" />
11-
<package id="Microsoft.Azure.Management.Network" version="19.0.0-preview" targetFramework="net452" />
11+
<package id="Microsoft.Azure.Management.Network" version="19.0.1-preview" targetFramework="net452" />
12+
<package id="Microsoft.Azure.Management.OperationalInsights" version="0.18.0-preview" targetFramework="net452" />
1213
<package id="Microsoft.Azure.Management.Redis" version="3.1.1-preview" targetFramework="net45" />
1314
<package id="Microsoft.Azure.Management.ResourceManager" version="1.6.0-preview" targetFramework="net452" />
1415
<package id="Microsoft.Azure.Management.Resources" version="2.20.0-preview" targetFramework="net45" />

src/ResourceManager/Network/Commands.Network/Commands.Network.Netcore.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
<ItemGroup>
3030
<PackageReference Include="AutoMapper" Version="6.2.2" />
31-
<PackageReference Include="Microsoft.Azure.Management.Network" Version="19.0.0-preview" />
31+
<PackageReference Include="Microsoft.Azure.Management.Network" Version="19.0.1-preview" />
3232
</ItemGroup>
3333

3434
<ItemGroup>

0 commit comments

Comments
 (0)