diff --git a/src/Resources/ResourceManager/Implementation/DeploymentStacks/RemoveAzManagmentGroupDeploymentStack.cs b/src/Resources/ResourceManager/Implementation/DeploymentStacks/RemoveAzManagmentGroupDeploymentStack.cs index 9c975cd1597d..585ba0c1103b 100644 --- a/src/Resources/ResourceManager/Implementation/DeploymentStacks/RemoveAzManagmentGroupDeploymentStack.cs +++ b/src/Resources/ResourceManager/Implementation/DeploymentStacks/RemoveAzManagmentGroupDeploymentStack.cs @@ -15,6 +15,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation { using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components; + using Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels; using Microsoft.Azure.Management.Resources.Models; using Microsoft.WindowsAzure.Commands.Common.CustomAttributes; using System; @@ -29,6 +30,7 @@ public class RemoveAzManagementGroupDeploymentStack : DeploymentStacksCmdletBase internal const string RemoveByResourceIdParameterSetName = "RemoveByResourceId"; internal const string RemoveByNameAndManagementGroupIdParameterSetName = "RemoveByNameAndManagementGroupId"; + internal const string RemoveByStackObjectParameterSetName = "RemoveByStackObject"; [Alias("StackName")] [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = RemoveByNameAndManagementGroupIdParameterSetName, @@ -47,6 +49,11 @@ public class RemoveAzManagementGroupDeploymentStack : DeploymentStacksCmdletBase [ValidateNotNullOrEmpty] public string ManagementGroupId { get; set; } + [Parameter(Position = 0, Mandatory = true, ValueFromPipeline = true, ParameterSetName = RemoveByStackObjectParameterSetName, + HelpMessage = "The stack PS object")] + [ValidateNotNullOrEmpty] + public PSDeploymentStack InputObjet { get; set; } + [Parameter(Mandatory = false, HelpMessage = "Signal to delete both unmanaged Resources and ResourceGroups after updating stack.")] public SwitchParameter DeleteAll { get; set; } @@ -73,10 +80,16 @@ protected override void OnProcessRecord() var shouldDeleteResources = (DeleteAll.ToBool() || DeleteResources.ToBool()) ? true : false; var shouldDeleteResourceGroups = (DeleteAll.ToBool() || DeleteResourceGroups.ToBool()) ? true : false; + if (InputObjet != null) + { + ResourceId = InputObjet.id; + } + // resolve Name and ManagementGroupId if ResourceId was provided ManagementGroupId = ManagementGroupId ?? ResourceIdUtility.GetManagementGroupId(ResourceId); Name = Name ?? ResourceIdUtility.GetDeploymentName(ResourceId); + // failed resolving the resource id if (Name == null || ManagementGroupId == null) { diff --git a/src/Resources/ResourceManager/Implementation/DeploymentStacks/RemoveAzResourceGroupDeploymentStack.cs b/src/Resources/ResourceManager/Implementation/DeploymentStacks/RemoveAzResourceGroupDeploymentStack.cs index dcff3f58dfd8..ed7c4d5126b0 100644 --- a/src/Resources/ResourceManager/Implementation/DeploymentStacks/RemoveAzResourceGroupDeploymentStack.cs +++ b/src/Resources/ResourceManager/Implementation/DeploymentStacks/RemoveAzResourceGroupDeploymentStack.cs @@ -15,6 +15,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation { using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components; + using Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels; using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters; using Microsoft.Azure.Management.Resources.Models; using Microsoft.WindowsAzure.Commands.Common.CustomAttributes; @@ -30,6 +31,7 @@ public class RemoveAzResourceGroupDeploymentStack : DeploymentStacksCmdletBase internal const string RemoveByResourceIdParameterSetName = "RemoveByResourceId"; internal const string RemoveByNameAndResourceGroupNameParameterSetName = "RemoveByNameAndResourceGroupName"; + internal const string RemoveByStackObjectParameterSetName = "RemoveByStackObject"; [Alias("StackName")] [Parameter(Position = 1, Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = RemoveByNameAndResourceGroupNameParameterSetName, @@ -38,7 +40,7 @@ public class RemoveAzResourceGroupDeploymentStack : DeploymentStacksCmdletBase public string Name { get; set; } [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = RemoveByNameAndResourceGroupNameParameterSetName, - HelpMessage = "The name of the Resource Group with the stack to delete")] + HelpMessage = "The name of the Resource Group with the stack to delete")] [ResourceGroupCompleter] [ValidateNotNullOrEmpty] public string ResourceGroupName { get; set; } @@ -49,6 +51,11 @@ public class RemoveAzResourceGroupDeploymentStack : DeploymentStacksCmdletBase [ValidateNotNullOrEmpty] public string ResourceId { get; set; } + [Parameter(Position = 0, Mandatory = true, ValueFromPipeline = true, ParameterSetName = RemoveByStackObjectParameterSetName, + HelpMessage = "The stack PS object.")] + [ValidateNotNullOrEmpty] + public PSDeploymentStack InputObjet { get; set; } + [Parameter(Mandatory = false, HelpMessage = "Signal to delete both unmanaged Resources and ResourceGroups after updating stack.")] public SwitchParameter DeleteAll { get; set; } @@ -75,6 +82,11 @@ protected override void OnProcessRecord() var shouldDeleteResources = (DeleteAll.ToBool() || DeleteResources.ToBool()) ? true : false; var shouldDeleteResourceGroups = (DeleteAll.ToBool() || DeleteResourceGroups.ToBool()) ? true : false; + if (InputObjet != null) + { + ResourceId = InputObjet.id; + } + // resolve Name and ResourceGroupName if ResourceId was provided ResourceGroupName = ResourceGroupName ?? ResourceIdUtility.GetResourceGroupName(ResourceId); Name = Name ?? ResourceIdUtility.GetDeploymentName(ResourceId); diff --git a/src/Resources/ResourceManager/Implementation/DeploymentStacks/RemoveAzSubscriptionDeploymentStack.cs b/src/Resources/ResourceManager/Implementation/DeploymentStacks/RemoveAzSubscriptionDeploymentStack.cs index b2f5fb2ce1b5..6c44ce0ad3d9 100644 --- a/src/Resources/ResourceManager/Implementation/DeploymentStacks/RemoveAzSubscriptionDeploymentStack.cs +++ b/src/Resources/ResourceManager/Implementation/DeploymentStacks/RemoveAzSubscriptionDeploymentStack.cs @@ -15,6 +15,7 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation { using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components; + using Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels; using Microsoft.Azure.Management.Resources.Models; using Microsoft.WindowsAzure.Commands.Common.CustomAttributes; using System; @@ -29,6 +30,7 @@ public class RemoveAzSubscriptionDeploymentStack : DeploymentStacksCmdletBase internal const string RemoveByResourceIdParameterSetName = "RemoveByResourceId"; internal const string RemoveByNameParameterSetName = "RemoveByName"; + internal const string RemoveByStackObjectParameterSetName = "RemoveByStackObject"; [Alias("StackName")] [Parameter(Position = 0, Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = RemoveByNameParameterSetName, @@ -42,6 +44,11 @@ public class RemoveAzSubscriptionDeploymentStack : DeploymentStacksCmdletBase [ValidateNotNullOrEmpty] public string ResourceId { get; set; } + [Parameter(Position = 0, Mandatory = true, ValueFromPipeline = true, ParameterSetName = RemoveByStackObjectParameterSetName, + HelpMessage = "The stack PS object")] + [ValidateNotNullOrEmpty] + public PSDeploymentStack InputObjet { get; set; } + [Parameter(Mandatory = false, HelpMessage = "Signal to delete both unmanaged Resources and ResourceGroups after updating stack.")] public SwitchParameter DeleteAll { get; set; } @@ -68,6 +75,11 @@ protected override void OnProcessRecord() var shouldDeleteResources = (DeleteAll.ToBool() || DeleteResources.ToBool()) ? true : false; var shouldDeleteResourceGroups = (DeleteAll.ToBool() || DeleteResourceGroups.ToBool()) ? true : false; + if (InputObjet != null) + { + ResourceId = InputObjet.id; + } + // resolve Name if ResourceId was provided Name = Name ?? ResourceIdUtility.GetDeploymentName(ResourceId); diff --git a/src/Resources/ResourceManager/Implementation/DeploymentStacks/SaveAzManagmentGroupDeploymentStackTemplate.cs b/src/Resources/ResourceManager/Implementation/DeploymentStacks/SaveAzManagmentGroupDeploymentStackTemplate.cs index 09f313fcd080..8a5e8f9d9bca 100644 --- a/src/Resources/ResourceManager/Implementation/DeploymentStacks/SaveAzManagmentGroupDeploymentStackTemplate.cs +++ b/src/Resources/ResourceManager/Implementation/DeploymentStacks/SaveAzManagmentGroupDeploymentStackTemplate.cs @@ -30,6 +30,7 @@ public class SaveAzManagementGroupDeploymentStackTemplate : DeploymentStacksCmdl internal const string SaveByResourceIdParameterSetName = "SaveByResourceId"; internal const string SaveByNameAndManagementGroupIdParameterSetName = "SaveByNameAndManagmentGroupId"; + internal const string SaveByStackObjectParameterSetName = "SaveByStackObject"; [Alias("Id")] [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = SaveByResourceIdParameterSetName, @@ -47,6 +48,11 @@ public class SaveAzManagementGroupDeploymentStackTemplate : DeploymentStacksCmdl [ValidateNotNullOrEmpty] public string ManagementGroupId { get; set; } + [Parameter(Position = 0, Mandatory = true, ValueFromPipeline = true, ParameterSetName = SaveByStackObjectParameterSetName, + HelpMessage = "The stack PS object")] + [ValidateNotNullOrEmpty] + public PSDeploymentStack InputObjet { get; set; } + #endregion #region Cmdlet Overrides @@ -56,7 +62,11 @@ protected override void OnProcessRecord() { switch (ParameterSetName) { - case SaveByResourceIdParameterSetName: + case SaveByResourceIdParameterSetName: case SaveByStackObjectParameterSetName: + if (InputObjet != null) + { + ResourceId = InputObjet.id; + } ManagementGroupId = ResourceIdUtility.GetManagementGroupId(ResourceId); StackName = ResourceIdUtility.GetDeploymentName(ResourceId); if (ManagementGroupId == null || StackName == null) diff --git a/src/Resources/ResourceManager/Implementation/DeploymentStacks/SaveAzResourceGroupDeploymentStackTemplate.cs b/src/Resources/ResourceManager/Implementation/DeploymentStacks/SaveAzResourceGroupDeploymentStackTemplate.cs index 6d36e9f56bd6..81d1d49d3ac2 100644 --- a/src/Resources/ResourceManager/Implementation/DeploymentStacks/SaveAzResourceGroupDeploymentStackTemplate.cs +++ b/src/Resources/ResourceManager/Implementation/DeploymentStacks/SaveAzResourceGroupDeploymentStackTemplate.cs @@ -30,6 +30,7 @@ public class SaveAzResourceGroupDeploymentStackTemplate : DeploymentStacksCmdlet internal const string SaveByResourceIdParameterSetName = "SaveByResourceId"; internal const string SaveByNameAndResourceGroupNameParameterSetName = "SaveByNameAndResourceGroupName"; + internal const string SaveByStackObjectParameterSetName = "SaveByStackObject"; [Alias("Id")] [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = SaveByResourceIdParameterSetName, @@ -48,6 +49,11 @@ public class SaveAzResourceGroupDeploymentStackTemplate : DeploymentStacksCmdlet [ValidateNotNullOrEmpty] public string StackName { get; set; } + [Parameter(Position = 0, Mandatory = true, ValueFromPipeline = true, ParameterSetName = SaveByStackObjectParameterSetName, + HelpMessage = "The stack PS object")] + [ValidateNotNullOrEmpty] + public PSDeploymentStack InputObjet { get; set; } + #endregion #region Cmdlet Overrides @@ -58,7 +64,11 @@ protected override void OnProcessRecord() { switch (ParameterSetName) { - case SaveByResourceIdParameterSetName: + case SaveByResourceIdParameterSetName: case SaveByStackObjectParameterSetName: + if (InputObjet != null) + { + ResourceId = InputObjet.id; + } ResourceGroupName = ResourceIdUtility.GetResourceGroupName(ResourceId); StackName = ResourceIdUtility.GetDeploymentName(ResourceId); if (ResourceGroupName == null || StackName == null) diff --git a/src/Resources/ResourceManager/Implementation/DeploymentStacks/SaveAzSubscriptionDeploymentStackTemplate.cs b/src/Resources/ResourceManager/Implementation/DeploymentStacks/SaveAzSubscriptionDeploymentStackTemplate.cs index 6362971722dc..b179d2e12602 100644 --- a/src/Resources/ResourceManager/Implementation/DeploymentStacks/SaveAzSubscriptionDeploymentStackTemplate.cs +++ b/src/Resources/ResourceManager/Implementation/DeploymentStacks/SaveAzSubscriptionDeploymentStackTemplate.cs @@ -30,6 +30,7 @@ public class SaveAzSubscriptionDeploymentStackTemplate : DeploymentStacksCmdletB internal const string SaveByResourceIdParameterSetName = "SaveByResourceId"; internal const string SaveByNameParameterSetName = "SaveByName"; + internal const string SaveByStackObjectParameterSetName = "SaveByStackObject"; [Alias("Id")] [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = SaveByResourceIdParameterSetName, @@ -42,6 +43,11 @@ public class SaveAzSubscriptionDeploymentStackTemplate : DeploymentStacksCmdletB [ValidateNotNullOrEmpty] public string StackName { get; set; } + [Parameter(Position = 0, Mandatory = true, ValueFromPipeline = true, ParameterSetName = SaveByStackObjectParameterSetName, + HelpMessage = "The stack PS object")] + [ValidateNotNullOrEmpty] + public PSDeploymentStack InputObjet { get; set; } + #endregion #region Cmdlet Overrides @@ -51,7 +57,11 @@ protected override void OnProcessRecord() { switch (ParameterSetName) { - case SaveByResourceIdParameterSetName: + case SaveByResourceIdParameterSetName: case SaveByStackObjectParameterSetName: + if (InputObjet != null) + { + ResourceId = InputObjet.id; + } StackName = ResourceIdUtility.GetDeploymentName(ResourceId); if (StackName == null) { diff --git a/src/Resources/Resources.Test/ScenarioTests/DeploymentStackTests.cs b/src/Resources/Resources.Test/ScenarioTests/DeploymentStackTests.cs index a4bca3b7ed79..d080317f8fc8 100644 --- a/src/Resources/Resources.Test/ScenarioTests/DeploymentStackTests.cs +++ b/src/Resources/Resources.Test/ScenarioTests/DeploymentStackTests.cs @@ -101,6 +101,13 @@ public void TestNewAndSetResourceGroupDeploymentStackWithTags() TestRunner.RunTestScript("Test-NewAndSetResourceGroupDeploymentStackWithTags"); } + [Fact()] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestSaveAndRemoveResourceGroupDeploymentStackWithPipeOperator() + { + TestRunner.RunTestScript("Test-SaveAndRemoveResourceGroupDeploymentStackWithPipeOperator"); + } + [Fact()] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestGetSubscriptionDeploymentStack() @@ -178,6 +185,13 @@ public void TestNewAndSetSubscriptionDeploymentStackWithTags() TestRunner.RunTestScript("Test-NewAndSetSubscriptionDeploymentStackWithTags"); } + [Fact()] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestSaveAndRemoveSubscriptionDeploymentStackWithPipeOperator() + { + TestRunner.RunTestScript("Test-SaveAndRemoveSubscriptionDeploymentStackWithPipeOperator"); + } + [Fact()] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestGetManagementGroupDeploymentStack() @@ -254,5 +268,12 @@ public void TestNewAndSetManagementGroupDeploymentStackWithTags() { TestRunner.RunTestScript("Test-NewAndSetManagementGroupDeploymentStackWithTags"); } + + [Fact()] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestSaveAndRemoveManagementGroupDeploymentStackWithPipeOperator() + { + TestRunner.RunTestScript("Test-SaveAndRemoveManagementGroupDeploymentStackWithPipeOperator"); + } } } diff --git a/src/Resources/Resources.Test/ScenarioTests/DeploymentStackTests.ps1 b/src/Resources/Resources.Test/ScenarioTests/DeploymentStackTests.ps1 index 0297ecb44af2..db5fdb7a8a02 100644 --- a/src/Resources/Resources.Test/ScenarioTests/DeploymentStackTests.ps1 +++ b/src/Resources/Resources.Test/ScenarioTests/DeploymentStackTests.ps1 @@ -593,6 +593,40 @@ function Test-SaveResourceGroupDeploymentStackTemplate } } + <# +.SYNOPSIS +Tests SAVE and REMOVE operation using pipe operator on deploymentStacks at RG scope. +#> +function Test-SaveAndRemoveResourceGroupDeploymentStackWithPipeOperator +{ + # Setup + $rgname = Get-ResourceGroupName + $rname = Get-ResourceName + $rglocation = "West US 2" + + try + { + # Prepare + New-AzResourceGroup -Name $rgname -Location $rglocation + $deployment = New-AzResourceGroupDeploymentStack -Name $rname -ResourceGroupName $rgname -TemplateFile StacksRGTemplate.json -TemplateParameterFile StacksRGTemplateParams.json -DenySettingsMode None -Force + Assert-AreEqual "succeeded" $deployment.ProvisioningState + + # --- SaveByStackObjectSetName --- + $template = Get-AzResourceGroupDeploymentStack -Name $rname -ResourceGroupName $rgname | Save-AzResourceGroupDeploymentStackTemplate + Assert-NotNull $template + + # --- RemoveByStackObjectSetName --- + $deployment = Get-AzResourceGroupDeploymentStack -Name $rname -ResourceGroupName $rgname | Remove-AzResourceGroupDeploymentStack -Force + Assert-Null $deployment + } + + finally + { + # Cleanup + Clean-ResourceGroup $rgname + } +} + #### Subscription Scoped Stacks ##### <# @@ -1161,6 +1195,37 @@ function Test-GetManagementGroupDeploymentStack } } + <# +.SYNOPSIS +Tests SAVE and REMOVE operation using pipe operator on deploymentStacks at Sub scope. +#> +function Test-SaveAndRemoveSubscriptionDeploymentStackWithPipeOperator +{ + # Setup + $rname = Get-ResourceName + $location = "West US 2" + + try + { + # Prepare + $deployment = New-AzSubscriptionDeploymentStack -Name $rname -Location $location -TemplateFile StacksSubTemplate.json -TemplateParameterFile StacksSubTemplateParams.json -DenySettingsMode None -Force + Assert-AreEqual "succeeded" $deployment.ProvisioningState + + # --- SaveByStackObjectSetName --- + $template = Get-AzSubscriptionDeploymentStack -Name $rname | Save-AzSubscriptionDeploymentStackTemplate + Assert-NotNull $template + + # --- RemoveByStackObjectSetName --- + $deployment = Get-AzSubscriptionDeploymentStack -Name $rname | Remove-AzSubscriptionDeploymentStack -Force + Assert-Null $deployment + } + + finally + { + # No need to cleanup as we already deleted stack. + } +} + <# .SYNOPSIS Tests New operation on deployment stacks at the RG scope. @@ -1638,4 +1703,37 @@ function Test-SaveManagementGroupDeploymentStackTemplate # Cleanup Remove-AzManagementGroupDeploymentStack $mgid $rname -DeleteAll -Force } +} + + <# +.SYNOPSIS +Tests SAVE and REMOVE operation using pipe operator on deploymentStacks at MG scope. +#> +function Test-SaveAndRemoveManagementGroupDeploymentStackWithPipeOperator +{ + # Setup + $mgid = "AzBlueprintAssignTest" + $rname = Get-ResourceName + $location = "West US 2" + $subId = (Get-AzContext).Subscription.SubscriptionId + + try + { + # Prepare + $deployment = New-AzManagementGroupDeploymentStack -Name $rname -ManagementGroupId $mgid -DeploymentSubscriptionId $subId -TemplateFile StacksMGTemplate.json -TemplateParameterFile StacksMGTemplateParams.json -Location $location -DenySettingsMode None -Force + Assert-AreEqual "succeeded" $deployment.ProvisioningState + + # --- SaveByStackObjectSetName --- + $template = Get-AzManagementGroupDeploymentStack -Name $rname -ManagementGroupId $mgid | Save-AzManagementGroupDeploymentStackTemplate + Assert-NotNull $template + + # --- RemoveByStackObjectSetName --- + $deployment = Get-AzManagementGroupDeploymentStack -Name $rname -ManagementGroupId $mgid | Remove-AzManagementGroupDeploymentStack -Force + Assert-Null $deployment + } + + finally + { + # No cleanup needed, as the stack was deleted. + } } \ No newline at end of file diff --git a/src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.DeploymentStackTests/TestSaveAndRemoveManagementGroupDeploymentStackWithPipeOperator.json b/src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.DeploymentStackTests/TestSaveAndRemoveManagementGroupDeploymentStackWithPipeOperator.json new file mode 100644 index 000000000000..3adc67a48cb6 --- /dev/null +++ b/src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.DeploymentStackTests/TestSaveAndRemoveManagementGroupDeploymentStackWithPipeOperator.json @@ -0,0 +1,1044 @@ +{ + "Entries": [ + { + "RequestUri": "/providers/Microsoft.Management/managementGroups/AzBlueprintAssignTest/providers/Microsoft.Resources/deploymentStacks/ps3851?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlbWVudC9tYW5hZ2VtZW50R3JvdXBzL0F6Qmx1ZXByaW50QXNzaWduVGVzdC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U3RhY2tzL3BzMzg1MT9hcGktdmVyc2lvbj0yMDIyLTA4LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "66f93c45-1167-4e66-8f9d-dbf6c5776663" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-ratelimit-remaining-tenant-reads": [ + "11999" + ], + "x-ms-request-id": [ + "3d163617-0fb1-4f13-8c3b-2ece473b77e0" + ], + "x-ms-correlation-request-id": [ + "3d163617-0fb1-4f13-8c3b-2ece473b77e0" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043105Z:3d163617-0fb1-4f13-8c3b-2ece473b77e0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:05 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "154" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The resource 'ps3851' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/providers/Microsoft.Management/managementGroups/AzBlueprintAssignTest/providers/Microsoft.Resources/deploymentStacks/ps3851?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlbWVudC9tYW5hZ2VtZW50R3JvdXBzL0F6Qmx1ZXByaW50QXNzaWduVGVzdC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U3RhY2tzL3BzMzg1MT9hcGktdmVyc2lvbj0yMDIyLTA4LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "66f93c45-1167-4e66-8f9d-dbf6c5776663" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "faf597f8-627c-4ad6-a12e-b49f354e2149" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-tenant-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "3f94f908-5080-4556-8a42-011120b2a816" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043111Z:3f94f908-5080-4556-8a42-011120b2a816" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:11 GMT" + ], + "Content-Length": [ + "1545" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps3851-2023-08-15-04-31-06-84b03\",\r\n \"deploymentScope\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"subId\": {\r\n \"value\": \"4ce8c9fe-cadc-47d6-9c76-335812fd59df\",\r\n \"type\": \"string\"\r\n },\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy476223\",\r\n \"type\": \"string\"\r\n },\r\n \"moduleName\": {\r\n \"value\": \"stacksMGtestmod\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"deploying\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:31:05.9623315Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:31:05.9623315Z\"\r\n },\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/AzBlueprintAssignTest/providers/Microsoft.Resources/deploymentStacks/ps3851\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps3851\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/providers/Microsoft.Management/managementGroups/AzBlueprintAssignTest/providers/Microsoft.Resources/deploymentStacks/ps3851?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlbWVudC9tYW5hZ2VtZW50R3JvdXBzL0F6Qmx1ZXByaW50QXNzaWduVGVzdC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U3RhY2tzL3BzMzg1MT9hcGktdmVyc2lvbj0yMDIyLTA4LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "66f93c45-1167-4e66-8f9d-dbf6c5776663" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "b64721c3-248c-4371-9c78-2cfb2af396fc" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-tenant-reads": [ + "11997" + ], + "x-ms-correlation-request-id": [ + "a4e04939-76f9-4538-a84c-1712ee0949b8" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043130Z:a4e04939-76f9-4538-a84c-1712ee0949b8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:30 GMT" + ], + "Content-Length": [ + "1810" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps3851-2023-08-15-04-31-06-84b03\",\r\n \"deploymentScope\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321\",\r\n \"duration\": \"PT19.3595893S\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"subId\": {\r\n \"value\": \"4ce8c9fe-cadc-47d6-9c76-335812fd59df\",\r\n \"type\": \"string\"\r\n },\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy476223\",\r\n \"type\": \"string\"\r\n },\r\n \"moduleName\": {\r\n \"value\": \"stacksMGtestmod\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"status\": \"managed\",\r\n \"denyStatus\": \"none\",\r\n \"id\": \"/subscriptions/4ce8c9fe-cadc-47d6-9c76-335812fd59df/providers/Microsoft.Authorization/policyDefinitions/PSCmdletTestPolicy476223\"\r\n }\r\n ],\r\n \"provisioningState\": \"succeeded\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:31:05.9623315Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:31:05.9623315Z\"\r\n },\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/AzBlueprintAssignTest/providers/Microsoft.Resources/deploymentStacks/ps3851\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps3851\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/providers/Microsoft.Management/managementGroups/AzBlueprintAssignTest/providers/Microsoft.Resources/deploymentStacks/ps3851?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlbWVudC9tYW5hZ2VtZW50R3JvdXBzL0F6Qmx1ZXByaW50QXNzaWduVGVzdC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U3RhY2tzL3BzMzg1MT9hcGktdmVyc2lvbj0yMDIyLTA4LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c35515ff-5ff3-44af-afa8-c02fd19204e6" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "8ed418af-50b0-4722-98b3-ba1f0d4e3707" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-tenant-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "db8e731f-8407-4434-95d6-efb6f166edb9" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043131Z:db8e731f-8407-4434-95d6-efb6f166edb9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:30 GMT" + ], + "Content-Length": [ + "1810" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps3851-2023-08-15-04-31-06-84b03\",\r\n \"deploymentScope\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321\",\r\n \"duration\": \"PT19.3595893S\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"subId\": {\r\n \"value\": \"4ce8c9fe-cadc-47d6-9c76-335812fd59df\",\r\n \"type\": \"string\"\r\n },\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy476223\",\r\n \"type\": \"string\"\r\n },\r\n \"moduleName\": {\r\n \"value\": \"stacksMGtestmod\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"status\": \"managed\",\r\n \"denyStatus\": \"none\",\r\n \"id\": \"/subscriptions/4ce8c9fe-cadc-47d6-9c76-335812fd59df/providers/Microsoft.Authorization/policyDefinitions/PSCmdletTestPolicy476223\"\r\n }\r\n ],\r\n \"provisioningState\": \"succeeded\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:31:05.9623315Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:31:05.9623315Z\"\r\n },\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/AzBlueprintAssignTest/providers/Microsoft.Resources/deploymentStacks/ps3851\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps3851\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/providers/Microsoft.Management/managementGroups/AzBlueprintAssignTest/providers/Microsoft.Resources/deploymentStacks/ps3851?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlbWVudC9tYW5hZ2VtZW50R3JvdXBzL0F6Qmx1ZXByaW50QXNzaWduVGVzdC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U3RhY2tzL3BzMzg1MT9hcGktdmVyc2lvbj0yMDIyLTA4LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "53687624-adb1-4ae2-98d2-8c62d9d02a03" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "9cb8a01b-119a-4c28-9233-4ccc2c28a149" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-tenant-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "5dafdcc7-81d8-4e02-9975-65e0319e7935" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043131Z:5dafdcc7-81d8-4e02-9975-65e0319e7935" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:31 GMT" + ], + "Content-Length": [ + "1810" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps3851-2023-08-15-04-31-06-84b03\",\r\n \"deploymentScope\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321\",\r\n \"duration\": \"PT19.3595893S\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"subId\": {\r\n \"value\": \"4ce8c9fe-cadc-47d6-9c76-335812fd59df\",\r\n \"type\": \"string\"\r\n },\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy476223\",\r\n \"type\": \"string\"\r\n },\r\n \"moduleName\": {\r\n \"value\": \"stacksMGtestmod\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"status\": \"managed\",\r\n \"denyStatus\": \"none\",\r\n \"id\": \"/subscriptions/4ce8c9fe-cadc-47d6-9c76-335812fd59df/providers/Microsoft.Authorization/policyDefinitions/PSCmdletTestPolicy476223\"\r\n }\r\n ],\r\n \"provisioningState\": \"succeeded\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:31:05.9623315Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:31:05.9623315Z\"\r\n },\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/AzBlueprintAssignTest/providers/Microsoft.Resources/deploymentStacks/ps3851\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps3851\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/providers/Microsoft.Management/managementGroups/AzBlueprintAssignTest/providers/Microsoft.Resources/deploymentStacks/ps3851?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlbWVudC9tYW5hZ2VtZW50R3JvdXBzL0F6Qmx1ZXByaW50QXNzaWduVGVzdC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U3RhY2tzL3BzMzg1MT9hcGktdmVyc2lvbj0yMDIyLTA4LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestHeaders": { + "x-ms-client-request-id": [ + "66f93c45-1167-4e66-8f9d-dbf6c5776663" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "3664" + ] + }, + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-08-01/managementGroupDeploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"metadata\": {\r\n \"_generator\": {\r\n \"name\": \"bicep\",\r\n \"version\": \"0.16.2.56959\",\r\n \"templateHash\": \"13529450622016881009\"\r\n }\r\n },\r\n \"parameters\": {\r\n \"subId\": {\r\n \"type\": \"string\"\r\n },\r\n \"moduleName\": {\r\n \"type\": \"string\"\r\n },\r\n \"policyDefinitionName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"apiVersion\": \"2022-09-01\",\r\n \"name\": \"[parameters('moduleName')]\",\r\n \"subscriptionId\": \"[parameters('subId')]\",\r\n \"location\": \"[deployment().location]\",\r\n \"properties\": {\r\n \"expressionEvaluationOptions\": {\r\n \"scope\": \"inner\"\r\n },\r\n \"mode\": \"Incremental\",\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"[parameters('policyDefinitionName')]\"\r\n }\r\n },\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"metadata\": {\r\n \"_generator\": {\r\n \"name\": \"bicep\",\r\n \"version\": \"0.16.2.56959\",\r\n \"templateHash\": \"17912971569522144482\"\r\n }\r\n },\r\n \"parameters\": {\r\n \"allowedLocations\": {\r\n \"type\": \"array\",\r\n \"defaultValue\": [\r\n \"westus\"\r\n ],\r\n \"metadata\": {\r\n \"description\": \"An array of the allowed locations, all other locations will be denied by the created policy.\"\r\n }\r\n },\r\n \"policyDefinitionName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"apiVersion\": \"2020-03-01\",\r\n \"name\": \"[parameters('policyDefinitionName')]\",\r\n \"properties\": {\r\n \"policyType\": \"Custom\",\r\n \"mode\": \"All\",\r\n \"parameters\": {},\r\n \"policyRule\": {\r\n \"if\": {\r\n \"not\": {\r\n \"field\": \"location\",\r\n \"in\": \"[parameters('allowedLocations')]\"\r\n }\r\n },\r\n \"then\": {\r\n \"effect\": \"audit\"\r\n }\r\n }\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"subId\": {\r\n \"value\": \"4ce8c9fe-cadc-47d6-9c76-335812fd59df\"\r\n },\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy476223\"\r\n },\r\n \"moduleName\": {\r\n \"value\": \"stacksMGtestmod\"\r\n }\r\n },\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentScope\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321\",\r\n \"denySettings\": {\r\n \"mode\": \"None\",\r\n \"applyToChildScopes\": false\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "0" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/providers/Microsoft.Resources/locations/westus2/deploymentStackOperationStatus/cf25f02a-ed40-4e08-803f-dacd1ec4ccb7?api-version=2022-08-01-preview&t=2023-08-15T04%3a31%3a06&c=MIIHHjCCBgagAwIBAgITfwHQwFKsM_SaZ3oYQwAEAdDAUjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjMwODAzMDkwMzExWhcNMjQwNzI4MDkwMzExWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJQbCh6bI1fy33ihbuhnYAi-tK-wY4yp8CUXk_uSV8w0AzXrOwZStPhGL2QLmMALLJhLlGruhSEdRUd-ej9YImb9EcB7Sxa7gZM4TttscUWTI37jWjJGvmL2IS8gO-V08sDqRJs9nd7v3NYjwkYwI6upPO198_TvDODjEOoXzdbqNzdg8HK9PRg4R6BQ2SYtQVjaKuTmTVPKtHbYjFDSwqH4QCNwKB-RWl8y_n0aagYHyQLs7HxDh_OYa_ragWKwpVX12uIkZZOlOYoo9z-B3yg2Qc6H93HIyyNLvYYyWvzsXlWbxsigQspOpB-JsijqIMX2LpkicZ9Qt3hdqEH3TgECAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBSotg9l-TRXg2Od_Oq4_NlEL1rRszAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHXBDjxwU1_SCJTLnITpRn3jC6-hLvpBjlvAcTcon2IrYP1NmLYetTIHeRJIXmkXroCJpCUa740vZLaRyyZKweV_Xav9ODpmbAEriFc24VQpI0eCg5lZxjnpY3SF7pjsQN5R5iXCcf8uPGz-ehUdVqLsTHThEqxqeDjneKzUFHd67creOfJih1BzFDUzzkYs2_ffNVEd_BsQb1RKlb8H3uxdoUizcXw92vz3Ymkntcb6GBTSAp9uTnZyiJaZOtJ4w77PIJqK4IKM2vDqYN6xRIoo9iANNAPHuL8yUSgxYh2LMXQ9b1zW5XrNJ2Q1ajEsRu-zctoZJAYDXhLXDz04rSo&s=ZLpcNI9tokdXBIZ3ZIHedfU16DOFKYgBo3Z-tlN1AMlYXszHQ_E7GrjbM7vyWRPaf1id9gdI5P-5c4yt7A0G7YpLNN2saaUxkSGO4Rm5VtPDLWLPOCipipta-M3_7fXGVIVcx3BpxxPcTHIfVzKgzvN9wHN8P74kFLe9mmD3M81AXcyOPAzsdQ6NNlKZxcJ2nuxQOc_ioTrpi_1FcnnXGtcHXttCHi6IFEcZql9EV2Zi4XRG38nbyIvHFKzFWKWV8i1YmztgaTvzcdUodugTdxMW6Xefok9xMKfYdfpV1edXD3EQALnfAQtarhL5_JJHLM7xGtmpeiTolkIneIdxgA&h=NxfW1oJFh6InKmf24l8I6XFclhesU5OXIW_DG8dS2zA" + ], + "x-ms-request-id": [ + "dde3b580-c281-4175-8c71-30e4f83bee73" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-tenant-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "be3ef8be-6eb9-43f5-ab27-0ccee71bd694" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043106Z:be3ef8be-6eb9-43f5-ab27-0ccee71bd694" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:06 GMT" + ], + "Content-Length": [ + "1397" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentScope\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"subId\": {\r\n \"value\": \"4ce8c9fe-cadc-47d6-9c76-335812fd59df\",\r\n \"type\": \"string\"\r\n },\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy476223\",\r\n \"type\": \"string\"\r\n },\r\n \"moduleName\": {\r\n \"value\": \"stacksMGtestmod\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"initializing\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:31:05.9623315Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:31:05.9623315Z\"\r\n },\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/AzBlueprintAssignTest/providers/Microsoft.Resources/deploymentStacks/ps3851\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps3851\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps3851-2023-08-15-04-31-06-84b03/operations?api-version=2022-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRzL3BzMzg1MS0yMDIzLTA4LTE1LTA0LTMxLTA2LTg0YjAzL29wZXJhdGlvbnM/YXBpLXZlcnNpb249MjAyMi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "66f93c45-1167-4e66-8f9d-dbf6c5776663" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "8bf82b19-bd53-481b-8e32-cd714147e08d" + ], + "x-ms-correlation-request-id": [ + "8bf82b19-bd53-481b-8e32-cd714147e08d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043116Z:8bf82b19-bd53-481b-8e32-cd714147e08d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:16 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "643" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps3851-2023-08-15-04-31-06-84b03/operations/38B77F1D7F608A8D\",\r\n \"operationId\": \"38B77F1D7F608A8D\",\r\n \"properties\": {\r\n \"provisioningOperation\": \"Create\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2023-08-15T04:31:08.6811909Z\",\r\n \"duration\": \"PT0.6455351S\",\r\n \"trackingId\": \"a72724f0-4f9f-49c0-9737-ed8c9b4453b1\",\r\n \"statusCode\": \"OK\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/4ce8c9fe-cadc-47d6-9c76-335812fd59df/providers/Microsoft.Resources/deployments/stacksMGtestmod\",\r\n \"resourceType\": \"Microsoft.Resources/deployments\",\r\n \"resourceName\": \"stacksMGtestmod\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps3851-2023-08-15-04-31-06-84b03/operations?api-version=2022-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRzL3BzMzg1MS0yMDIzLTA4LTE1LTA0LTMxLTA2LTg0YjAzL29wZXJhdGlvbnM/YXBpLXZlcnNpb249MjAyMi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "66f93c45-1167-4e66-8f9d-dbf6c5776663" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "1d6edff4-b953-4ea4-aa9f-8a4703988feb" + ], + "x-ms-correlation-request-id": [ + "1d6edff4-b953-4ea4-aa9f-8a4703988feb" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043125Z:1d6edff4-b953-4ea4-aa9f-8a4703988feb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:25 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "1088" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps3851-2023-08-15-04-31-06-84b03/operations/38B77F1D7F608A8D\",\r\n \"operationId\": \"38B77F1D7F608A8D\",\r\n \"properties\": {\r\n \"provisioningOperation\": \"Create\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2023-08-15T04:31:24.052287Z\",\r\n \"duration\": \"PT16.0166312S\",\r\n \"trackingId\": \"69f3cd22-819e-45f0-ae19-58ca063babb6\",\r\n \"statusCode\": \"OK\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/4ce8c9fe-cadc-47d6-9c76-335812fd59df/providers/Microsoft.Resources/deployments/stacksMGtestmod\",\r\n \"resourceType\": \"Microsoft.Resources/deployments\",\r\n \"resourceName\": \"stacksMGtestmod\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps3851-2023-08-15-04-31-06-84b03/operations/08585095330183114410\",\r\n \"operationId\": \"08585095330183114410\",\r\n \"properties\": {\r\n \"provisioningOperation\": \"EvaluateDeploymentOutput\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2023-08-15T04:31:24.1482183Z\",\r\n \"duration\": \"PT16.1125625S\",\r\n \"trackingId\": \"55364bb0-1791-4a95-bbb8-a220be5c502c\",\r\n \"statusCode\": \"OK\"\r\n }\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4ce8c9fe-cadc-47d6-9c76-335812fd59df/providers/Microsoft.Resources/deployments/stacksMGtestmod?api-version=2022-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGNlOGM5ZmUtY2FkYy00N2Q2LTljNzYtMzM1ODEyZmQ1OWRmL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRzL3N0YWNrc01HdGVzdG1vZD9hcGktdmVyc2lvbj0yMDIyLTA5LTAx", + "RequestMethod": "HEAD", + "RequestHeaders": { + "x-ms-client-request-id": [ + "66f93c45-1167-4e66-8f9d-dbf6c5776663" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "a2ab1119-4d70-40ec-8cdf-d445d73f08e4" + ], + "x-ms-correlation-request-id": [ + "a2ab1119-4d70-40ec-8cdf-d445d73f08e4" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043117Z:a2ab1119-4d70-40ec-8cdf-d445d73f08e4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:16 GMT" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/4ce8c9fe-cadc-47d6-9c76-335812fd59df/providers/Microsoft.Resources/deployments/stacksMGtestmod?api-version=2022-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGNlOGM5ZmUtY2FkYy00N2Q2LTljNzYtMzM1ODEyZmQ1OWRmL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRzL3N0YWNrc01HdGVzdG1vZD9hcGktdmVyc2lvbj0yMDIyLTA5LTAx", + "RequestMethod": "HEAD", + "RequestHeaders": { + "x-ms-client-request-id": [ + "66f93c45-1167-4e66-8f9d-dbf6c5776663" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "c27a997a-97bb-47f0-b094-cfd734d724d6" + ], + "x-ms-correlation-request-id": [ + "c27a997a-97bb-47f0-b094-cfd734d724d6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043125Z:c27a997a-97bb-47f0-b094-cfd734d724d6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:24 GMT" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/4ce8c9fe-cadc-47d6-9c76-335812fd59df/providers/Microsoft.Resources/deployments/stacksMGtestmod/operations?api-version=2022-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGNlOGM5ZmUtY2FkYy00N2Q2LTljNzYtMzM1ODEyZmQ1OWRmL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRzL3N0YWNrc01HdGVzdG1vZC9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMjItMDktMDE=", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "66f93c45-1167-4e66-8f9d-dbf6c5776663" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "dfc3532e-1a4f-46df-8a9d-4ed548cb78b5" + ], + "x-ms-correlation-request-id": [ + "dfc3532e-1a4f-46df-8a9d-4ed548cb78b5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043117Z:dfc3532e-1a4f-46df-8a9d-4ed548cb78b5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:16 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "1096" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4ce8c9fe-cadc-47d6-9c76-335812fd59df/providers/Microsoft.Resources/deployments/stacksMGtestmod/operations/12A33A1100F72FB9\",\r\n \"operationId\": \"12A33A1100F72FB9\",\r\n \"properties\": {\r\n \"provisioningOperation\": \"Create\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2023-08-15T04:31:09.8040691Z\",\r\n \"duration\": \"PT0.4682999S\",\r\n \"trackingId\": \"ef616dbb-4b70-42f8-b3ee-faba49970c61\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/4ce8c9fe-cadc-47d6-9c76-335812fd59df/providers/Microsoft.Authorization/policyDefinitions/PSCmdletTestPolicy476223\",\r\n \"resourceType\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"resourceName\": \"PSCmdletTestPolicy476223\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4ce8c9fe-cadc-47d6-9c76-335812fd59df/providers/Microsoft.Resources/deployments/stacksMGtestmod/operations/08585095330171972964\",\r\n \"operationId\": \"08585095330171972964\",\r\n \"properties\": {\r\n \"provisioningOperation\": \"EvaluateDeploymentOutput\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2023-08-15T04:31:09.8781049Z\",\r\n \"duration\": \"PT0.5423357S\",\r\n \"trackingId\": \"c4b9f03e-1619-4e68-b17d-fb78a5c1cbb7\",\r\n \"statusCode\": \"OK\"\r\n }\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/4ce8c9fe-cadc-47d6-9c76-335812fd59df/providers/Microsoft.Resources/deployments/stacksMGtestmod/operations?api-version=2022-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNGNlOGM5ZmUtY2FkYy00N2Q2LTljNzYtMzM1ODEyZmQ1OWRmL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRzL3N0YWNrc01HdGVzdG1vZC9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMjItMDktMDE=", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "66f93c45-1167-4e66-8f9d-dbf6c5776663" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "7ef385d6-ca13-476d-b1d1-c2dee0b8c863" + ], + "x-ms-correlation-request-id": [ + "7ef385d6-ca13-476d-b1d1-c2dee0b8c863" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043125Z:7ef385d6-ca13-476d-b1d1-c2dee0b8c863" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:25 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "1096" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/4ce8c9fe-cadc-47d6-9c76-335812fd59df/providers/Microsoft.Resources/deployments/stacksMGtestmod/operations/12A33A1100F72FB9\",\r\n \"operationId\": \"12A33A1100F72FB9\",\r\n \"properties\": {\r\n \"provisioningOperation\": \"Create\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2023-08-15T04:31:09.8040691Z\",\r\n \"duration\": \"PT0.4682999S\",\r\n \"trackingId\": \"ef616dbb-4b70-42f8-b3ee-faba49970c61\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/4ce8c9fe-cadc-47d6-9c76-335812fd59df/providers/Microsoft.Authorization/policyDefinitions/PSCmdletTestPolicy476223\",\r\n \"resourceType\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"resourceName\": \"PSCmdletTestPolicy476223\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/4ce8c9fe-cadc-47d6-9c76-335812fd59df/providers/Microsoft.Resources/deployments/stacksMGtestmod/operations/08585095330171972964\",\r\n \"operationId\": \"08585095330171972964\",\r\n \"properties\": {\r\n \"provisioningOperation\": \"EvaluateDeploymentOutput\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2023-08-15T04:31:09.8781049Z\",\r\n \"duration\": \"PT0.5423357S\",\r\n \"trackingId\": \"c4b9f03e-1619-4e68-b17d-fb78a5c1cbb7\",\r\n \"statusCode\": \"OK\"\r\n }\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps3851-2023-08-15-04-31-06-84b03?api-version=2022-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRzL3BzMzg1MS0yMDIzLTA4LTE1LTA0LTMxLTA2LTg0YjAzP2FwaS12ZXJzaW9uPTIwMjItMDktMDE=", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "66f93c45-1167-4e66-8f9d-dbf6c5776663" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "156ecbc1-0000-4951-a4a6-007376131cb1" + ], + "x-ms-correlation-request-id": [ + "156ecbc1-0000-4951-a4a6-007376131cb1" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043117Z:156ecbc1-0000-4951-a4a6-007376131cb1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:16 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "829" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps3851-2023-08-15-04-31-06-84b03\",\r\n \"name\": \"ps3851-2023-08-15-04-31-06-84b03\",\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"templateHash\": \"13529450622016881009\",\r\n \"parameters\": {\r\n \"subId\": {\r\n \"type\": \"String\",\r\n \"value\": \"4ce8c9fe-cadc-47d6-9c76-335812fd59df\"\r\n },\r\n \"moduleName\": {\r\n \"type\": \"String\",\r\n \"value\": \"stacksMGtestmod\"\r\n },\r\n \"policyDefinitionName\": {\r\n \"type\": \"String\",\r\n \"value\": \"PSCmdletTestPolicy476223\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2023-08-15T04:31:08.6467274Z\",\r\n \"duration\": \"PT1.3081154S\",\r\n \"correlationId\": \"be3ef8be-6eb9-43f5-ab27-0ccee71bd694\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"deployments\",\r\n \"locations\": [\r\n \"westus2\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": []\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps3851-2023-08-15-04-31-06-84b03?api-version=2022-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRzL3BzMzg1MS0yMDIzLTA4LTE1LTA0LTMxLTA2LTg0YjAzP2FwaS12ZXJzaW9uPTIwMjItMDktMDE=", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "66f93c45-1167-4e66-8f9d-dbf6c5776663" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "814a5a93-8730-46f0-86d4-77ecc98429cf" + ], + "x-ms-correlation-request-id": [ + "814a5a93-8730-46f0-86d4-77ecc98429cf" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043125Z:814a5a93-8730-46f0-86d4-77ecc98429cf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:25 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "988" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps3851-2023-08-15-04-31-06-84b03\",\r\n \"name\": \"ps3851-2023-08-15-04-31-06-84b03\",\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"templateHash\": \"13529450622016881009\",\r\n \"parameters\": {\r\n \"subId\": {\r\n \"type\": \"String\",\r\n \"value\": \"4ce8c9fe-cadc-47d6-9c76-335812fd59df\"\r\n },\r\n \"moduleName\": {\r\n \"type\": \"String\",\r\n \"value\": \"stacksMGtestmod\"\r\n },\r\n \"policyDefinitionName\": {\r\n \"type\": \"String\",\r\n \"value\": \"PSCmdletTestPolicy476223\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2023-08-15T04:31:24.163988Z\",\r\n \"duration\": \"PT16.825376S\",\r\n \"correlationId\": \"be3ef8be-6eb9-43f5-ab27-0ccee71bd694\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"deployments\",\r\n \"locations\": [\r\n \"westus2\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [],\r\n \"outputResources\": [\r\n {\r\n \"id\": \"/subscriptions/4ce8c9fe-cadc-47d6-9c76-335812fd59df/providers/Microsoft.Authorization/policyDefinitions/PSCmdletTestPolicy476223\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/providers/Microsoft.Management/managementGroups/AzBlueprintAssignTest/providers/Microsoft.Resources/deploymentStacks/ps3851/exportTemplate?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlbWVudC9tYW5hZ2VtZW50R3JvdXBzL0F6Qmx1ZXByaW50QXNzaWduVGVzdC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U3RhY2tzL3BzMzg1MS9leHBvcnRUZW1wbGF0ZT9hcGktdmVyc2lvbj0yMDIyLTA4LTAxLXByZXZpZXc=", + "RequestMethod": "POST", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c35515ff-5ff3-44af-afa8-c02fd19204e6" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "97132342-8ac4-4d94-84ce-109f8f5640c8" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-tenant-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "3e79ad68-adcb-4f93-86c1-3074ffec4ef0" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043131Z:3e79ad68-adcb-4f93-86c1-3074ffec4ef0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:30 GMT" + ], + "Content-Length": [ + "2858" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-08-01/managementGroupDeploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"metadata\": {\r\n \"_generator\": {\r\n \"name\": \"bicep\",\r\n \"version\": \"0.16.2.56959\",\r\n \"templateHash\": \"13529450622016881009\"\r\n }\r\n },\r\n \"parameters\": {\r\n \"subId\": {\r\n \"type\": \"string\"\r\n },\r\n \"moduleName\": {\r\n \"type\": \"string\"\r\n },\r\n \"policyDefinitionName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"apiVersion\": \"2022-09-01\",\r\n \"name\": \"[parameters('moduleName')]\",\r\n \"subscriptionId\": \"[parameters('subId')]\",\r\n \"location\": \"[deployment().location]\",\r\n \"properties\": {\r\n \"expressionEvaluationOptions\": {\r\n \"scope\": \"inner\"\r\n },\r\n \"mode\": \"Incremental\",\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"[parameters('policyDefinitionName')]\"\r\n }\r\n },\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"metadata\": {\r\n \"_generator\": {\r\n \"name\": \"bicep\",\r\n \"version\": \"0.16.2.56959\",\r\n \"templateHash\": \"17912971569522144482\"\r\n }\r\n },\r\n \"parameters\": {\r\n \"allowedLocations\": {\r\n \"type\": \"array\",\r\n \"defaultValue\": [\r\n \"westus\"\r\n ],\r\n \"metadata\": {\r\n \"description\": \"An array of the allowed locations, all other locations will be denied by the created policy.\"\r\n }\r\n },\r\n \"policyDefinitionName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"apiVersion\": \"2020-03-01\",\r\n \"name\": \"[parameters('policyDefinitionName')]\",\r\n \"properties\": {\r\n \"policyType\": \"Custom\",\r\n \"mode\": \"All\",\r\n \"parameters\": {},\r\n \"policyRule\": {\r\n \"if\": {\r\n \"not\": {\r\n \"field\": \"location\",\r\n \"in\": \"[parameters('allowedLocations')]\"\r\n }\r\n },\r\n \"then\": {\r\n \"effect\": \"audit\"\r\n }\r\n }\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/providers/Microsoft.Management/managementGroups/AzBlueprintAssignTest/providers/Microsoft.Resources/deploymentStacks/ps3851?unmanageAction.Resources=detach&unmanageAction.ResourceGroups=detach&api-version=2022-08-01-preview", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlbWVudC9tYW5hZ2VtZW50R3JvdXBzL0F6Qmx1ZXByaW50QXNzaWduVGVzdC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U3RhY2tzL3BzMzg1MT91bm1hbmFnZUFjdGlvbi5SZXNvdXJjZXM9ZGV0YWNoJnVubWFuYWdlQWN0aW9uLlJlc291cmNlR3JvdXBzPWRldGFjaCZhcGktdmVyc2lvbj0yMDIyLTA4LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestHeaders": { + "x-ms-client-request-id": [ + "53687624-adb1-4ae2-98d2-8c62d9d02a03" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "f7b9da39-fe78-4c7d-be82-aa76c718e87b" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-tenant-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "d79d71d8-ff3c-47fd-9fee-edacb18807d1" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043132Z:d79d71d8-ff3c-47fd-9fee-edacb18807d1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:31 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "Test-SaveAndRemoveManagementGroupDeploymentStackWithPipeOperator": [ + "ps3851" + ] + }, + "Variables": { + "SubscriptionId": "a1bfa635-f2bf-42f1-86b5-848c674fc321" + } +} \ No newline at end of file diff --git a/src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.DeploymentStackTests/TestSaveAndRemoveResourceGroupDeploymentStackWithPipeOperator.json b/src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.DeploymentStackTests/TestSaveAndRemoveResourceGroupDeploymentStackWithPipeOperator.json new file mode 100644 index 000000000000..3bdce12a48be --- /dev/null +++ b/src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.DeploymentStackTests/TestSaveAndRemoveResourceGroupDeploymentStackWithPipeOperator.json @@ -0,0 +1,1216 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps5942?api-version=2021-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzNTk0Mj9hcGktdmVyc2lvbj0yMDIxLTA0LTAx", + "RequestMethod": "HEAD", + "RequestHeaders": { + "x-ms-client-request-id": [ + "77c76c6c-3dbc-41c1-bd76-dc67266ddbdc" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.17.3.0" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "e7e4305b-3982-4228-8c79-f771ebd3cd3e" + ], + "x-ms-correlation-request-id": [ + "e7e4305b-3982-4228-8c79-f771ebd3cd3e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043135Z:e7e4305b-3982-4228-8c79-f771ebd3cd3e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:34 GMT" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps5942?api-version=2021-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzNTk0Mj9hcGktdmVyc2lvbj0yMDIxLTA0LTAx", + "RequestMethod": "HEAD", + "RequestHeaders": { + "x-ms-client-request-id": [ + "97412b31-0e25-4a8e-bd74-c0f5931eb90c" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.17.3.0" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "d28f1ae3-aa3e-4a81-93fe-e0a878b8a0c3" + ], + "x-ms-correlation-request-id": [ + "d28f1ae3-aa3e-4a81-93fe-e0a878b8a0c3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043148Z:d28f1ae3-aa3e-4a81-93fe-e0a878b8a0c3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:47 GMT" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps5942?api-version=2021-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzNTk0Mj9hcGktdmVyc2lvbj0yMDIxLTA0LTAx", + "RequestMethod": "PUT", + "RequestHeaders": { + "x-ms-client-request-id": [ + "77c76c6c-3dbc-41c1-bd76-dc67266ddbdc" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.17.3.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "31" + ] + }, + "RequestBody": "{\r\n \"location\": \"West US 2\"\r\n}", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "a15d7cdb-6fd8-47f5-874e-a2a979299926" + ], + "x-ms-correlation-request-id": [ + "a15d7cdb-6fd8-47f5-874e-a2a979299926" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043136Z:a15d7cdb-6fd8-47f5-874e-a2a979299926" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:35 GMT" + ], + "Content-Length": [ + "210" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5942\",\r\n \"name\": \"ps5942\",\r\n \"type\": \"Microsoft.Resources/resourceGroups\",\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5942/providers/Microsoft.Resources/deploymentStacks/ps4263?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNTk0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U3RhY2tzL3BzNDI2Mz9hcGktdmVyc2lvbj0yMDIyLTA4LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a10b95b0-5c57-42b0-bc7f-3caa32658132" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "23379c0f-3e9b-45e4-82f9-b55d40ca9fbe" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "adc28d85-3c44-4d82-92be-7687177c7ef5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043136Z:adc28d85-3c44-4d82-92be-7687177c7ef5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:36 GMT" + ], + "Content-Length": [ + "260" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"DeploymentStackResourceNotFound\",\r\n \"message\": \"The deployment stack '/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5942/providers/Microsoft.Resources/deploymentStacks/ps4263' could not be found.\"\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5942/providers/Microsoft.Resources/deploymentStacks/ps4263?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNTk0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U3RhY2tzL3BzNDI2Mz9hcGktdmVyc2lvbj0yMDIyLTA4LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a10b95b0-5c57-42b0-bc7f-3caa32658132" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "2435b497-85ae-41e5-aa36-287c5b6001e4" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "da9d08af-f3c9-41e2-84c1-3052bf1f043b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043141Z:da9d08af-f3c9-41e2-84c1-3052bf1f043b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:41 GMT" + ], + "Content-Length": [ + "1527" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5942/providers/Microsoft.Resources/deployments/ps4263-2023-08-15-04-31-36-04a96\",\r\n \"duration\": \"PT4.8261328S\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"templateSpecName\": {\r\n \"value\": \"StacksScenarioTestSpec\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"status\": \"managed\",\r\n \"denyStatus\": \"none\",\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5942/providers/Microsoft.Resources/templateSpecs/StacksScenarioTestSpec\"\r\n }\r\n ],\r\n \"provisioningState\": \"succeeded\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:31:36.4407886Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:31:36.4407886Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5942/providers/Microsoft.Resources/deploymentStacks/ps4263\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps4263\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5942/providers/Microsoft.Resources/deploymentStacks/ps4263?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNTk0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U3RhY2tzL3BzNDI2Mz9hcGktdmVyc2lvbj0yMDIyLTA4LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "21265878-c0ea-4838-9859-45790df6d094" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "f04d4ea0-3e34-4fbd-80a8-f6ac3ab41f5d" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "0e098d2b-3f4a-4806-bfb4-6c538f807afa" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043147Z:0e098d2b-3f4a-4806-bfb4-6c538f807afa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:46 GMT" + ], + "Content-Length": [ + "1527" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5942/providers/Microsoft.Resources/deployments/ps4263-2023-08-15-04-31-36-04a96\",\r\n \"duration\": \"PT4.8261328S\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"templateSpecName\": {\r\n \"value\": \"StacksScenarioTestSpec\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"status\": \"managed\",\r\n \"denyStatus\": \"none\",\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5942/providers/Microsoft.Resources/templateSpecs/StacksScenarioTestSpec\"\r\n }\r\n ],\r\n \"provisioningState\": \"succeeded\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:31:36.4407886Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:31:36.4407886Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5942/providers/Microsoft.Resources/deploymentStacks/ps4263\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps4263\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5942/providers/Microsoft.Resources/deploymentStacks/ps4263?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNTk0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U3RhY2tzL3BzNDI2Mz9hcGktdmVyc2lvbj0yMDIyLTA4LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0b55403b-8e79-4ef7-93dc-bb783f92279f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "8c482fc5-20e7-438a-9170-5bae268b54a8" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "b915aa12-7184-42bc-b70b-49e556b21079" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043148Z:b915aa12-7184-42bc-b70b-49e556b21079" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:47 GMT" + ], + "Content-Length": [ + "1527" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5942/providers/Microsoft.Resources/deployments/ps4263-2023-08-15-04-31-36-04a96\",\r\n \"duration\": \"PT4.8261328S\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"templateSpecName\": {\r\n \"value\": \"StacksScenarioTestSpec\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"status\": \"managed\",\r\n \"denyStatus\": \"none\",\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5942/providers/Microsoft.Resources/templateSpecs/StacksScenarioTestSpec\"\r\n }\r\n ],\r\n \"provisioningState\": \"succeeded\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:31:36.4407886Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:31:36.4407886Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5942/providers/Microsoft.Resources/deploymentStacks/ps4263\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps4263\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5942/providers/Microsoft.Resources/deploymentStacks/ps4263?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNTk0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U3RhY2tzL3BzNDI2Mz9hcGktdmVyc2lvbj0yMDIyLTA4LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a10b95b0-5c57-42b0-bc7f-3caa32658132" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1338" + ] + }, + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"metadata\": {\r\n \"_generator\": {\r\n \"name\": \"bicep\",\r\n \"version\": \"0.16.2.56959\",\r\n \"templateHash\": \"1655483545797491034\"\r\n }\r\n },\r\n \"parameters\": {\r\n \"templateSpecName\": {\r\n \"type\": \"string\"\r\n },\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"apiVersion\": \"2022-02-01\",\r\n \"name\": \"[parameters('templateSpecName')]\",\r\n \"location\": \"[parameters('location')]\",\r\n \"properties\": {\r\n \"displayName\": \"MyTemplateSpec\",\r\n \"description\": \"Template Spec for testing RG stacks.\"\r\n }\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"templateSpecName\": {\r\n \"value\": \"StacksScenarioTestSpec\"\r\n }\r\n },\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"denySettings\": {\r\n \"mode\": \"None\",\r\n \"applyToChildScopes\": false\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "0" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/locations/westus2/deploymentStackOperationStatus/39983e76-ad43-43aa-8954-ce721f38b769?api-version=2022-08-01-preview&t=2023-08-15T04%3a31%3a36&c=MIIHHjCCBgagAwIBAgITfwHQwFKsM_SaZ3oYQwAEAdDAUjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjMwODAzMDkwMzExWhcNMjQwNzI4MDkwMzExWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJQbCh6bI1fy33ihbuhnYAi-tK-wY4yp8CUXk_uSV8w0AzXrOwZStPhGL2QLmMALLJhLlGruhSEdRUd-ej9YImb9EcB7Sxa7gZM4TttscUWTI37jWjJGvmL2IS8gO-V08sDqRJs9nd7v3NYjwkYwI6upPO198_TvDODjEOoXzdbqNzdg8HK9PRg4R6BQ2SYtQVjaKuTmTVPKtHbYjFDSwqH4QCNwKB-RWl8y_n0aagYHyQLs7HxDh_OYa_ragWKwpVX12uIkZZOlOYoo9z-B3yg2Qc6H93HIyyNLvYYyWvzsXlWbxsigQspOpB-JsijqIMX2LpkicZ9Qt3hdqEH3TgECAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBSotg9l-TRXg2Od_Oq4_NlEL1rRszAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHXBDjxwU1_SCJTLnITpRn3jC6-hLvpBjlvAcTcon2IrYP1NmLYetTIHeRJIXmkXroCJpCUa740vZLaRyyZKweV_Xav9ODpmbAEriFc24VQpI0eCg5lZxjnpY3SF7pjsQN5R5iXCcf8uPGz-ehUdVqLsTHThEqxqeDjneKzUFHd67creOfJih1BzFDUzzkYs2_ffNVEd_BsQb1RKlb8H3uxdoUizcXw92vz3Ymkntcb6GBTSAp9uTnZyiJaZOtJ4w77PIJqK4IKM2vDqYN6xRIoo9iANNAPHuL8yUSgxYh2LMXQ9b1zW5XrNJ2Q1ajEsRu-zctoZJAYDXhLXDz04rSo&s=PKFmbIvI8L22UsStgsV95vgT5mGCBQk6UPxgGqkZe1TLypH_Lh1wLmQv1lb6BNezNOdykZ8aM40L29wv5IYvvaNaII5rCAYMjr5h83C3cpCll7RhT9WOhGFPYybE62RgBVtQdm4TVn41eVdCgKEzn_KEDUPPk718Hwpvmv0yHUqBD14Ot02sIdhAFJIs_8f_mWm2-GCFcEdBNeXTSEHT2XfsBdE_BMDXLq6psWJuwSIMbbalGZcpFDdqmf4l5pZUk4fSLRGGvrjgWYoyOOVUIXIFvNRwT9spR6V6LqkYtPMM9Xd8T1e3gV3J52ysXs8ZgRT6pUHKrdnk02j-BI_icw&h=5_7vrha6cu8FyIDpnulGb_3R1wLWTPoXazozmMmClzY" + ], + "x-ms-request-id": [ + "729a7ee0-df46-4586-b0d0-dfa4fb44415d" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "4ec24e3d-db11-46c2-b70a-4af8f799e9dd" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043136Z:4ec24e3d-db11-46c2-b70a-4af8f799e9dd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:36 GMT" + ], + "Content-Length": [ + "1081" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"templateSpecName\": {\r\n \"value\": \"StacksScenarioTestSpec\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"initializing\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:31:36.4407886Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:31:36.4407886Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5942/providers/Microsoft.Resources/deploymentStacks/ps4263\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps4263\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps5942/deployments/ps4263-2023-08-15-04-31-36-04a96/operations?api-version=2022-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzNTk0Mi9kZXBsb3ltZW50cy9wczQyNjMtMjAyMy0wOC0xNS0wNC0zMS0zNi0wNGE5Ni9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMjItMDktMDE=", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a10b95b0-5c57-42b0-bc7f-3caa32658132" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "3f59e74b-ed37-4412-b670-b380dbb150a1" + ], + "x-ms-correlation-request-id": [ + "3f59e74b-ed37-4412-b670-b380dbb150a1" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043147Z:3f59e74b-ed37-4412-b670-b380dbb150a1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:46 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "1174" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5942/providers/Microsoft.Resources/deployments/ps4263-2023-08-15-04-31-36-04a96/operations/E58FC14B0CA5D645\",\r\n \"operationId\": \"E58FC14B0CA5D645\",\r\n \"properties\": {\r\n \"provisioningOperation\": \"Create\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2023-08-15T04:31:40.0449797Z\",\r\n \"duration\": \"PT1.62664S\",\r\n \"trackingId\": \"d78d276a-d0b5-49fe-99c8-1b0ddec23dac\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5942/providers/Microsoft.Resources/templateSpecs/StacksScenarioTestSpec\",\r\n \"resourceType\": \"Microsoft.Resources/templateSpecs\",\r\n \"resourceName\": \"StacksScenarioTestSpec\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5942/providers/Microsoft.Resources/deployments/ps4263-2023-08-15-04-31-36-04a96/operations/08585095329881201796\",\r\n \"operationId\": \"08585095329881201796\",\r\n \"properties\": {\r\n \"provisioningOperation\": \"EvaluateDeploymentOutput\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2023-08-15T04:31:40.4963262Z\",\r\n \"duration\": \"PT2.0779865S\",\r\n \"trackingId\": \"3a95ca0f-eed6-4eba-a4ac-535d6ea0aa02\",\r\n \"statusCode\": \"OK\"\r\n }\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps5942/providers/Microsoft.Resources/deployments/ps4263-2023-08-15-04-31-36-04a96?api-version=2022-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzNTk0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50cy9wczQyNjMtMjAyMy0wOC0xNS0wNC0zMS0zNi0wNGE5Nj9hcGktdmVyc2lvbj0yMDIyLTA5LTAx", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a10b95b0-5c57-42b0-bc7f-3caa32658132" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "d88f6e1a-9969-44c7-aac3-831d4852cdd0" + ], + "x-ms-correlation-request-id": [ + "d88f6e1a-9969-44c7-aac3-831d4852cdd0" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043147Z:d88f6e1a-9969-44c7-aac3-831d4852cdd0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:46 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "914" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5942/providers/Microsoft.Resources/deployments/ps4263-2023-08-15-04-31-36-04a96\",\r\n \"name\": \"ps4263-2023-08-15-04-31-36-04a96\",\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"properties\": {\r\n \"templateHash\": \"1655483545797491034\",\r\n \"parameters\": {\r\n \"templateSpecName\": {\r\n \"type\": \"String\",\r\n \"value\": \"StacksScenarioTestSpec\"\r\n },\r\n \"location\": {\r\n \"type\": \"String\",\r\n \"value\": \"westus2\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2023-08-15T04:31:40.6373454Z\",\r\n \"duration\": \"PT2.8851326S\",\r\n \"correlationId\": \"4ec24e3d-db11-46c2-b70a-4af8f799e9dd\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"templateSpecs\",\r\n \"locations\": [\r\n \"westus2\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [],\r\n \"outputResources\": [\r\n {\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5942/providers/Microsoft.Resources/templateSpecs/StacksScenarioTestSpec\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5942/providers/Microsoft.Resources/deploymentStacks/ps4263/exportTemplate?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNTk0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U3RhY2tzL3BzNDI2My9leHBvcnRUZW1wbGF0ZT9hcGktdmVyc2lvbj0yMDIyLTA4LTAxLXByZXZpZXc=", + "RequestMethod": "POST", + "RequestHeaders": { + "x-ms-client-request-id": [ + "21265878-c0ea-4838-9859-45790df6d094" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "9cc6cdfd-845c-4722-9a7c-412e6ed76030" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "2987bf28-2c68-443a-a337-064a7d218cf9" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043147Z:2987bf28-2c68-443a-a337-064a7d218cf9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:47 GMT" + ], + "Content-Length": [ + "915" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"metadata\": {\r\n \"_generator\": {\r\n \"name\": \"bicep\",\r\n \"version\": \"0.16.2.56959\",\r\n \"templateHash\": \"1655483545797491034\"\r\n }\r\n },\r\n \"parameters\": {\r\n \"templateSpecName\": {\r\n \"type\": \"string\"\r\n },\r\n \"location\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"[resourceGroup().location]\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"apiVersion\": \"2022-02-01\",\r\n \"name\": \"[parameters('templateSpecName')]\",\r\n \"location\": \"[parameters('location')]\",\r\n \"properties\": {\r\n \"displayName\": \"MyTemplateSpec\",\r\n \"description\": \"Template Spec for testing RG stacks.\"\r\n }\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5942/providers/Microsoft.Resources/deploymentStacks/ps4263?unmanageAction.Resources=detach&unmanageAction.ResourceGroups=detach&api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNTk0Mi9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50U3RhY2tzL3BzNDI2Mz91bm1hbmFnZUFjdGlvbi5SZXNvdXJjZXM9ZGV0YWNoJnVubWFuYWdlQWN0aW9uLlJlc291cmNlR3JvdXBzPWRldGFjaCZhcGktdmVyc2lvbj0yMDIyLTA4LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0b55403b-8e79-4ef7-93dc-bb783f92279f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "6893ec0f-c8be-40a9-91ae-10ffd38030ec" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "9396915c-f26d-42e0-89be-b2b2965bef57" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043148Z:9396915c-f26d-42e0-89be-b2b2965bef57" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:47 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps5942?api-version=2021-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzNTk0Mj9hcGktdmVyc2lvbj0yMDIxLTA0LTAx", + "RequestMethod": "DELETE", + "RequestHeaders": { + "x-ms-client-request-id": [ + "97412b31-0e25-4a8e-bd74-c0f5931eb90c" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.17.3.0" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU5NDItV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2021-04-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-request-id": [ + "6848b0dc-a101-4545-8f5e-64a96d3e8cc6" + ], + "x-ms-correlation-request-id": [ + "6848b0dc-a101-4545-8f5e-64a96d3e8cc6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043149Z:6848b0dc-a101-4545-8f5e-64a96d3e8cc6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:48 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU5NDItV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2021-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVNU5ESXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIxLTA0LTAx", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "97412b31-0e25-4a8e-bd74-c0f5931eb90c" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.17.3.0" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU5NDItV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2021-04-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "daa0b045-0bc0-4b68-90ac-0ae391125337" + ], + "x-ms-correlation-request-id": [ + "daa0b045-0bc0-4b68-90ac-0ae391125337" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043204Z:daa0b045-0bc0-4b68-90ac-0ae391125337" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:32:03 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU5NDItV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2021-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVNU5ESXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIxLTA0LTAx", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "97412b31-0e25-4a8e-bd74-c0f5931eb90c" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.17.3.0" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU5NDItV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2021-04-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "fe3687cf-e79f-4fc7-ae3a-9874832d4515" + ], + "x-ms-correlation-request-id": [ + "fe3687cf-e79f-4fc7-ae3a-9874832d4515" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043219Z:fe3687cf-e79f-4fc7-ae3a-9874832d4515" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:32:19 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU5NDItV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2021-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVNU5ESXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIxLTA0LTAx", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "97412b31-0e25-4a8e-bd74-c0f5931eb90c" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.17.3.0" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU5NDItV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2021-04-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "849ff4d1-7ed2-47a8-910f-bbd3c015e2fc" + ], + "x-ms-correlation-request-id": [ + "849ff4d1-7ed2-47a8-910f-bbd3c015e2fc" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043234Z:849ff4d1-7ed2-47a8-910f-bbd3c015e2fc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:32:34 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU5NDItV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2021-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVNU5ESXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIxLTA0LTAx", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "97412b31-0e25-4a8e-bd74-c0f5931eb90c" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.17.3.0" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU5NDItV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2021-04-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "dc964664-b9f4-4f7d-9e34-a7079b140af2" + ], + "x-ms-correlation-request-id": [ + "dc964664-b9f4-4f7d-9e34-a7079b140af2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043249Z:dc964664-b9f4-4f7d-9e34-a7079b140af2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:32:49 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU5NDItV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2021-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVNU5ESXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIxLTA0LTAx", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "97412b31-0e25-4a8e-bd74-c0f5931eb90c" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.17.3.0" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-request-id": [ + "fc45364c-9506-48b4-b95e-5b07d8031b60" + ], + "x-ms-correlation-request-id": [ + "fc45364c-9506-48b4-b95e-5b07d8031b60" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043304Z:fc45364c-9506-48b4-b95e-5b07d8031b60" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:33:04 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU5NDItV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2021-04-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVNU5ESXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIxLTA0LTAx", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "97412b31-0e25-4a8e-bd74-c0f5931eb90c" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.17.3.0" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-request-id": [ + "1d8dcb2e-21f0-47c2-846c-930812ff8f65" + ], + "x-ms-correlation-request-id": [ + "1d8dcb2e-21f0-47c2-846c-930812ff8f65" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043304Z:1d8dcb2e-21f0-47c2-846c-930812ff8f65" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:33:04 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "Test-SaveAndRemoveResourceGroupDeploymentStackWithPipeOperator": [ + "ps5942", + "ps4263" + ] + }, + "Variables": { + "SubscriptionId": "a1bfa635-f2bf-42f1-86b5-848c674fc321" + } +} \ No newline at end of file diff --git a/src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.DeploymentStackTests/TestSaveAndRemoveSubscriptionDeploymentStackWithPipeOperator.json b/src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.DeploymentStackTests/TestSaveAndRemoveSubscriptionDeploymentStackWithPipeOperator.json new file mode 100644 index 000000000000..bbdc629e0e95 --- /dev/null +++ b/src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.DeploymentStackTests/TestSaveAndRemoveSubscriptionDeploymentStackWithPipeOperator.json @@ -0,0 +1,3231 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "12517700-76a1-47e7-9f55-e74cd0f8899b" + ], + "x-ms-correlation-request-id": [ + "12517700-76a1-47e7-9f55-e74cd0f8899b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043054Z:12517700-76a1-47e7-9f55-e74cd0f8899b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:54 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "153" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The resource 'ps670' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "03d38e5f-27e2-4bc3-8c34-b9be7f88269e" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "3710c4e4-eed3-4c68-84ae-6e8ea34ec044" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043055Z:3710c4e4-eed3-4c68-84ae-6e8ea34ec044" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:55 GMT" + ], + "Content-Length": [ + "1087" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"initializing\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "fca30237-e04c-451d-b864-2faa843780a5" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-correlation-request-id": [ + "5da37e85-9523-46e9-9190-e4dc44589afc" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043055Z:5da37e85-9523-46e9-9190-e4dc44589afc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:55 GMT" + ], + "Content-Length": [ + "1087" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"initializing\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "d63da1f8-8b0b-4671-831e-ca2fe43aae02" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-correlation-request-id": [ + "90f74e98-cdc2-4130-b1a3-cdfd2cb6aa3b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043055Z:90f74e98-cdc2-4130-b1a3-cdfd2cb6aa3b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:55 GMT" + ], + "Content-Length": [ + "1087" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"initializing\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "9aa62a02-539b-4f17-9831-2a7328e58929" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-correlation-request-id": [ + "56bac32e-dff3-4484-bb28-10db159c63a6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043056Z:56bac32e-dff3-4484-bb28-10db159c63a6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:55 GMT" + ], + "Content-Length": [ + "1087" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"initializing\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "a4597248-b390-4898-a292-7499e7fdcf47" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-correlation-request-id": [ + "6e8f0f77-bdd1-4b2e-80df-e86977634bd5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043056Z:6e8f0f77-bdd1-4b2e-80df-e86977634bd5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:55 GMT" + ], + "Content-Length": [ + "1087" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"initializing\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "8ad52ef7-2f25-44e6-add9-d70dee8f3fd5" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-correlation-request-id": [ + "3310778a-86f6-4abb-8c57-86a633b41103" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043056Z:3310778a-86f6-4abb-8c57-86a633b41103" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:55 GMT" + ], + "Content-Length": [ + "1087" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"initializing\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "a5df5d4f-1bc2-4117-98c6-a47e1afecb0a" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-correlation-request-id": [ + "234c17d9-9fc9-4066-8b11-125f01079e14" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043056Z:234c17d9-9fc9-4066-8b11-125f01079e14" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:55 GMT" + ], + "Content-Length": [ + "1087" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"initializing\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "abef2ffc-4d0d-4b20-aabf-cb053dfb4054" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-correlation-request-id": [ + "f82be40f-2908-4e24-8e02-719fd12fb408" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043056Z:f82be40f-2908-4e24-8e02-719fd12fb408" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:55 GMT" + ], + "Content-Length": [ + "1087" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"initializing\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "ed4aefc9-341b-4b50-92cc-2f0ee1259bbf" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "x-ms-correlation-request-id": [ + "b7cedd34-ff1a-4212-a702-cfdba6c2ac42" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043056Z:b7cedd34-ff1a-4212-a702-cfdba6c2ac42" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:55 GMT" + ], + "Content-Length": [ + "1087" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"initializing\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "e1e7a5c6-3e52-4298-8958-ba0a4c44d8ba" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "x-ms-correlation-request-id": [ + "f3dc5c99-d7eb-4ac7-ae08-a3e19cfb6642" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043056Z:f3dc5c99-d7eb-4ac7-ae08-a3e19cfb6642" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:56 GMT" + ], + "Content-Length": [ + "1087" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"initializing\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "d45c5997-7671-49f2-bdd2-07a5bc0faf1c" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-correlation-request-id": [ + "536f73ab-de2f-49ec-8815-ef8dd53032d1" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043056Z:536f73ab-de2f-49ec-8815-ef8dd53032d1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:56 GMT" + ], + "Content-Length": [ + "1087" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"initializing\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "6b1ae22d-6fca-4778-884c-8a687c9425d1" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "x-ms-correlation-request-id": [ + "0346ff01-dd70-4636-8b15-7821c8aea715" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043056Z:0346ff01-dd70-4636-8b15-7821c8aea715" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:56 GMT" + ], + "Content-Length": [ + "1087" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"initializing\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "33eaa927-26e9-44b2-91fb-2452ee5da9d5" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "x-ms-correlation-request-id": [ + "03e7bfcd-4afe-48c1-8d76-753237ed9b61" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043057Z:03e7bfcd-4afe-48c1-8d76-753237ed9b61" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:56 GMT" + ], + "Content-Length": [ + "1234" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"deploying\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "3aadeac4-d2ba-4714-96a5-7044409bb47d" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11985" + ], + "x-ms-correlation-request-id": [ + "8a7c181b-b7f9-4a5e-b5d3-b8cd30f0b769" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043058Z:8a7c181b-b7f9-4a5e-b5d3-b8cd30f0b769" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:57 GMT" + ], + "Content-Length": [ + "1234" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"deploying\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "200ac56e-37fe-42fc-bbe7-65d2e588883e" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11984" + ], + "x-ms-correlation-request-id": [ + "a693c33d-72cc-4ff7-8285-0a4f8be73a54" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043058Z:a693c33d-72cc-4ff7-8285-0a4f8be73a54" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:57 GMT" + ], + "Content-Length": [ + "1234" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"deploying\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "93209f41-8e3f-4fae-8e5a-9cb4cbc8b488" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11983" + ], + "x-ms-correlation-request-id": [ + "1e9a3dcc-0b45-42f5-a9d4-a6116c05ee48" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043058Z:1e9a3dcc-0b45-42f5-a9d4-a6116c05ee48" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:57 GMT" + ], + "Content-Length": [ + "1234" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"deploying\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "2d29bddd-c4a7-4e69-b516-36165c6d2232" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11982" + ], + "x-ms-correlation-request-id": [ + "1638622f-d761-418f-859c-1118add23c03" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043058Z:1638622f-d761-418f-859c-1118add23c03" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:57 GMT" + ], + "Content-Length": [ + "1234" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"deploying\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "3d0b1f4c-9131-4271-ab71-02a94068a34e" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11981" + ], + "x-ms-correlation-request-id": [ + "c52186e3-9382-4838-8ce7-1149655cf155" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043058Z:c52186e3-9382-4838-8ce7-1149655cf155" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:57 GMT" + ], + "Content-Length": [ + "1234" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"deploying\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "b3f715f5-8d86-44e6-a84a-2188945457c0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11980" + ], + "x-ms-correlation-request-id": [ + "9843bff1-175f-4df4-a841-80e5096b2efa" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043058Z:9843bff1-175f-4df4-a841-80e5096b2efa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:58 GMT" + ], + "Content-Length": [ + "1234" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"deploying\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "fa17ec33-db19-4341-b669-e20afaa82a56" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11979" + ], + "x-ms-correlation-request-id": [ + "b0a41ab8-17af-45b3-a669-5cb7141b3301" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043058Z:b0a41ab8-17af-45b3-a669-5cb7141b3301" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:58 GMT" + ], + "Content-Length": [ + "1234" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"deploying\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "7a7d46d9-1574-40c9-9d04-06a4725f2713" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11978" + ], + "x-ms-correlation-request-id": [ + "8b693b2c-97e3-4361-9389-fc07776eb6d9" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043058Z:8b693b2c-97e3-4361-9389-fc07776eb6d9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:58 GMT" + ], + "Content-Length": [ + "1234" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"deploying\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "58096d44-9717-4149-a275-e69044be52ba" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11977" + ], + "x-ms-correlation-request-id": [ + "6fd881f0-e635-4972-bc08-b51a5ee304da" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043059Z:6fd881f0-e635-4972-bc08-b51a5ee304da" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:58 GMT" + ], + "Content-Length": [ + "1234" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"deploying\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "18650de7-55c7-4625-a7b0-e869d22afd08" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11976" + ], + "x-ms-correlation-request-id": [ + "0a2a43cb-8b50-4261-b2b7-ffa43b9c160e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043059Z:0a2a43cb-8b50-4261-b2b7-ffa43b9c160e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:58 GMT" + ], + "Content-Length": [ + "1234" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"deploying\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "993e7f77-c8dd-4b03-9a0b-110f7d9f14cb" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11975" + ], + "x-ms-correlation-request-id": [ + "ce0c4078-561b-42dd-b721-fdb6493d5c70" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043059Z:ce0c4078-561b-42dd-b721-fdb6493d5c70" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:58 GMT" + ], + "Content-Length": [ + "1234" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"deploying\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "0ae866a1-4476-4a04-b851-3926808dcb1b" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11974" + ], + "x-ms-correlation-request-id": [ + "b03554d6-d019-401f-9e04-f7d5b6d11f8e" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043059Z:b03554d6-d019-401f-9e04-f7d5b6d11f8e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:58 GMT" + ], + "Content-Length": [ + "1234" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"deploying\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "f78ebd29-ea62-4cb1-a5bf-fcf2b8d7daca" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11973" + ], + "x-ms-correlation-request-id": [ + "64ded0a1-48a3-4ae0-8740-c560a3df3151" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043059Z:64ded0a1-48a3-4ae0-8740-c560a3df3151" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:58 GMT" + ], + "Content-Length": [ + "1234" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"deploying\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "31c7633b-5a0e-4f6f-90e0-3bdf8addea6d" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11972" + ], + "x-ms-correlation-request-id": [ + "acbe38d9-d1d6-4037-aaac-0735a2e83708" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043059Z:acbe38d9-d1d6-4037-aaac-0735a2e83708" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:59 GMT" + ], + "Content-Length": [ + "1234" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"deploying\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "2a69d0eb-197f-4d21-b289-6ba0cfdc4de0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11971" + ], + "x-ms-correlation-request-id": [ + "9cc5c875-6c00-4586-99a5-308575553043" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043059Z:9cc5c875-6c00-4586-99a5-308575553043" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:59 GMT" + ], + "Content-Length": [ + "1234" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"deploying\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "30a6fe2d-4e02-4c66-81b6-30e9dfe1a57f" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11970" + ], + "x-ms-correlation-request-id": [ + "68028d12-3100-462a-addd-52f57348b23c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043059Z:68028d12-3100-462a-addd-52f57348b23c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:59 GMT" + ], + "Content-Length": [ + "1234" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"deploying\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "956d7a9b-79f6-455f-908d-bc7e515a8f32" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11969" + ], + "x-ms-correlation-request-id": [ + "298e0b5e-8a2d-4532-a445-1df4183166c5" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043100Z:298e0b5e-8a2d-4532-a445-1df4183166c5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:59 GMT" + ], + "Content-Length": [ + "1234" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"deploying\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "c7501b1c-744f-43f5-a4bb-11264c4408ee" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11968" + ], + "x-ms-correlation-request-id": [ + "50fc6edc-d43c-4ed4-9e7e-12b7458b0c29" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043100Z:50fc6edc-d43c-4ed4-9e7e-12b7458b0c29" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:59 GMT" + ], + "Content-Length": [ + "1234" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"deploying\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "cbc3a742-5cfb-4248-9cfe-62f4ed3963d3" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11967" + ], + "x-ms-correlation-request-id": [ + "c6c1439d-979e-4b97-b441-cafa3434e521" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043100Z:c6c1439d-979e-4b97-b441-cafa3434e521" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:59 GMT" + ], + "Content-Length": [ + "1234" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"deploying\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "347e3089-f8b8-45ae-8c00-81a0919fc5c5" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11966" + ], + "x-ms-correlation-request-id": [ + "d471c418-38c5-4561-bf7c-ffb7c52a7192" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043100Z:d471c418-38c5-4561-bf7c-ffb7c52a7192" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:59 GMT" + ], + "Content-Length": [ + "1234" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"deploying\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "9c8adf07-4167-4898-bc72-873a440eb0ae" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11965" + ], + "x-ms-correlation-request-id": [ + "7ef7ad4a-31de-4f9e-b676-54e5e089395d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043100Z:7ef7ad4a-31de-4f9e-b676-54e5e089395d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:59 GMT" + ], + "Content-Length": [ + "1234" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"deploying\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "b0399e5b-48cf-40dc-a010-97ec87a243f8" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11964" + ], + "x-ms-correlation-request-id": [ + "a7ddfcd6-616f-4f41-a845-d3849c246c22" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043100Z:a7ddfcd6-616f-4f41-a845-d3849c246c22" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:59 GMT" + ], + "Content-Length": [ + "1234" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"deploying\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "d923809c-4923-4760-a603-c02a387a3319" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11963" + ], + "x-ms-correlation-request-id": [ + "bf1864d6-b7df-4e61-a547-8630714d6ec7" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043100Z:bf1864d6-b7df-4e61-a547-8630714d6ec7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:00 GMT" + ], + "Content-Length": [ + "1463" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"status\": \"managed\",\r\n \"denyStatus\": \"none\",\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Authorization/policyDefinitions/PSCmdletTestPolicy4762\"\r\n }\r\n ],\r\n \"provisioningState\": \"deploying\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "ab8edff7-c11e-4a7b-962a-8c0ed2010505" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11962" + ], + "x-ms-correlation-request-id": [ + "8b544165-554d-45f9-9eaa-1007067b1c2b" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043100Z:8b544165-554d-45f9-9eaa-1007067b1c2b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:00 GMT" + ], + "Content-Length": [ + "1496" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca\",\r\n \"duration\": \"PT5.8002961S\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"status\": \"managed\",\r\n \"denyStatus\": \"none\",\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Authorization/policyDefinitions/PSCmdletTestPolicy4762\"\r\n }\r\n ],\r\n \"provisioningState\": \"succeeded\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f18bcded-0ea9-4fd3-af8e-4aab4f8ec3b4" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "a28f583b-3dbb-4ad3-8e22-505c680632a7" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "52bd0b27-a2b3-4898-b6eb-2bba1eb3e646" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043101Z:52bd0b27-a2b3-4898-b6eb-2bba1eb3e646" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:01 GMT" + ], + "Content-Length": [ + "1496" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca\",\r\n \"duration\": \"PT5.8002961S\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"status\": \"managed\",\r\n \"denyStatus\": \"none\",\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Authorization/policyDefinitions/PSCmdletTestPolicy4762\"\r\n }\r\n ],\r\n \"provisioningState\": \"succeeded\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bc59c885-225c-4525-a01d-e659f7249007" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "843e0c78-fd9c-44c1-9f56-08987b58ca97" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "98124c1c-19d9-4615-915a-33e83975404a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043101Z:98124c1c-19d9-4615-915a-33e83975404a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:01 GMT" + ], + "Content-Length": [ + "1496" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"deploymentId\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca\",\r\n \"duration\": \"PT5.8002961S\",\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"status\": \"managed\",\r\n \"denyStatus\": \"none\",\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Authorization/policyDefinitions/PSCmdletTestPolicy4762\"\r\n }\r\n ],\r\n \"provisioningState\": \"succeeded\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1815" + ] + }, + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"metadata\": {\r\n \"_generator\": {\r\n \"name\": \"bicep\",\r\n \"version\": \"0.16.2.56959\",\r\n \"templateHash\": \"17912971569522144482\"\r\n }\r\n },\r\n \"parameters\": {\r\n \"allowedLocations\": {\r\n \"type\": \"array\",\r\n \"defaultValue\": [\r\n \"westus\"\r\n ],\r\n \"metadata\": {\r\n \"description\": \"An array of the allowed locations, all other locations will be denied by the created policy.\"\r\n }\r\n },\r\n \"policyDefinitionName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"apiVersion\": \"2020-03-01\",\r\n \"name\": \"[parameters('policyDefinitionName')]\",\r\n \"properties\": {\r\n \"policyType\": \"Custom\",\r\n \"mode\": \"All\",\r\n \"parameters\": {},\r\n \"policyRule\": {\r\n \"if\": {\r\n \"not\": {\r\n \"field\": \"location\",\r\n \"in\": \"[parameters('allowedLocations')]\"\r\n }\r\n },\r\n \"then\": {\r\n \"effect\": \"audit\"\r\n }\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\"\r\n }\r\n },\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"denySettings\": {\r\n \"mode\": \"None\",\r\n \"applyToChildScopes\": false\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "0" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/locations/westus2/deploymentStackOperationStatus/b94f2b01-bd82-4088-b00e-317b2ed2b697?api-version=2022-08-01-preview&t=2023-08-15T04%3a30%3a55&c=MIIHHjCCBgagAwIBAgITfwHQwFKsM_SaZ3oYQwAEAdDAUjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjMwODAzMDkwMzExWhcNMjQwNzI4MDkwMzExWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJQbCh6bI1fy33ihbuhnYAi-tK-wY4yp8CUXk_uSV8w0AzXrOwZStPhGL2QLmMALLJhLlGruhSEdRUd-ej9YImb9EcB7Sxa7gZM4TttscUWTI37jWjJGvmL2IS8gO-V08sDqRJs9nd7v3NYjwkYwI6upPO198_TvDODjEOoXzdbqNzdg8HK9PRg4R6BQ2SYtQVjaKuTmTVPKtHbYjFDSwqH4QCNwKB-RWl8y_n0aagYHyQLs7HxDh_OYa_ragWKwpVX12uIkZZOlOYoo9z-B3yg2Qc6H93HIyyNLvYYyWvzsXlWbxsigQspOpB-JsijqIMX2LpkicZ9Qt3hdqEH3TgECAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBSotg9l-TRXg2Od_Oq4_NlEL1rRszAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHXBDjxwU1_SCJTLnITpRn3jC6-hLvpBjlvAcTcon2IrYP1NmLYetTIHeRJIXmkXroCJpCUa740vZLaRyyZKweV_Xav9ODpmbAEriFc24VQpI0eCg5lZxjnpY3SF7pjsQN5R5iXCcf8uPGz-ehUdVqLsTHThEqxqeDjneKzUFHd67creOfJih1BzFDUzzkYs2_ffNVEd_BsQb1RKlb8H3uxdoUizcXw92vz3Ymkntcb6GBTSAp9uTnZyiJaZOtJ4w77PIJqK4IKM2vDqYN6xRIoo9iANNAPHuL8yUSgxYh2LMXQ9b1zW5XrNJ2Q1ajEsRu-zctoZJAYDXhLXDz04rSo&s=I2Lh5xYvLSgUsgGAxehs7o1aqXSK6qEI6dRvidXIAp5UBlWr4NtQhQsO4g_u-p2c_AYB7QXWovAoObOn2sOE8vrkFNqx0Uju2JPrVB5fWQHQL4UbB2v5aQ8CH3KTYg-9EitWonuJ-YShDbCpnsCkLOWHoSSN3oHI8eR6Ep-ljcAdTfV52CTbUv6enmSNKwxzFuu9Vt0HkDiyBaZGiQTY1gdn48WaSgbuIe2QK5C5y0cwN7syDzkKve7xnWpzYaEOxOfwVDH239djKqTpyol9i4qJjvWXknMfQVYKVUbtcFFBPVUZ7o1d3ZSBJ3MWJfri_j9kbY21QFkN91bC457OcQ&h=k_9TnKgRspAOfv3Km1VQ5EyXrTD9Oz9GvG-hmUQm6Og" + ], + "x-ms-request-id": [ + "30c15a16-f8d6-475c-8e67-1d06d34cc950" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "06857d61-1594-4024-8635-60c9857e3075" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043055Z:06857d61-1594-4024-8635-60c9857e3075" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:54 GMT" + ], + "Content-Length": [ + "1087" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"actionOnUnmanage\": {\r\n \"resources\": \"detach\",\r\n \"resourceGroups\": \"detach\",\r\n \"managementGroups\": \"detach\"\r\n },\r\n \"denySettings\": {\r\n \"mode\": \"none\",\r\n \"applyToChildScopes\": false\r\n },\r\n \"parameters\": {\r\n \"policyDefinitionName\": {\r\n \"value\": \"PSCmdletTestPolicy4762\",\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [],\r\n \"provisioningState\": \"initializing\",\r\n \"detachedResources\": [],\r\n \"deletedResources\": [],\r\n \"failedResources\": []\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2023-08-15T04:30:55.0119701Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2023-08-15T04:30:55.0119701Z\"\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670\",\r\n \"type\": \"Microsoft.Resources/deploymentStacks\",\r\n \"name\": \"ps670\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca/operations?api-version=2022-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRzL3BzNjcwLTIwMjMtMDgtMTUtMDQtMzAtNTUtM2E1Y2Evb3BlcmF0aW9ucz9hcGktdmVyc2lvbj0yMDIyLTA5LTAx", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "06ad2fc3-84ab-493e-842a-9e019a6f97f9" + ], + "x-ms-correlation-request-id": [ + "06ad2fc3-84ab-493e-842a-9e019a6f97f9" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043057Z:06ad2fc3-84ab-493e-842a-9e019a6f97f9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:57 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "12" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca/operations?api-version=2022-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRzL3BzNjcwLTIwMjMtMDgtMTUtMDQtMzAtNTUtM2E1Y2Evb3BlcmF0aW9ucz9hcGktdmVyc2lvbj0yMDIyLTA5LTAx", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "9f5669a0-d3ba-4e1f-b687-a1717e366c54" + ], + "x-ms-correlation-request-id": [ + "9f5669a0-d3ba-4e1f-b687-a1717e366c54" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043057Z:9f5669a0-d3ba-4e1f-b687-a1717e366c54" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:57 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "12" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca/operations?api-version=2022-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRzL3BzNjcwLTIwMjMtMDgtMTUtMDQtMzAtNTUtM2E1Y2Evb3BlcmF0aW9ucz9hcGktdmVyc2lvbj0yMDIyLTA5LTAx", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "170aad77-5dbd-438c-b969-88a7b5287828" + ], + "x-ms-correlation-request-id": [ + "170aad77-5dbd-438c-b969-88a7b5287828" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043057Z:170aad77-5dbd-438c-b969-88a7b5287828" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:57 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "683" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca/operations/0ED381AD7593CD49\",\r\n \"operationId\": \"0ED381AD7593CD49\",\r\n \"properties\": {\r\n \"provisioningOperation\": \"Create\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2023-08-15T04:30:57.6655608Z\",\r\n \"duration\": \"PT0.4631064S\",\r\n \"trackingId\": \"94747c76-0351-47d2-af05-63c8197d564e\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Authorization/policyDefinitions/PSCmdletTestPolicy4762\",\r\n \"resourceType\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"resourceName\": \"PSCmdletTestPolicy4762\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca?api-version=2022-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRzL3BzNjcwLTIwMjMtMDgtMTUtMDQtMzAtNTUtM2E1Y2E/YXBpLXZlcnNpb249MjAyMi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "e4341de6-73d8-447d-a50d-75d95baa96f3" + ], + "x-ms-correlation-request-id": [ + "e4341de6-73d8-447d-a50d-75d95baa96f3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043057Z:e4341de6-73d8-447d-a50d-75d95baa96f3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:57 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "754" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca\",\r\n \"name\": \"ps670-2023-08-15-04-30-55-3a5ca\",\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"templateHash\": \"17912971569522144482\",\r\n \"parameters\": {\r\n \"allowedLocations\": {\r\n \"type\": \"Array\",\r\n \"value\": [\r\n \"westus\"\r\n ]\r\n },\r\n \"policyDefinitionName\": {\r\n \"type\": \"String\",\r\n \"value\": \"PSCmdletTestPolicy4762\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2023-08-15T04:30:57.167374Z\",\r\n \"duration\": \"PT0.2354503S\",\r\n \"correlationId\": \"06857d61-1594-4024-8635-60c9857e3075\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"policyDefinitions\",\r\n \"locations\": [\r\n null\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": []\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca?api-version=2022-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRzL3BzNjcwLTIwMjMtMDgtMTUtMDQtMzAtNTUtM2E1Y2E/YXBpLXZlcnNpb249MjAyMi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "6e229e76-d350-4ab3-afb5-534e5ccfa322" + ], + "x-ms-correlation-request-id": [ + "6e229e76-d350-4ab3-afb5-534e5ccfa322" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043057Z:6e229e76-d350-4ab3-afb5-534e5ccfa322" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:57 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "754" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca\",\r\n \"name\": \"ps670-2023-08-15-04-30-55-3a5ca\",\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"templateHash\": \"17912971569522144482\",\r\n \"parameters\": {\r\n \"allowedLocations\": {\r\n \"type\": \"Array\",\r\n \"value\": [\r\n \"westus\"\r\n ]\r\n },\r\n \"policyDefinitionName\": {\r\n \"type\": \"String\",\r\n \"value\": \"PSCmdletTestPolicy4762\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2023-08-15T04:30:57.167374Z\",\r\n \"duration\": \"PT0.2354503S\",\r\n \"correlationId\": \"06857d61-1594-4024-8635-60c9857e3075\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"policyDefinitions\",\r\n \"locations\": [\r\n null\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": []\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca?api-version=2022-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRzL3BzNjcwLTIwMjMtMDgtMTUtMDQtMzAtNTUtM2E1Y2E/YXBpLXZlcnNpb249MjAyMi0wOS0wMQ==", + "RequestMethod": "GET", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f2afe57-39ce-4beb-8979-0cae64a5e1fe" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-request-id": [ + "88f8cd8f-9b1b-495c-9e2c-f55055eea1f2" + ], + "x-ms-correlation-request-id": [ + "88f8cd8f-9b1b-495c-9e2c-f55055eea1f2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043057Z:88f8cd8f-9b1b-495c-9e2c-f55055eea1f2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:30:57 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "913" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deployments/ps670-2023-08-15-04-30-55-3a5ca\",\r\n \"name\": \"ps670-2023-08-15-04-30-55-3a5ca\",\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"location\": \"westus2\",\r\n \"properties\": {\r\n \"templateHash\": \"17912971569522144482\",\r\n \"parameters\": {\r\n \"allowedLocations\": {\r\n \"type\": \"Array\",\r\n \"value\": [\r\n \"westus\"\r\n ]\r\n },\r\n \"policyDefinitionName\": {\r\n \"type\": \"String\",\r\n \"value\": \"PSCmdletTestPolicy4762\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2023-08-15T04:30:57.7636768Z\",\r\n \"duration\": \"PT0.8317531S\",\r\n \"correlationId\": \"06857d61-1594-4024-8635-60c9857e3075\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"policyDefinitions\",\r\n \"locations\": [\r\n null\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [],\r\n \"outputResources\": [\r\n {\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Authorization/policyDefinitions/PSCmdletTestPolicy4762\"\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670/exportTemplate?api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzAvZXhwb3J0VGVtcGxhdGU/YXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "POST", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f18bcded-0ea9-4fd3-af8e-4aab4f8ec3b4" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "1ee83688-91d6-4d48-848b-f7c4e1ee05a9" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "25ad07b3-c164-4444-9527-b743aaa6f3f6" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043101Z:25ad07b3-c164-4444-9527-b743aaa6f3f6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:01 GMT" + ], + "Content-Length": [ + "1328" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2018-05-01/subscriptionDeploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"metadata\": {\r\n \"_generator\": {\r\n \"name\": \"bicep\",\r\n \"version\": \"0.16.2.56959\",\r\n \"templateHash\": \"17912971569522144482\"\r\n }\r\n },\r\n \"parameters\": {\r\n \"allowedLocations\": {\r\n \"type\": \"array\",\r\n \"defaultValue\": [\r\n \"westus\"\r\n ],\r\n \"metadata\": {\r\n \"description\": \"An array of the allowed locations, all other locations will be denied by the created policy.\"\r\n }\r\n },\r\n \"policyDefinitionName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"apiVersion\": \"2020-03-01\",\r\n \"name\": \"[parameters('policyDefinitionName')]\",\r\n \"properties\": {\r\n \"policyType\": \"Custom\",\r\n \"mode\": \"All\",\r\n \"parameters\": {},\r\n \"policyRule\": {\r\n \"if\": {\r\n \"not\": {\r\n \"field\": \"location\",\r\n \"in\": \"[parameters('allowedLocations')]\"\r\n }\r\n },\r\n \"then\": {\r\n \"effect\": \"audit\"\r\n }\r\n }\r\n }\r\n }\r\n ]\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/providers/Microsoft.Resources/deploymentStacks/ps670?unmanageAction.Resources=detach&unmanageAction.ResourceGroups=detach&api-version=2022-08-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRTdGFja3MvcHM2NzA/dW5tYW5hZ2VBY3Rpb24uUmVzb3VyY2VzPWRldGFjaCZ1bm1hbmFnZUFjdGlvbi5SZXNvdXJjZUdyb3Vwcz1kZXRhY2gmYXBpLXZlcnNpb249MjAyMi0wOC0wMS1wcmV2aWV3", + "RequestMethod": "DELETE", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bc59c885-225c-4525-a01d-e659f7249007" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/6.0.2123.36311", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22621", + "Microsoft.Azure.Management.Resources.DeploymentStacksClient/6.9.1" + ] + }, + "RequestBody": "", + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "54df2802-e003-4931-b00f-11c9e6caa5f6" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "bb7ce83d-a55d-43a0-aff9-2ae44f395b50" + ], + "x-ms-routing-request-id": [ + "WESTUS:20230815T043102Z:bb7ce83d-a55d-43a0-aff9-2ae44f395b50" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Tue, 15 Aug 2023 04:31:01 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "Test-SaveAndRemoveSubscriptionDeploymentStackWithPipeOperator": [ + "ps670" + ] + }, + "Variables": { + "SubscriptionId": "a1bfa635-f2bf-42f1-86b5-848c674fc321" + } +} \ No newline at end of file diff --git a/src/Resources/Resources/ChangeLog.md b/src/Resources/Resources/ChangeLog.md index 13a6b415a9e9..765c58794d59 100644 --- a/src/Resources/Resources/ChangeLog.md +++ b/src/Resources/Resources/ChangeLog.md @@ -19,6 +19,7 @@ --> ## Upcoming Release +* Implemented logic that allows Deployment Stack objects to be piped into Save and Remove Deployment Stack cmdlets. ## Version 6.9.1 * Fixed the warning prompt condition check in New-Az*DeploymentStack cmdlets. diff --git a/src/Resources/Resources/help/Remove-AzManagementGroupDeploymentStack.md b/src/Resources/Resources/help/Remove-AzManagementGroupDeploymentStack.md index cf199117d915..15a5711845d4 100644 --- a/src/Resources/Resources/help/Remove-AzManagementGroupDeploymentStack.md +++ b/src/Resources/Resources/help/Remove-AzManagementGroupDeploymentStack.md @@ -26,6 +26,13 @@ Remove-AzManagementGroupDeploymentStack -ResourceId [-DeleteAll] [-Dele [-Confirm] [] ``` +### RemoveByStackObject +``` +Remove-AzManagementGroupDeploymentStack [-InputObjet] [-DeleteAll] [-DeleteResources] + [-DeleteResourceGroups] [-PassThru] [-Force] [-Pre] [-DefaultProfile ] [-WhatIf] + [-Confirm] [] +``` + ## DESCRIPTION Delete a management group scoped deployment stack. @@ -115,6 +122,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -InputObjet +The stack PS object + +```yaml +Type: Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSDeploymentStack +Parameter Sets: RemoveByStackObject +Aliases: + +Required: True +Position: 0 +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -ManagementGroupId The id of the ManagementGroup where the DeploymentStack is being deleted diff --git a/src/Resources/Resources/help/Remove-AzResourceGroupDeploymentStack.md b/src/Resources/Resources/help/Remove-AzResourceGroupDeploymentStack.md index a2013b4c081e..90ca68316684 100644 --- a/src/Resources/Resources/help/Remove-AzResourceGroupDeploymentStack.md +++ b/src/Resources/Resources/help/Remove-AzResourceGroupDeploymentStack.md @@ -26,6 +26,13 @@ Remove-AzResourceGroupDeploymentStack -ResourceId [-DeleteAll] [-Delete [-Confirm] [] ``` +### RemoveByStackObject +``` +Remove-AzResourceGroupDeploymentStack [-InputObjet] [-DeleteAll] [-DeleteResources] + [-DeleteResourceGroups] [-PassThru] [-Force] [-Pre] [-DefaultProfile ] [-WhatIf] + [-Confirm] [] +``` + ## DESCRIPTION Delete a resource group scoped deployment stack. @@ -115,6 +122,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -InputObjet +The stack PS object. + +```yaml +Type: Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSDeploymentStack +Parameter Sets: RemoveByStackObject +Aliases: + +Required: True +Position: 0 +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -Name The name of the deploymentStack to delete diff --git a/src/Resources/Resources/help/Remove-AzSubscriptionDeploymentStack.md b/src/Resources/Resources/help/Remove-AzSubscriptionDeploymentStack.md index 01d2873fcb0f..9b3a9ae88e44 100644 --- a/src/Resources/Resources/help/Remove-AzSubscriptionDeploymentStack.md +++ b/src/Resources/Resources/help/Remove-AzSubscriptionDeploymentStack.md @@ -26,6 +26,13 @@ Remove-AzSubscriptionDeploymentStack -ResourceId [-DeleteAll] [-DeleteR [-Confirm] [] ``` +### RemoveByStackObject +``` +Remove-AzSubscriptionDeploymentStack [-InputObjet] [-DeleteAll] [-DeleteResources] + [-DeleteResourceGroups] [-PassThru] [-Force] [-Pre] [-DefaultProfile ] [-WhatIf] + [-Confirm] [] +``` + ## DESCRIPTION Delete a subscription scoped deployment stack. @@ -115,6 +122,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -InputObjet +The stack PS object + +```yaml +Type: Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSDeploymentStack +Parameter Sets: RemoveByStackObject +Aliases: + +Required: True +Position: 0 +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -Name The name of the deploymentStack to delete diff --git a/src/Resources/Resources/help/Save-AzManagementGroupDeploymentStackTemplate.md b/src/Resources/Resources/help/Save-AzManagementGroupDeploymentStackTemplate.md index 2e087091935d..239753e9297b 100644 --- a/src/Resources/Resources/help/Save-AzManagementGroupDeploymentStackTemplate.md +++ b/src/Resources/Resources/help/Save-AzManagementGroupDeploymentStackTemplate.md @@ -24,6 +24,12 @@ Save-AzManagementGroupDeploymentStackTemplate -ResourceId [-Pre] [-DefaultProfile ] [] ``` +### SaveByStackObject +``` +Save-AzManagementGroupDeploymentStackTemplate [-InputObjet] [-Pre] + [-DefaultProfile ] [] +``` + ## DESCRIPTION Saves a template (or template link) for a management group scoped deployment stack. @@ -53,6 +59,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -InputObjet +The stack PS object + +```yaml +Type: Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSDeploymentStack +Parameter Sets: SaveByStackObject +Aliases: + +Required: True +Position: 0 +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -ManagementGroupId The id of the ManagementGroup where the DeploymentStack is deployed diff --git a/src/Resources/Resources/help/Save-AzResourceGroupDeploymentStackTemplate.md b/src/Resources/Resources/help/Save-AzResourceGroupDeploymentStackTemplate.md index cf5497d38a52..b99d0aba3113 100644 --- a/src/Resources/Resources/help/Save-AzResourceGroupDeploymentStackTemplate.md +++ b/src/Resources/Resources/help/Save-AzResourceGroupDeploymentStackTemplate.md @@ -24,6 +24,12 @@ Save-AzResourceGroupDeploymentStackTemplate -ResourceId [-Pre] [-DefaultProfile ] [] ``` +### SaveByStackObject +``` +Save-AzResourceGroupDeploymentStackTemplate [-InputObjet] [-Pre] + [-DefaultProfile ] [] +``` + ## DESCRIPTION Saves a template (or template link) for a resource group scoped deployment stack. @@ -53,6 +59,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -InputObjet +The stack PS object + +```yaml +Type: Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSDeploymentStack +Parameter Sets: SaveByStackObject +Aliases: + +Required: True +Position: 0 +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -Pre When set, indicates that the cmdlet should use pre-release API versions when automatically determining which version to use. diff --git a/src/Resources/Resources/help/Save-AzSubscriptionDeploymentStackTemplate.md b/src/Resources/Resources/help/Save-AzSubscriptionDeploymentStackTemplate.md index dc7c71e7136c..a46050590611 100644 --- a/src/Resources/Resources/help/Save-AzSubscriptionDeploymentStackTemplate.md +++ b/src/Resources/Resources/help/Save-AzSubscriptionDeploymentStackTemplate.md @@ -24,6 +24,12 @@ Save-AzSubscriptionDeploymentStackTemplate -ResourceId [-Pre] [-DefaultProfile ] [] ``` +### SaveByStackObject +``` +Save-AzSubscriptionDeploymentStackTemplate [-InputObjet] [-Pre] + [-DefaultProfile ] [] +``` + ## DESCRIPTION Saves a template (or template link) for a subscription scoped deployment stack. @@ -53,6 +59,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -InputObjet +The stack PS object + +```yaml +Type: Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels.PSDeploymentStack +Parameter Sets: SaveByStackObject +Aliases: + +Required: True +Position: 0 +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + ### -Pre When set, indicates that the cmdlet should use pre-release API versions when automatically determining which version to use.