From bc344da6537eac043bc4727d49b668ca26c84243 Mon Sep 17 00:00:00 2001 From: Yabo Hu Date: Mon, 13 Apr 2020 19:16:57 +0800 Subject: [PATCH] Monitor private link (#11407) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * typo, unused imports. - enable severity, status tests. update properties count( since prod outage was removed). add tests for ticket status. * properties count to 5 * count for prob class to 5 * fix get-azresource -ResourceGroupName -Name -ResourceType to use correct ApiVersion * Complete cmdlet implementations * fix get-azresource -ResourceGroupName -Name -ExpandProperties -ResourceType to use correct ApiVersion * Fix Microsoft.Azure.PowerShell.Cmdlets.ManagedServices.dll.json https://github.com/Azure/azure-powershell/issues/10826 * Fix changelog merge issue * remove override DefaultContext * Restore-AzSqlInstanceDatabase - fix "an" -> "a" Examples: fix "an deleted instance" to "a deleted instance" * Add changelog entry * chore) update privacy notice text * Update changelog.md per contributing.md * chore) minor text correction * Improve PolicyInsights error messages * Address reviwer comments * Add note about the version of PowerShell * fix changelog merge error * Minor helper file fix * update macos to 10.14 * Add DisableAzureSqlServerActiveDirectoryOnlyAuthentication.cs file itself. * Add DisableAzureSqlServerActiveDirectoryOnlyAuthentication.cs file itself. * disable one test case that is unstable on linux * remove file * add DisableAzureSqlServerActiveDirectoryOnlyAuthentication.cs * Create DisableAzureSqlServerActiveDirectoryOnlyAuthentication.cs * Update ChangeLog.md add cmdlet Disable-AzSqlServerActiveDirectoryOnlyAuthentication * Update ChangeLog.md * SAP AEM: add support for the new VM Extension for SAP * Update ChangeLog.md remove edit to this file * Update ChangeLog.md * Add cmdlet Disable-AzSqlServerActiveDirectoryOnlyAuthentication to upcoming section. * Fixing the parameter name IsAzureADOnlyAuthentication and documentation * reprotect and Update bug fixes * add an alias to avoid breaking change * Update the azure powershell developer guide with autorest powershell generator related materials * Update the category. * change log * Update syntax in help files. * Update C# SDK to throw Cloud Exception, Update default SKU to be ST2 * Escape single quote * add TestGetResourceByNameAndType test for apiversion check * updating tests and adding completer * fix changelog merge error * updating help files and tests * add breaking changes * Update files * Update encoding to UTF8 * Add breaking changes (#11329) * add breaking changes * Change useragent to align to Az3.0 modules * Update Get-AzResourceLock.md Added an example that uses the -AtScope parameter. * Update ChangeLog.md * Consume modified SDK clients. * Remove unnecessary changes. * Fix doc Microsot→Microsoft add dot * Add a test case for Save-AzDeploymentScript cmdlet; update test recordings; update help messages; address reviewer comments * Remove duplicate cmdlet names in Az.Resources.psd1 * Add change log comment * Update Network SDK & test recordings * add license header to ArrayExtension.cs * Update New-AzNetworkInterface.md Removed reference to the manual subnet entry and added code to allow retrieval of subnetID via PowerShell from Virtual Network. This would be a best practice rather than hard-coding subnet ID entry. * Updated error messages and help files. - Share service provided details for 4xx HTTP status codes - Updated help file examples to be accurate and consistent * Update tests, tests records and help files. * Update New-AzVmss for AutomaticRepairsPolicy issue. * Update Compute SDK version to 33.0.0 * Updated CosmosDB Management version * Updated TEE type name VSMEnclave to VBSEnclave * Updated ChangeLog * Removed the new version header from ChangeLog * Added option of Byte encoding for New-AzDataLakeStoreItem, Add-AzDAtaLakeStoreItemContent, Get-AzDAtaLakeStoreItemContent * Update URLs in help files * AppGw recordings * Updated CosmosDB Management SDK version (#11351) * Updated CosmosDB Management version * Updated ChangeLog * Removed the new version header from ChangeLog Co-authored-by: Meha Kaushik * [ASR] [V2A] Adding properties for VMware DR monitoring * Update * bump up version * Fix the bug that RunVerioncontroller.ps1 act different under different directory. * CredSan suppression * Update tests file. * Adding SensitivityRank parameter to DataClassification Set Cmdlets * Update syntax in help files. * Consume modified SDK clients. * Remove unnecessary changes. * Update tests, tests records and help files. * Update tests file. * Update ChangeLog.md * Update Management.Sql package version * Add rerun support to create pipeline run cmdlet * Update changeLog * Fix * addressing review comments * ChangeLog update * add comment, add byte encoding for auto completion * 1.Support customers specify min TLS version when creating cluster 2. Update New-AzHDInsightConfig.md * Added retrying policy update * updated paramsets and added help file * Fix after merge * initial commit for monitor privatelink scope * initital commit * Updated cmdlets with disk exclusion parameters * Added test coverage * Added ExcludeAllDataDisks Parameter * Added disk exclusion tests * updated markdown help * updated param sets * fixed tests * Added unmanaged vm restore warning * Updated Markdown Help file * updated tests * Update README.md * Fixing bugs and Allowing Gremlin, Cassandra, Table api account creation * Allow Encryption property to Target parameter of New-AzGalleryImageVersion cmdlet Add the following parameters to New-AzDiskConfig: DiskIOPSReadOnly, DiskMBpsReadOnly, MaxSharesCount, GalleryImageReference Fix tempDisk issue * suppress breaking change issue from int to long * Update Set-AzApiManagementGroup.md GroupId is a required parameter, please add this in the example as well. * Replace Sql client using generic rest client * Update change log * Fixing Cassandra schema and Mongo shard key null values * Adding in ChangeLog * Updated Help * add automapper assembly * Revise according to review * add mapper * remove unused util class * remove incorrect management sdk * updated param help messages * add cmdlets for private link scope * updated markdown help files with examples * update cmdlet syntax * Update ChangeLog.md fix readme * Polish changelog * Comment out the exportchildproperties test in aliastest of testfilesystem, and unskip the adlstest.testfilesystem * Rephrase changelog * add cmdlets for private link scope scoped resource * undo unexpected delete * update access modifier to public for private link related cmdlets * update access modifier to public for private link related models * fix cmdlet names * update to apply new generated SDK * fix typo * add monitor provider * Update ChangeLog.md Move changelog from version 1.4 to upcoming release. * fix parameters of private link scope related cmdlets * update parameters to apply new generated SDK * change to lowercase * apply updated SDK * remove unused cmdlet, change LinkedResourceId to mandatory * add test cases for private-link-scope * update test case * add AutoMapper back * apply SDK back * apply SDK back * add microsoft.insights/privatelinkscopes as provider for private link resource * cmdlets from Az.Network in Az.Monitor test cases won't work, try add Network SDK as dependency * add network management client in test controller * add new generated SDK * typo * use new generated SDK * typo * upgrade SDK version * generate help markdown files for private link scope * remove test nupkg * fix test * add recorded test * fix bad help * update changelog.md * try upgrade monitor sdk reference in sql.Test.csproj * fix test case * add operational insights to monitor.sln * typo * add network into monitor.sln * add management clients also in playback mode * test fix * update record json * suppress breaking change issues * rename privatelinkscopescopedresource to privatelinkscopedresource * record test * polish changelog.md * hide private endpoint connection from private link scope Co-authored-by: aygoya Co-authored-by: Yeming Liu Co-authored-by: Jason Gilbertson Co-authored-by: Filiz Topatan Co-authored-by: msJinLei Co-authored-by: Dingmeng Xue <56333063+dingmeng-xue@users.noreply.github.com> Co-authored-by: Hans De Mulder Co-authored-by: Anthony Martin Co-authored-by: Sudhindra Kovalam Co-authored-by: Chris Eggert Co-authored-by: Damien Caro Co-authored-by: Yeming Liu Co-authored-by: Nilambari Co-authored-by: Nilambari Co-authored-by: Amol Agarwal Co-authored-by: Amol Agarwal <57109831+amolagar5@users.noreply.github.com> Co-authored-by: Yunchi Wang <54880216+wyunchi-ms@users.noreply.github.com> Co-authored-by: MSSedusch Co-authored-by: ayfathim Co-authored-by: Xiaogang Ding Co-authored-by: bashahee Co-authored-by: Teng Lu Co-authored-by: shahbj79 Co-authored-by: Bhavin Shah Co-authored-by: dixue@microsoft.com Co-authored-by: Peter Lorenzen Co-authored-by: Ikko Ashimine Co-authored-by: erich-wang Co-authored-by: Anton Evseev Co-authored-by: Thomas Thornton Co-authored-by: gkostal Co-authored-by: Hyonho Lee Co-authored-by: Meha Kaushik Co-authored-by: Rahul Dutta Co-authored-by: Meha Kaushik Co-authored-by: Vidyadhari Jami Co-authored-by: wyunchi-ms Co-authored-by: bashahee <32364196+bashahee@users.noreply.github.com> Co-authored-by: lijzha Co-authored-by: Jin Lei <54836179+msJinLei@users.noreply.github.com> Co-authored-by: Zhenyu Zhou Co-authored-by: sambitratha Co-authored-by: Sambit Rath Co-authored-by: erwinkramer Co-authored-by: Yeming Liu --- src/Monitor/Monitor.Test/Monitor.Test.csproj | 4 +- .../Monitor.Test/ScenarioTests/Common.ps1 | 31 + .../ScenarioTests/PrivateLinkScopeTests.cs | 46 + .../ScenarioTests/PrivateLinkScopeTests.ps1 | 198 + .../ScenarioTests/TestsController.cs | 53 +- .../TestPrivateLinkScopeCRUD.json | 3620 +++++++++++++++++ .../TestPrivateLinkScopedResourceCRUD.json | 2203 ++++++++++ src/Monitor/Monitor.sln | 12 + .../AddAzureRmMetricAlertRuleV2Command.cs | 2 +- src/Monitor/Monitor/Az.Monitor.psd1 | 11 +- src/Monitor/Monitor/ChangeLog.md | 8 + src/Monitor/Monitor/Monitor.csproj | 3 +- .../OutputClasses/PSMetricAlertRuleV2.cs | 2 +- .../PSMonitorPrivateLinkScope.cs | 76 + .../PSMonitorPrivateLinkScopedResource.cs | 61 + .../PSPrivateEndpointConnection.cs | 97 + .../PSPrivateEndpointProperty.cs | 40 + ...ivateLinkServiceConnectionStateProperty.cs | 79 + ...rivateLinkScopeCreateOrUpdateCmdletBase.cs | 84 + ...kScopedResourceCreateOrUpdateCmdletBase.cs | 87 + .../GetAzureInsightsPrivateLinkScope.cs | 102 + ...tAzureInsightsPrivateLinkScopedResource.cs | 113 + .../NewAzureInsightsPrivateLinkScope.cs | 74 + ...wAzureInsightsPrivateLinkScopedResource.cs | 65 + .../RemoveAzureInsightsPrivateLinkScope.cs | 91 + ...eAzureInsightsPrivateLinkScopedResource.cs | 104 + .../UpdateAzureInsightsPrivateLinkScope.cs | 78 + src/Monitor/Monitor/Utils/PSMapper.cs | 40 + .../help/Get-AzInsightsPrivateLinkScope.md | 139 + ...Get-AzInsightsPrivateLinkScopedResource.md | 157 + .../help/New-AzInsightsPrivateLinkScope.md | 153 + ...New-AzInsightsPrivateLinkScopedResource.md | 181 + .../help/Remove-AzInsightsPrivateLinkScope.md | 182 + ...ove-AzInsightsPrivateLinkScopedResource.md | 183 + .../help/Update-AzInsightsPrivateLinkScope.md | 197 + src/Sql/Sql.Test/Sql.Test.csproj | 2 +- .../Az.Monitor/BreakingChangeIssues.csv | 5 +- 37 files changed, 8569 insertions(+), 14 deletions(-) create mode 100644 src/Monitor/Monitor.Test/ScenarioTests/PrivateLinkScopeTests.cs create mode 100644 src/Monitor/Monitor.Test/ScenarioTests/PrivateLinkScopeTests.ps1 create mode 100644 src/Monitor/Monitor.Test/SessionRecords/Microsoft.Azure.Commands.Insights.Test.ScenarioTests.PrivateLinkScopeTests/TestPrivateLinkScopeCRUD.json create mode 100644 src/Monitor/Monitor.Test/SessionRecords/Microsoft.Azure.Commands.Insights.Test.ScenarioTests.PrivateLinkScopeTests/TestPrivateLinkScopedResourceCRUD.json create mode 100644 src/Monitor/Monitor/OutputClasses/PSMonitorPrivateLinkScope.cs create mode 100644 src/Monitor/Monitor/OutputClasses/PSMonitorPrivateLinkScopedResource.cs create mode 100644 src/Monitor/Monitor/OutputClasses/PSPrivateEndpointConnection.cs create mode 100644 src/Monitor/Monitor/OutputClasses/PSPrivateEndpointProperty.cs create mode 100644 src/Monitor/Monitor/OutputClasses/PSPrivateLinkServiceConnectionStateProperty.cs create mode 100644 src/Monitor/Monitor/PrivateLinkScopes/AzureInsightsPrivateLinkScopeCreateOrUpdateCmdletBase.cs create mode 100644 src/Monitor/Monitor/PrivateLinkScopes/AzureInsightsPrivateLinkScopedResourceCreateOrUpdateCmdletBase.cs create mode 100644 src/Monitor/Monitor/PrivateLinkScopes/GetAzureInsightsPrivateLinkScope.cs create mode 100644 src/Monitor/Monitor/PrivateLinkScopes/GetAzureInsightsPrivateLinkScopedResource.cs create mode 100644 src/Monitor/Monitor/PrivateLinkScopes/NewAzureInsightsPrivateLinkScope.cs create mode 100644 src/Monitor/Monitor/PrivateLinkScopes/NewAzureInsightsPrivateLinkScopedResource.cs create mode 100644 src/Monitor/Monitor/PrivateLinkScopes/RemoveAzureInsightsPrivateLinkScope.cs create mode 100644 src/Monitor/Monitor/PrivateLinkScopes/RemoveAzureInsightsPrivateLinkScopedResource.cs create mode 100644 src/Monitor/Monitor/PrivateLinkScopes/UpdateAzureInsightsPrivateLinkScope.cs create mode 100644 src/Monitor/Monitor/Utils/PSMapper.cs create mode 100644 src/Monitor/Monitor/help/Get-AzInsightsPrivateLinkScope.md create mode 100644 src/Monitor/Monitor/help/Get-AzInsightsPrivateLinkScopedResource.md create mode 100644 src/Monitor/Monitor/help/New-AzInsightsPrivateLinkScope.md create mode 100644 src/Monitor/Monitor/help/New-AzInsightsPrivateLinkScopedResource.md create mode 100644 src/Monitor/Monitor/help/Remove-AzInsightsPrivateLinkScope.md create mode 100644 src/Monitor/Monitor/help/Remove-AzInsightsPrivateLinkScopedResource.md create mode 100644 src/Monitor/Monitor/help/Update-AzInsightsPrivateLinkScope.md diff --git a/src/Monitor/Monitor.Test/Monitor.Test.csproj b/src/Monitor/Monitor.Test/Monitor.Test.csproj index d1f39f96fd9a..6d68926fdd7a 100644 --- a/src/Monitor/Monitor.Test/Monitor.Test.csproj +++ b/src/Monitor/Monitor.Test/Monitor.Test.csproj @@ -11,8 +11,10 @@ - + + + diff --git a/src/Monitor/Monitor.Test/ScenarioTests/Common.ps1 b/src/Monitor/Monitor.Test/ScenarioTests/Common.ps1 index 1e5511ccee2d..456bffc28e97 100644 --- a/src/Monitor/Monitor.Test/ScenarioTests/Common.ps1 +++ b/src/Monitor/Monitor.Test/ScenarioTests/Common.ps1 @@ -77,4 +77,35 @@ function Clean-ResourceGroup($rgname) if ([Microsoft.Azure.Test.HttpRecorder.HttpMockServer]::Mode -ne [Microsoft.Azure.Test.HttpRecorder.HttpRecorderMode]::Playback) { Remove-AzResourceGroup -Name $rgname -Force } +} + +<# +.SYNOPSIS +Sleeps but only during recording. +#> +function Start-TestSleep($milliseconds) +{ + if ((Get-MonitorTestMode) -ne 'Playback') + { + Start-Sleep -Milliseconds $milliseconds + } +} + +<# +.SYNOPSIS +Gets test mode - 'Record' or 'Playback' +#> +function Get-MonitorTestMode { + try { + $testMode = [Microsoft.Azure.Test.HttpRecorder.HttpMockServer]::Mode; + $testMode = $testMode.ToString(); + } catch { + if ($PSItem.Exception.Message -like '*Unable to find type*') { + $testMode = 'Record'; + } else { + throw; + } + } + + return $testMode } \ No newline at end of file diff --git a/src/Monitor/Monitor.Test/ScenarioTests/PrivateLinkScopeTests.cs b/src/Monitor/Monitor.Test/ScenarioTests/PrivateLinkScopeTests.cs new file mode 100644 index 000000000000..3d26bf68bd6d --- /dev/null +++ b/src/Monitor/Monitor.Test/ScenarioTests/PrivateLinkScopeTests.cs @@ -0,0 +1,46 @@ +// ---------------------------------------------------------------------------------- +// +// 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.ServiceManagement.Common.Models; +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; +using Xunit; + +namespace Microsoft.Azure.Commands.Insights.Test.ScenarioTests +{ + public class PrivateLinkScopeTests : RMTestBase + { + public XunitTracingInterceptor _logger; + + public PrivateLinkScopeTests(Xunit.Abstractions.ITestOutputHelper output) + { + _logger = new XunitTracingInterceptor(output); + XunitTracingInterceptor.AddToContext(_logger); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestPrivateLinkScopeCRUD() + { + TestsController.NewInstance.RunPsTest(_logger, "Test-PrivateLinkScopeCRUD"); + } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestPrivateLinkScopedResourceCRUD() + { + TestsController.NewInstance.RunPsTest(_logger, "Test-PrivateLinkScopedResourceCRUD"); + } + } +} diff --git a/src/Monitor/Monitor.Test/ScenarioTests/PrivateLinkScopeTests.ps1 b/src/Monitor/Monitor.Test/ScenarioTests/PrivateLinkScopeTests.ps1 new file mode 100644 index 000000000000..508d470e6c66 --- /dev/null +++ b/src/Monitor/Monitor.Test/ScenarioTests/PrivateLinkScopeTests.ps1 @@ -0,0 +1,198 @@ +# ---------------------------------------------------------------------------------- +# +# 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. +# ---------------------------------------------------------------------------------- + +function Test-PrivateLinkScopeCRUD +{ + # setup + $rg_name = Get-ResourceGroupName + + $scope_name1 = Get-ResourceName + $scope_name2 = Get-ResourceName + $scope_name3 = Get-ResourceName + + $config_name = Get-ResourceName + $vnet_name = Get-ResourceName + $connection_name = Get-ResourceName + $endpoint_name = Get-ResourceName + + $key1 = "key1" + $key2 = "key2" + $key3 = "key3" + + $val1 = "val1" + $val2 = "val2" + $val3 = "val3" + + $tag1 = $key1+":"+$val1 + $tag2 = $key2+":"+$val2 + $tag3 = $key3+":"+$val3 + + try + { + #create resource group + New-AzResourceGroup -Name $rg_name -Location "westus" + + #create private link scope + New-AzInsightsPrivateLinkScope -ResourceGroupName $rg_name -Name $scope_name1 -Location "global" + New-AzInsightsPrivateLinkScope -ResourceGroupName $rg_name -Name $scope_name2 -Location "global" + New-AzInsightsPrivateLinkScope -ResourceGroupName $rg_name -Name $scope_name3 -Location "global" + + #get private link scope + $scope1 = Get-AzInsightsPrivateLinkScope -ResourceGroupName $rg_name -Name $scope_name1 + $scope2 = Get-AzInsightsPrivateLinkScope -ResourceGroupName $rg_name -Name $scope_name2 + $scope3 = Get-AzInsightsPrivateLinkScope -ResourceGroupName $rg_name -Name $scope_name3 + + Assert-NotNull $scope1 + Assert-NotNull $scope2 + Assert-NotNull $scope3 + + Assert-AreEqual $scope_name1 $scope1.Name + Assert-AreEqual $scope_name2 $scope2.Name + Assert-AreEqual $scope_name3 $scope3.Name + + Assert-AreEqual "Succeeded" $scope1.ProvisioningState + Assert-AreEqual "Succeeded" $scope2.ProvisioningState + Assert-AreEqual "Succeeded" $scope3.ProvisioningState + + #update private link scope + $scope1 = Update-AzInsightsPrivateLinkScope -ResourceGroupName $rg_name -Name $scope_name1 -Tags $tag1 + $scope2 = Update-AzInsightsPrivateLinkScope -ResourceId $scope2.Id -Tags $tag2 + $scope3 = $scope3 | Update-AzInsightsPrivateLinkScope -Tags $tag3 + + $valout1 = "abracadabra" + $valout2 = "abracadabra" + $valout3 = "abracadabra" + + $scope1.Tags.TryGetValue($key1, [ref]$valout1) + $scope2.Tags.TryGetValue($key2, [ref]$valout2) + $scope3.Tags.TryGetValue($key3, [ref]$valout3) + + Assert-AreEqual $val1 $valout1 + Assert-AreEqual $val2 $valout2 + Assert-AreEqual $val3 $valout3 + + #get/list private-link-resource + $private_link_resource = Get-AzPrivateLinkResource -PrivateLinkResourceId $scope1.Id + + Assert-NotNull $private_link_resource + Assert-AreEqual 'azuremonitor' $private_link_resource[0].GroupId + + #create private endpoint connection + $subnetConfig = New-AzVirtualNetworkSubnetConfig -Name $config_name -AddressPrefix "11.0.1.0/24" -PrivateEndpointNetworkPolicies "Disabled" + New-AzVirtualNetwork -ResourceGroupName $rg_name -Name $vnet_name -Location "eastus2euap" -AddressPrefix "11.0.0.0/16" -Subnet $subnetConfig + $vnet=Get-AzVirtualNetwork -Name $vnet_name -ResourceGroupName $rg_name + $plsConnection = New-AzPrivateLinkServiceConnection -Name $connection_name -PrivateLinkServiceId $scope1.Id -GroupId $private_link_resource[0].GroupId + New-AzPrivateEndpoint -ResourceGroupName $rg_name -Name $endpoint_name -Location "eastus2euap" -Subnet $vnet.subnets[0] -PrivateLinkServiceConnection $plsConnection -ByManualRequest + + $connection = Get-AzPrivateEndpointConnection -PrivateLinkResourceId $scope1.Id + + Assert-NotNull $connection + Assert-AreEqual "Pending" $connection.PrivateLinkServiceConnectionState.Status + + $connectionApprove = Approve-AzPrivateEndpointConnection -ResourceId $connection.Id + Assert-NotNull $connectionApprove; + Assert-AreEqual "Approved" $connectionApprove.PrivateLinkServiceConnectionState.Status + + Start-TestSleep 20000 + + $connectionRemove = Remove-AzPrivateEndpointConnection -ResourceId $connection.Id -PassThru -Force + Assert-AreEqual true $connectionRemove + + Start-TestSleep 15000 + + $connection2 = Get-AzPrivateEndpointConnection -PrivateLinkResourceId $scope1.Id + Assert-Null $connection2 + + #delete private link scope + $delete1 = Remove-AzInsightsPrivateLinkScope -ResourceGroupName $rg_name -Name $scope_name1 + $delete2 = Remove-AzInsightsPrivateLinkScope -ResourceId $scope2.Id + $delete3 = $scope3 | Remove-AzInsightsPrivateLinkScope + + Assert-AreEqual true $delete1 + Assert-AreEqual true $delete2 + Assert-AreEqual true $delete3 + } + catch + { + throw $_; + } + finally + { + # Cleanup + Clean-ResourceGroup $rg_name; + } +} + +function Test-PrivateLinkScopedResourceCRUD +{ + # setup + $rg_name = Get-ResourceGroupName + + $scope_name1 = Get-ResourceName + $scope_name2 = Get-ResourceName + + $la_name = Get-ResourceName + $ai_name = Get-ResourceName + + $scoped_resource_name1 = Get-ResourceName + $scoped_resource_name2 = Get-ResourceName + + try + { + #create resource group + New-AzResourceGroup -Name $rg_name -Location "westus" + + #create private link scope + New-AzInsightsPrivateLinkScope -ResourceGroupName $rg_name -Name $scope_name1 -Location "global" + New-AzInsightsPrivateLinkScope -ResourceGroupName $rg_name -Name $scope_name2 -Location "global" + + #create LA workspace + $la = New-AzOperationalInsightsWorkspace -ResourceGroupName $rg_name -Name $la_name -Location "eastus" + + #create AI component + $ai = New-AzApplicationInsights -ResourceGroupName $rg_name -Name $ai_name -Location "eastus" + + #create scoped resource for AI/LA + New-AzInsightsPrivateLinkScopedResource -LinkedResourceId $ai.Id -ResourceGroupName $rg_name -ScopeName $scope_name1 -Name $scoped_resource_name1 + New-AzInsightsPrivateLinkScopedResource -LinkedResourceId $la.ResourceId -ResourceGroupName $rg_name -ScopeName $scope_name2 -Name $scoped_resource_name2 + + #get scoped resource + $scoped_resource1 = Get-AzInsightsPrivateLinkScopedResource -ResourceGroupName $rg_name -ScopeName $scope_name1 -Name $scoped_resource_name1 + $scoped_resource2 = Get-AzInsightsPrivateLinkScopedResource -ResourceGroupName $rg_name -ScopeName $scope_name2 -Name $scoped_resource_name2 + + Assert-NotNull $scoped_resource1 + Assert-NotNull $scoped_resource2 + Assert-AreEqual $ai.Id $scoped_resource1.LinkedResourceId + Assert-AreEqual $la.ResourceId $scoped_resource2.LinkedResourceId + + #delete scoped resource + $delete1 = Remove-AzInsightsPrivateLinkScopedResource -ResourceGroupName $rg_name -ScopeName $scope_name1 -Name $scoped_resource_name1 + $delete2 = Remove-AzInsightsPrivateLinkScopedResource -ResourceGroupName $rg_name -ScopeName $scope_name2 -Name $scoped_resource_name2 + + Assert-AreEqual true $delete1 + Assert-AreEqual true $delete2 + + Remove-AzInsightsPrivateLinkScope -ResourceGroupName $rg_name -Name $scope_name1 + Remove-AzInsightsPrivateLinkScope -ResourceGroupName $rg_name -Name $scope_name2 + } + catch + { + throw $_ + } + finally + { + # Cleanup + Clean-ResourceGroup $rg_name; + } +} \ No newline at end of file diff --git a/src/Monitor/Monitor.Test/ScenarioTests/TestsController.cs b/src/Monitor/Monitor.Test/ScenarioTests/TestsController.cs index 66225e1fd8df..227227c769d0 100644 --- a/src/Monitor/Monitor.Test/ScenarioTests/TestsController.cs +++ b/src/Monitor/Monitor.Test/ScenarioTests/TestsController.cs @@ -17,6 +17,8 @@ using Microsoft.Azure.Management.Monitor; using Microsoft.Azure.Management.Storage.Version2017_10_01; using Microsoft.Azure.Management.ApplicationInsights.Management; +using Microsoft.Azure.Management.Network; +using Microsoft.Azure.Management.OperationalInsights; using Microsoft.Azure.Test.HttpRecorder; using Microsoft.WindowsAzure.Commands.ScenarioTest; using Microsoft.WindowsAzure.Commands.Test.Utilities.Common; @@ -26,6 +28,7 @@ using System.IO; using System.Linq; using RestTestFramework = Microsoft.Rest.ClientRuntime.Azure.TestFramework; +using Microsoft.Azure.Internal.Common; namespace Microsoft.Azure.Commands.Insights.Test.ScenarioTests { @@ -41,6 +44,12 @@ public sealed class TestsController : RMTestBase public ApplicationInsightsManagementClient ApplicationInsightsClient { get; private set; } + public NetworkManagementClient NetworkManagementClient { get; private set; } + + public AzureRestClient AzureRestClient { get; private set; } + + public OperationalInsightsManagementClient OperationalInsightsManagementClient { get; private set; } + public static TestsController NewInstance => new TestsController(); public TestsController() @@ -96,7 +105,9 @@ public void RunPsTestWorkflow( "ScenarioTests\\" + callingClassName + ".ps1", "AzureRM.Storage.ps1", "AzureRM.Resources.ps1", - _helper.GetRMModulePath("AzureRM.ApplicationInsights.psd1")); + _helper.GetRMModulePath("AzureRM.ApplicationInsights.psd1"), + _helper.GetRMModulePath("AzureRM.OperationalInsights.psd1"), + _helper.GetRMModulePath("AzureRM.Network.psd1")); try { @@ -126,23 +137,32 @@ private void SetupManagementClients(RestTestFramework.MockContext context) string subId = Environment.GetEnvironmentVariable("TEST_CSM_ORGID_AUTHENTICATION"); RestTestFramework.TestEnvironment environment = new RestTestFramework.TestEnvironment(connectionString: subId); this.MonitorManagementClient = this.GetInsightsManagementClient(context: context, env: environment); - ResourceManagementClient = this.GetResourceManagementClient(context: context, env: environment); - StorageManagementClient = this.GetStorageManagementClient(context: context, env: environment); - ApplicationInsightsClient = this.GetApplicationInsightsManagementClient(context: context, env: environment); + this.ResourceManagementClient = this.GetResourceManagementClient(context: context, env: environment); + this.StorageManagementClient = this.GetStorageManagementClient(context: context, env: environment); + this.ApplicationInsightsClient = this.GetApplicationInsightsManagementClient(context: context, env: environment); + this.NetworkManagementClient = this.GetNetworkManagementClient(context: context, env: environment); + this.AzureRestClient = this.GetAzureRestClient(context: context, env: environment); + this.OperationalInsightsManagementClient = GetOperationalInsightsManagementClient(context: context, env: environment); } else if (HttpMockServer.Mode == HttpRecorderMode.Playback) { this.MonitorManagementClient = this.GetInsightsManagementClient(context: context, env: null); ResourceManagementClient = this.GetResourceManagementClient(context: context, env: null); StorageManagementClient = this.GetStorageManagementClient(context: context, env: null); - ApplicationInsightsClient = GetApplicationInsightsManagementClient(context, env:null); + this.ApplicationInsightsClient = this.GetApplicationInsightsManagementClient(context: context, env: null); + this.NetworkManagementClient = this.GetNetworkManagementClient(context: context, env: null); + this.AzureRestClient = this.GetAzureRestClient(context: context, env: null); + this.OperationalInsightsManagementClient = GetOperationalInsightsManagementClient(context: context, env: null); } _helper.SetupManagementClients( ResourceManagementClient, this.MonitorManagementClient, StorageManagementClient, - this.ApplicationInsightsClient); + this.ApplicationInsightsClient, + this.NetworkManagementClient, + this.AzureRestClient, + this.OperationalInsightsManagementClient); } private ResourceManagementClient GetResourceManagementClient(RestTestFramework.MockContext context, RestTestFramework.TestEnvironment env) @@ -172,5 +192,26 @@ private ApplicationInsightsManagementClient GetApplicationInsightsManagementClie ? context.GetServiceClient(currentEnvironment: env) : context.GetServiceClient(); } + + private NetworkManagementClient GetNetworkManagementClient(RestTestFramework.MockContext context, RestTestFramework.TestEnvironment env) + { + return env != null + ? context.GetServiceClient(currentEnvironment: env) + : context.GetServiceClient(); + } + + private AzureRestClient GetAzureRestClient(RestTestFramework.MockContext context, RestTestFramework.TestEnvironment env) + { + return env != null + ? context.GetServiceClient(currentEnvironment: env) + : context.GetServiceClient(); + } + + private OperationalInsightsManagementClient GetOperationalInsightsManagementClient(RestTestFramework.MockContext context, RestTestFramework.TestEnvironment env) + { + return env != null + ? context.GetServiceClient(currentEnvironment: env) + : context.GetServiceClient(); + } } } diff --git a/src/Monitor/Monitor.Test/SessionRecords/Microsoft.Azure.Commands.Insights.Test.ScenarioTests.PrivateLinkScopeTests/TestPrivateLinkScopeCRUD.json b/src/Monitor/Monitor.Test/SessionRecords/Microsoft.Azure.Commands.Insights.Test.ScenarioTests.PrivateLinkScopeTests/TestPrivateLinkScopeCRUD.json new file mode 100644 index 000000000000..f7d48017d8e8 --- /dev/null +++ b/src/Monitor/Monitor.Test/SessionRecords/Microsoft.Azure.Commands.Insights.Test.ScenarioTests.PrivateLinkScopeTests/TestPrivateLinkScopeCRUD.json @@ -0,0 +1,3620 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourcegroups/ps6054?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlZ3JvdXBzL3BzNjA1ND9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f5f4191c-3528-4202-9b3e-9f0b2f5206a7" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-request-id": [ + "e8d6de25-1f2c-494a-9126-9b1bdeebada4" + ], + "x-ms-correlation-request-id": [ + "e8d6de25-1f2c-494a-9126-9b1bdeebada4" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065647Z:e8d6de25-1f2c-494a-9126-9b1bdeebada4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 06:56:46 GMT" + ], + "Content-Length": [ + "165" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054\",\r\n \"name\": \"ps6054\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privateLinkScopes/ps5901?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzNjA1NC9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzNTkwMT9hcGktdmVyc2lvbj0yMDE5LTEwLTE3LXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4f36c845-5ede-430f-a462-5397341b8492" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Monitor.MonitorManagementClient/0.25.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "67d23afb-ec7d-4dc9-85e0-890f384a0043" + ], + "x-ms-correlation-request-id": [ + "67d23afb-ec7d-4dc9-85e0-890f384a0043" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065648Z:67d23afb-ec7d-4dc9-85e0-890f384a0043" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 06:56:48 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "153" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'microsoft.insights/privateLinkScopes/ps5901' under resource group 'ps6054' was not found.\"\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privateLinkScopes/ps5901?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzNjA1NC9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzNTkwMT9hcGktdmVyc2lvbj0yMDE5LTEwLTE3LXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "cf670ec9-f6f5-44f9-b624-00a5542a7552" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Monitor.MonitorManagementClient/0.25.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:7f83c1fe-8c94-4d55-9337-4ddc696f61ed" + ], + "Access-Control-Expose-Headers": [ + "Request-Context" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "e6acdf0c-d204-4be6-9b46-47ec347d188c" + ], + "x-ms-correlation-request-id": [ + "e6acdf0c-d204-4be6-9b46-47ec347d188c" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065701Z:e6acdf0c-d204-4be6-9b46-47ec347d188c" + ], + "Date": [ + "Mon, 13 Apr 2020 06:57:01 GMT" + ], + "Content-Length": [ + "775" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privatelinkscopes/ps5901\",\r\n \"name\": \"ps5901\",\r\n \"type\": \"microsoft.insights/privatelinkscopes\",\r\n \"location\": \"global\",\r\n \"tags\": {},\r\n \"kind\": null,\r\n \"etag\": \"\\\"80001b11-0000-0100-0000-5e940d350000\\\"\",\r\n \"systemData\": {\r\n \"createdBy\": \"0d62ea6c-21ea-434a-a296-f07574e03eee\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-04-13T06:56:52.3428142Z\",\r\n \"lastModifiedBy\": \"0d62ea6c-21ea-434a-a296-f07574e03eee\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-04-13T06:56:52.3428142Z\"\r\n },\r\n \"properties\": {\r\n \"scopeId\": \"00a9714d-0daf-4316-82a9-8ebf3b1a4b27\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privateLinkScopes/ps5901?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzNjA1NC9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzNTkwMT9hcGktdmVyc2lvbj0yMDE5LTEwLTE3LXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"global\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "03bbc8c0-ad47-4e1b-8014-e56b7cd31a54" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Monitor.MonitorManagementClient/0.25.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:7f83c1fe-8c94-4d55-9337-4ddc696f61ed" + ], + "Access-Control-Expose-Headers": [ + "Request-Context" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-request-id": [ + "6dcc14e6-5fe1-4a1b-b504-f97c85d12a13" + ], + "x-ms-correlation-request-id": [ + "6dcc14e6-5fe1-4a1b-b504-f97c85d12a13" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065654Z:6dcc14e6-5fe1-4a1b-b504-f97c85d12a13" + ], + "Date": [ + "Mon, 13 Apr 2020 06:56:54 GMT" + ], + "Content-Length": [ + "814" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privatelinkscopes/ps5901\",\r\n \"name\": \"ps5901\",\r\n \"type\": \"microsoft.insights/privatelinkscopes\",\r\n \"location\": \"global\",\r\n \"tags\": {},\r\n \"kind\": null,\r\n \"etag\": \"\\\"80001b11-0000-0100-0000-5e940d350000\\\"\",\r\n \"systemData\": {\r\n \"createdBy\": \"0d62ea6c-21ea-434a-a296-f07574e03eee\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-04-13T06:56:52.3428142Z\",\r\n \"lastModifiedBy\": \"0d62ea6c-21ea-434a-a296-f07574e03eee\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-04-13T06:56:52.3428142Z\"\r\n },\r\n \"properties\": {\r\n \"scopeId\": \"00a9714d-0daf-4316-82a9-8ebf3b1a4b27\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateEndpointConnections\": []\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privateLinkScopes/ps2093?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzNjA1NC9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzMjA5Mz9hcGktdmVyc2lvbj0yMDE5LTEwLTE3LXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "54e8287c-479b-44c6-8768-6979619030f0" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Monitor.MonitorManagementClient/0.25.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "38e6b1ca-7c6d-4e28-8fac-b479c3e36312" + ], + "x-ms-correlation-request-id": [ + "38e6b1ca-7c6d-4e28-8fac-b479c3e36312" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065655Z:38e6b1ca-7c6d-4e28-8fac-b479c3e36312" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 06:56:55 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "153" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'microsoft.insights/privateLinkScopes/ps2093' under resource group 'ps6054' was not found.\"\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privateLinkScopes/ps2093?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzNjA1NC9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzMjA5Mz9hcGktdmVyc2lvbj0yMDE5LTEwLTE3LXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d3913555-2c3c-44e7-9d65-d33d7a86620c" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Monitor.MonitorManagementClient/0.25.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:7f83c1fe-8c94-4d55-9337-4ddc696f61ed" + ], + "Access-Control-Expose-Headers": [ + "Request-Context" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-request-id": [ + "2a1bb5af-ff5f-4548-bff2-8145216bd2bd" + ], + "x-ms-correlation-request-id": [ + "2a1bb5af-ff5f-4548-bff2-8145216bd2bd" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065701Z:2a1bb5af-ff5f-4548-bff2-8145216bd2bd" + ], + "Date": [ + "Mon, 13 Apr 2020 06:57:01 GMT" + ], + "Content-Length": [ + "775" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privatelinkscopes/ps2093\",\r\n \"name\": \"ps2093\",\r\n \"type\": \"microsoft.insights/privatelinkscopes\",\r\n \"location\": \"global\",\r\n \"tags\": {},\r\n \"kind\": null,\r\n \"etag\": \"\\\"80001c11-0000-0100-0000-5e940d390000\\\"\",\r\n \"systemData\": {\r\n \"createdBy\": \"0d62ea6c-21ea-434a-a296-f07574e03eee\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-04-13T06:56:57.2786795Z\",\r\n \"lastModifiedBy\": \"0d62ea6c-21ea-434a-a296-f07574e03eee\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-04-13T06:56:57.2786795Z\"\r\n },\r\n \"properties\": {\r\n \"scopeId\": \"e7473e5c-299e-44ff-aefa-fc548ba7a042\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privateLinkScopes/ps2093?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzNjA1NC9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzMjA5Mz9hcGktdmVyc2lvbj0yMDE5LTEwLTE3LXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"global\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5a8bda73-1584-4803-9e6d-3bc653407189" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Monitor.MonitorManagementClient/0.25.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:7f83c1fe-8c94-4d55-9337-4ddc696f61ed" + ], + "Access-Control-Expose-Headers": [ + "Request-Context" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-request-id": [ + "061db749-9d6c-4836-a0bc-fa5c869fc61d" + ], + "x-ms-correlation-request-id": [ + "061db749-9d6c-4836-a0bc-fa5c869fc61d" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065658Z:061db749-9d6c-4836-a0bc-fa5c869fc61d" + ], + "Date": [ + "Mon, 13 Apr 2020 06:56:58 GMT" + ], + "Content-Length": [ + "814" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privatelinkscopes/ps2093\",\r\n \"name\": \"ps2093\",\r\n \"type\": \"microsoft.insights/privatelinkscopes\",\r\n \"location\": \"global\",\r\n \"tags\": {},\r\n \"kind\": null,\r\n \"etag\": \"\\\"80001c11-0000-0100-0000-5e940d390000\\\"\",\r\n \"systemData\": {\r\n \"createdBy\": \"0d62ea6c-21ea-434a-a296-f07574e03eee\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-04-13T06:56:57.2786795Z\",\r\n \"lastModifiedBy\": \"0d62ea6c-21ea-434a-a296-f07574e03eee\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-04-13T06:56:57.2786795Z\"\r\n },\r\n \"properties\": {\r\n \"scopeId\": \"e7473e5c-299e-44ff-aefa-fc548ba7a042\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateEndpointConnections\": []\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privateLinkScopes/ps5143?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzNjA1NC9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzNTE0Mz9hcGktdmVyc2lvbj0yMDE5LTEwLTE3LXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0c06ffca-017c-4cb4-95cc-15843a2de14b" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Monitor.MonitorManagementClient/0.25.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "48b49b36-b538-46ca-a266-7eae820408dc" + ], + "x-ms-correlation-request-id": [ + "48b49b36-b538-46ca-a266-7eae820408dc" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065658Z:48b49b36-b538-46ca-a266-7eae820408dc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 06:56:58 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "153" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'microsoft.insights/privateLinkScopes/ps5143' under resource group 'ps6054' was not found.\"\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privateLinkScopes/ps5143?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzNjA1NC9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzNTE0Mz9hcGktdmVyc2lvbj0yMDE5LTEwLTE3LXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "83cee212-14a6-4f63-96b6-046221e3f93d" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Monitor.MonitorManagementClient/0.25.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:7f83c1fe-8c94-4d55-9337-4ddc696f61ed" + ], + "Access-Control-Expose-Headers": [ + "Request-Context" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-request-id": [ + "51339d16-2e7b-40ba-9d23-ba51b798ecae" + ], + "x-ms-correlation-request-id": [ + "51339d16-2e7b-40ba-9d23-ba51b798ecae" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065702Z:51339d16-2e7b-40ba-9d23-ba51b798ecae" + ], + "Date": [ + "Mon, 13 Apr 2020 06:57:01 GMT" + ], + "Content-Length": [ + "773" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privatelinkscopes/ps5143\",\r\n \"name\": \"ps5143\",\r\n \"type\": \"microsoft.insights/privatelinkscopes\",\r\n \"location\": \"global\",\r\n \"tags\": {},\r\n \"kind\": null,\r\n \"etag\": \"\\\"80001d11-0000-0100-0000-5e940d3c0000\\\"\",\r\n \"systemData\": {\r\n \"createdBy\": \"0d62ea6c-21ea-434a-a296-f07574e03eee\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-04-13T06:56:59.983676Z\",\r\n \"lastModifiedBy\": \"0d62ea6c-21ea-434a-a296-f07574e03eee\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-04-13T06:56:59.983676Z\"\r\n },\r\n \"properties\": {\r\n \"scopeId\": \"5f8e4e85-e75d-4fec-8056-1ab083ff0825\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privateLinkScopes/ps5143?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzNjA1NC9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzNTE0Mz9hcGktdmVyc2lvbj0yMDE5LTEwLTE3LXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"global\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9fa145bc-69b5-496b-be94-74ed22dc0024" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Monitor.MonitorManagementClient/0.25.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:7f83c1fe-8c94-4d55-9337-4ddc696f61ed" + ], + "Access-Control-Expose-Headers": [ + "Request-Context" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-request-id": [ + "594a7155-23a2-4a6c-a1da-77d6978634a8" + ], + "x-ms-correlation-request-id": [ + "594a7155-23a2-4a6c-a1da-77d6978634a8" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065701Z:594a7155-23a2-4a6c-a1da-77d6978634a8" + ], + "Date": [ + "Mon, 13 Apr 2020 06:57:00 GMT" + ], + "Content-Length": [ + "812" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privatelinkscopes/ps5143\",\r\n \"name\": \"ps5143\",\r\n \"type\": \"microsoft.insights/privatelinkscopes\",\r\n \"location\": \"global\",\r\n \"tags\": {},\r\n \"kind\": null,\r\n \"etag\": \"\\\"80001d11-0000-0100-0000-5e940d3c0000\\\"\",\r\n \"systemData\": {\r\n \"createdBy\": \"0d62ea6c-21ea-434a-a296-f07574e03eee\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-04-13T06:56:59.983676Z\",\r\n \"lastModifiedBy\": \"0d62ea6c-21ea-434a-a296-f07574e03eee\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-04-13T06:56:59.983676Z\"\r\n },\r\n \"properties\": {\r\n \"scopeId\": \"5f8e4e85-e75d-4fec-8056-1ab083ff0825\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateEndpointConnections\": []\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privateLinkScopes/ps5901?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzNjA1NC9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzNTkwMT9hcGktdmVyc2lvbj0yMDE5LTEwLTE3LXByZXZpZXc=", + "RequestMethod": "PATCH", + "RequestBody": "{\r\n \"tags\": {\r\n \"key1\": \"val1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "33fc6db8-0100-4306-9b5c-27cf12a11f17" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Monitor.MonitorManagementClient/0.25.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "42" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:7f83c1fe-8c94-4d55-9337-4ddc696f61ed" + ], + "Access-Control-Expose-Headers": [ + "Request-Context" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-request-id": [ + "94eeee20-73a5-4e5c-9cd0-175ab0da4450" + ], + "x-ms-correlation-request-id": [ + "94eeee20-73a5-4e5c-9cd0-175ab0da4450" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065703Z:94eeee20-73a5-4e5c-9cd0-175ab0da4450" + ], + "Date": [ + "Mon, 13 Apr 2020 06:57:03 GMT" + ], + "Content-Length": [ + "799" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privatelinkscopes/ps5901\",\r\n \"name\": \"ps5901\",\r\n \"type\": \"microsoft.insights/privatelinkscopes\",\r\n \"location\": \"global\",\r\n \"tags\": {\r\n \"key1\": \"val1\"\r\n },\r\n \"kind\": null,\r\n \"etag\": \"\\\"80001e11-0000-0100-0000-5e940d3e0000\\\"\",\r\n \"systemData\": {\r\n \"createdBy\": \"0d62ea6c-21ea-434a-a296-f07574e03eee\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-04-13T06:56:52.3428142Z\",\r\n \"lastModifiedBy\": \"0d62ea6c-21ea-434a-a296-f07574e03eee\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-04-13T06:57:02.5837069Z\"\r\n },\r\n \"properties\": {\r\n \"scopeId\": \"00a9714d-0daf-4316-82a9-8ebf3b1a4b27\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privateLinkScopes/ps2093?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzNjA1NC9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzMjA5Mz9hcGktdmVyc2lvbj0yMDE5LTEwLTE3LXByZXZpZXc=", + "RequestMethod": "PATCH", + "RequestBody": "{\r\n \"tags\": {\r\n \"key2\": \"val2\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "8249dcb5-6ad1-49c0-b7c6-ba6191ea9221" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Monitor.MonitorManagementClient/0.25.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "42" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:7f83c1fe-8c94-4d55-9337-4ddc696f61ed" + ], + "Access-Control-Expose-Headers": [ + "Request-Context" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-request-id": [ + "f940dce7-b443-445f-910b-9114fe297a03" + ], + "x-ms-correlation-request-id": [ + "f940dce7-b443-445f-910b-9114fe297a03" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065705Z:f940dce7-b443-445f-910b-9114fe297a03" + ], + "Date": [ + "Mon, 13 Apr 2020 06:57:04 GMT" + ], + "Content-Length": [ + "799" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privatelinkscopes/ps2093\",\r\n \"name\": \"ps2093\",\r\n \"type\": \"microsoft.insights/privatelinkscopes\",\r\n \"location\": \"global\",\r\n \"tags\": {\r\n \"key2\": \"val2\"\r\n },\r\n \"kind\": null,\r\n \"etag\": \"\\\"80001f11-0000-0100-0000-5e940d400000\\\"\",\r\n \"systemData\": {\r\n \"createdBy\": \"0d62ea6c-21ea-434a-a296-f07574e03eee\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-04-13T06:56:57.2786795Z\",\r\n \"lastModifiedBy\": \"0d62ea6c-21ea-434a-a296-f07574e03eee\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-04-13T06:57:04.1537262Z\"\r\n },\r\n \"properties\": {\r\n \"scopeId\": \"e7473e5c-299e-44ff-aefa-fc548ba7a042\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privateLinkScopes/ps5143?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzNjA1NC9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzNTE0Mz9hcGktdmVyc2lvbj0yMDE5LTEwLTE3LXByZXZpZXc=", + "RequestMethod": "PATCH", + "RequestBody": "{\r\n \"tags\": {\r\n \"key3\": \"val3\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "97abd990-0d04-40e3-9dc0-e38f36655ef0" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Monitor.MonitorManagementClient/0.25.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "42" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:7f83c1fe-8c94-4d55-9337-4ddc696f61ed" + ], + "Access-Control-Expose-Headers": [ + "Request-Context" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-request-id": [ + "c8db8e5b-615f-4af7-ab3a-6588da521c5a" + ], + "x-ms-correlation-request-id": [ + "c8db8e5b-615f-4af7-ab3a-6588da521c5a" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065706Z:c8db8e5b-615f-4af7-ab3a-6588da521c5a" + ], + "Date": [ + "Mon, 13 Apr 2020 06:57:06 GMT" + ], + "Content-Length": [ + "796" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privatelinkscopes/ps5143\",\r\n \"name\": \"ps5143\",\r\n \"type\": \"microsoft.insights/privatelinkscopes\",\r\n \"location\": \"global\",\r\n \"tags\": {\r\n \"key3\": \"val3\"\r\n },\r\n \"kind\": null,\r\n \"etag\": \"\\\"80002011-0000-0100-0000-5e940d410000\\\"\",\r\n \"systemData\": {\r\n \"createdBy\": \"0d62ea6c-21ea-434a-a296-f07574e03eee\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-04-13T06:56:59.983676Z\",\r\n \"lastModifiedBy\": \"0d62ea6c-21ea-434a-a296-f07574e03eee\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-04-13T06:57:05.76377Z\"\r\n },\r\n \"properties\": {\r\n \"scopeId\": \"5f8e4e85-e75d-4fec-8056-1ab083ff0825\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Insights/privateLinkScopes/ps5901/privateLinkResources?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzNjA1NC9wcm92aWRlcnMvTWljcm9zb2Z0Lkluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzNTkwMS9wcml2YXRlTGlua1Jlc291cmNlcz9hcGktdmVyc2lvbj0yMDE5LTEwLTE3LXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "760dd1cc-18b3-45ee-87b7-50300f00275c" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Internal.Common.AzureRestClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:7f83c1fe-8c94-4d55-9337-4ddc696f61ed" + ], + "Access-Control-Expose-Headers": [ + "Request-Context" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-request-id": [ + "d1e4bf4e-0515-4900-b7f9-10d4dedd6eff" + ], + "x-ms-correlation-request-id": [ + "d1e4bf4e-0515-4900-b7f9-10d4dedd6eff" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065707Z:d1e4bf4e-0515-4900-b7f9-10d4dedd6eff" + ], + "Date": [ + "Mon, 13 Apr 2020 06:57:07 GMT" + ], + "Content-Length": [ + "775" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privatelinkscopes/ps5901/privatelinkresources/azuremonitor\",\r\n \"name\": \"azuremonitor\",\r\n \"type\": \"microsoft.insights/privatelinkscopes/privatelinkresources\",\r\n \"properties\": {\r\n \"groupId\": \"azuremonitor\",\r\n \"requiredMembers\": [\r\n \"applicationinsights_ingestion\",\r\n \"api\",\r\n \"live\",\r\n \"profiler\",\r\n \"snapshot\"\r\n ],\r\n \"requiredZoneNames\": [\r\n \"monitor.azure.com\",\r\n \"oms.opinsights.azure.com\",\r\n \"ods.opinsights.azure.com\",\r\n \"agentsvc.azure-automation.net\"\r\n ]\r\n }\r\n }\r\n ],\r\n \"nextLink\": null\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Network/virtualNetworks/ps8953?api-version=2019-12-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzNjA1NC9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvdmlydHVhbE5ldHdvcmtzL3BzODk1Mz9hcGktdmVyc2lvbj0yMDE5LTEyLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c5025162-fe95-4d1d-8b62-83a84d495357" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Network.NetworkManagementClient/19.19.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "36175418-4cf2-4589-b14c-5d8da5fc6cb6" + ], + "x-ms-correlation-request-id": [ + "36175418-4cf2-4589-b14c-5d8da5fc6cb6" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065708Z:36175418-4cf2-4589-b14c-5d8da5fc6cb6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 06:57:07 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "150" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Network/virtualNetworks/ps8953' under resource group 'ps6054' was not found.\"\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Network/virtualNetworks/ps8953?api-version=2019-12-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzNjA1NC9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvdmlydHVhbE5ldHdvcmtzL3BzODk1Mz9hcGktdmVyc2lvbj0yMDE5LTEyLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Network.NetworkManagementClient/19.19.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"80a9c606-c528-4599-9e30-e9b5f8498526\"" + ], + "x-ms-request-id": [ + "3606d84e-aa5e-4e9d-8d07-a4914e8d61b1" + ], + "x-ms-correlation-request-id": [ + "1af20f35-f3b6-47c9-85e9-74a022435ff0" + ], + "x-ms-arm-service-request-id": [ + "bb153917-7955-4e5e-81b1-63b98e088b6a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11985" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065717Z:1af20f35-f3b6-47c9-85e9-74a022435ff0" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 06:57:17 GMT" + ], + "Content-Length": [ + "1274" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"ps8953\",\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Network/virtualNetworks/ps8953\",\r\n \"etag\": \"W/\\\"80a9c606-c528-4599-9e30-e9b5f8498526\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"c58bbc60-e7ae-4f7d-883c-1476fd15a481\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"11.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"ps1552\",\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Network/virtualNetworks/ps8953/subnets/ps1552\",\r\n \"etag\": \"W/\\\"80a9c606-c528-4599-9e30-e9b5f8498526\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"11.0.1.0/24\",\r\n \"serviceEndpoints\": [],\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\": false\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Network/virtualNetworks/ps8953?api-version=2019-12-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzNjA1NC9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvdmlydHVhbE5ldHdvcmtzL3BzODk1Mz9hcGktdmVyc2lvbj0yMDE5LTEyLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6a117ad9-f9a4-4ea8-92a4-7fd0ddbc65e0" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Network.NetworkManagementClient/19.19.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"80a9c606-c528-4599-9e30-e9b5f8498526\"" + ], + "x-ms-request-id": [ + "55a19e28-9120-4d32-8a94-7c29a05863a7" + ], + "x-ms-correlation-request-id": [ + "85f72c59-e344-4271-a5c6-569cb3f6f2ac" + ], + "x-ms-arm-service-request-id": [ + "d5612432-a8ce-4a50-8e49-a4963b2d0cdf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11984" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065718Z:85f72c59-e344-4271-a5c6-569cb3f6f2ac" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 06:57:17 GMT" + ], + "Content-Length": [ + "1274" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"ps8953\",\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Network/virtualNetworks/ps8953\",\r\n \"etag\": \"W/\\\"80a9c606-c528-4599-9e30-e9b5f8498526\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"c58bbc60-e7ae-4f7d-883c-1476fd15a481\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"11.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"ps1552\",\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Network/virtualNetworks/ps8953/subnets/ps1552\",\r\n \"etag\": \"W/\\\"80a9c606-c528-4599-9e30-e9b5f8498526\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"11.0.1.0/24\",\r\n \"serviceEndpoints\": [],\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\": false\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Network/virtualNetworks/ps8953?api-version=2019-12-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzNjA1NC9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvdmlydHVhbE5ldHdvcmtzL3BzODk1Mz9hcGktdmVyc2lvbj0yMDE5LTEyLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4a500cff-2596-4e49-9118-f99c2818ad61" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Network.NetworkManagementClient/19.19.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"80a9c606-c528-4599-9e30-e9b5f8498526\"" + ], + "x-ms-request-id": [ + "2fe31a32-619f-4528-b7a9-517c7eaa6c9b" + ], + "x-ms-correlation-request-id": [ + "7a6327f7-ebae-4fd1-8a9c-a2fb8faa6bd8" + ], + "x-ms-arm-service-request-id": [ + "2a1c6103-bb9a-4615-b28b-1bba14d9e8c9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11983" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065718Z:7a6327f7-ebae-4fd1-8a9c-a2fb8faa6bd8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 06:57:17 GMT" + ], + "Content-Length": [ + "1274" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"ps8953\",\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Network/virtualNetworks/ps8953\",\r\n \"etag\": \"W/\\\"80a9c606-c528-4599-9e30-e9b5f8498526\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"c58bbc60-e7ae-4f7d-883c-1476fd15a481\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"11.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"ps1552\",\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Network/virtualNetworks/ps8953/subnets/ps1552\",\r\n \"etag\": \"W/\\\"80a9c606-c528-4599-9e30-e9b5f8498526\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"11.0.1.0/24\",\r\n \"serviceEndpoints\": [],\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\": false\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Network/virtualNetworks/ps8953?api-version=2019-12-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzNjA1NC9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvdmlydHVhbE5ldHdvcmtzL3BzODk1Mz9hcGktdmVyc2lvbj0yMDE5LTEyLTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"11.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"properties\": {\r\n \"addressPrefix\": \"11.0.1.0/24\",\r\n \"addressPrefixes\": [],\r\n \"serviceEndpoints\": [],\r\n \"serviceEndpointPolicies\": [],\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"name\": \"ps1552\"\r\n }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n },\r\n \"location\": \"eastus2euap\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6efb00f7-e78d-4573-bbbc-2f9c424c3287" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Network.NetworkManagementClient/19.19.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "625" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "3" + ], + "x-ms-request-id": [ + "e081b241-71eb-46a8-9c43-66d2aeea5a80" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/providers/Microsoft.Network/locations/eastus2euap/operations/e081b241-71eb-46a8-9c43-66d2aeea5a80?api-version=2019-12-01" + ], + "x-ms-correlation-request-id": [ + "def0c996-8164-41ec-a95c-add6292cefde" + ], + "Azure-AsyncNotification": [ + "Enabled" + ], + "x-ms-arm-service-request-id": [ + "b85cedd3-1d69-4c18-88a4-688b4e9d9776" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065713Z:def0c996-8164-41ec-a95c-add6292cefde" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 06:57:12 GMT" + ], + "Content-Length": [ + "1272" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"ps8953\",\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Network/virtualNetworks/ps8953\",\r\n \"etag\": \"W/\\\"0ef6c6b2-1f57-46b0-9663-97b5479dd7fc\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"c58bbc60-e7ae-4f7d-883c-1476fd15a481\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"11.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"ps1552\",\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Network/virtualNetworks/ps8953/subnets/ps1552\",\r\n \"etag\": \"W/\\\"0ef6c6b2-1f57-46b0-9663-97b5479dd7fc\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"11.0.1.0/24\",\r\n \"serviceEndpoints\": [],\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\": false\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/providers/Microsoft.Network/locations/eastus2euap/operations/e081b241-71eb-46a8-9c43-66d2aeea5a80?api-version=2019-12-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9sb2NhdGlvbnMvZWFzdHVzMmV1YXAvb3BlcmF0aW9ucy9lMDgxYjI0MS03MWViLTQ2YTgtOWM0My02NmQyYWVlYTVhODA/YXBpLXZlcnNpb249MjAxOS0xMi0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Network.NetworkManagementClient/19.19.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "ac3f24bc-c009-4aa2-9922-704dc07de5f5" + ], + "x-ms-correlation-request-id": [ + "6627f61f-414b-42f0-9d58-ea57c3b640c8" + ], + "x-ms-arm-service-request-id": [ + "b7be322c-aec3-4025-baae-5e0561e6fa24" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065717Z:6627f61f-414b-42f0-9d58-ea57c3b640c8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 06:57:16 GMT" + ], + "Content-Length": [ + "29" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Network/privateEndpoints/ps5125?api-version=2019-12-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzNjA1NC9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvcHJpdmF0ZUVuZHBvaW50cy9wczUxMjU/YXBpLXZlcnNpb249MjAxOS0xMi0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f2512869-3bd5-4e08-a3c0-7097f85bcb12" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Network.NetworkManagementClient/19.19.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "a9446490-53ed-4e78-b225-d8ede5cedddb" + ], + "x-ms-correlation-request-id": [ + "a9446490-53ed-4e78-b225-d8ede5cedddb" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065719Z:a9446490-53ed-4e78-b225-d8ede5cedddb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 06:57:18 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "151" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Network/privateEndpoints/ps5125' under resource group 'ps6054' was not found.\"\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Network/privateEndpoints/ps5125?api-version=2019-12-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzNjA1NC9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvcHJpdmF0ZUVuZHBvaW50cy9wczUxMjU/YXBpLXZlcnNpb249MjAxOS0xMi0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Network.NetworkManagementClient/19.19.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"8495690d-178b-4297-8678-bc3da7fc7fdb\"" + ], + "x-ms-request-id": [ + "23a36f33-c13a-4066-aebe-a0066af006b6" + ], + "x-ms-correlation-request-id": [ + "21bb525d-a81d-48f7-8a25-4e0ac816abb8" + ], + "x-ms-arm-service-request-id": [ + "10e22c9e-1377-4f58-9005-d53cdbf10324" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11979" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065745Z:21bb525d-a81d-48f7-8a25-4e0ac816abb8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 06:57:45 GMT" + ], + "Content-Length": [ + "1805" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"ps5125\",\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Network/privateEndpoints/ps5125\",\r\n \"etag\": \"W/\\\"8495690d-178b-4297-8678-bc3da7fc7fdb\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus2euap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"ab37fc94-4193-4a3f-b4ac-13ebc7191e40\",\r\n \"privateLinkServiceConnections\": [],\r\n \"manualPrivateLinkServiceConnections\": [\r\n {\r\n \"name\": \"ps5042\",\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Network/privateEndpoints/ps5125/manualPrivateLinkServiceConnections/ps5042\",\r\n \"etag\": \"W/\\\"8495690d-178b-4297-8678-bc3da7fc7fdb\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateLinkServiceId\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privatelinkscopes/ps5901\",\r\n \"groupIds\": [\r\n \"azuremonitor\"\r\n ],\r\n \"privateLinkServiceConnectionState\": {\r\n \"status\": \"Pending\",\r\n \"description\": \"\",\r\n \"actionsRequired\": \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections\"\r\n }\r\n ],\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Network/virtualNetworks/ps8953/subnets/ps1552\"\r\n },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Network/networkInterfaces/ps5125.nic.8a51132d-222b-4b57-a36e-6c0bec678f3d\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Network/privateEndpoints/ps5125?api-version=2019-12-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzNjA1NC9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvcHJpdmF0ZUVuZHBvaW50cy9wczUxMjU/YXBpLXZlcnNpb249MjAxOS0xMi0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "966bfeaf-d857-4a5e-a005-bda1f7210fb3" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Network.NetworkManagementClient/19.19.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "W/\"8495690d-178b-4297-8678-bc3da7fc7fdb\"" + ], + "x-ms-request-id": [ + "a64fbd3d-a5bd-427f-bb21-0a9fd43e8e93" + ], + "x-ms-correlation-request-id": [ + "1dbe10dc-23ad-43f9-af09-484733d097f1" + ], + "x-ms-arm-service-request-id": [ + "98cc7f67-65fd-4709-9899-1a7cccbbfece" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11978" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065745Z:1dbe10dc-23ad-43f9-af09-484733d097f1" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 06:57:45 GMT" + ], + "Content-Length": [ + "1805" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"ps5125\",\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Network/privateEndpoints/ps5125\",\r\n \"etag\": \"W/\\\"8495690d-178b-4297-8678-bc3da7fc7fdb\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus2euap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"ab37fc94-4193-4a3f-b4ac-13ebc7191e40\",\r\n \"privateLinkServiceConnections\": [],\r\n \"manualPrivateLinkServiceConnections\": [\r\n {\r\n \"name\": \"ps5042\",\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Network/privateEndpoints/ps5125/manualPrivateLinkServiceConnections/ps5042\",\r\n \"etag\": \"W/\\\"8495690d-178b-4297-8678-bc3da7fc7fdb\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateLinkServiceId\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privatelinkscopes/ps5901\",\r\n \"groupIds\": [\r\n \"azuremonitor\"\r\n ],\r\n \"privateLinkServiceConnectionState\": {\r\n \"status\": \"Pending\",\r\n \"description\": \"\",\r\n \"actionsRequired\": \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections\"\r\n }\r\n ],\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Network/virtualNetworks/ps8953/subnets/ps1552\"\r\n },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Network/networkInterfaces/ps5125.nic.8a51132d-222b-4b57-a36e-6c0bec678f3d\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Network/privateEndpoints/ps5125?api-version=2019-12-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzNjA1NC9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvcHJpdmF0ZUVuZHBvaW50cy9wczUxMjU/YXBpLXZlcnNpb249MjAxOS0xMi0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"subnet\": {\r\n \"properties\": {\r\n \"addressPrefix\": \"11.0.1.0/24\",\r\n \"addressPrefixes\": [],\r\n \"serviceEndpoints\": [],\r\n \"serviceEndpointPolicies\": [],\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"name\": \"ps1552\",\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Network/virtualNetworks/ps8953/subnets/ps1552\"\r\n },\r\n \"privateLinkServiceConnections\": [],\r\n \"manualPrivateLinkServiceConnections\": [\r\n {\r\n \"properties\": {\r\n \"privateLinkServiceId\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privatelinkscopes/ps5901\",\r\n \"groupIds\": [\r\n \"azuremonitor\"\r\n ]\r\n },\r\n \"name\": \"ps5042\"\r\n }\r\n ]\r\n },\r\n \"location\": \"eastus2euap\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "94679944-1cdc-4913-9fd5-591bb78c9074" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Network.NetworkManagementClient/19.19.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "989" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "10" + ], + "x-ms-request-id": [ + "740b002d-fc89-4fcc-96ca-40d4172cecd1" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/providers/Microsoft.Network/locations/eastus2euap/operations/740b002d-fc89-4fcc-96ca-40d4172cecd1?api-version=2019-12-01" + ], + "x-ms-correlation-request-id": [ + "641bcaef-8ce8-4176-b2bc-5945c822331e" + ], + "Azure-AsyncNotification": [ + "Enabled" + ], + "x-ms-arm-service-request-id": [ + "ac6ef1af-ff74-4a71-a888-74775d7a131a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065724Z:641bcaef-8ce8-4176-b2bc-5945c822331e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 06:57:23 GMT" + ], + "Content-Length": [ + "1821" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"ps5125\",\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Network/privateEndpoints/ps5125\",\r\n \"etag\": \"W/\\\"0730405a-a879-4cca-9360-546ed60ffebc\\\"\",\r\n \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"eastus2euap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"ab37fc94-4193-4a3f-b4ac-13ebc7191e40\",\r\n \"privateLinkServiceConnections\": [],\r\n \"manualPrivateLinkServiceConnections\": [\r\n {\r\n \"name\": \"ps5042\",\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Network/privateEndpoints/ps5125/manualPrivateLinkServiceConnections/ps5042\",\r\n \"etag\": \"W/\\\"0730405a-a879-4cca-9360-546ed60ffebc\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateLinkServiceId\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privatelinkscopes/ps5901\",\r\n \"groupIds\": [\r\n \"azuremonitor\"\r\n ],\r\n \"privateLinkServiceConnectionState\": {\r\n \"status\": \"Pending\",\r\n \"description\": \"Awaiting Approval\",\r\n \"actionsRequired\": \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/manualPrivateLinkServiceConnections\"\r\n }\r\n ],\r\n \"subnet\": {\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Network/virtualNetworks/ps8953/subnets/ps1552\"\r\n },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Network/networkInterfaces/ps5125.nic.8a51132d-222b-4b57-a36e-6c0bec678f3d\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/providers/Microsoft.Network/locations/eastus2euap/operations/740b002d-fc89-4fcc-96ca-40d4172cecd1?api-version=2019-12-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9sb2NhdGlvbnMvZWFzdHVzMmV1YXAvb3BlcmF0aW9ucy83NDBiMDAyZC1mYzg5LTRmY2MtOTZjYS00MGQ0MTcyY2VjZDE/YXBpLXZlcnNpb249MjAxOS0xMi0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Network.NetworkManagementClient/19.19.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "10" + ], + "x-ms-request-id": [ + "281a1b35-0074-4dbb-8930-b3d0d7096db8" + ], + "x-ms-correlation-request-id": [ + "d161fac5-5eb2-4efc-a351-14a7c0335792" + ], + "x-ms-arm-service-request-id": [ + "57c82538-d4d2-4a9b-a6eb-398ec9bbf5b6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11981" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065734Z:d161fac5-5eb2-4efc-a351-14a7c0335792" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 06:57:33 GMT" + ], + "Content-Length": [ + "30" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/providers/Microsoft.Network/locations/eastus2euap/operations/740b002d-fc89-4fcc-96ca-40d4172cecd1?api-version=2019-12-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9sb2NhdGlvbnMvZWFzdHVzMmV1YXAvb3BlcmF0aW9ucy83NDBiMDAyZC1mYzg5LTRmY2MtOTZjYS00MGQ0MTcyY2VjZDE/YXBpLXZlcnNpb249MjAxOS0xMi0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Network.NetworkManagementClient/19.19.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "cdce261a-d461-4c5e-b18b-e0e87bef2698" + ], + "x-ms-correlation-request-id": [ + "d0fc2b70-dd9c-454c-af7b-aa201af36dfc" + ], + "x-ms-arm-service-request-id": [ + "95fad51e-2dcc-4271-ba66-8f090fb0e16c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11980" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065745Z:d0fc2b70-dd9c-454c-af7b-aa201af36dfc" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 06:57:45 GMT" + ], + "Content-Length": [ + "29" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Insights/privateLinkScopes/ps5901/privateEndpointConnections?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzNjA1NC9wcm92aWRlcnMvTWljcm9zb2Z0Lkluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzNTkwMS9wcml2YXRlRW5kcG9pbnRDb25uZWN0aW9ucz9hcGktdmVyc2lvbj0yMDE5LTEwLTE3LXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7072cf69-9481-456d-a650-d77e620a4942" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Internal.Common.AzureRestClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:7f83c1fe-8c94-4d55-9337-4ddc696f61ed" + ], + "Access-Control-Expose-Headers": [ + "Request-Context" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-request-id": [ + "1002e516-b149-47a5-aeee-3a4dd332d812" + ], + "x-ms-correlation-request-id": [ + "1002e516-b149-47a5-aeee-3a4dd332d812" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065746Z:1002e516-b149-47a5-aeee-3a4dd332d812" + ], + "Date": [ + "Mon, 13 Apr 2020 06:57:46 GMT" + ], + "Content-Length": [ + "890" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privatelinkscopes/ps5901/privateendpointconnections/ps5901-93257f974a51469386d9ee9b15d29272\",\r\n \"name\": \"ps5901-93257f974a51469386d9ee9b15d29272\",\r\n \"type\": \"microsoft.insights/privatelinkscopes/privateendpointconnections\",\r\n \"etag\": \"\\\"380097ef-0000-0100-0000-5e940d660000\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateEndpoint\": {\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.network/privateendpoints/ps5125\"\r\n },\r\n \"privateLinkServiceConnectionState\": {\r\n \"status\": \"Pending\",\r\n \"description\": null,\r\n \"actionsRequired\": \"None\"\r\n }\r\n }\r\n }\r\n ],\r\n \"nextLink\": null\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Insights/privateLinkScopes/ps5901/privateEndpointConnections?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzNjA1NC9wcm92aWRlcnMvTWljcm9zb2Z0Lkluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzNTkwMS9wcml2YXRlRW5kcG9pbnRDb25uZWN0aW9ucz9hcGktdmVyc2lvbj0yMDE5LTEwLTE3LXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e0c9fa07-2687-4bc4-8c17-b1541a2ab79f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Internal.Common.AzureRestClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:7f83c1fe-8c94-4d55-9337-4ddc696f61ed" + ], + "Access-Control-Expose-Headers": [ + "Request-Context" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-request-id": [ + "6f45592f-7d7b-464f-bf40-bc5d425e5d6f" + ], + "x-ms-correlation-request-id": [ + "6f45592f-7d7b-464f-bf40-bc5d425e5d6f" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065827Z:6f45592f-7d7b-464f-bf40-bc5d425e5d6f" + ], + "Date": [ + "Mon, 13 Apr 2020 06:58:27 GMT" + ], + "Content-Length": [ + "40" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [],\r\n \"nextLink\": null\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Insights/privateLinkScopes/ps5901/privateEndpointConnections/ps5901-93257f974a51469386d9ee9b15d29272?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzNjA1NC9wcm92aWRlcnMvTWljcm9zb2Z0Lkluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzNTkwMS9wcml2YXRlRW5kcG9pbnRDb25uZWN0aW9ucy9wczU5MDEtOTMyNTdmOTc0YTUxNDY5Mzg2ZDllZTliMTVkMjkyNzI/YXBpLXZlcnNpb249MjAxOS0xMC0xNy1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ff59dacc-7b00-4007-b708-7e697b3113b7" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Internal.Common.AzureRestClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:7f83c1fe-8c94-4d55-9337-4ddc696f61ed" + ], + "Access-Control-Expose-Headers": [ + "Request-Context" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "x-ms-request-id": [ + "f0cb4955-4266-4c1b-9003-6546630e8a28" + ], + "x-ms-correlation-request-id": [ + "f0cb4955-4266-4c1b-9003-6546630e8a28" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065746Z:f0cb4955-4266-4c1b-9003-6546630e8a28" + ], + "Date": [ + "Mon, 13 Apr 2020 06:57:46 GMT" + ], + "Content-Length": [ + "776" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privatelinkscopes/ps5901/privateendpointconnections/ps5901-93257f974a51469386d9ee9b15d29272\",\r\n \"name\": \"ps5901-93257f974a51469386d9ee9b15d29272\",\r\n \"type\": \"microsoft.insights/privatelinkscopes/privateendpointconnections\",\r\n \"etag\": \"\\\"380097ef-0000-0100-0000-5e940d660000\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateEndpoint\": {\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.network/privateendpoints/ps5125\"\r\n },\r\n \"privateLinkServiceConnectionState\": {\r\n \"status\": \"Pending\",\r\n \"description\": null,\r\n \"actionsRequired\": \"None\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Insights/privateLinkScopes/ps5901/privateEndpointConnections/ps5901-93257f974a51469386d9ee9b15d29272?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzNjA1NC9wcm92aWRlcnMvTWljcm9zb2Z0Lkluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzNTkwMS9wcml2YXRlRW5kcG9pbnRDb25uZWN0aW9ucy9wczU5MDEtOTMyNTdmOTc0YTUxNDY5Mzg2ZDllZTliMTVkMjkyNzI/YXBpLXZlcnNpb249MjAxOS0xMC0xNy1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5b573fb6-1cf4-450b-9121-6f58dc067569" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Internal.Common.AzureRestClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:7f83c1fe-8c94-4d55-9337-4ddc696f61ed" + ], + "Access-Control-Expose-Headers": [ + "Request-Context" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "x-ms-request-id": [ + "850b36ff-a42c-4102-be10-dc25bd519d61" + ], + "x-ms-correlation-request-id": [ + "850b36ff-a42c-4102-be10-dc25bd519d61" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065749Z:850b36ff-a42c-4102-be10-dc25bd519d61" + ], + "Date": [ + "Mon, 13 Apr 2020 06:57:49 GMT" + ], + "Content-Length": [ + "777" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privatelinkscopes/ps5901/privateendpointconnections/ps5901-93257f974a51469386d9ee9b15d29272\",\r\n \"name\": \"ps5901-93257f974a51469386d9ee9b15d29272\",\r\n \"type\": \"microsoft.insights/privatelinkscopes/privateendpointconnections\",\r\n \"etag\": \"\\\"3800b5ef-0000-0100-0000-5e940d6c0000\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateEndpoint\": {\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.network/privateendpoints/ps5125\"\r\n },\r\n \"privateLinkServiceConnectionState\": {\r\n \"status\": \"Approved\",\r\n \"description\": null,\r\n \"actionsRequired\": \"None\"\r\n }\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Insights/privateLinkScopes/ps5901/privateEndpointConnections/ps5901-93257f974a51469386d9ee9b15d29272?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzNjA1NC9wcm92aWRlcnMvTWljcm9zb2Z0Lkluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzNTkwMS9wcml2YXRlRW5kcG9pbnRDb25uZWN0aW9ucy9wczU5MDEtOTMyNTdmOTc0YTUxNDY5Mzg2ZDllZTliMTVkMjkyNzI/YXBpLXZlcnNpb249MjAxOS0xMC0xNy1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"privateEndpoint\": {\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.network/privateendpoints/ps5125\"\r\n },\r\n \"privateLinkServiceConnectionState\": {\r\n \"status\": \"Approved\"\r\n }\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "59a784f1-334d-4a83-87a9-73e28ddeeff5" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Internal.Common.AzureRestClient/1.3.11" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "282" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privatelinkscopes/ps5901/privateendpointconnections/ps5901-93257f974a51469386d9ee9b15d29272/operationresults/9a4647f2-b38d-4ba6-887b-fbe9e0985e62?api-version=2019-10-17-preview" + ], + "Retry-After": [ + "20" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/providers/microsoft.insights/privatelinkscopeoperationstatuses/9a4647f2-b38d-4ba6-887b-fbe9e0985e62?api-version=2019-10-17-preview" + ], + "Request-Context": [ + "appId=cid-v1:7f83c1fe-8c94-4d55-9337-4ddc696f61ed" + ], + "Access-Control-Expose-Headers": [ + "Request-Context" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-request-id": [ + "cd67d2c6-c351-484e-a2ed-387e283dd2a4" + ], + "x-ms-correlation-request-id": [ + "cd67d2c6-c351-484e-a2ed-387e283dd2a4" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065749Z:cd67d2c6-c351-484e-a2ed-387e283dd2a4" + ], + "Date": [ + "Mon, 13 Apr 2020 06:57:49 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/Microsoft.Insights/privateLinkScopes/ps5901/privateEndpointConnections/ps5901-93257f974a51469386d9ee9b15d29272?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzNjA1NC9wcm92aWRlcnMvTWljcm9zb2Z0Lkluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzNTkwMS9wcml2YXRlRW5kcG9pbnRDb25uZWN0aW9ucy9wczU5MDEtOTMyNTdmOTc0YTUxNDY5Mzg2ZDllZTliMTVkMjkyNzI/YXBpLXZlcnNpb249MjAxOS0xMC0xNy1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "8a2c9e81-2c04-4ac3-8c5f-28ada8dcf10a" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Internal.Common.AzureRestClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privatelinkscopes/ps5901/privateendpointconnections/ps5901-93257f974a51469386d9ee9b15d29272/operationresults/f9dc390b-8400-4908-be9a-72e7e60e092d?api-version=2019-10-17-preview" + ], + "Retry-After": [ + "20" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/providers/microsoft.insights/privatelinkscopeoperationstatuses/f9dc390b-8400-4908-be9a-72e7e60e092d?api-version=2019-10-17-preview" + ], + "Request-Context": [ + "appId=cid-v1:7f83c1fe-8c94-4d55-9337-4ddc696f61ed" + ], + "Access-Control-Expose-Headers": [ + "Request-Context" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-request-id": [ + "5f9874f2-3a05-4308-b68a-712d537340f3" + ], + "x-ms-correlation-request-id": [ + "5f9874f2-3a05-4308-b68a-712d537340f3" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065811Z:5f9874f2-3a05-4308-b68a-712d537340f3" + ], + "Date": [ + "Mon, 13 Apr 2020 06:58:11 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privateLinkScopes/ps5901?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzNjA1NC9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzNTkwMT9hcGktdmVyc2lvbj0yMDE5LTEwLTE3LXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7f834be1-6249-4826-b646-71a840062a3d" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Monitor.MonitorManagementClient/0.25.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:7f83c1fe-8c94-4d55-9337-4ddc696f61ed" + ], + "Access-Control-Expose-Headers": [ + "Request-Context" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-request-id": [ + "511fb0c4-6cd7-4ae3-959d-3580237d9cff" + ], + "x-ms-correlation-request-id": [ + "511fb0c4-6cd7-4ae3-959d-3580237d9cff" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065832Z:511fb0c4-6cd7-4ae3-959d-3580237d9cff" + ], + "Date": [ + "Mon, 13 Apr 2020 06:58:32 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privateLinkScopes/ps2093?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzNjA1NC9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzMjA5Mz9hcGktdmVyc2lvbj0yMDE5LTEwLTE3LXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "cde35cc3-0c9d-4c38-beb9-55adf95fd016" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Monitor.MonitorManagementClient/0.25.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:7f83c1fe-8c94-4d55-9337-4ddc696f61ed" + ], + "Access-Control-Expose-Headers": [ + "Request-Context" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14997" + ], + "x-ms-request-id": [ + "7d35200e-e711-4049-b445-ff374289d94e" + ], + "x-ms-correlation-request-id": [ + "7d35200e-e711-4049-b445-ff374289d94e" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065836Z:7d35200e-e711-4049-b445-ff374289d94e" + ], + "Date": [ + "Mon, 13 Apr 2020 06:58:35 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps6054/providers/microsoft.insights/privateLinkScopes/ps5143?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzNjA1NC9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzNTE0Mz9hcGktdmVyc2lvbj0yMDE5LTEwLTE3LXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "58c26240-815f-4c9d-9240-570c6fac87b8" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Monitor.MonitorManagementClient/0.25.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:7f83c1fe-8c94-4d55-9337-4ddc696f61ed" + ], + "Access-Control-Expose-Headers": [ + "Request-Context" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14996" + ], + "x-ms-request-id": [ + "6170bfd5-3998-4bc2-8f66-a0f83ab40f38" + ], + "x-ms-correlation-request-id": [ + "6170bfd5-3998-4bc2-8f66-a0f83ab40f38" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065838Z:6170bfd5-3998-4bc2-8f66-a0f83ab40f38" + ], + "Date": [ + "Mon, 13 Apr 2020 06:58:37 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourcegroups/ps6054?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlZ3JvdXBzL3BzNjA1ND9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6bf28505-0135-4e33-8ca4-8cc8a87585bb" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-request-id": [ + "c7bfb8d1-147c-46de-8397-92e9e99451f9" + ], + "x-ms-correlation-request-id": [ + "c7bfb8d1-147c-46de-8397-92e9e99451f9" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065843Z:c7bfb8d1-147c-46de-8397-92e9e99451f9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 06:58:42 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZd05UUXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "x-ms-request-id": [ + "9fa38db2-6ee8-42f9-9ce3-e359893baa03" + ], + "x-ms-correlation-request-id": [ + "9fa38db2-6ee8-42f9-9ce3-e359893baa03" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065858Z:9fa38db2-6ee8-42f9-9ce3-e359893baa03" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 06:58:57 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZd05UUXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-request-id": [ + "eec3f124-bb08-4475-b9fa-45b3c7f4fbe7" + ], + "x-ms-correlation-request-id": [ + "eec3f124-bb08-4475-b9fa-45b3c7f4fbe7" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065914Z:eec3f124-bb08-4475-b9fa-45b3c7f4fbe7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 06:59:14 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZd05UUXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "x-ms-request-id": [ + "3d6efc1c-ec41-4527-9ed6-7e9b690c1715" + ], + "x-ms-correlation-request-id": [ + "3d6efc1c-ec41-4527-9ed6-7e9b690c1715" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065929Z:3d6efc1c-ec41-4527-9ed6-7e9b690c1715" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 06:59:29 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZd05UUXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "x-ms-request-id": [ + "a7f2b448-8ffe-49ee-8a4b-dcb3e031b5e6" + ], + "x-ms-correlation-request-id": [ + "a7f2b448-8ffe-49ee-8a4b-dcb3e031b5e6" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T065945Z:a7f2b448-8ffe-49ee-8a4b-dcb3e031b5e6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 06:59:44 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZd05UUXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11985" + ], + "x-ms-request-id": [ + "cfc7b129-6d56-495a-a5c7-58e25b3802a0" + ], + "x-ms-correlation-request-id": [ + "cfc7b129-6d56-495a-a5c7-58e25b3802a0" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070000Z:cfc7b129-6d56-495a-a5c7-58e25b3802a0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 06:59:59 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZd05UUXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11984" + ], + "x-ms-request-id": [ + "0f88eb4e-f8ff-4265-a584-19635212df95" + ], + "x-ms-correlation-request-id": [ + "0f88eb4e-f8ff-4265-a584-19635212df95" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070015Z:0f88eb4e-f8ff-4265-a584-19635212df95" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 07:00:15 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZd05UUXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11983" + ], + "x-ms-request-id": [ + "ce5c68b9-041a-4c6c-a926-8f8db181cdcf" + ], + "x-ms-correlation-request-id": [ + "ce5c68b9-041a-4c6c-a926-8f8db181cdcf" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070031Z:ce5c68b9-041a-4c6c-a926-8f8db181cdcf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 07:00:31 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZd05UUXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11982" + ], + "x-ms-request-id": [ + "9acb5c2f-5a4a-43a5-9611-770cc83d99a7" + ], + "x-ms-correlation-request-id": [ + "9acb5c2f-5a4a-43a5-9611-770cc83d99a7" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070046Z:9acb5c2f-5a4a-43a5-9611-770cc83d99a7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 07:00:46 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZd05UUXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11981" + ], + "x-ms-request-id": [ + "ce1402db-7b62-47d9-b604-64b21e77b9e7" + ], + "x-ms-correlation-request-id": [ + "ce1402db-7b62-47d9-b604-64b21e77b9e7" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070102Z:ce1402db-7b62-47d9-b604-64b21e77b9e7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 07:01:01 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZd05UUXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11980" + ], + "x-ms-request-id": [ + "08326c88-cc99-458d-91f2-d968a7f3af6e" + ], + "x-ms-correlation-request-id": [ + "08326c88-cc99-458d-91f2-d968a7f3af6e" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070117Z:08326c88-cc99-458d-91f2-d968a7f3af6e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 07:01:17 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZd05UUXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11979" + ], + "x-ms-request-id": [ + "20ff8975-3036-47d9-bf49-bb447e1f856a" + ], + "x-ms-correlation-request-id": [ + "20ff8975-3036-47d9-bf49-bb447e1f856a" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070133Z:20ff8975-3036-47d9-bf49-bb447e1f856a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 07:01:32 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZd05UUXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11978" + ], + "x-ms-request-id": [ + "1a25479f-15cf-4017-a45e-8fc1e1c8d9bb" + ], + "x-ms-correlation-request-id": [ + "1a25479f-15cf-4017-a45e-8fc1e1c8d9bb" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070148Z:1a25479f-15cf-4017-a45e-8fc1e1c8d9bb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 07:01:47 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZd05UUXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11977" + ], + "x-ms-request-id": [ + "a62a3000-7e7f-4c25-8004-841c8afb162c" + ], + "x-ms-correlation-request-id": [ + "a62a3000-7e7f-4c25-8004-841c8afb162c" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070203Z:a62a3000-7e7f-4c25-8004-841c8afb162c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 07:02:02 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZd05UUXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11976" + ], + "x-ms-request-id": [ + "a73ed7d1-1d10-4f3f-ad80-bbc65c0a94cc" + ], + "x-ms-correlation-request-id": [ + "a73ed7d1-1d10-4f3f-ad80-bbc65c0a94cc" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070219Z:a73ed7d1-1d10-4f3f-ad80-bbc65c0a94cc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 07:02:19 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZd05UUXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11975" + ], + "x-ms-request-id": [ + "7530dd8d-e6b7-4760-ae6f-c34c95294ae2" + ], + "x-ms-correlation-request-id": [ + "7530dd8d-e6b7-4760-ae6f-c34c95294ae2" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070234Z:7530dd8d-e6b7-4760-ae6f-c34c95294ae2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 07:02:34 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZd05UUXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11974" + ], + "x-ms-request-id": [ + "ebc3740d-5a81-4946-aab2-9a96c42b3c04" + ], + "x-ms-correlation-request-id": [ + "ebc3740d-5a81-4946-aab2-9a96c42b3c04" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070250Z:ebc3740d-5a81-4946-aab2-9a96c42b3c04" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 07:02:49 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZd05UUXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11973" + ], + "x-ms-request-id": [ + "738f36e7-baa9-4304-9bb6-bb16e0cef9f6" + ], + "x-ms-correlation-request-id": [ + "738f36e7-baa9-4304-9bb6-bb16e0cef9f6" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070305Z:738f36e7-baa9-4304-9bb6-bb16e0cef9f6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 07:03:04 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZd05UUXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11972" + ], + "x-ms-request-id": [ + "0932f689-f07a-4986-84a0-5cbe92110492" + ], + "x-ms-correlation-request-id": [ + "0932f689-f07a-4986-84a0-5cbe92110492" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070321Z:0932f689-f07a-4986-84a0-5cbe92110492" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 07:03:20 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzYwNTQtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZd05UUXRWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11971" + ], + "x-ms-request-id": [ + "8dac300d-7a0d-443c-8cc0-a5af570a6cea" + ], + "x-ms-correlation-request-id": [ + "8dac300d-7a0d-443c-8cc0-a5af570a6cea" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070321Z:8dac300d-7a0d-443c-8cc0-a5af570a6cea" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 07:03:20 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "Test-PrivateLinkScopeCRUD": [ + "ps6054", + "ps5901", + "ps2093", + "ps5143", + "ps1552", + "ps8953", + "ps5042", + "ps5125" + ] + }, + "Variables": { + "SubscriptionId": "57947cb5-aadd-4b6c-9e8e-27f545bb7bf5" + } +} \ No newline at end of file diff --git a/src/Monitor/Monitor.Test/SessionRecords/Microsoft.Azure.Commands.Insights.Test.ScenarioTests.PrivateLinkScopeTests/TestPrivateLinkScopedResourceCRUD.json b/src/Monitor/Monitor.Test/SessionRecords/Microsoft.Azure.Commands.Insights.Test.ScenarioTests.PrivateLinkScopeTests/TestPrivateLinkScopedResourceCRUD.json new file mode 100644 index 000000000000..599f974cd42f --- /dev/null +++ b/src/Monitor/Monitor.Test/SessionRecords/Microsoft.Azure.Commands.Insights.Test.ScenarioTests.PrivateLinkScopeTests/TestPrivateLinkScopedResourceCRUD.json @@ -0,0 +1,2203 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourcegroups/ps3058?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlZ3JvdXBzL3BzMzA1OD9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"westus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5650a5af-bd28-470e-8582-1dd6a68f3cd6" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-request-id": [ + "cae81090-1aaf-483c-ac87-542d6c7618b8" + ], + "x-ms-correlation-request-id": [ + "cae81090-1aaf-483c-ac87-542d6c7618b8" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070327Z:cae81090-1aaf-483c-ac87-542d6c7618b8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 07:03:26 GMT" + ], + "Content-Length": [ + "165" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps3058\",\r\n \"name\": \"ps3058\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps3058/providers/microsoft.insights/privateLinkScopes/ps4952?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzMzA1OC9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzNDk1Mj9hcGktdmVyc2lvbj0yMDE5LTEwLTE3LXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "59e828e9-e612-4c84-8a3a-ace4df4adb3f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Monitor.MonitorManagementClient/0.25.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "e5b7dca9-ea91-40c0-ac5c-d37110d1ce76" + ], + "x-ms-correlation-request-id": [ + "e5b7dca9-ea91-40c0-ac5c-d37110d1ce76" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070327Z:e5b7dca9-ea91-40c0-ac5c-d37110d1ce76" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 07:03:27 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "153" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'microsoft.insights/privateLinkScopes/ps4952' under resource group 'ps3058' was not found.\"\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps3058/providers/microsoft.insights/privateLinkScopes/ps4952?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzMzA1OC9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzNDk1Mj9hcGktdmVyc2lvbj0yMDE5LTEwLTE3LXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"global\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4e3cfa6d-4c5a-4521-a6c7-2ef4c33bab6b" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Monitor.MonitorManagementClient/0.25.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:7f83c1fe-8c94-4d55-9337-4ddc696f61ed" + ], + "Access-Control-Expose-Headers": [ + "Request-Context" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" + ], + "x-ms-request-id": [ + "75881ca5-ad71-463b-b2d0-07f8f1074bf2" + ], + "x-ms-correlation-request-id": [ + "75881ca5-ad71-463b-b2d0-07f8f1074bf2" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070333Z:75881ca5-ad71-463b-b2d0-07f8f1074bf2" + ], + "Date": [ + "Mon, 13 Apr 2020 07:03:32 GMT" + ], + "Content-Length": [ + "814" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps3058/providers/microsoft.insights/privatelinkscopes/ps4952\",\r\n \"name\": \"ps4952\",\r\n \"type\": \"microsoft.insights/privatelinkscopes\",\r\n \"location\": \"global\",\r\n \"tags\": {},\r\n \"kind\": null,\r\n \"etag\": \"\\\"80004f11-0000-0100-0000-5e940ec40000\\\"\",\r\n \"systemData\": {\r\n \"createdBy\": \"0d62ea6c-21ea-434a-a296-f07574e03eee\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-04-13T07:03:31.0519932Z\",\r\n \"lastModifiedBy\": \"0d62ea6c-21ea-434a-a296-f07574e03eee\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-04-13T07:03:31.0519932Z\"\r\n },\r\n \"properties\": {\r\n \"scopeId\": \"f27eed47-8a07-4b91-ab5a-e460aa91cecb\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateEndpointConnections\": []\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps3058/providers/microsoft.insights/privateLinkScopes/ps3600?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzMzA1OC9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzMzYwMD9hcGktdmVyc2lvbj0yMDE5LTEwLTE3LXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "8acab9ef-cda8-40b0-bb1f-2849345e502d" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Monitor.MonitorManagementClient/0.25.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "1a7156f8-e30d-4abb-9cd1-a52d6e2566e0" + ], + "x-ms-correlation-request-id": [ + "1a7156f8-e30d-4abb-9cd1-a52d6e2566e0" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070333Z:1a7156f8-e30d-4abb-9cd1-a52d6e2566e0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 07:03:33 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "153" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'microsoft.insights/privateLinkScopes/ps3600' under resource group 'ps3058' was not found.\"\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps3058/providers/microsoft.insights/privateLinkScopes/ps3600?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzMzA1OC9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzMzYwMD9hcGktdmVyc2lvbj0yMDE5LTEwLTE3LXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"global\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0fa403b5-2c56-4ede-9528-502c5b6d3480" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Monitor.MonitorManagementClient/0.25.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "28" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:7f83c1fe-8c94-4d55-9337-4ddc696f61ed" + ], + "Access-Control-Expose-Headers": [ + "Request-Context" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1190" + ], + "x-ms-request-id": [ + "3e1ba232-402f-4f10-b343-4d0aed35f63d" + ], + "x-ms-correlation-request-id": [ + "3e1ba232-402f-4f10-b343-4d0aed35f63d" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070336Z:3e1ba232-402f-4f10-b343-4d0aed35f63d" + ], + "Date": [ + "Mon, 13 Apr 2020 07:03:36 GMT" + ], + "Content-Length": [ + "814" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps3058/providers/microsoft.insights/privatelinkscopes/ps3600\",\r\n \"name\": \"ps3600\",\r\n \"type\": \"microsoft.insights/privatelinkscopes\",\r\n \"location\": \"global\",\r\n \"tags\": {},\r\n \"kind\": null,\r\n \"etag\": \"\\\"80005011-0000-0100-0000-5e940ec70000\\\"\",\r\n \"systemData\": {\r\n \"createdBy\": \"0d62ea6c-21ea-434a-a296-f07574e03eee\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-04-13T07:03:35.2320238Z\",\r\n \"lastModifiedBy\": \"0d62ea6c-21ea-434a-a296-f07574e03eee\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-04-13T07:03:35.2320238Z\"\r\n },\r\n \"properties\": {\r\n \"scopeId\": \"dd42dadf-c709-4ab0-9745-d7243b9e4e05\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateEndpointConnections\": []\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourcegroups/ps3058/providers/Microsoft.OperationalInsights/workspaces/ps3200?api-version=2015-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlZ3JvdXBzL3BzMzA1OC9wcm92aWRlcnMvTWljcm9zb2Z0Lk9wZXJhdGlvbmFsSW5zaWdodHMvd29ya3NwYWNlcy9wczMyMDA/YXBpLXZlcnNpb249MjAxNS0xMS0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "07eb4f86-7001-4724-88af-2607c6a2b097" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.OperationalInsights.OperationalInsightsManagementClient/0.19.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "5b692f77-ae07-4f41-9f46-3fb8db376ce2" + ], + "x-ms-correlation-request-id": [ + "5b692f77-ae07-4f41-9f46-3fb8db376ce2" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070337Z:5b692f77-ae07-4f41-9f46-3fb8db376ce2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 07:03:36 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "157" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.OperationalInsights/workspaces/ps3200' under resource group 'ps3058' was not found.\"\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourcegroups/ps3058/providers/Microsoft.OperationalInsights/workspaces/ps3200?api-version=2015-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlZ3JvdXBzL3BzMzA1OC9wcm92aWRlcnMvTWljcm9zb2Z0Lk9wZXJhdGlvbmFsSW5zaWdodHMvd29ya3NwYWNlcy9wczMyMDA/YXBpLXZlcnNpb249MjAxNS0xMS0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.OperationalInsights.OperationalInsightsManagementClient/0.19.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "24262586-a42f-4ce3-ad25-caf7e00030e9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "Microsoft-IIS/10.0", + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-correlation-request-id": [ + "96b251ff-4074-487c-bd84-e5ee00ec75fa" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070418Z:96b251ff-4074-487c-bd84-e5ee00ec75fa" + ], + "Date": [ + "Mon, 13 Apr 2020 07:04:17 GMT" + ], + "Content-Length": [ + "888" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": \"e15df532-32ab-466b-8456-e4dd6e43a55a\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"sku\": {\r\n \"name\": \"pergb2018\"\r\n },\r\n \"retentionInDays\": 30,\r\n \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": \"Mon, 13 Apr 2020 21:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\"\r\n },\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourcegroups/ps3058/providers/microsoft.operationalinsights/workspaces/ps3200\",\r\n \"name\": \"ps3200\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \"location\": \"eastus\",\r\n \"tags\": {}\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourcegroups/ps3058/providers/Microsoft.OperationalInsights/workspaces/ps3200?api-version=2015-11-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlZ3JvdXBzL3BzMzA1OC9wcm92aWRlcnMvTWljcm9zb2Z0Lk9wZXJhdGlvbmFsSW5zaWdodHMvd29ya3NwYWNlcy9wczMyMDA/YXBpLXZlcnNpb249MjAxNS0xMS0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "486b09d8-79ee-4ab4-a17b-d7f45cd1ed19" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.OperationalInsights.OperationalInsightsManagementClient/0.19.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "43" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "bd42f839-4248-443b-af43-bdcb09b34a2f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "Microsoft-IIS/10.0", + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET", + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "5022291c-0ff8-4607-8d99-9ce9efe0668e" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070347Z:5022291c-0ff8-4607-8d99-9ce9efe0668e" + ], + "Date": [ + "Mon, 13 Apr 2020 07:03:46 GMT" + ], + "Content-Length": [ + "887" + ], + "Content-Type": [ + "application/json" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"source\": \"Azure\",\r\n \"customerId\": \"e15df532-32ab-466b-8456-e4dd6e43a55a\",\r\n \"provisioningState\": \"Creating\",\r\n \"sku\": {\r\n \"name\": \"pergb2018\"\r\n },\r\n \"retentionInDays\": 30,\r\n \"features\": {\r\n \"legacy\": 0,\r\n \"searchVersion\": 1,\r\n \"enableLogAccessUsingOnlyResourcePermissions\": true\r\n },\r\n \"workspaceCapping\": {\r\n \"dailyQuotaGb\": -1.0,\r\n \"quotaNextResetTime\": \"Mon, 13 Apr 2020 21:00:00 GMT\",\r\n \"dataIngestionStatus\": \"RespectQuota\"\r\n },\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\"\r\n },\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourcegroups/ps3058/providers/microsoft.operationalinsights/workspaces/ps3200\",\r\n \"name\": \"ps3200\",\r\n \"type\": \"Microsoft.OperationalInsights/workspaces\",\r\n \"location\": \"eastus\",\r\n \"tags\": {}\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps3058/providers/microsoft.insights/components/ps9976?api-version=2015-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzMzA1OC9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL2NvbXBvbmVudHMvcHM5OTc2P2FwaS12ZXJzaW9uPTIwMTUtMDUtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ca6609e5-c789-47b4-bdef-8e5502680c24" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.ApplicationInsights.Management.ApplicationInsightsManagementClient/0.2.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "e337f8b1-c643-41eb-8f28-bad229c8a152" + ], + "x-ms-correlation-request-id": [ + "e337f8b1-c643-41eb-8f28-bad229c8a152" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070418Z:e337f8b1-c643-41eb-8f28-bad229c8a152" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 07:04:18 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "146" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'microsoft.insights/components/ps9976' under resource group 'ps3058' was not found.\"\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps3058/providers/microsoft.insights/components/ps9976?api-version=2015-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzMzA1OC9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL2NvbXBvbmVudHMvcHM5OTc2P2FwaS12ZXJzaW9uPTIwMTUtMDUtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"kind\": \"web\",\r\n \"properties\": {\r\n \"Application_Type\": \"web\",\r\n \"Request_Source\": \"AzurePowerShell\"\r\n },\r\n \"location\": \"eastus\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "66e58b88-b87f-489d-8ec8-296c3ca11f0d" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.ApplicationInsights.Management.ApplicationInsightsManagementClient/0.2.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "144" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "66e58b88-b87f-489d-8ec8-296c3ca11f0d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Request-Context": [ + "appId=cid-v1:920e14b1-13f3-461a-a4bb-b4fe6f1a4525" + ], + "Access-Control-Expose-Headers": [ + "Request-Context" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "4c5e1d1a-b635-4506-b082-cf45af2db931" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070428Z:4c5e1d1a-b635-4506-b082-cf45af2db931" + ], + "Date": [ + "Mon, 13 Apr 2020 07:04:28 GMT" + ], + "Content-Length": [ + "848" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps3058/providers/microsoft.insights/components/ps9976\",\r\n \"name\": \"ps9976\",\r\n \"type\": \"microsoft.insights/components\",\r\n \"location\": \"eastus\",\r\n \"tags\": {},\r\n \"kind\": \"web\",\r\n \"etag\": \"\\\"0f00019d-0000-0100-0000-5e940ef90000\\\"\",\r\n \"properties\": {\r\n \"Ver\": \"v2\",\r\n \"ApplicationId\": \"ps9976\",\r\n \"AppId\": \"9cc9680e-bb09-4524-a4a5-4c6981920104\",\r\n \"Application_Type\": \"web\",\r\n \"Flow_Type\": null,\r\n \"Request_Source\": \"AzurePowerShell\",\r\n \"InstrumentationKey\": \"22faf262-cd00-4124-a247-49e17d2c7222\",\r\n \"ConnectionString\": \"InstrumentationKey=22faf262-cd00-4124-a247-49e17d2c7222\",\r\n \"Name\": \"ps9976\",\r\n \"CreationDate\": \"2020-04-13T15:04:25.7770571+08:00\",\r\n \"TenantId\": \"57947cb5-aadd-4b6c-9e8e-27f545bb7bf5\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"SamplingPercentage\": null,\r\n \"publicNetworkAccessForIngestion\": \"Enabled\",\r\n \"publicNetworkAccessForQuery\": \"Enabled\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps3058/providers/Microsoft.Insights/privateLinkScopes/ps4952/scopedResources/ps8968?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzMzA1OC9wcm92aWRlcnMvTWljcm9zb2Z0Lkluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzNDk1Mi9zY29wZWRSZXNvdXJjZXMvcHM4OTY4P2FwaS12ZXJzaW9uPTIwMTktMTAtMTctcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c6d69896-8fea-436f-bf71-6e600127f236" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Monitor.MonitorManagementClient/0.25.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:7f83c1fe-8c94-4d55-9337-4ddc696f61ed" + ], + "Access-Control-Expose-Headers": [ + "Request-Context" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11985" + ], + "x-ms-request-id": [ + "405af9e2-1e1a-4996-bf3c-4fc67fd49252" + ], + "x-ms-correlation-request-id": [ + "405af9e2-1e1a-4996-bf3c-4fc67fd49252" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070430Z:405af9e2-1e1a-4996-bf3c-4fc67fd49252" + ], + "Date": [ + "Mon, 13 Apr 2020 07:04:29 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps3058/providers/Microsoft.Insights/privateLinkScopes/ps4952/scopedResources/ps8968?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzMzA1OC9wcm92aWRlcnMvTWljcm9zb2Z0Lkluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzNDk1Mi9zY29wZWRSZXNvdXJjZXMvcHM4OTY4P2FwaS12ZXJzaW9uPTIwMTktMTAtMTctcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7b2c1571-5848-4c5e-9397-dbec0356b49b" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Monitor.MonitorManagementClient/0.25.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:7f83c1fe-8c94-4d55-9337-4ddc696f61ed" + ], + "Access-Control-Expose-Headers": [ + "Request-Context" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11982" + ], + "x-ms-request-id": [ + "98020d74-ed1c-4ea5-a20e-0b61da8eaf49" + ], + "x-ms-correlation-request-id": [ + "98020d74-ed1c-4ea5-a20e-0b61da8eaf49" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070505Z:98020d74-ed1c-4ea5-a20e-0b61da8eaf49" + ], + "Date": [ + "Mon, 13 Apr 2020 07:05:05 GMT" + ], + "Content-Length": [ + "850" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps3058/providers/microsoft.insights/privatelinkscopes/ps4952/scopedresources/ps8968\",\r\n \"name\": \"ps8968\",\r\n \"type\": \"microsoft.insights/privatelinkscopes/scopedresources\",\r\n \"etag\": \"\\\"80005811-0000-0100-0000-5e940eff0000\\\"\",\r\n \"systemData\": {\r\n \"createdBy\": \"0d62ea6c-21ea-434a-a296-f07574e03eee\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-04-13T07:04:30.4203971Z\",\r\n \"lastModifiedBy\": \"0d62ea6c-21ea-434a-a296-f07574e03eee\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-04-13T07:04:30.4203971Z\"\r\n },\r\n \"properties\": {\r\n \"linkedResourceId\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourcegroups/ps3058/providers/microsoft.insights/components/ps9976\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps3058/providers/Microsoft.Insights/privateLinkScopes/ps4952/scopedResources/ps8968?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzMzA1OC9wcm92aWRlcnMvTWljcm9zb2Z0Lkluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzNDk1Mi9zY29wZWRSZXNvdXJjZXMvcHM4OTY4P2FwaS12ZXJzaW9uPTIwMTktMTAtMTctcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"linkedResourceId\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps3058/providers/microsoft.insights/components/ps9976\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "fc64644b-4957-491c-b150-d16b4342e5c9" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Monitor.MonitorManagementClient/0.25.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "176" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:7f83c1fe-8c94-4d55-9337-4ddc696f61ed" + ], + "Access-Control-Expose-Headers": [ + "Request-Context" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1189" + ], + "x-ms-request-id": [ + "fc7f0d1b-0bd1-4a9c-8771-16c6317332aa" + ], + "x-ms-correlation-request-id": [ + "fc7f0d1b-0bd1-4a9c-8771-16c6317332aa" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070431Z:fc7f0d1b-0bd1-4a9c-8771-16c6317332aa" + ], + "Date": [ + "Mon, 13 Apr 2020 07:04:30 GMT" + ], + "Content-Length": [ + "850" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps3058/providers/microsoft.insights/privatelinkscopes/ps4952/scopedresources/ps8968\",\r\n \"name\": \"ps8968\",\r\n \"type\": \"microsoft.insights/privatelinkscopes/scopedresources\",\r\n \"etag\": \"\\\"80005811-0000-0100-0000-5e940eff0000\\\"\",\r\n \"systemData\": {\r\n \"createdBy\": \"0d62ea6c-21ea-434a-a296-f07574e03eee\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-04-13T07:04:30.4203971Z\",\r\n \"lastModifiedBy\": \"0d62ea6c-21ea-434a-a296-f07574e03eee\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-04-13T07:04:30.4203971Z\"\r\n },\r\n \"properties\": {\r\n \"linkedResourceId\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourcegroups/ps3058/providers/microsoft.insights/components/ps9976\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps3058/providers/Microsoft.Insights/privateLinkScopes/ps3600/scopedResources/ps3665?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzMzA1OC9wcm92aWRlcnMvTWljcm9zb2Z0Lkluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzMzYwMC9zY29wZWRSZXNvdXJjZXMvcHMzNjY1P2FwaS12ZXJzaW9uPTIwMTktMTAtMTctcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ceb5039e-1abf-4043-9ca8-2552233d63da" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Monitor.MonitorManagementClient/0.25.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:7f83c1fe-8c94-4d55-9337-4ddc696f61ed" + ], + "Access-Control-Expose-Headers": [ + "Request-Context" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11984" + ], + "x-ms-request-id": [ + "b17f0d0a-fc34-4eca-a5dc-9906d27a1392" + ], + "x-ms-correlation-request-id": [ + "b17f0d0a-fc34-4eca-a5dc-9906d27a1392" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070432Z:b17f0d0a-fc34-4eca-a5dc-9906d27a1392" + ], + "Date": [ + "Mon, 13 Apr 2020 07:04:31 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps3058/providers/Microsoft.Insights/privateLinkScopes/ps3600/scopedResources/ps3665?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzMzA1OC9wcm92aWRlcnMvTWljcm9zb2Z0Lkluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzMzYwMC9zY29wZWRSZXNvdXJjZXMvcHMzNjY1P2FwaS12ZXJzaW9uPTIwMTktMTAtMTctcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Monitor.MonitorManagementClient/0.25.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:7f83c1fe-8c94-4d55-9337-4ddc696f61ed" + ], + "Access-Control-Expose-Headers": [ + "Request-Context" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11983" + ], + "x-ms-request-id": [ + "547bcaf3-f61c-4c01-a22a-58aeb1bd4e48" + ], + "x-ms-correlation-request-id": [ + "547bcaf3-f61c-4c01-a22a-58aeb1bd4e48" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070505Z:547bcaf3-f61c-4c01-a22a-58aeb1bd4e48" + ], + "Date": [ + "Mon, 13 Apr 2020 07:05:05 GMT" + ], + "Content-Length": [ + "861" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps3058/providers/microsoft.insights/privatelinkscopes/ps3600/scopedresources/ps3665\",\r\n \"name\": \"ps3665\",\r\n \"type\": \"microsoft.insights/privatelinkscopes/scopedresources\",\r\n \"etag\": \"\\\"80005911-0000-0100-0000-5e940f020000\\\"\",\r\n \"systemData\": {\r\n \"createdBy\": \"0d62ea6c-21ea-434a-a296-f07574e03eee\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-04-13T07:04:32.2653968Z\",\r\n \"lastModifiedBy\": \"0d62ea6c-21ea-434a-a296-f07574e03eee\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-04-13T07:04:32.2653968Z\"\r\n },\r\n \"properties\": {\r\n \"linkedResourceId\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourcegroups/ps3058/providers/microsoft.operationalinsights/workspaces/ps3200\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps3058/providers/Microsoft.Insights/privateLinkScopes/ps3600/scopedResources/ps3665?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzMzA1OC9wcm92aWRlcnMvTWljcm9zb2Z0Lkluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzMzYwMC9zY29wZWRSZXNvdXJjZXMvcHMzNjY1P2FwaS12ZXJzaW9uPTIwMTktMTAtMTctcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "653672d1-ec29-495c-af1d-16351ec4bfd0" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Monitor.MonitorManagementClient/0.25.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:7f83c1fe-8c94-4d55-9337-4ddc696f61ed" + ], + "Access-Control-Expose-Headers": [ + "Request-Context" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11981" + ], + "x-ms-request-id": [ + "676d5c90-3b8f-4d1d-bfe1-37d3d0697610" + ], + "x-ms-correlation-request-id": [ + "676d5c90-3b8f-4d1d-bfe1-37d3d0697610" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070506Z:676d5c90-3b8f-4d1d-bfe1-37d3d0697610" + ], + "Date": [ + "Mon, 13 Apr 2020 07:05:05 GMT" + ], + "Content-Length": [ + "861" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps3058/providers/microsoft.insights/privatelinkscopes/ps3600/scopedresources/ps3665\",\r\n \"name\": \"ps3665\",\r\n \"type\": \"microsoft.insights/privatelinkscopes/scopedresources\",\r\n \"etag\": \"\\\"80005e11-0000-0100-0000-5e940f210000\\\"\",\r\n \"systemData\": {\r\n \"createdBy\": \"0d62ea6c-21ea-434a-a296-f07574e03eee\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-04-13T07:04:32.2653968Z\",\r\n \"lastModifiedBy\": \"0d62ea6c-21ea-434a-a296-f07574e03eee\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-04-13T07:04:32.2653968Z\"\r\n },\r\n \"properties\": {\r\n \"linkedResourceId\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourcegroups/ps3058/providers/microsoft.operationalinsights/workspaces/ps3200\",\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps3058/providers/Microsoft.Insights/privateLinkScopes/ps3600/scopedResources/ps3665?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzMzA1OC9wcm92aWRlcnMvTWljcm9zb2Z0Lkluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzMzYwMC9zY29wZWRSZXNvdXJjZXMvcHMzNjY1P2FwaS12ZXJzaW9uPTIwMTktMTAtMTctcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"linkedResourceId\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourcegroups/ps3058/providers/microsoft.operationalinsights/workspaces/ps3200\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "98b3ebe4-3abc-43a9-b169-b185b177a654" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Monitor.MonitorManagementClient/0.25.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "187" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:7f83c1fe-8c94-4d55-9337-4ddc696f61ed" + ], + "Access-Control-Expose-Headers": [ + "Request-Context" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1188" + ], + "x-ms-request-id": [ + "a415b873-573e-4005-91c9-f88d3d0421f0" + ], + "x-ms-correlation-request-id": [ + "a415b873-573e-4005-91c9-f88d3d0421f0" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070435Z:a415b873-573e-4005-91c9-f88d3d0421f0" + ], + "Date": [ + "Mon, 13 Apr 2020 07:04:34 GMT" + ], + "Content-Length": [ + "864" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps3058/providers/microsoft.insights/privatelinkscopes/ps3600/scopedresources/ps3665\",\r\n \"name\": \"ps3665\",\r\n \"type\": \"microsoft.insights/privatelinkscopes/scopedresources\",\r\n \"etag\": \"\\\"80005911-0000-0100-0000-5e940f020000\\\"\",\r\n \"systemData\": {\r\n \"createdBy\": \"0d62ea6c-21ea-434a-a296-f07574e03eee\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-04-13T07:04:32.2653968Z\",\r\n \"lastModifiedBy\": \"0d62ea6c-21ea-434a-a296-f07574e03eee\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-04-13T07:04:32.2653968Z\"\r\n },\r\n \"properties\": {\r\n \"linkedResourceId\": \"/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourcegroups/ps3058/providers/microsoft.operationalinsights/workspaces/ps3200\",\r\n \"provisioningState\": \"Provisioning\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps3058/providers/Microsoft.Insights/privateLinkScopes/ps4952/scopedResources/ps8968?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzMzA1OC9wcm92aWRlcnMvTWljcm9zb2Z0Lkluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzNDk1Mi9zY29wZWRSZXNvdXJjZXMvcHM4OTY4P2FwaS12ZXJzaW9uPTIwMTktMTAtMTctcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bbe39d1c-a6ab-47cf-bb58-abe465363bf1" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Monitor.MonitorManagementClient/0.25.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:7f83c1fe-8c94-4d55-9337-4ddc696f61ed" + ], + "Access-Control-Expose-Headers": [ + "Request-Context" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14995" + ], + "x-ms-request-id": [ + "c3feedd7-50b6-42f2-8f99-52dc57b94ad0" + ], + "x-ms-correlation-request-id": [ + "c3feedd7-50b6-42f2-8f99-52dc57b94ad0" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070507Z:c3feedd7-50b6-42f2-8f99-52dc57b94ad0" + ], + "Date": [ + "Mon, 13 Apr 2020 07:05:06 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps3058/providers/Microsoft.Insights/privateLinkScopes/ps3600/scopedResources/ps3665?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzMzA1OC9wcm92aWRlcnMvTWljcm9zb2Z0Lkluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzMzYwMC9zY29wZWRSZXNvdXJjZXMvcHMzNjY1P2FwaS12ZXJzaW9uPTIwMTktMTAtMTctcHJldmlldw==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bcaf27c2-fc8d-469e-a171-e930828e7342" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Monitor.MonitorManagementClient/0.25.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:7f83c1fe-8c94-4d55-9337-4ddc696f61ed" + ], + "Access-Control-Expose-Headers": [ + "Request-Context" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14994" + ], + "x-ms-request-id": [ + "4e848195-1ce1-4868-99f7-d79a24922a16" + ], + "x-ms-correlation-request-id": [ + "4e848195-1ce1-4868-99f7-d79a24922a16" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070508Z:4e848195-1ce1-4868-99f7-d79a24922a16" + ], + "Date": [ + "Mon, 13 Apr 2020 07:05:08 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps3058/providers/microsoft.insights/privateLinkScopes/ps4952?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzMzA1OC9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzNDk1Mj9hcGktdmVyc2lvbj0yMDE5LTEwLTE3LXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3503eec2-d05e-4667-87f2-4f554d813b3b" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Monitor.MonitorManagementClient/0.25.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:7f83c1fe-8c94-4d55-9337-4ddc696f61ed" + ], + "Access-Control-Expose-Headers": [ + "Request-Context" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14993" + ], + "x-ms-request-id": [ + "36d0617c-8b0d-4a65-ac15-5bb6120747df" + ], + "x-ms-correlation-request-id": [ + "36d0617c-8b0d-4a65-ac15-5bb6120747df" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070513Z:36d0617c-8b0d-4a65-ac15-5bb6120747df" + ], + "Date": [ + "Mon, 13 Apr 2020 07:05:13 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourceGroups/ps3058/providers/microsoft.insights/privateLinkScopes/ps3600?api-version=2019-10-17-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlR3JvdXBzL3BzMzA1OC9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL3ByaXZhdGVMaW5rU2NvcGVzL3BzMzYwMD9hcGktdmVyc2lvbj0yMDE5LTEwLTE3LXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4eb2337f-5043-43d1-999a-298b8df56223" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Monitor.MonitorManagementClient/0.25.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Request-Context": [ + "appId=cid-v1:7f83c1fe-8c94-4d55-9337-4ddc696f61ed" + ], + "Access-Control-Expose-Headers": [ + "Request-Context" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14992" + ], + "x-ms-request-id": [ + "76187a76-b3f9-4b2f-8ac1-f294ecef99fe" + ], + "x-ms-correlation-request-id": [ + "76187a76-b3f9-4b2f-8ac1-f294ecef99fe" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070533Z:76187a76-b3f9-4b2f-8ac1-f294ecef99fe" + ], + "Date": [ + "Mon, 13 Apr 2020 07:05:32 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/resourcegroups/ps3058?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L3Jlc291cmNlZ3JvdXBzL3BzMzA1OD9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "dbdc1448-2e37-4b8c-8f0c-8f4a9a55044f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzMwNTgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-request-id": [ + "b004b9cf-efbf-4cc9-8a89-e7f2f4eaa2fa" + ], + "x-ms-correlation-request-id": [ + "b004b9cf-efbf-4cc9-8a89-e7f2f4eaa2fa" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070538Z:b004b9cf-efbf-4cc9-8a89-e7f2f4eaa2fa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 07:05:37 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzMwNTgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpNd05UZ3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzMwNTgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "0b6a42ea-82c4-483d-bd8b-6939bb2cacf4" + ], + "x-ms-correlation-request-id": [ + "0b6a42ea-82c4-483d-bd8b-6939bb2cacf4" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070554Z:0b6a42ea-82c4-483d-bd8b-6939bb2cacf4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 07:05:54 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzMwNTgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpNd05UZ3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzMwNTgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "516d0333-4fe6-4223-93f9-00be13d12052" + ], + "x-ms-correlation-request-id": [ + "516d0333-4fe6-4223-93f9-00be13d12052" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070609Z:516d0333-4fe6-4223-93f9-00be13d12052" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 07:06:09 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzMwNTgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpNd05UZ3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzMwNTgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "ed7790a9-2ac7-41eb-807f-6a77e6d81ae4" + ], + "x-ms-correlation-request-id": [ + "ed7790a9-2ac7-41eb-807f-6a77e6d81ae4" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070624Z:ed7790a9-2ac7-41eb-807f-6a77e6d81ae4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 07:06:24 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzMwNTgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpNd05UZ3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzMwNTgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "fb3d5074-4bbc-4e9e-81cd-41ec9f9f531a" + ], + "x-ms-correlation-request-id": [ + "fb3d5074-4bbc-4e9e-81cd-41ec9f9f531a" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070640Z:fb3d5074-4bbc-4e9e-81cd-41ec9f9f531a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 07:06:39 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzMwNTgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpNd05UZ3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzMwNTgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-request-id": [ + "3ee92ee9-6fc6-46a2-b4f7-922ed74b3f38" + ], + "x-ms-correlation-request-id": [ + "3ee92ee9-6fc6-46a2-b4f7-922ed74b3f38" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070655Z:3ee92ee9-6fc6-46a2-b4f7-922ed74b3f38" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 07:06:55 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzMwNTgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpNd05UZ3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzMwNTgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-request-id": [ + "6922e2e9-cf08-49de-8be1-914481708a5c" + ], + "x-ms-correlation-request-id": [ + "6922e2e9-cf08-49de-8be1-914481708a5c" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070711Z:6922e2e9-cf08-49de-8be1-914481708a5c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 07:07:10 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzMwNTgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpNd05UZ3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzMwNTgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-request-id": [ + "ba23d273-c380-452f-a05e-ac3803d61afb" + ], + "x-ms-correlation-request-id": [ + "ba23d273-c380-452f-a05e-ac3803d61afb" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070726Z:ba23d273-c380-452f-a05e-ac3803d61afb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 07:07:25 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzMwNTgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpNd05UZ3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzMwNTgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-request-id": [ + "acac7ec1-79ee-47ca-90ec-9258413d5afe" + ], + "x-ms-correlation-request-id": [ + "acac7ec1-79ee-47ca-90ec-9258413d5afe" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070742Z:acac7ec1-79ee-47ca-90ec-9258413d5afe" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 07:07:41 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzMwNTgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpNd05UZ3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzMwNTgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "x-ms-request-id": [ + "7033c7d9-0c2d-46ea-b941-bdd572c05845" + ], + "x-ms-correlation-request-id": [ + "7033c7d9-0c2d-46ea-b941-bdd572c05845" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070757Z:7033c7d9-0c2d-46ea-b941-bdd572c05845" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 07:07:56 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzMwNTgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpNd05UZ3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzMwNTgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "x-ms-request-id": [ + "ed1cfe61-68c5-4540-9c7c-c5c17e42660d" + ], + "x-ms-correlation-request-id": [ + "ed1cfe61-68c5-4540-9c7c-c5c17e42660d" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070812Z:ed1cfe61-68c5-4540-9c7c-c5c17e42660d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 07:08:12 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzMwNTgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpNd05UZ3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-request-id": [ + "5b04de12-62f0-4202-b91a-dec34275bbae" + ], + "x-ms-correlation-request-id": [ + "5b04de12-62f0-4202-b91a-dec34275bbae" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070828Z:5b04de12-62f0-4202-b91a-dec34275bbae" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 07:08:27 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/57947cb5-aadd-4b6c-9e8e-27f545bb7bf5/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzMwNTgtV0VTVFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0dXMifQ?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNTc5NDdjYjUtYWFkZC00YjZjLTllOGUtMjdmNTQ1YmI3YmY1L29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpNd05UZ3RWMFZUVkZWVElpd2lhbTlpVEc5allYUnBiMjRpT2lKM1pYTjBkWE1pZlE/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.28008.02", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.18363.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.11" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "x-ms-request-id": [ + "1b1b10a8-184c-47e2-b437-7ba669c34f8f" + ], + "x-ms-correlation-request-id": [ + "1b1b10a8-184c-47e2-b437-7ba669c34f8f" + ], + "x-ms-routing-request-id": [ + "SOUTHEASTASIA:20200413T070828Z:1b1b10a8-184c-47e2-b437-7ba669c34f8f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 13 Apr 2020 07:08:28 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "Test-PrivateLinkScopedResourceCRUD": [ + "ps3058", + "ps4952", + "ps3600", + "ps3200", + "ps9976", + "ps8968", + "ps3665" + ] + }, + "Variables": { + "SubscriptionId": "57947cb5-aadd-4b6c-9e8e-27f545bb7bf5" + } +} \ No newline at end of file diff --git a/src/Monitor/Monitor.sln b/src/Monitor/Monitor.sln index 2eaf9d9072b3..4ee4ed6645f6 100644 --- a/src/Monitor/Monitor.sln +++ b/src/Monitor/Monitor.sln @@ -20,6 +20,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestFx", "..\..\tools\TestF EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ApplicationInsights", "..\ApplicationInsights\ApplicationInsights\ApplicationInsights.csproj", "{1390E45D-BF3A-4ACD-BEBC-88007B3E75E5}" EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OperationalInsights", "..\OperationalInsights\OperationalInsights\OperationalInsights.csproj", "{F9305976-EF6B-4502-BC38-ACFA47CB6DF6}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Network", "..\Network\Network\Network.csproj", "{F5D663A9-1A74-4F03-A727-3788AAD28C5E}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -58,6 +62,14 @@ Global {1390E45D-BF3A-4ACD-BEBC-88007B3E75E5}.Debug|Any CPU.Build.0 = Debug|Any CPU {1390E45D-BF3A-4ACD-BEBC-88007B3E75E5}.Release|Any CPU.ActiveCfg = Release|Any CPU {1390E45D-BF3A-4ACD-BEBC-88007B3E75E5}.Release|Any CPU.Build.0 = Release|Any CPU + {F9305976-EF6B-4502-BC38-ACFA47CB6DF6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F9305976-EF6B-4502-BC38-ACFA47CB6DF6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F9305976-EF6B-4502-BC38-ACFA47CB6DF6}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F9305976-EF6B-4502-BC38-ACFA47CB6DF6}.Release|Any CPU.Build.0 = Release|Any CPU + {F5D663A9-1A74-4F03-A727-3788AAD28C5E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F5D663A9-1A74-4F03-A727-3788AAD28C5E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F5D663A9-1A74-4F03-A727-3788AAD28C5E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F5D663A9-1A74-4F03-A727-3788AAD28C5E}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/src/Monitor/Monitor/Alerts/AddAzureRmMetricAlertRuleV2Command.cs b/src/Monitor/Monitor/Alerts/AddAzureRmMetricAlertRuleV2Command.cs index 5a8d841d7d76..a0fce9dc3ac1 100644 --- a/src/Monitor/Monitor/Alerts/AddAzureRmMetricAlertRuleV2Command.cs +++ b/src/Monitor/Monitor/Alerts/AddAzureRmMetricAlertRuleV2Command.cs @@ -154,7 +154,7 @@ protected override void ProcessRecordInternal() var actions = new List(); if (this.ActionGroup != null) { - actions.AddRange(this.ActionGroup.Select(actionGroup => new MetricAlertAction(actionGroupId: actionGroup.ActionGroupId, webhookProperties: actionGroup.WebhookProperties))); + actions.AddRange(this.ActionGroup.Select(actionGroup => new MetricAlertAction(actionGroupId: actionGroup.ActionGroupId, webHookProperties: actionGroup.WebhookProperties))); } if (this.ActionGroupId != null) diff --git a/src/Monitor/Monitor/Az.Monitor.psd1 b/src/Monitor/Monitor/Az.Monitor.psd1 index 150d10ac3857..c1040711a419 100644 --- a/src/Monitor/Monitor/Az.Monitor.psd1 +++ b/src/Monitor/Monitor/Az.Monitor.psd1 @@ -56,7 +56,7 @@ DotNetFrameworkVersion = '4.7.2' RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.7.4'; }) # Assemblies that must be loaded prior to importing this module -RequiredAssemblies = 'Microsoft.Azure.Management.Monitor.dll' +RequiredAssemblies = 'Microsoft.Azure.Management.Monitor.dll', 'AutoMapper.dll' # Script files (.ps1) that are run in the caller's environment prior to importing this module. # ScriptsToProcess = @() @@ -101,7 +101,14 @@ CmdletsToExport = 'Get-AzMetricDefinition', 'Get-AzMetric', 'Remove-AzLogProfile 'New-AzScheduledQueryRuleAlertingAction', 'New-AzScheduledQueryRule', 'Get-AzScheduledQueryRule', 'Set-AzScheduledQueryRule', 'Update-AzScheduledQueryRule', - 'Remove-AzScheduledQueryRule' + 'Remove-AzScheduledQueryRule', + 'New-AzInsightsPrivateLinkScope', + 'Get-AzInsightsPrivateLinkScope', + 'Update-AzInsightsPrivateLinkScope', + 'Remove-AzInsightsPrivateLinkScope', + 'New-AzInsightsPrivateLinkScopedResource', + 'Get-AzInsightsPrivateLinkScopedResource', + 'Remove-AzInsightsPrivateLinkScopedResource' # Variables to export from this module # VariablesToExport = @() diff --git a/src/Monitor/Monitor/ChangeLog.md b/src/Monitor/Monitor/ChangeLog.md index 5fe1242dc2d2..883954507f6c 100644 --- a/src/Monitor/Monitor/ChangeLog.md +++ b/src/Monitor/Monitor/ChangeLog.md @@ -19,6 +19,14 @@ --> ## Upcoming Release +* Added cmdlets for private link scope + - `Get-AzInsightsPrivateLinkScope` + - `Remove-AzInsightsPrivateLinkScope` + - `New-AzInsightsPrivateLinkScope` + - `Update-AzInsightsPrivateLinkScope` + - `Get-AzInsightsPrivateLinkScopedResource` + - `New-AzInsightsPrivateLinkScopedResource` + - `Remove-AzInsightsPrivateLinkScopedResource` ## Version 1.6.2 * Updated documentation for `New-AzScheduledQueryRuleLogMetricTrigger` diff --git a/src/Monitor/Monitor/Monitor.csproj b/src/Monitor/Monitor/Monitor.csproj index 12d10daf13ec..9b1f5975980f 100644 --- a/src/Monitor/Monitor/Monitor.csproj +++ b/src/Monitor/Monitor/Monitor.csproj @@ -11,7 +11,8 @@ - + + \ No newline at end of file diff --git a/src/Monitor/Monitor/OutputClasses/PSMetricAlertRuleV2.cs b/src/Monitor/Monitor/OutputClasses/PSMetricAlertRuleV2.cs index 92041a5b7eee..d22e8cc2abfc 100644 --- a/src/Monitor/Monitor/OutputClasses/PSMetricAlertRuleV2.cs +++ b/src/Monitor/Monitor/OutputClasses/PSMetricAlertRuleV2.cs @@ -56,7 +56,7 @@ public PSMetricAlertRuleV2(MetricAlertResource metricAlertResource) Actions = new ActivityLogAlertActionGroup[metricAlertResource.Actions.Count]; for(int i = 0; i < metricAlertResource.Actions.Count;i++) { - Actions[i] = new ActivityLogAlertActionGroup(metricAlertResource.Actions[i].ActionGroupId, metricAlertResource.Actions[i].WebhookProperties); + Actions[i] = new ActivityLogAlertActionGroup(metricAlertResource.Actions[i].ActionGroupId, metricAlertResource.Actions[i].WebHookProperties); } var resourceIdentifier = new ResourceIdentifier(metricAlertResource.Id); diff --git a/src/Monitor/Monitor/OutputClasses/PSMonitorPrivateLinkScope.cs b/src/Monitor/Monitor/OutputClasses/PSMonitorPrivateLinkScope.cs new file mode 100644 index 000000000000..d2c1027a6ef5 --- /dev/null +++ b/src/Monitor/Monitor/OutputClasses/PSMonitorPrivateLinkScope.cs @@ -0,0 +1,76 @@ +// ---------------------------------------------------------------------------------- +// +// 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 System.Collections.Generic; +using Newtonsoft.Json; + +namespace Microsoft.Azure.Commands.Insights.OutputClasses +{ + /// + /// wrapper class for Microsoft.Azure.Management.Monitor.Models.AzureMonitorPrivateLinkScope + /// + public class PSMonitorPrivateLinkScope + { + public PSMonitorPrivateLinkScope() { } + + public PSMonitorPrivateLinkScope(string location, IDictionary tags = default(IDictionary), string id = default(string), string name = default(string), string type = default(string), string provisioningState = default(string), IList privateEndpointConnections = default(IList)) + { + this.Id = id; + this.Name = name; + this.Type = type; + this.Location = location; + this.Tags = tags; + this.ProvisioningState = provisioningState; + } + + /// + /// Gets azure resource Id + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; private set; } + + /// + /// Gets azure resource name + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; private set; } + + /// + /// Gets azure resource type + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; private set; } + + /// + /// Gets or sets resource location + /// + [JsonProperty(PropertyName = "location")] + public string Location { get; set; } + + /// + /// Gets or sets resource tags + /// + [JsonProperty(PropertyName = "tags")] + public IDictionary Tags { get; set; } + + /// + /// Gets current state of this PrivateLinkScope: whether or not is has + /// been provisioned within the resource group it is defined. Users + /// cannot change this value but are able to read from it. Values will + /// include Provisioning ,Succeeded, Canceled and Failed. + /// + [JsonProperty(PropertyName = "properties.provisioningState")] + public string ProvisioningState { get; private set; } + } +} diff --git a/src/Monitor/Monitor/OutputClasses/PSMonitorPrivateLinkScopedResource.cs b/src/Monitor/Monitor/OutputClasses/PSMonitorPrivateLinkScopedResource.cs new file mode 100644 index 000000000000..339d71a1d833 --- /dev/null +++ b/src/Monitor/Monitor/OutputClasses/PSMonitorPrivateLinkScopedResource.cs @@ -0,0 +1,61 @@ +// ---------------------------------------------------------------------------------- +// +// 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 System.Collections.Generic; +using Newtonsoft.Json; + +namespace Microsoft.Azure.Commands.Insights.OutputClasses +{ + public class PSMonitorPrivateLinkScopedResource + { + public PSMonitorPrivateLinkScopedResource(string id = default(string), string name = default(string), string type = default(string), string linkedResourceId = default(string), string provisioningState = default(string)) + { + Id = id; + Name = name; + Type = type; + LinkedResourceId = linkedResourceId; + ProvisioningState = provisioningState; + } + + /// + /// Gets azure resource Id + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; private set; } + + /// + /// Gets azure resource name + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; private set; } + + /// + /// Gets azure resource type + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; private set; } + + /// + /// Gets or sets the resource id of the scoped Azure monitor resource. + /// + [JsonProperty(PropertyName = "properties.linkedResourceId")] + public string LinkedResourceId { get; set; } + + /// + /// Gets state of the private endpoint connection. + /// + [JsonProperty(PropertyName = "properties.provisioningState")] + public string ProvisioningState { get; private set; } + } +} diff --git a/src/Monitor/Monitor/OutputClasses/PSPrivateEndpointConnection.cs b/src/Monitor/Monitor/OutputClasses/PSPrivateEndpointConnection.cs new file mode 100644 index 000000000000..d82f065ebd13 --- /dev/null +++ b/src/Monitor/Monitor/OutputClasses/PSPrivateEndpointConnection.cs @@ -0,0 +1,97 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Rest; +using Microsoft.Rest.Serialization; +using Newtonsoft.Json; + +namespace Microsoft.Azure.Commands.Insights.OutputClasses +{ + /// + /// Initializes a new instance of the PrivateEndpointConnection class. + /// + /// + [JsonTransformation] + public class PSPrivateEndpointConnection + { + /// + /// Initializes a new instance of the PrivateEndpointConnection class. + /// + /// Private endpoint which the connection + /// belongs to. + /// Connection state of + /// the private endpoint connection. + /// State of the private endpoint + /// connection. + public PSPrivateEndpointConnection(string id = default(string), string name = default(string), string type = default(string), PSPrivateEndpointProperty privateEndpoint = default(PSPrivateEndpointProperty), PSPrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState = default(PSPrivateLinkServiceConnectionStateProperty), string provisioningState = default(string)) + { + Id = id; + Name = name; + Type = type; + PrivateEndpoint = privateEndpoint; + PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; + ProvisioningState = provisioningState; + } + + /// + /// Gets azure resource Id + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; private set; } + + /// + /// Gets azure resource name + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; private set; } + + /// + /// Gets azure resource type + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; private set; } + + /// + /// Gets or sets private endpoint which the connection belongs to. + /// + [JsonProperty(PropertyName = "properties.privateEndpoint")] + public PSPrivateEndpointProperty PrivateEndpoint { get; set; } + + /// + /// Gets or sets connection state of the private endpoint connection. + /// + [JsonProperty(PropertyName = "properties.privateLinkServiceConnectionState")] + public PSPrivateLinkServiceConnectionStateProperty PrivateLinkServiceConnectionState { get; set; } + + /// + /// Gets state of the private endpoint connection. + /// + [JsonProperty(PropertyName = "properties.provisioningState")] + public string ProvisioningState { get; private set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (PrivateLinkServiceConnectionState != null) + { + PrivateLinkServiceConnectionState.Validate(); + } + } + } +} diff --git a/src/Monitor/Monitor/OutputClasses/PSPrivateEndpointProperty.cs b/src/Monitor/Monitor/OutputClasses/PSPrivateEndpointProperty.cs new file mode 100644 index 000000000000..8a1dea1cb209 --- /dev/null +++ b/src/Monitor/Monitor/OutputClasses/PSPrivateEndpointProperty.cs @@ -0,0 +1,40 @@ +// ---------------------------------------------------------------------------------- +// +// 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 Newtonsoft.Json; +using System.Linq; + +namespace Microsoft.Azure.Commands.Insights.OutputClasses +{ + /// + /// Private endpoint which the connection belongs to. + /// + public class PSPrivateEndpointProperty + { + /// + /// Initializes a new instance of the PrivateEndpointProperty class. + /// + /// Resource id of the private endpoint. + public PSPrivateEndpointProperty(string id = default(string)) + { + Id = id; + } + + /// + /// Gets or sets resource id of the private endpoint. + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; set; } + } +} diff --git a/src/Monitor/Monitor/OutputClasses/PSPrivateLinkServiceConnectionStateProperty.cs b/src/Monitor/Monitor/OutputClasses/PSPrivateLinkServiceConnectionStateProperty.cs new file mode 100644 index 000000000000..8cf3aaeb17f9 --- /dev/null +++ b/src/Monitor/Monitor/OutputClasses/PSPrivateLinkServiceConnectionStateProperty.cs @@ -0,0 +1,79 @@ +// ---------------------------------------------------------------------------------- +// +// 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.Rest; +using Newtonsoft.Json; +using System.Linq; + +namespace Microsoft.Azure.Commands.Insights.OutputClasses +{ + /// + /// State of the private endpoint connection. + /// + public class PSPrivateLinkServiceConnectionStateProperty + { + /// + /// Initializes a new instance of the + /// PrivateLinkServiceConnectionStateProperty class. + /// + /// The private link service connection + /// status. + /// The private link service connection + /// description. + /// The actions required for private link + /// service connection. + public PSPrivateLinkServiceConnectionStateProperty(string status, string description, string actionsRequired = default(string)) + { + Status = status; + Description = description; + ActionsRequired = actionsRequired; + } + + /// + /// Gets or sets the private link service connection status. + /// + [JsonProperty(PropertyName = "status")] + public string Status { get; set; } + + /// + /// Gets or sets the private link service connection description. + /// + [JsonProperty(PropertyName = "description")] + public string Description { get; set; } + + /// + /// Gets the actions required for private link service connection. + /// + [JsonProperty(PropertyName = "actionsRequired")] + public string ActionsRequired { get; private set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Status == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Status"); + } + if (Description == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Description"); + } + } + } +} diff --git a/src/Monitor/Monitor/PrivateLinkScopes/AzureInsightsPrivateLinkScopeCreateOrUpdateCmdletBase.cs b/src/Monitor/Monitor/PrivateLinkScopes/AzureInsightsPrivateLinkScopeCreateOrUpdateCmdletBase.cs new file mode 100644 index 000000000000..7ff0b6d848ae --- /dev/null +++ b/src/Monitor/Monitor/PrivateLinkScopes/AzureInsightsPrivateLinkScopeCreateOrUpdateCmdletBase.cs @@ -0,0 +1,84 @@ +// ---------------------------------------------------------------------------------- +// +// 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 System.Management.Automation; +using Microsoft.Azure.Commands.Insights.OutputClasses; +using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters; +using Microsoft.Azure.Management.Monitor.Models; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.Azure.Commands.Insights.Utils; +using Microsoft.Azure.Management.Internal.Resources.Utilities.Models; +using System.Collections.Generic; +using System.Linq; + +namespace Microsoft.Azure.Commands.Insights.PrivateLinkScopes +{ + public class AzureInsightsPrivateLinkScopeCreateOrUpdateCmdletBase : ManagementCmdletBase + { + internal const string ByResourceGroupParameterSet = "ByResourceNameParameterSet"; + + #region Cmdlet parameters + + [Parameter( + ParameterSetName = ByResourceGroupParameterSet, + Mandatory = true, + HelpMessage = "Resource Group Name")] + [ResourceGroupCompleter] + [ValidateNotNullOrEmpty] + public string ResourceGroupName { get; set; } + + [Parameter( + ParameterSetName = ByResourceGroupParameterSet, + Mandatory = true, + HelpMessage = "Private Link Scope Name")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter( + Mandatory = false, + HelpMessage = "Tags")] + [ValidateNotNullOrEmpty] + public string[] Tags { get; set; } + + #endregion + + protected override void ProcessRecordInternal() + { + this.validate(); + } + + private void validate() + { + if (this.IsParameterBound(c => c.Tags)) + { + foreach (string tag in Tags) + { + if (!tag.Contains(':')) + { + throw new PSArgumentException("invalid parameter: Tags"); + } + } + } + } + + internal AzureMonitorPrivateLinkScope getExistingScope(string resourceGroupName, string name) + { + return this.MonitorManagementClient + .PrivateLinkScopes + .GetWithHttpMessagesAsync(resourceGroupName, name) + .Result + .Body; + } + } +} diff --git a/src/Monitor/Monitor/PrivateLinkScopes/AzureInsightsPrivateLinkScopedResourceCreateOrUpdateCmdletBase.cs b/src/Monitor/Monitor/PrivateLinkScopes/AzureInsightsPrivateLinkScopedResourceCreateOrUpdateCmdletBase.cs new file mode 100644 index 000000000000..0192bbc7926f --- /dev/null +++ b/src/Monitor/Monitor/PrivateLinkScopes/AzureInsightsPrivateLinkScopedResourceCreateOrUpdateCmdletBase.cs @@ -0,0 +1,87 @@ +// ---------------------------------------------------------------------------------- +// +// 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 System.Management.Automation; +using Microsoft.Azure.Commands.Insights.OutputClasses; +using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.Azure.Management.Internal.Resources.Utilities.Models; +using Microsoft.Azure.Management.Monitor.Models; + +namespace Microsoft.Azure.Commands.Insights.PrivateLinkScopes +{ + public class AzureInsightsPrivateLinkScopedResourceCreateOrUpdateCmdletBase : ManagementCmdletBase + { + internal const string ByResourceNameParameterSet = "ByResourceNameParameterSet"; + internal const string ByInputObjectParameterSet = "ByInputObjectParameterSet"; + + #region Cmdlet parameters + + [Parameter( + ParameterSetName = ByResourceNameParameterSet, + Mandatory = true, + HelpMessage = "Resource Group Name")] + [ResourceGroupCompleter] + [ValidateNotNullOrEmpty] + public string ResourceGroupName { get; set; } + + [Parameter( + ParameterSetName = ByResourceNameParameterSet, + Mandatory = true, + HelpMessage = "Private Link Scope Name")] + [ValidateNotNullOrEmpty] + [ResourceNameCompleter("Microsoft.Insights/privateLinkScopes", nameof(ResourceGroupName))] + public string ScopeName { get; set; } + + [Parameter( + ParameterSetName = ByResourceNameParameterSet, + Mandatory = true, + HelpMessage = "Scoped resource Name")] + [Parameter( + ParameterSetName = ByInputObjectParameterSet, + Mandatory = true, + HelpMessage = "Scoped resource Name")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter( + ParameterSetName = ByInputObjectParameterSet, + Mandatory = true, + ValueFromPipeline = true, + HelpMessage = "PSMonitorPrivateLinkScope")] + [ValidateNotNullOrEmpty] + public PSMonitorPrivateLinkScope InputObject { get; set; } + + #endregion + + protected override void ProcessRecordInternal() + { + if (this.IsParameterBound(c => c.InputObject)) + { + ResourceIdentifier identifier = new ResourceIdentifier(this.InputObject.Id); + this.ResourceGroupName = identifier.ResourceGroupName; + this.ScopeName = identifier.ResourceName; + } + } + + internal ScopedResource getExistingScopedResource(string resourceGroupName, string scopeName, string name) + { + return this.MonitorManagementClient + .PrivateLinkScopedResources + .GetWithHttpMessagesAsync(resourceGroupName, scopeName, name) + .Result + .Body; + } + } +} diff --git a/src/Monitor/Monitor/PrivateLinkScopes/GetAzureInsightsPrivateLinkScope.cs b/src/Monitor/Monitor/PrivateLinkScopes/GetAzureInsightsPrivateLinkScope.cs new file mode 100644 index 000000000000..bd36a06178b3 --- /dev/null +++ b/src/Monitor/Monitor/PrivateLinkScopes/GetAzureInsightsPrivateLinkScope.cs @@ -0,0 +1,102 @@ +// ---------------------------------------------------------------------------------- +// +// 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 System; +using System.Management.Automation; +using Microsoft.Azure.Commands.Insights.OutputClasses; +using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.Azure.Commands.Insights.Utils; +using Microsoft.Azure.Management.Internal.Resources.Utilities.Models; +using System.Linq; + +namespace Microsoft.Azure.Commands.Insights.PrivateLinkScopes +{ + /// + /// Get or List private link scope(s) + /// + [Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "InsightsPrivateLinkScope", DefaultParameterSetName = ByResourceGroupParameterSet), OutputType(typeof(PSMonitorPrivateLinkScope))] + public class GetAzureInsightsPrivateLinkScope : ManagementCmdletBase + { + const string ByResourceGroupParameterSet = "ByResourceGroupParameterSet"; + const string ByResourceNameParameterSet = "ByResourceNameParameterSet"; + const string ByResourceIdParameterSet = "ByResourceIdParameterSet"; + + #region Cmdlet parameters + + [Parameter( + ParameterSetName = ByResourceGroupParameterSet, + Mandatory = false, + HelpMessage = "Resource Group Name")] + [Parameter( + ParameterSetName = ByResourceNameParameterSet, + Mandatory = true, + HelpMessage = "Resource Group Name")] + [ResourceGroupCompleter] + public string ResourceGroupName { get; set; } + + [Parameter( + ParameterSetName = ByResourceNameParameterSet, + Mandatory = true, + HelpMessage = "Private Link Scope Name")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter( + ParameterSetName = ByResourceIdParameterSet, + Mandatory = true, + HelpMessage = "Resource Id")] + [ValidateNotNullOrEmpty] + public string ResourceId { get; set; } + + #endregion + + protected override void ProcessRecordInternal() + { + if (ParameterSetName.Equals(ByResourceGroupParameterSet)) + { + if (this.IsParameterBound(c => c.ResourceGroupName)) + { + var response = this.MonitorManagementClient + .PrivateLinkScopes + .ListByResourceGroupWithHttpMessagesAsync(this.ResourceGroupName) + .Result; + WriteObject(response.Body.Select(scope => PSMapper.Instance.Map(scope)).ToList(), true); + } + else + { + var response = this.MonitorManagementClient + .PrivateLinkScopes.ListWithHttpMessagesAsync() + .Result; + WriteObject(response.Body.Select(scope => PSMapper.Instance.Map(scope)).ToList(), true); + } + } + else if (ParameterSetName.Equals(ByResourceNameParameterSet) || ParameterSetName.Equals(ResourceId)) + { + if (this.IsParameterBound(c => c.ResourceId)) + { + ResourceIdentifier identifier = new ResourceIdentifier(this.ResourceId); + this.ResourceGroupName = identifier.ResourceGroupName; + this.Name = identifier.ResourceName; + } + + var response = this.MonitorManagementClient + .PrivateLinkScopes + .GetWithHttpMessagesAsync(this.ResourceGroupName, this.Name) + .Result; + WriteObject(PSMapper.Instance.Map(response.Body)); + } + } + } +} diff --git a/src/Monitor/Monitor/PrivateLinkScopes/GetAzureInsightsPrivateLinkScopedResource.cs b/src/Monitor/Monitor/PrivateLinkScopes/GetAzureInsightsPrivateLinkScopedResource.cs new file mode 100644 index 000000000000..5a033e38eea0 --- /dev/null +++ b/src/Monitor/Monitor/PrivateLinkScopes/GetAzureInsightsPrivateLinkScopedResource.cs @@ -0,0 +1,113 @@ +// ---------------------------------------------------------------------------------- +// +// 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 System.Management.Automation; +using Microsoft.Azure.Commands.Insights.OutputClasses; +using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.Azure.Commands.Insights.Utils; +using Microsoft.Azure.Management.Internal.Resources.Utilities.Models; +using System.Linq; + +namespace Microsoft.Azure.Commands.Insights.PrivateLinkScopes +{ + [Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "InsightsPrivateLinkScopedResource", DefaultParameterSetName = ByScopeParameterSet), OutputType(typeof(PSMonitorPrivateLinkScopedResource))] + public class GetAzureInsightsPrivateLinkScopedResource : ManagementCmdletBase + { + const string ByScopeParameterSet = "ByScopeParameterSet"; + const string ByResourceIdParameterSet = "ByResourceIdParameterSet"; + const string ByInputObjectParameterSet = "ByInputObjectParameterSet"; + + #region Cmdlet parameters + + [Parameter( + ParameterSetName = ByScopeParameterSet, + Mandatory = true, + HelpMessage = "Resource Group Name")] + [ResourceGroupCompleter] + [ValidateNotNullOrEmpty] + public string ResourceGroupName { get; set; } + + [Parameter( + ParameterSetName = ByScopeParameterSet, + Mandatory = true, + HelpMessage = "Private Link Scope Name")] + [ValidateNotNullOrEmpty] + [ResourceNameCompleter("Microsoft.Insights/privateLinkScopes", nameof(ResourceGroupName))] + public string ScopeName { get; set; } + + [Parameter( + ParameterSetName = ByScopeParameterSet, + Mandatory = false, + HelpMessage = "Scoped resource Name")] + [Parameter( + ParameterSetName = ByInputObjectParameterSet, + Mandatory = false, + HelpMessage = "Scoped resource Name")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter( + ParameterSetName = ByResourceIdParameterSet, + Mandatory = true, + HelpMessage = "Resource Id")] + [ValidateNotNullOrEmpty] + public string ResourceId { get; set; } + + [Parameter( + ParameterSetName = ByInputObjectParameterSet, + Mandatory = true, + HelpMessage = "PSMonitorPrivateLinkScope")] + [ValidateNotNullOrEmpty] + public PSMonitorPrivateLinkScope InputObject { get; set; } + + #endregion + + protected override void ProcessRecordInternal() + { + ResourceIdentifier identifier; + + if (this.IsParameterBound(c => c.InputObject)) + { + identifier = new ResourceIdentifier(this.InputObject.Id); + this.ResourceGroupName = identifier.ResourceGroupName; + this.ScopeName = identifier.ResourceName; + } + else if (this.IsParameterBound(c => c.ResourceId)) + { + identifier = new ResourceIdentifier(this.ResourceId); + this.ResourceGroupName = identifier.ResourceGroupName; + this.ScopeName = identifier.ParentResource; + this.Name = identifier.ResourceName; + } + + if (!this.IsParameterBound(c => c.Name)) + { + var response = this.MonitorManagementClient + .PrivateLinkScopedResources + .ListByPrivateLinkScopeWithHttpMessagesAsync(this.ResourceGroupName, this.ScopeName) + .Result; + WriteObject(response.Body.Select(scope => PSMapper.Instance.Map(scope)).ToList(), true); + } + else if (this.IsParameterBound(c => c.Name)) + { + var response = this.MonitorManagementClient + .PrivateLinkScopedResources + .GetWithHttpMessagesAsync(this.ResourceGroupName, this.ScopeName, this.Name) + .Result; + WriteObject(PSMapper.Instance.Map(response.Body)); + } + } + } +} diff --git a/src/Monitor/Monitor/PrivateLinkScopes/NewAzureInsightsPrivateLinkScope.cs b/src/Monitor/Monitor/PrivateLinkScopes/NewAzureInsightsPrivateLinkScope.cs new file mode 100644 index 000000000000..0433b5f9eb75 --- /dev/null +++ b/src/Monitor/Monitor/PrivateLinkScopes/NewAzureInsightsPrivateLinkScope.cs @@ -0,0 +1,74 @@ +// ---------------------------------------------------------------------------------- +// +// 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 System; +using System.Management.Automation; +using Microsoft.Azure.Commands.Insights.OutputClasses; +using Microsoft.Azure.Management.Monitor.Models; +using Microsoft.Azure.Commands.Insights.Utils; +using System.Linq; +using Microsoft.WindowsAzure.Commands.Utilities.Common; + +namespace Microsoft.Azure.Commands.Insights.PrivateLinkScopes +{ + [Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "InsightsPrivateLinkScope", DefaultParameterSetName = ByResourceGroupParameterSet, SupportsShouldProcess = true), OutputType(typeof(PSMonitorPrivateLinkScope))] + public class NewAzureInsightsPrivateLinkScope : AzureInsightsPrivateLinkScopeCreateOrUpdateCmdletBase + { + #region Cmdlet parameters + + [Parameter( + Mandatory = true, + HelpMessage = "Location")] + [ValidateNotNullOrEmpty] + public string Location { get; set; } + + #endregion + + protected override void ProcessRecordInternal() + { + base.ProcessRecordInternal(); + + AzureMonitorPrivateLinkScope existingScope = null ; + try + { + existingScope = this.getExistingScope(this.ResourceGroupName, this.Name); + } + catch + { + existingScope = null; + } + + if (existingScope != null) + { + throw new PSInvalidOperationException(string.Format("A Private Link Scope with name: '{0}' in resource group: '{1}' already exists. Please use Update-AzInsightsPrivateLinkScope to update an existing scope.", this.Name, this.ResourceGroupName)); + } + + AzureMonitorPrivateLinkScope payLoad = new AzureMonitorPrivateLinkScope(this.Location); + + if (this.IsParameterBound(c => c.Tags)) + { + payLoad.Tags = this.Tags.ToDictionary(s => s.Split(':')[0], s => s.Split(':')[1]); + } + + if (ShouldProcess(this.Name, string.Format("create scope: {0} under resource group: {1}", this.Name, this.ResourceGroupName))) + { + var response = this.MonitorManagementClient + .PrivateLinkScopes + .CreateOrUpdateWithHttpMessagesAsync(this.ResourceGroupName, this.Name, payLoad) + .Result; + WriteObject(PSMapper.Instance.Map(response.Body)); + } + } + } +} diff --git a/src/Monitor/Monitor/PrivateLinkScopes/NewAzureInsightsPrivateLinkScopedResource.cs b/src/Monitor/Monitor/PrivateLinkScopes/NewAzureInsightsPrivateLinkScopedResource.cs new file mode 100644 index 000000000000..76c6cd94a050 --- /dev/null +++ b/src/Monitor/Monitor/PrivateLinkScopes/NewAzureInsightsPrivateLinkScopedResource.cs @@ -0,0 +1,65 @@ +// ---------------------------------------------------------------------------------- +// +// 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 System.Management.Automation; +using Microsoft.Azure.Commands.Insights.OutputClasses; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.Azure.Commands.Insights.Utils; +using Microsoft.Azure.Management.Monitor.Models; + +namespace Microsoft.Azure.Commands.Insights.PrivateLinkScopes +{ + [Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "InsightsPrivateLinkScopedResource", DefaultParameterSetName = ByResourceNameParameterSet, SupportsShouldProcess = true), OutputType(typeof(PSMonitorPrivateLinkScopedResource))] + public class NewAzureInsightsPrivateLinkScopedResource : AzureInsightsPrivateLinkScopedResourceCreateOrUpdateCmdletBase + { + [Parameter( + Mandatory = true, + HelpMessage = "LA/AI Resource Id to Link")] + [ValidateNotNullOrEmpty] + public string LinkedResourceId { get; set; } + + protected override void ProcessRecordInternal() + { + base.ProcessRecordInternal(); + + ScopedResource existingScopedResource = null; + + + try + { + existingScopedResource = getExistingScopedResource(this.ResourceGroupName, this.ScopeName, this.Name); + } + catch + { + existingScopedResource = null; + } + + if (existingScopedResource != null) + { + throw new PSInvalidOperationException(string.Format("A scoped resource with name: '{0}' in scope: {1}, resource group: '{2}' already exists. Please use Update-AzInsightsPrivateLinkScopeScopedResource to update an existing scoped resource.", this.Name, this.ScopeName, this.ResourceGroupName)); + } + + if (ShouldProcess(this.Name, string.Format("create scoped resource: {0} from scope: {1} under resource group: {2}", this.Name, this.ScopeName, this.ResourceGroupName))) + { + var response = this.MonitorManagementClient + .PrivateLinkScopedResources + .CreateOrUpdateWithHttpMessagesAsync(this.ResourceGroupName, this.ScopeName, this.Name, this.LinkedResourceId) + .Result; + WriteObject(PSMapper.Instance.Map(response.Body)); + } + } + + + } +} diff --git a/src/Monitor/Monitor/PrivateLinkScopes/RemoveAzureInsightsPrivateLinkScope.cs b/src/Monitor/Monitor/PrivateLinkScopes/RemoveAzureInsightsPrivateLinkScope.cs new file mode 100644 index 000000000000..e4d9f45837d8 --- /dev/null +++ b/src/Monitor/Monitor/PrivateLinkScopes/RemoveAzureInsightsPrivateLinkScope.cs @@ -0,0 +1,91 @@ +// ---------------------------------------------------------------------------------- +// +// 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 System.Management.Automation; +using Microsoft.Azure.Commands.Insights.OutputClasses; +using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.Azure.Management.Internal.Resources.Utilities.Models; + +namespace Microsoft.Azure.Commands.Insights.PrivateLinkScopes +{ + /// + /// Get or List private link scope(s) + /// + [Cmdlet("Remove", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "InsightsPrivateLinkScope", DefaultParameterSetName = ByResourceNameParameterSet, SupportsShouldProcess = true), OutputType(typeof(bool))] + public class RemoveAzureInsightsPrivateLinkScope : ManagementCmdletBase + { + const string ByResourceNameParameterSet = "ByResourceNameParameterSet"; + const string ByResourceIdParameterSet = "ByResourceIdParameterSet"; + const string ByInputObjectParameterSet = "ByInputObjectParameterSet"; + + #region Cmdlet parameters + + [Parameter( + ParameterSetName = ByResourceNameParameterSet, + Mandatory = true, + HelpMessage = "Resource Group Name")] + [ResourceGroupCompleter] + [ValidateNotNullOrEmpty] + public string ResourceGroupName { get; set; } + + [Parameter( + ParameterSetName = ByResourceNameParameterSet, + Mandatory = true, + HelpMessage = "Private Link Scope Name")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter( + ParameterSetName = ByResourceIdParameterSet, + Mandatory = true, + HelpMessage = "Resource Id")] + [ValidateNotNullOrEmpty] + public string ResourceId { get; set; } + + [Parameter( + ParameterSetName = ByInputObjectParameterSet, + Mandatory = true, + ValueFromPipeline = true, + HelpMessage = "PSMonitorPrivateLinkScope")] + [ValidateNotNullOrEmpty] + public PSMonitorPrivateLinkScope InputObject { get; set; } + + #endregion + + protected override void ProcessRecordInternal() + { + if (this.IsParameterBound(c => c.ResourceId) || this.IsParameterBound(c => c.InputObject)) + { + if (this.IsParameterBound(c => c.InputObject)) + { + this.ResourceId = InputObject.Id; + } + + ResourceIdentifier identifier = new ResourceIdentifier(this.ResourceId); + this.ResourceGroupName = identifier.ResourceGroupName; + this.Name = identifier.ResourceName; + } + + if (ShouldProcess(this.Name, string.Format("delete scope: {0} from resource group: {1}", this.Name, this.ResourceGroupName))) + { + var response = this.MonitorManagementClient + .PrivateLinkScopes + .DeleteWithHttpMessagesAsync(this.ResourceGroupName, this.Name) + .Result; + WriteObject(true); + } + } + } +} diff --git a/src/Monitor/Monitor/PrivateLinkScopes/RemoveAzureInsightsPrivateLinkScopedResource.cs b/src/Monitor/Monitor/PrivateLinkScopes/RemoveAzureInsightsPrivateLinkScopedResource.cs new file mode 100644 index 000000000000..e2071597db63 --- /dev/null +++ b/src/Monitor/Monitor/PrivateLinkScopes/RemoveAzureInsightsPrivateLinkScopedResource.cs @@ -0,0 +1,104 @@ +// ---------------------------------------------------------------------------------- +// +// 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 System.Management.Automation; +using Microsoft.Azure.Commands.Insights.OutputClasses; +using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.Azure.Management.Internal.Resources.Utilities.Models; + +namespace Microsoft.Azure.Commands.Insights.PrivateLinkScopes +{ + [Cmdlet("Remove", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "InsightsPrivateLinkScopedResource", DefaultParameterSetName = ByScopeParameterSet, SupportsShouldProcess = true), OutputType(typeof(bool))] + public class RemoveAzureInsightsPrivateLinkScopedResource : ManagementCmdletBase + { + const string ByScopeParameterSet = "ByScopeParameterSet"; + const string ByResourceIdParameterSet = "ByResourceIdParameterSet"; + const string ByInputObjectParameterSet = "ByInputObjectParameterSet"; + + #region Cmdlet parameters + + [Parameter( + ParameterSetName = ByScopeParameterSet, + Mandatory = true, + HelpMessage = "Resource Group Name")] + [ResourceGroupCompleter] + [ValidateNotNullOrEmpty] + public string ResourceGroupName { get; set; } + + [Parameter( + ParameterSetName = ByScopeParameterSet, + Mandatory = true, + HelpMessage = "Private Link Scope Name")] + [ValidateNotNullOrEmpty] + [ResourceNameCompleter("Microsoft.Insights/privateLinkScopes", nameof(ResourceGroupName))] + public string ScopeName { get; set; } + + [Parameter( + ParameterSetName = ByScopeParameterSet, + Mandatory = true, + HelpMessage = "Scoped resource Name")] + [Parameter( + ParameterSetName = ByInputObjectParameterSet, + Mandatory = true, + HelpMessage = "Scoped resource Name")] + [ValidateNotNullOrEmpty] + public string Name { get; set; } + + [Parameter( + ParameterSetName = ByResourceIdParameterSet, + Mandatory = true, + HelpMessage = "Resource Id")] + [ValidateNotNullOrEmpty] + public string ResourceId { get; set; } + + [Parameter( + ParameterSetName = ByInputObjectParameterSet, + Mandatory = true, + ValueFromPipeline = true, + HelpMessage = "PSMonitorPrivateLinkScope")] + [ValidateNotNullOrEmpty] + public PSMonitorPrivateLinkScope InputObject { get; set; } + + #endregion + + protected override void ProcessRecordInternal() + { + ResourceIdentifier identifier; + + if (this.IsParameterBound(c => c.InputObject)) + { + identifier = new ResourceIdentifier(this.InputObject.Id); + this.ResourceGroupName = identifier.ResourceGroupName; + this.ScopeName = identifier.ResourceName; + } + else if (this.IsParameterBound(c => c.ResourceId)) + { + identifier = new ResourceIdentifier(this.ResourceId); + this.ResourceGroupName = identifier.ResourceGroupName; + this.ScopeName = identifier.ParentResource; + this.Name = identifier.ResourceName; + } + + if (ShouldProcess(this.Name, string.Format("delete scoped resource: {0} from scope: {1} under resource group: {2}", this.Name, this.ScopeName, this.ResourceGroupName))) + { + var response = this.MonitorManagementClient + .PrivateLinkScopedResources + .DeleteWithHttpMessagesAsync(this.ResourceGroupName, this.ScopeName, this.Name) + .Result; + WriteObject(true); + } + } + } +} diff --git a/src/Monitor/Monitor/PrivateLinkScopes/UpdateAzureInsightsPrivateLinkScope.cs b/src/Monitor/Monitor/PrivateLinkScopes/UpdateAzureInsightsPrivateLinkScope.cs new file mode 100644 index 000000000000..fcabd6ffa61c --- /dev/null +++ b/src/Monitor/Monitor/PrivateLinkScopes/UpdateAzureInsightsPrivateLinkScope.cs @@ -0,0 +1,78 @@ +// ---------------------------------------------------------------------------------- +// +// 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 System.Management.Automation; +using Microsoft.Azure.Commands.Insights.OutputClasses; +using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters; +using Microsoft.Azure.Management.Monitor.Models; +using Microsoft.WindowsAzure.Commands.Utilities.Common; +using Microsoft.Azure.Commands.Insights.Utils; +using Microsoft.Azure.Management.Internal.Resources.Utilities.Models; +using System.Collections.Generic; +using System.Linq; + +namespace Microsoft.Azure.Commands.Insights.PrivateLinkScopes +{ + [Cmdlet("Update", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "InsightsPrivateLinkScope", DefaultParameterSetName = ByResourceGroupParameterSet, SupportsShouldProcess = true), OutputType(typeof(PSMonitorPrivateLinkScope))] + public class UpdateAzureInsightsPrivateLinkScope : AzureInsightsPrivateLinkScopeCreateOrUpdateCmdletBase + { + + const string ByResourceIdParameterSet = "ByResourceIdParameterSet"; + const string ByInputObjectParameterSet = "ByInputObjectParameterSet"; + + #region Cmdlet parameters + + [Parameter( + ParameterSetName = ByResourceIdParameterSet, + Mandatory = true, + HelpMessage = "Resource Id")] + [ValidateNotNullOrEmpty] + public string ResourceId { get; set; } + + [Parameter( + ParameterSetName = ByInputObjectParameterSet, + Mandatory = true, + ValueFromPipeline = true, + HelpMessage = "PSMonitorPrivateLinkScope")] + [ValidateNotNullOrEmpty] + public PSMonitorPrivateLinkScope InputObject { get; set; } + + #endregion + + protected override void ProcessRecordInternal() + { + base.ProcessRecordInternal(); + + if (this.IsParameterBound(c => c.InputObject) || this.IsParameterBound(c => c.ResourceId)) + { + if (this.IsParameterBound(c => c.InputObject)) + { + this.ResourceId = this.InputObject.Id; + } + ResourceIdentifier identifier = new ResourceIdentifier(this.ResourceId); + this.ResourceGroupName = identifier.ResourceGroupName; + this.Name = identifier.ResourceName; + } + + if (ShouldProcess(this.Name, string.Format("update scope: {0} under resource group: {1}", this.Name, this.ResourceGroupName))) + { + var response = this.MonitorManagementClient + .PrivateLinkScopes + .UpdateTagsWithHttpMessagesAsync(this.ResourceGroupName, this.Name, this.Tags.ToDictionary(s => s.Split(':')[0], s => s.Split(':')[1])) + .Result; + WriteObject(PSMapper.Instance.Map(response.Body)); + } + } + } +} diff --git a/src/Monitor/Monitor/Utils/PSMapper.cs b/src/Monitor/Monitor/Utils/PSMapper.cs new file mode 100644 index 000000000000..400708940f46 --- /dev/null +++ b/src/Monitor/Monitor/Utils/PSMapper.cs @@ -0,0 +1,40 @@ +// ---------------------------------------------------------------------------------- +// +// 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 AutoMapper; +using Microsoft.Azure.Management.Monitor.Models; +using Microsoft.Azure.Commands.Insights.OutputClasses; + +namespace Microsoft.Azure.Commands.Insights.Utils +{ + class PSMapper + { + private static readonly IMapper _instance; + + static PSMapper() + { + var config = new MapperConfiguration(cfg => + { + cfg.CreateMap().ReverseMap(); + cfg.CreateMap().ReverseMap(); + cfg.CreateMap().ReverseMap(); + cfg.CreateMap().ReverseMap(); + cfg.CreateMap().ReverseMap(); + }); + _instance = config.CreateMapper(); + } + + public static IMapper Instance { get { return _instance; } } + } +} diff --git a/src/Monitor/Monitor/help/Get-AzInsightsPrivateLinkScope.md b/src/Monitor/Monitor/help/Get-AzInsightsPrivateLinkScope.md new file mode 100644 index 000000000000..9a45345e8464 --- /dev/null +++ b/src/Monitor/Monitor/help/Get-AzInsightsPrivateLinkScope.md @@ -0,0 +1,139 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.Monitor.dll-Help.xml +Module Name: Az.Monitor +online version: https://docs.microsoft.com/en-us/powershell/module/az.monitor/get-azinsightsprivatelinkscope +schema: 2.0.0 +--- + +# Get-AzInsightsPrivateLinkScope + +## SYNOPSIS +Get private link scope + +## SYNTAX + +### ByResourceGroupParameterSet (Default) +``` +Get-AzInsightsPrivateLinkScope [-ResourceGroupName ] [-DefaultProfile ] + [] +``` + +### ByResourceNameParameterSet +``` +Get-AzInsightsPrivateLinkScope -ResourceGroupName -Name + [-DefaultProfile ] [] +``` + +### ByResourceIdParameterSet +``` +Get-AzInsightsPrivateLinkScope -ResourceId [-DefaultProfile ] + [] +``` + +## DESCRIPTION +List or get private link scope + +## EXAMPLES + +### Example 1 +```powershell +Get-AzInsightsPrivateLinkScope -ResourceGroupName "rg_name" +``` + +List private link scopes under resource group "rg_name" + +### Example 2 +```powershell +Get-AzInsightsPrivateLinkScope -ResourceGroupName "rg_name" -Name "scope_name" +``` + +Get private link scope with name "scope_name" under resource group "rg_name" + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Private Link Scope Name + +```yaml +Type: System.String +Parameter Sets: ByResourceNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +Resource Group Name + +```yaml +Type: System.String +Parameter Sets: ByResourceGroupParameterSet +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +```yaml +Type: System.String +Parameter Sets: ByResourceNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceId +Resource Id + +```yaml +Type: System.String +Parameter Sets: ByResourceIdParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### System.String + +## OUTPUTS + +### Microsoft.Azure.Commands.Insights.OutputClasses.PSMonitorPrivateLinkScope + +## NOTES + +## RELATED LINKS diff --git a/src/Monitor/Monitor/help/Get-AzInsightsPrivateLinkScopedResource.md b/src/Monitor/Monitor/help/Get-AzInsightsPrivateLinkScopedResource.md new file mode 100644 index 000000000000..865052072b83 --- /dev/null +++ b/src/Monitor/Monitor/help/Get-AzInsightsPrivateLinkScopedResource.md @@ -0,0 +1,157 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.Monitor.dll-Help.xml +Module Name: Az.Monitor +online version: https://docs.microsoft.com/en-us/powershell/module/az.monitor/get-azinsightsprivatelinkscopedresource +schema: 2.0.0 +--- + +# Get-AzInsightsPrivateLinkScopedResource + +## SYNOPSIS +Get for private link scoped resource + +## SYNTAX + +### ByScopeParameterSet (Default) +``` +Get-AzInsightsPrivateLinkScopedResource -ResourceGroupName -ScopeName [-Name ] + [-DefaultProfile ] [] +``` + +### ByInputObjectParameterSet +``` +Get-AzInsightsPrivateLinkScopedResource [-Name ] -InputObject + [-DefaultProfile ] [] +``` + +### ByResourceIdParameterSet +``` +Get-AzInsightsPrivateLinkScopedResource -ResourceId [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Get or list for private link scoped resource, scoped resource could be Log Analytics workspace or Application Insights component + +## EXAMPLES + +### Example 1 +```powershell +Get-AzInsightsPrivateLinkScopedResource -ResourceGroupName "rg_name" -ScopeName "scope_name" +``` + +List scoped resource under private link scope "scope_name" + +### Example 2 +```powershell +Get-AzInsightsPrivateLinkScopedResource -ResourceGroupName "rg_name" -ScopeName "scope_name" -Name "scoped_resource_name" +``` + +Get scoped resource under private link scope "scope_name" with name "scoped_resource_name" + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +PSMonitorPrivateLinkScope + +```yaml +Type: Microsoft.Azure.Commands.Insights.OutputClasses.PSMonitorPrivateLinkScope +Parameter Sets: ByInputObjectParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Scoped resource Name + +```yaml +Type: System.String +Parameter Sets: ByScopeParameterSet, ByInputObjectParameterSet +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +Resource Group Name + +```yaml +Type: System.String +Parameter Sets: ByScopeParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceId +Resource Id + +```yaml +Type: System.String +Parameter Sets: ByResourceIdParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ScopeName +Private Link Scope Name + +```yaml +Type: System.String +Parameter Sets: ByScopeParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### System.String + +## OUTPUTS + +### icrosoft.Azure.Commands.Insights.OutputClasses.PSMonitorPrivateLinkScopedResource + +## NOTES + +## RELATED LINKS diff --git a/src/Monitor/Monitor/help/New-AzInsightsPrivateLinkScope.md b/src/Monitor/Monitor/help/New-AzInsightsPrivateLinkScope.md new file mode 100644 index 000000000000..714af2b62027 --- /dev/null +++ b/src/Monitor/Monitor/help/New-AzInsightsPrivateLinkScope.md @@ -0,0 +1,153 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.Monitor.dll-Help.xml +Module Name: Az.Monitor +online version: https://docs.microsoft.com/en-us/powershell/module/az.monitor/new-azinsightsprivatelinkscope +schema: 2.0.0 +--- + +# New-AzInsightsPrivateLinkScope + +## SYNOPSIS +create private link scope + +## SYNTAX + +``` +New-AzInsightsPrivateLinkScope -Location -ResourceGroupName -Name [-Tags ] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +create private link scope + +## EXAMPLES + +### Example 1 +```powershell +New-AzInsightsPrivateLinkScope -Location "eastus" -ResourceGroupName "rg_name" -Name "scope_name" +``` + +create private link scope with name "scope_name" under resource group "rg_name" in location "eastus" + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +Location + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Private Link Scope Name + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +Resource Group Name + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tags +Tags + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### System.String + +## OUTPUTS + +### Microsoft.Azure.Commands.Insights.OutputClasses.PSMonitorPrivateLinkScope + +## NOTES + +## RELATED LINKS diff --git a/src/Monitor/Monitor/help/New-AzInsightsPrivateLinkScopedResource.md b/src/Monitor/Monitor/help/New-AzInsightsPrivateLinkScopedResource.md new file mode 100644 index 000000000000..85e9f2276f21 --- /dev/null +++ b/src/Monitor/Monitor/help/New-AzInsightsPrivateLinkScopedResource.md @@ -0,0 +1,181 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.Monitor.dll-Help.xml +Module Name: Az.Monitor +online version: https://docs.microsoft.com/en-us/powershell/module/az.monitor/new-azinsightsprivatelinkscopedresource +schema: 2.0.0 +--- + +# New-AzInsightsPrivateLinkScopedResource + +## SYNOPSIS +create for private link scoped resource + +## SYNTAX + +### ByResourceNameParameterSet (Default) +``` +New-AzInsightsPrivateLinkScopedResource -LinkedResourceId -ResourceGroupName + -ScopeName -Name [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +### ByInputObjectParameterSet +``` +New-AzInsightsPrivateLinkScopedResource -LinkedResourceId -Name + -InputObject [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +## DESCRIPTION +create for private link scoped resource, scoped resource could be Log Analytics workspace or Application Insights component + +## EXAMPLES + +### Example 1 +```powershell +$ai = Get-AzApplicationInsights -ResourceGroupName "rg_name" -Name "ai_name" + +New-AzInsightsPrivateLinkScopedResource -LinkedResourceId $ai.Id -ResourceGroupName "rg_name" -ScopeName "scope_name" -Name "scoped_resource_name" +``` + +create scoped resource "scoped_resource_name" linked to application insights component "ai_name" + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +PSMonitorPrivateLinkScope + +```yaml +Type: Microsoft.Azure.Commands.Insights.OutputClasses.PSMonitorPrivateLinkScope +Parameter Sets: ByInputObjectParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -LinkedResourceId +LA/AI Resource Id to Link + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Scoped resource Name + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +Resource Group Name + +```yaml +Type: System.String +Parameter Sets: ByResourceNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ScopeName +Private Link Scope Name + +```yaml +Type: System.String +Parameter Sets: ByResourceNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.Commands.Insights.OutputClasses.PSMonitorPrivateLinkScope + +### System.String + +## OUTPUTS + +### Microsoft.Azure.Commands.Insights.OutputClasses.PSMonitorPrivateLinkScopedResource + +## NOTES + +## RELATED LINKS diff --git a/src/Monitor/Monitor/help/Remove-AzInsightsPrivateLinkScope.md b/src/Monitor/Monitor/help/Remove-AzInsightsPrivateLinkScope.md new file mode 100644 index 000000000000..cf8bbbe996d9 --- /dev/null +++ b/src/Monitor/Monitor/help/Remove-AzInsightsPrivateLinkScope.md @@ -0,0 +1,182 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.Monitor.dll-Help.xml +Module Name: Az.Monitor +online version: https://docs.microsoft.com/en-us/powershell/module/az.monitor/remove-azinsightsprivatelinkscope +schema: 2.0.0 +--- + +# Remove-AzInsightsPrivateLinkScope + +## SYNOPSIS +delete private link scope + +## SYNTAX + +### ByResourceNameParameterSet (Default) +``` +Remove-AzInsightsPrivateLinkScope -ResourceGroupName -Name + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### ByResourceIdParameterSet +``` +Remove-AzInsightsPrivateLinkScope -ResourceId [-DefaultProfile ] [-WhatIf] + [-Confirm] [] +``` + +### ByInputObjectParameterSet +``` +Remove-AzInsightsPrivateLinkScope -InputObject + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +delete private link scope + +## EXAMPLES + +### Example 1 +```powershell +Remove-AzInsightsPrivateLinkScope -ResourceGroupName "rg_name" -Name "scope_name" +``` + +delete private link scope with name "scope_name" under resource group "rg_name" + +### Example 2 +```powershell +Remove-AzInsightsPrivateLinkScope -ResourceId "/subscriptions/{subscriptionId}/resourceGroups/rg_name/providers/microsoft.insights/privateLinkScopes/scope_name" +``` + +delete private link scope with resource Id + +### Example 3 +```powershell +Get-AzInsightsPrivateLinkScope -ResourceGroupName "rg_name" -Name "scope_name" | Remove-AzInsightsPrivateLinkScope +``` + +delete private link scope with input private link scope object + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +PSMonitorPrivateLinkScope + +```yaml +Type: Microsoft.Azure.Commands.Insights.OutputClasses.PSMonitorPrivateLinkScope +Parameter Sets: ByInputObjectParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Private Link Scope Name + +```yaml +Type: System.String +Parameter Sets: ByResourceNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +Resource Group Name + +```yaml +Type: System.String +Parameter Sets: ByResourceNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceId +Resource Id + +```yaml +Type: System.String +Parameter Sets: ByResourceIdParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.Commands.Insights.OutputClasses.PSMonitorPrivateLinkScope + +### System.String + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS diff --git a/src/Monitor/Monitor/help/Remove-AzInsightsPrivateLinkScopedResource.md b/src/Monitor/Monitor/help/Remove-AzInsightsPrivateLinkScopedResource.md new file mode 100644 index 000000000000..a78349bd8f42 --- /dev/null +++ b/src/Monitor/Monitor/help/Remove-AzInsightsPrivateLinkScopedResource.md @@ -0,0 +1,183 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.Monitor.dll-Help.xml +Module Name: Az.Monitor +online version: https://docs.microsoft.com/en-us/powershell/module/az.monitor/remove-azinsightsprivatelinkscopedresource +schema: 2.0.0 +--- + +# Remove-AzInsightsPrivateLinkScopedResource + +## SYNOPSIS +delete for private link scoped resource + +## SYNTAX + +### ByScopeParameterSet (Default) +``` +Remove-AzInsightsPrivateLinkScopedResource -ResourceGroupName -ScopeName -Name + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### ByInputObjectParameterSet +``` +Remove-AzInsightsPrivateLinkScopedResource -Name -InputObject + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### ByResourceIdParameterSet +``` +Remove-AzInsightsPrivateLinkScopedResource -ResourceId [-DefaultProfile ] + [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +delete for private link scoped resource + +## EXAMPLES + +### Example 1 +```powershell +Remove-AzInsightsPrivateLinkScopedResource -ResourceGroupName "rg_name" -ScopeName "scope_name" -Name "scoped_resource_name" +``` + +delete private link scoped resource + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +PSMonitorPrivateLinkScope + +```yaml +Type: Microsoft.Azure.Commands.Insights.OutputClasses.PSMonitorPrivateLinkScope +Parameter Sets: ByInputObjectParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Scoped resource Name + +```yaml +Type: System.String +Parameter Sets: ByScopeParameterSet, ByInputObjectParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +Resource Group Name + +```yaml +Type: System.String +Parameter Sets: ByScopeParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceId +Resource Id + +```yaml +Type: System.String +Parameter Sets: ByResourceIdParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ScopeName +Private Link Scope Name + +```yaml +Type: System.String +Parameter Sets: ByScopeParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.Commands.Insights.OutputClasses.PSMonitorPrivateLinkScope + +### System.String + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS diff --git a/src/Monitor/Monitor/help/Update-AzInsightsPrivateLinkScope.md b/src/Monitor/Monitor/help/Update-AzInsightsPrivateLinkScope.md new file mode 100644 index 000000000000..7cd38653d7b4 --- /dev/null +++ b/src/Monitor/Monitor/help/Update-AzInsightsPrivateLinkScope.md @@ -0,0 +1,197 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.Monitor.dll-Help.xml +Module Name: Az.Monitor +online version: https://docs.microsoft.com/en-us/powershell/module/az.monitor/update-azinsightsprivatelinkscope +schema: 2.0.0 +--- + +# Update-AzInsightsPrivateLinkScope + +## SYNOPSIS +Update for private link scope + +## SYNTAX + +### ByResourceNameParameterSet (Default) +``` +Update-AzInsightsPrivateLinkScope -ResourceGroupName -Name [-Tags ] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### ByResourceIdParameterSet +``` +Update-AzInsightsPrivateLinkScope -ResourceId [-Tags ] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### ByInputObjectParameterSet +``` +Update-AzInsightsPrivateLinkScope -InputObject [-Tags ] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +## DESCRIPTION +Update for private link scope + +## EXAMPLES + +### Example 1 +```powershell +Update-AzInsightsPrivateLinkScope -ResourceGroupName "rg_name" -Name "scope_name" -Tags "key:value" +``` + +update private link scope with name "scope_name" under resource group "rg_name" to use tag "key:value" + +### Example 2 +```powershell +Update-AzInsightsPrivateLinkScope -ResourceId "/subscriptions/{subscriptionId}/resourceGroups/rg_name/providers/microsoft.insights/privateLinkScopes/scope_name" -Tags "key:value" +``` + +update private link scope with resource Id to use tag "key:value" + +### Example 3 +```powershell +Get-AzInsightsPrivateLinkScope -ResourceGroupName "rg_name" -Name "scope_name" | Update-AzInsightsPrivateLinkScope -Tags "key:value" +``` + +update private link scope with input private link scope object to use tag "key:value" + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +PSMonitorPrivateLinkScope + +```yaml +Type: Microsoft.Azure.Commands.Insights.OutputClasses.PSMonitorPrivateLinkScope +Parameter Sets: ByInputObjectParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +Private Link Scope Name + +```yaml +Type: System.String +Parameter Sets: ByResourceNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +Resource Group Name + +```yaml +Type: System.String +Parameter Sets: ByResourceNameParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceId +Resource Id + +```yaml +Type: System.String +Parameter Sets: ByResourceIdParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tags +Tags + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.Commands.Insights.OutputClasses.PSMonitorPrivateLinkScope + +### System.String + +## OUTPUTS + +### Microsoft.Azure.Commands.Insights.OutputClasses.PSMonitorPrivateLinkScope + +## NOTES + +## RELATED LINKS diff --git a/src/Sql/Sql.Test/Sql.Test.csproj b/src/Sql/Sql.Test/Sql.Test.csproj index 953c2d241fde..f03342f4d064 100644 --- a/src/Sql/Sql.Test/Sql.Test.csproj +++ b/src/Sql/Sql.Test/Sql.Test.csproj @@ -11,7 +11,7 @@ - + diff --git a/tools/StaticAnalysis/Exceptions/Az.Monitor/BreakingChangeIssues.csv b/tools/StaticAnalysis/Exceptions/Az.Monitor/BreakingChangeIssues.csv index 1e65b4a0f174..725174b6efe3 100644 --- a/tools/StaticAnalysis/Exceptions/Az.Monitor/BreakingChangeIssues.csv +++ b/tools/StaticAnalysis/Exceptions/Az.Monitor/BreakingChangeIssues.csv @@ -5,4 +5,7 @@ "Microsoft.Azure.PowerShell.Cmdlets.Monitor.dll","Microsoft.Azure.Commands.Insights.Alerts.NewAzureRmMetricAlertRuleV2CriteriaCommand","New-AzMetricAlertRuleV2Criteria","0","2020","The cmdlet 'New-AzMetricAlertRuleV2Criteria' no longer supports the type 'System.String' for parameter 'DynamicThreshold'.","Change the type for parameter 'DynamicThreshold' back to 'System.String'." "Microsoft.Azure.PowerShell.Cmdlets.Monitor.dll","Microsoft.Azure.Commands.Insights.Alerts.AddAzureRmMetricAlertRuleV2Command","Add-AzMetricAlertRuleV2","0","1050","The parameter set '__AllParameterSets' for cmdlet 'Add-AzMetricAlertRuleV2' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'Add-AzMetricAlertRuleV2'." "Microsoft.Azure.PowerShell.Cmdlets.Monitor.dll","Microsoft.Azure.Commands.Insights.Alerts.AddAzureRmMetricAlertRuleV2Command","Add-AzMetricAlertRuleV2","0","1050","The parameter set 'CreateAlertByResourceId' for cmdlet 'Add-AzMetricAlertRuleV2' has been removed.","Add parameter set 'CreateAlertByResourceId' back to cmdlet 'Add-AzMetricAlertRuleV2'." -"Microsoft.Azure.PowerShell.Cmdlets.Monitor.dll","Microsoft.Azure.Commands.Insights.Alerts.AddAzureRmMetricAlertRuleV2Command","Add-AzMetricAlertRuleV2","0","1050","The parameter set 'CreateAlertByScopes' for cmdlet 'Add-AzMetricAlertRuleV2' has been removed.","Add parameter set 'CreateAlertByScopes' back to cmdlet 'Add-AzMetricAlertRuleV2'." \ No newline at end of file +"Microsoft.Azure.PowerShell.Cmdlets.Monitor.dll","Microsoft.Azure.Commands.Insights.Alerts.AddAzureRmMetricAlertRuleV2Command","Add-AzMetricAlertRuleV2","0","1050","The parameter set 'CreateAlertByScopes' for cmdlet 'Add-AzMetricAlertRuleV2' has been removed.","Add parameter set 'CreateAlertByScopes' back to cmdlet 'Add-AzMetricAlertRuleV2'." +"Microsoft.Azure.PowerShell.Cmdlets.Monitor.dll","Microsoft.Azure.Commands.Insights.Alerts.NewAzureRmMetricAlertRuleV2CriteriaCommand","New-AzMetricAlertRuleV2Criteria","0","3000","The type of property 'OperatorProperty' of type 'Microsoft.Azure.Commands.Insights.OutputClasses.PSMetricCriteria' has changed from 'System.Object' to 'System.String'.","Change the type of property 'OperatorProperty' back to 'System.Object'." +"Microsoft.Azure.PowerShell.Cmdlets.Monitor.dll","Microsoft.Azure.Commands.Insights.Alerts.NewAzureRmMetricAlertRuleV2CriteriaCommand","New-AzMetricAlertRuleV2Criteria","0","3000","The type of property 'OperatorProperty' of type 'Microsoft.Azure.Commands.Insights.OutputClasses.PSDynamicMetricCriteria' has changed from 'System.Object' to 'System.String'.","Change the type of property 'OperatorProperty' back to 'System.Object'." +"Microsoft.Azure.PowerShell.Cmdlets.Monitor.dll","Microsoft.Azure.Commands.Insights.Alerts.NewAzureRmMetricAlertRuleV2CriteriaCommand","New-AzMetricAlertRuleV2Criteria","0","3000","The type of property 'AlertSensitivity' of type 'Microsoft.Azure.Commands.Insights.OutputClasses.PSDynamicMetricCriteria' has changed from 'System.Object' to 'System.String'.","Change the type of property 'AlertSensitivity' back to 'System.Object'." \ No newline at end of file