From 69b488ecc926852a7aaca2093d1145cf8f513775 Mon Sep 17 00:00:00 2001 From: stuartko <47676853+stuartko@users.noreply.github.com> Date: Mon, 30 Nov 2020 22:51:06 -0800 Subject: [PATCH] Template Specs: Adding tag assignment/viewing support (#13619) --- .../TemplateSpecs/NewAzTemplateSpec.cs | 12 +- .../TemplateSpecs/SetAzTemplateSpec.cs | 15 +- .../SdkClient/TemplateSpecsSdkClient.cs | 51 +- .../SdkModels/TemplateSpecs/PSTemplateSpec.cs | 4 +- .../TemplateSpecs/PSTemplateSpecVersion.cs | 4 +- .../ScenarioTests/TemplateSpecTests.cs | 64 + .../ScenarioTests/TemplateSpecTests.ps1 | 436 ++++- ...itedTagsIfNoTagsSuppliedAndSpecExists.json | 1726 ++++++++++++++++ ...oBothTemplateSpecAndVersionIfNotExist.json | 1054 ++++++++++ ...TagsToOnlyVersionIfTemplateSpecExists.json | 1729 +++++++++++++++++ ...omExistingVersionIfTagsExplicityEmpty.json | 1330 +++++++++++++ ...VersionAndNoTagsProvidedAndSpecExists.json | 1537 +++++++++++++++ ...esTagsOnlyToVersionIfVersionSpecified.json | 1261 ++++++++++++ ...oBothTemplateSpecAndVersionIfNotExist.json | 991 ++++++++++ ...agsToTemplateSpecIfNoVersionSpecified.json | 1531 +++++++++++++++ ...Tags_RemovesTagsIfTagsExplicitlyEmpty.json | 1600 +++++++++++++++ src/Resources/Resources/ChangeLog.md | 2 + .../Resources/Resources.format.ps1xml | 14 + src/Resources/Resources/help/Az.Resources.md | 15 + .../Resources/help/New-AzTemplateSpec.md | 25 +- .../Resources/help/Set-AzTemplateSpec.md | 29 +- 21 files changed, 13408 insertions(+), 22 deletions(-) create mode 100644 src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.TemplateSpecTests/NewTemplateSpec_Tags_AppliesInheritedTagsIfNoTagsSuppliedAndSpecExists.json create mode 100644 src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.TemplateSpecTests/NewTemplateSpec_Tags_AppliesTagsToBothTemplateSpecAndVersionIfNotExist.json create mode 100644 src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.TemplateSpecTests/NewTemplateSpec_Tags_AppliesTagsToOnlyVersionIfTemplateSpecExists.json create mode 100644 src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.TemplateSpecTests/NewTemplateSpec_Tags_RemovesTagsFromExistingVersionIfTagsExplicityEmpty.json create mode 100644 src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.TemplateSpecTests/SetTemplateSpec_Tags_AppliesInheritedTagsIfNewVersionAndNoTagsProvidedAndSpecExists.json create mode 100644 src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.TemplateSpecTests/SetTemplateSpec_Tags_AppliesTagsOnlyToVersionIfVersionSpecified.json create mode 100644 src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.TemplateSpecTests/SetTemplateSpec_Tags_AppliesTagsToBothTemplateSpecAndVersionIfNotExist.json create mode 100644 src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.TemplateSpecTests/SetTemplateSpec_Tags_AppliesTagsToTemplateSpecIfNoVersionSpecified.json create mode 100644 src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.TemplateSpecTests/SetTemplateSpec_Tags_RemovesTagsIfTagsExplicitlyEmpty.json diff --git a/src/Resources/ResourceManager/Implementation/TemplateSpecs/NewAzTemplateSpec.cs b/src/Resources/ResourceManager/Implementation/TemplateSpecs/NewAzTemplateSpec.cs index 8e94c16ad953..9813d82ae80e 100644 --- a/src/Resources/ResourceManager/Implementation/TemplateSpecs/NewAzTemplateSpec.cs +++ b/src/Resources/ResourceManager/Implementation/TemplateSpecs/NewAzTemplateSpec.cs @@ -21,6 +21,7 @@ using Microsoft.WindowsAzure.Commands.Utilities.Common; using Newtonsoft.Json.Linq; using System; +using System.Collections; using System.IO; using System.Management.Automation; @@ -98,6 +99,13 @@ public class NewAzTemplateSpec : TemplateSpecCmdletBase [LocationCompleter("Microsoft.Resources/templateSpecs")] public string Location { get; set; } + [Alias("Tags")] + [Parameter( + Mandatory = false, + HelpMessage = "Hashtable of tags for the new template spec resource(s).")] + [ValidateNotNull] + public Hashtable Tag { get; set; } + [Parameter( ParameterSetName = FromJsonStringParameterSet, Mandatory = true, @@ -204,7 +212,9 @@ public override void ExecuteCmdlet() packagedTemplate, templateSpecDescription: Description, templateSpecDisplayName: DisplayName, - versionDescription: VersionDescription + versionDescription: VersionDescription, + templateSpecTags:Tag, // Note: Only applied if template spec doesn't exist + versionTags: Tag ); WriteObject(templateSpecVersion); diff --git a/src/Resources/ResourceManager/Implementation/TemplateSpecs/SetAzTemplateSpec.cs b/src/Resources/ResourceManager/Implementation/TemplateSpecs/SetAzTemplateSpec.cs index ae2fb43446e3..8e597a9528b5 100644 --- a/src/Resources/ResourceManager/Implementation/TemplateSpecs/SetAzTemplateSpec.cs +++ b/src/Resources/ResourceManager/Implementation/TemplateSpecs/SetAzTemplateSpec.cs @@ -20,6 +20,7 @@ using Microsoft.WindowsAzure.Commands.Utilities.Common; using Newtonsoft.Json.Linq; using System; +using System.Collections; using System.IO; using System.Management.Automation; @@ -120,6 +121,13 @@ public class SetAzTemplateSpec : TemplateSpecCmdletBase [LocationCompleter("Microsoft.Resources/templateSpecs")] public string Location { get; set; } + [Alias("Tags")] + [Parameter( + Mandatory = false, + HelpMessage = "Hashtable of tags for the template spec and/or version")] + [ValidateNotNull] + public Hashtable Tag { get; set; } + [Parameter(Mandatory = true, ParameterSetName = UpdateVersionByNameFromJsonParameterSet, ValueFromPipelineByPropertyName = true, HelpMessage = "The Azure Resource Manager template JSON.")] [Parameter(Mandatory = true, ParameterSetName = UpdateVersionByIdFromJsonParameterSet, ValueFromPipelineByPropertyName = true, @@ -245,7 +253,9 @@ public override void ExecuteCmdlet() packagedTemplate, templateSpecDescription: Description, templateSpecDisplayName: DisplayName, - versionDescription: VersionDescription + versionDescription: VersionDescription, + templateSpecTags: Tag, // Note: Only applied if template spec doesn't exist + versionTags: Tag ); WriteObject(templateSpecVersion); @@ -264,7 +274,8 @@ public override void ExecuteCmdlet() Name, Location, templateSpecDescription: Description, - templateSpecDisplayName: DisplayName + templateSpecDisplayName: DisplayName, + tags: Tag ); // As the root template spec is a seperate resource type, it won't contain version diff --git a/src/Resources/ResourceManager/SdkClient/TemplateSpecsSdkClient.cs b/src/Resources/ResourceManager/SdkClient/TemplateSpecsSdkClient.cs index dca739b59350..c2ea008f245a 100644 --- a/src/Resources/ResourceManager/SdkClient/TemplateSpecsSdkClient.cs +++ b/src/Resources/ResourceManager/SdkClient/TemplateSpecsSdkClient.cs @@ -16,9 +16,11 @@ using Microsoft.Azure.Commands.Common.Authentication.Abstractions; using Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components; using Microsoft.Azure.Commands.ResourceManager.Cmdlets.SdkModels; +using Microsoft.Azure.Commands.ResourceManager.Common.Tags; using Microsoft.Azure.Management.ResourceManager; using Microsoft.Azure.Management.ResourceManager.Models; using System; +using System.Collections; using System.Collections.Generic; using System.Linq; using System.Management.Automation; @@ -181,14 +183,18 @@ public PSTemplateSpec CreateOrUpdateTemplateSpecVersion( PackagedTemplate packagedTemplate, string templateSpecDisplayName = null, string templateSpecDescription = null, - string versionDescription = null) + string versionDescription = null, + Hashtable templateSpecTags = null, + Hashtable versionTags = null) { var templateSpecModel = this.CreateOrUpdateTemplateSpecInternal( resourceGroupName, templateSpecName, location, templateSpecDisplayName, - templateSpecDescription + templateSpecDescription, + tags: templateSpecTags, + onlyApplyTagsOnCreate: true // Don't update tags if the template spec already exists ); var existingTemplateSpecVersion = this.GetAzureSdkTemplateSpecVersion( @@ -206,6 +212,31 @@ public PSTemplateSpec CreateOrUpdateTemplateSpecVersion( Description = versionDescription ?? existingTemplateSpecVersion?.Description }; + // Handle our conditional tagging: + // ------------------------------------------ + + if (versionTags != null) + { + // Explicit version tags provided. Use them: + templateSpecVersionModel.Tags = + TagsConversionHelper.CreateTagDictionary(versionTags, true); + } + else if (existingTemplateSpecVersion != null) + { + // No tags were provided. The template spec version already exists + // ... keep the existing version's tags: + templateSpecVersionModel.Tags = existingTemplateSpecVersion.Tags; + } + else + { + // No tags were provided. The template spec version does not already exist + // ... inherit the tags present on the underlying template spec: + templateSpecVersionModel.Tags = templateSpecModel.Tags; + } + + // Perform the actual version create/update: + // ------------------------------------------ + templateSpecVersionModel = TemplateSpecsClient.TemplateSpecVersions.CreateOrUpdate( resourceGroupName, templateSpecName, @@ -221,14 +252,17 @@ public PSTemplateSpec CreateOrUpdateTemplateSpec( string templateSpecName, string location, string templateSpecDisplayName = null, - string templateSpecDescription = null) + string templateSpecDescription = null, + Hashtable tags = null) { var sdkTemplateSpecModel = this.CreateOrUpdateTemplateSpecInternal( resourceGroupName, templateSpecName, location, templateSpecDisplayName, - templateSpecDescription + templateSpecDescription, + tags, + onlyApplyTagsOnCreate: false // Apply tags on updates too ); return new PSTemplateSpec(sdkTemplateSpecModel); @@ -285,7 +319,9 @@ protected TemplateSpec CreateOrUpdateTemplateSpecInternal( string templateSpecName, string location, string templateSpecDisplayName = null, - string templateSpecDescription = null) + string templateSpecDescription = null, + Hashtable tags = null, + bool onlyApplyTagsOnCreate = false) { var existingTemplateSpec = this.GetAzureSdkTemplateSpec( resourceGroupName, @@ -314,6 +350,11 @@ protected TemplateSpec CreateOrUpdateTemplateSpecInternal( Tags = existingTemplateSpec?.Tags }; + if ((tags != null) && (existingTemplateSpec == null || !onlyApplyTagsOnCreate)) + { + templateSpecModel.Tags = TagsConversionHelper.CreateTagDictionary(tags, true); + } + templateSpecModel = TemplateSpecsClient.TemplateSpecs.CreateOrUpdate( resourceGroupName, templateSpecName, diff --git a/src/Resources/ResourceManager/SdkModels/TemplateSpecs/PSTemplateSpec.cs b/src/Resources/ResourceManager/SdkModels/TemplateSpecs/PSTemplateSpec.cs index 8b36cbe8ebcd..c3456e184e00 100644 --- a/src/Resources/ResourceManager/SdkModels/TemplateSpecs/PSTemplateSpec.cs +++ b/src/Resources/ResourceManager/SdkModels/TemplateSpecs/PSTemplateSpec.cs @@ -81,7 +81,9 @@ internal PSTemplateSpec(TemplateSpec templateSpec, this.LastModifiedTime = templateSpec.SystemData.LastModifiedAt; this.Description = templateSpec.Description; this.DisplayName = templateSpec.DisplayName; - this.Tags = templateSpec.Tags; + this.Tags = templateSpec.Tags == null + ? new Dictionary() + : new Dictionary(templateSpec.Tags); this.Versions = versionModels? .Select(v => PSTemplateSpecVersion.FromAzureSDKTemplateSpecVersion(v)) diff --git a/src/Resources/ResourceManager/SdkModels/TemplateSpecs/PSTemplateSpecVersion.cs b/src/Resources/ResourceManager/SdkModels/TemplateSpecs/PSTemplateSpecVersion.cs index 654add1818ed..86baf8703f2c 100644 --- a/src/Resources/ResourceManager/SdkModels/TemplateSpecs/PSTemplateSpecVersion.cs +++ b/src/Resources/ResourceManager/SdkModels/TemplateSpecs/PSTemplateSpecVersion.cs @@ -88,7 +88,9 @@ internal static PSTemplateSpecVersion FromAzureSDKTemplateSpecVersion( LastModifiedTime = templateSpecVersion.SystemData.LastModifiedAt, Name = templateSpecVersion.Name, Description = templateSpecVersion.Description, - Tags = templateSpecVersion.Tags, + Tags = templateSpecVersion.Tags == null + ? new Dictionary() + : new Dictionary(templateSpecVersion.Tags), // Note: Cast is redundant, but present for clarity reasons: Template = ((JToken)templateSpecVersion.Template).ToString() }; diff --git a/src/Resources/Resources.Test/ScenarioTests/TemplateSpecTests.cs b/src/Resources/Resources.Test/ScenarioTests/TemplateSpecTests.cs index 725ec4a6543c..31368d9c96d9 100644 --- a/src/Resources/Resources.Test/ScenarioTests/TemplateSpecTests.cs +++ b/src/Resources/Resources.Test/ScenarioTests/TemplateSpecTests.cs @@ -51,5 +51,69 @@ public void TestTemplateSpecRemoval() { TestRunner.RunTestScript("Test-RemoveTemplateSpec"); } + + [Fact()] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void NewTemplateSpec_Tags_AppliesTagsToBothTemplateSpecAndVersionIfNotExist() + { + TestRunner.RunTestScript("Test-NewAppliesTagsToBothTemplateSpecAndVersionIfNotExist"); + } + + [Fact()] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void NewTemplateSpec_Tags_AppliesTagsToOnlyVersionIfTemplateSpecExists() + { + TestRunner.RunTestScript("Test-NewAppliesTagsToOnlyVersionIfTemplateSpecExists"); + } + + [Fact()] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void NewTemplateSpec_Tags_AppliesInheritedTagsIfNoTagsSuppliedAndSpecExists() + { + TestRunner.RunTestScript("Test-NewAppliesInheritedTagsIfNoTagsSuppliedAndSpecExists"); + } + + [Fact()] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void NewTemplateSpec_Tags_RemovesTagsFromExistingVersionIfTagsExplicityEmpty() + { + TestRunner.RunTestScript("Test-NewRemovesTagsFromExistingVersionIfTagsExplicitlyEmpty"); + } + + [Fact()] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void SetTemplateSpec_Tags_AppliesTagsToBothTemplateSpecAndVersionIfNotExist() + { + TestRunner.RunTestScript("Test-SetAppliesTagsToBothTemplateSpecAndVersionIfNotExist"); + } + + [Fact()] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void SetTemplateSpec_Tags_AppliesTagsOnlyToVersionIfVersionSpecified() + { + TestRunner.RunTestScript("Test-SetAppliesTagsOnlyToVersionIfVersionSpecified"); + } + + [Fact()] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void SetTemplateSpec_Tags_AppliesTagsToTemplateSpecIfNoVersionSpecified() + { + TestRunner.RunTestScript("Test-SetAppliesTagsToTemplateSpecIfNoVersionSpecified"); + } + + [Fact()] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void SetTemplateSpec_Tags_AppliesInheritedTagsIfNewVersionAndNoTagsProvidedAndSpecExists() + { + TestRunner.RunTestScript("Test-SetAppliesInheritedTagsIfNewVersionAndNoTagsProvidedAndSpecExists"); + } + + [Fact()] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void SetTemplateSpec_Tags_RemovesTagsIfTagsExplicitlyEmpty() + { + TestRunner.RunTestScript("Test-SetRemovesTagsIfTagsExplicitlyEmpty"); + } + } } diff --git a/src/Resources/Resources.Test/ScenarioTests/TemplateSpecTests.ps1 b/src/Resources/Resources.Test/ScenarioTests/TemplateSpecTests.ps1 index 1f9debbe7e86..124ee01d1072 100644 --- a/src/Resources/Resources.Test/ScenarioTests/TemplateSpecTests.ps1 +++ b/src/Resources/Resources.Test/ScenarioTests/TemplateSpecTests.ps1 @@ -206,7 +206,7 @@ function Test-SetTemplateSpec <# .SYNOPSIS -Tests +Tests that a template spec can be removed with Remove-AzTemplateSpec #> function Test-RemoveTemplateSpec { @@ -243,4 +243,438 @@ function Test-RemoveTemplateSpec # Cleanup Clean-ResourceGroup $rgname } +} + +<# +.SYNOPSIS +Validates that when New-AzTemplateSpec is executed with a -Tags parameter value +and neither the template spec or version exist, the Tags get applied to both the +new template spec and the new template spec version. +#> +function Test-NewAppliesTagsToBothTemplateSpecAndVersionIfNotExist +{ + # Setup + $rgname = Get-ResourceGroupName + $rname = Get-ResourceName + $rglocation = "West US 2" + $subId = (Get-AzContext).Subscription.SubscriptionId + $sampleTemplateJson = Get-Content -Raw -Path "sampleTemplate.json" + + try + { + # Prepare our RG and create a new template spec/version with tags: + + New-AzResourceGroup -Name $rgname -Location $rglocation + + $tagsToApply = @{Tag1="Value1"; Tag2="Value2"} + $basicCreatedTemplateSpecV1 = New-AzTemplateSpec -ResourceGroupName $rgname -Name $rname -Location $rgLocation -Version "v1" -TemplateJson $sampleTemplateJson -Tag $tagsToApply + + # Both the template spec and version were new, so tags should have been applied to both: + $returnedTemplateSpecTags = $basicCreatedTemplateSpecV1.Tags + $returnedTemplateSpecVersionTags = $basicCreatedTemplateSpecV1.Versions[0].Tags + + Assert-True { AreHashtableEqual $tagsToApply $returnedTemplateSpecTags } + Assert-True { AreHashtableEqual $tagsToApply $returnedTemplateSpecVersionTags } + } + finally + { + # Cleanup + Clean-ResourceGroup $rgname + } +} + +<# +.SYNOPSIS +Validates that when New-AzTemplateSpec is executed with a -Tags parameter value +and an underlying root template spec already exists, the tags are only applied to the +new template spec version specified by -Version +#> +function Test-NewAppliesTagsToOnlyVersionIfTemplateSpecExists +{ + # Setup + $rgname = Get-ResourceGroupName + $rname = Get-ResourceName + $rglocation = "West US 2" + $subId = (Get-AzContext).Subscription.SubscriptionId + $sampleTemplateJson = Get-Content -Raw -Path "sampleTemplate.json" + + try + { + # Prepare our RG and create a new template spec/version with tags: + + New-AzResourceGroup -Name $rgname -Location $rglocation + + $initialTemplateSpecTags = @{RootTag1="Value1"; RootTag2="Value2"} + New-AzTemplateSpec -ResourceGroupName $rgname -Name $rname -Location $rgLocation -Version "v1" -TemplateJson $sampleTemplateJson -Tag $initialTemplateSpecTags + + # Make sure tags only apply to the version on another create (overwrite): + $tagsToApply = @{Tag1="Value1"; Tag2="Value2"} + $updatedTemplateSpecWithV1 = New-AzTemplateSpec -ResourceGroupName $rgname -Name $rname -Location $rgLocation -Version "v1" -TemplateJson $sampleTemplateJson -Tag $tagsToApply -Force + + $returnedTemplateSpecTags = $updatedTemplateSpecWithV1.Tags + $returnedTemplateSpecVersionTags = $updatedTemplateSpecWithV1.Versions[0].Tags + + Assert-True { AreHashtableEqual $initialTemplateSpecTags $returnedTemplateSpecTags } + Assert-True { AreHashtableEqual $tagsToApply $returnedTemplateSpecVersionTags } + + # Delete the new version so we only have the root template spec: + Remove-AzTemplateSpec -ResourceGroupName $rgname -Name $rname -Version "v1" -Force + + # Repeat the tags test with a new version (not an overwrite since we just deleted + # the previous version: + + $tagsToApply = @{Tag1b="Value1b"; Tag2b="Value2b"} + $updatedTemplateSpecWithV1 = New-AzTemplateSpec -ResourceGroupName $rgname -Name $rname -Location $rgLocation -Version "v1" -TemplateJson $sampleTemplateJson -Tag $tagsToApply + + $returnedTemplateSpecTags = $updatedTemplateSpecWithV1.Tags + $returnedTemplateSpecVersionTags = $updatedTemplateSpecWithV1.Versions[0].Tags + + Assert-True { AreHashtableEqual $initialTemplateSpecTags $returnedTemplateSpecTags } + Assert-True { AreHashtableEqual $tagsToApply $returnedTemplateSpecVersionTags } + } + finally + { + # Cleanup + Clean-ResourceGroup $rgname + } +} + +<# +.SYNOPSIS +Validates that when New-AzTemplateSpec is executed without the -Tags parameter and +the underlying root template spec already exists with tags... the parent/root template spec +tags are used for the newly created version specified by -Version (ie: The new version inherits +tags from its parent). +#> +function Test-NewAppliesInheritedTagsIfNoTagsSuppliedAndSpecExists +{ + # Setup + $rgname = Get-ResourceGroupName + $rname = Get-ResourceName + $rglocation = "West US 2" + $subId = (Get-AzContext).Subscription.SubscriptionId + $sampleTemplateJson = Get-Content -Raw -Path "sampleTemplate.json" + + try + { + # Prepare our RG and create a new template spec/version with tags: + + New-AzResourceGroup -Name $rgname -Location $rglocation + + $initialTemplateSpecTags = @{RootTag1="Value1"; RootTag2="Value2"} + New-AzTemplateSpec -ResourceGroupName $rgname -Name $rname -Location $rgLocation -Version "v1" -TemplateJson $sampleTemplateJson -Tag $initialTemplateSpecTags + + # Let's create another version without tags specified. It should inherit the + # tags from the existing template spec: + + $updatedTemplateSpecWithV2 = New-AzTemplateSpec -ResourceGroupName $rgname -Name $rname -Location $rgLocation -Version "v2" -TemplateJson $sampleTemplateJson + $returnedTemplateSpecTags = $updatedTemplateSpecWithV2.Tags + $returnedTemplateSpecVersionTags = $updatedTemplateSpecWithV2.Versions[0].Tags + + Assert-True { AreHashtableEqual $initialTemplateSpecTags $returnedTemplateSpecTags } + Assert-True { AreHashtableEqual $returnedTemplateSpecTags $returnedTemplateSpecVersionTags } + + # Let's make sure if we explicitly specify no tags, we don't inherit the tags from + # the parent template spec: + + $explicitNoTags = @{} + $updatedTemplateSpecWithV3 = New-AzTemplateSpec -ResourceGroupName $rgname -Name $rname -Location $rgLocation -Version "v3" -TemplateJson $sampleTemplateJson -Tag $explicitNoTags + $returnedTemplateSpecTags = $updatedTemplateSpecWithV3.Tags + $returnedTemplateSpecVersionTags = $updatedTemplateSpecWithV3.Versions[0].Tags + + Assert-True { AreHashtableEqual $initialTemplateSpecTags $returnedTemplateSpecTags } + Assert-True { AreHashtableEqual $explicitNoTags $returnedTemplateSpecVersionTags } + } + finally + { + # Cleanup + Clean-ResourceGroup $rgname + } +} + +<# +.SYNOPSIS +Validates that when New-AzTemplateSpec is executed against an already existing version +and has the -Tags parameter set to an empty hashtable (explicit no tags), any existing +tags on the version are removed. +#> +function Test-NewRemovesTagsFromExistingVersionIfTagsExplicitlyEmpty +{ + # Setup + $rgname = Get-ResourceGroupName + $rname = Get-ResourceName + $rglocation = "West US 2" + $subId = (Get-AzContext).Subscription.SubscriptionId + $sampleTemplateJson = Get-Content -Raw -Path "sampleTemplate.json" + + try + { + # Prepare our RG and create a new template spec/version with tags: + + New-AzResourceGroup -Name $rgname -Location $rglocation + + $initialTemplateSpecTags = @{RootTag1="Value1"; RootTag2="Value2"} + $initialTemplateSpecWithV1 = New-AzTemplateSpec -ResourceGroupName $rgname -Name $rname -Location $rgLocation -Version "v1" -TemplateJson $sampleTemplateJson -Tag $initialTemplateSpecTags + + $returnedTemplateSpecTags = $initialTemplateSpecWithV1.Tags + $returnedTemplateSpecVersionTags = $initialTemplateSpecWithV1.Versions[0].Tags + + # Verify the tags were set: + Assert-True { AreHashtableEqual $initialTemplateSpecTags $returnedTemplateSpecTags } + Assert-True { AreHashtableEqual $returnedTemplateSpecTags $returnedTemplateSpecVersionTags } + + # Now remove them with an explicit empty tags hashtable: + $explicitNoTags = @{} + $updatedTemplateSpecWithV1 = New-AzTemplateSpec -ResourceGroupName $rgname -Name $rname -Location $rgLocation -Version "v1" -TemplateJson $sampleTemplateJson -Tag $explicitNoTags -Force + + $returnedTemplateSpecTags = $updatedTemplateSpecWithV1.Tags + $returnedTemplateSpecVersionTags = $updatedTemplateSpecWithV1.Versions[0].Tags + + # Verify the tags were removed from the version: + + Assert-True { AreHashtableEqual $initialTemplateSpecTags $returnedTemplateSpecTags } + Assert-True { AreHashtableEqual $explicitNoTags $returnedTemplateSpecVersionTags } + } + finally + { + # Cleanup + Clean-ResourceGroup $rgname + } +} + +<# +.SYNOPSIS +Validates that when Set-AzTemplateSpec is executed with a -Tags parameter value +and neither the template spec or version exist, the Tags get applied to both the +new template spec and the new template spec version. +#> +function Test-SetAppliesTagsToBothTemplateSpecAndVersionIfNotExist +{ + # Setup + $rgname = Get-ResourceGroupName + $rname = Get-ResourceName + $rglocation = "West US 2" + $subId = (Get-AzContext).Subscription.SubscriptionId + $sampleTemplateJson = Get-Content -Raw -Path "sampleTemplate.json" + + try + { + # Prepare our RG and create a new template spec/version with tags: + + New-AzResourceGroup -Name $rgname -Location $rglocation + + $tagsToApply = @{Tag1="Value1"; Tag2="Value2"} + $basicCreatedTemplateSpecV1 = Set-AzTemplateSpec -ResourceGroupName $rgname -Name $rname -Location $rgLocation -Version "v1" -TemplateJson $sampleTemplateJson -Tag $tagsToApply + + # Both the template spec and version were new, so tags should have been applied to both: + $returnedTemplateSpecTags = $basicCreatedTemplateSpecV1.Tags + $returnedTemplateSpecVersionTags = $basicCreatedTemplateSpecV1.Versions[0].Tags + + Assert-True { AreHashtableEqual $tagsToApply $returnedTemplateSpecTags } + Assert-True { AreHashtableEqual $tagsToApply $returnedTemplateSpecVersionTags } + } + finally + { + # Cleanup + Clean-ResourceGroup $rgname + } +} + +<# +.SYNOPSIS +Validates that when Set-AzTemplateSpec only applies tags to the version when +tag values are provided with -Tags, a -Version is specified, and the root/parent +template spec already exists. +#> +function Test-SetAppliesTagsOnlyToVersionIfVersionSpecified +{ + # Setup + $rgname = Get-ResourceGroupName + $rname = Get-ResourceName + $rglocation = "West US 2" + $subId = (Get-AzContext).Subscription.SubscriptionId + $sampleTemplateJson = Get-Content -Raw -Path "sampleTemplate.json" + + try + { + # Prepare our RG and create a new template spec with tags: + + New-AzResourceGroup -Name $rgname -Location $rglocation + + $initialTemplateSpecTags = @{RootTag1="Value1"; RootTag2="Value2"} + Set-AzTemplateSpec -ResourceGroupName $rgname -Name $rname -Location $rgLocation -Tag $initialTemplateSpecTags + + # We have a template spec with no versions. Create a version an make sure the + # the tags only apply to the version when -Version is present: + + $tagsToApply = @{Tag1="Value1"; Tag2="Value2"} + $updatedTemplateSpecWithV1 = Set-AzTemplateSpec -ResourceGroupName $rgname -Name $rname -Location $rgLocation -Version "v1" -TemplateJson $sampleTemplateJson -Tag $tagsToApply + $returnedTemplateSpecTags = $updatedTemplateSpecWithV1.Tags + $returnedTemplateSpecVersionTags = $updatedTemplateSpecWithV1.Versions[0].Tags + + Assert-True { AreHashtableEqual $initialTemplateSpecTags $returnedTemplateSpecTags } + Assert-True { AreHashtableEqual $tagsToApply $returnedTemplateSpecVersionTags } + } + finally + { + # Cleanup + Clean-ResourceGroup $rgname + } +} + +<# +.SYNOPSIS +Validates that when Set-AzTemplateSpec applies tags only to the root template spec +when tag values are provided with -Tags and no -Version value is provided. +#> +function Test-SetAppliesTagsToTemplateSpecIfNoVersionSpecified +{ + # Setup + $rgname = Get-ResourceGroupName + $rname = Get-ResourceName + $rglocation = "West US 2" + $subId = (Get-AzContext).Subscription.SubscriptionId + $sampleTemplateJson = Get-Content -Raw -Path "sampleTemplate.json" + + try + { + # Prepare our RG and create a new template spec without tags: + + New-AzResourceGroup -Name $rgname -Location $rglocation + + $initialTemplateSpec = Set-AzTemplateSpec -ResourceGroupName $rgname -Name $rname -Location $rgLocation + Assert-True { AreHashtableEqual @{} $initialTemplateSpec.Tags } + + # We have a template spec with no versions. Create a version with some tags: + + $versionTagsToApply = @{Tag1="Value1"; Tag2="Value2"} + Set-AzTemplateSpec -ResourceGroupName $rgname -Name $rname -Location $rgLocation -Version "v1" -TemplateJson $sampleTemplateJson -Tag $versionTagsToApply + + # Now update only the template spec tags (not the version's): + $templateSpecTagsToApply = @{RootTag1="RootValue1"; RootTag2="RootValue2"} + $updatedTemplateSpecWithAllVersions = Set-AzTemplateSpec -ResourceGroupName $rgname -Name $rname -Location $rgLocation -Tag $templateSpecTagsToApply + + $returnedTemplateSpecTags = $updatedTemplateSpecWithAllVersions.Tags + $returnedTemplateSpecVersionTags = $updatedTemplateSpecWithAllVersions.Versions[0].Tags + + Assert-True { AreHashtableEqual $templateSpecTagsToApply $returnedTemplateSpecTags } + Assert-True { AreHashtableEqual $versionTagsToApply $returnedTemplateSpecVersionTags } + } + finally + { + # Cleanup + Clean-ResourceGroup $rgname + } +} + +<# +.SYNOPSIS +Validates that when Set-AzTemplateSpec is executed without the -Tags parameter and +the underlying root template spec already exists with tags... the parent/root template spec +tags are used for the newly created version specified by -Version (ie: The new version inherits +tags from its parent). +#> +function Test-SetAppliesInheritedTagsIfNewVersionAndNoTagsProvidedAndSpecExists +{ + + # Setup + $rgname = Get-ResourceGroupName + $rname = Get-ResourceName + $rglocation = "West US 2" + $subId = (Get-AzContext).Subscription.SubscriptionId + $sampleTemplateJson = Get-Content -Raw -Path "sampleTemplate.json" + + try + { + # Prepare our RG and create a new template spec/version with tags: + + New-AzResourceGroup -Name $rgname -Location $rglocation + + $initialTemplateSpecTags = @{RootTag1="Value1"; RootTag2="Value2"} + Set-AzTemplateSpec -ResourceGroupName $rgname -Name $rname -Location $rgLocation -Version "v1" -TemplateJson $sampleTemplateJson -Tag $initialTemplateSpecTags + + # Let's create another version without tags specified. It should inherit the + # tags from the existing template spec: + + $updatedTemplateSpecWithV2 = Set-AzTemplateSpec -ResourceGroupName $rgname -Name $rname -Location $rgLocation -Version "v2" -TemplateJson $sampleTemplateJson + $returnedTemplateSpecTags = $updatedTemplateSpecWithV2.Tags + $returnedTemplateSpecVersionTags = $updatedTemplateSpecWithV2.Versions[0].Tags + + Assert-True { AreHashtableEqual $initialTemplateSpecTags $returnedTemplateSpecTags } + Assert-True { AreHashtableEqual $returnedTemplateSpecTags $returnedTemplateSpecVersionTags } + + # Let's make sure if we explicitly specify no tags, we don't inherit the tags from + # the parent template spec: + + $explicitNoTags = @{} + $updatedTemplateSpecWithV3 = Set-AzTemplateSpec -ResourceGroupName $rgname -Name $rname -Location $rgLocation -Version "v3" -TemplateJson $sampleTemplateJson -Tag $explicitNoTags + $returnedTemplateSpecTags = $updatedTemplateSpecWithV3.Tags + $returnedTemplateSpecVersionTags = $updatedTemplateSpecWithV3.Versions[0].Tags + + Assert-True { AreHashtableEqual $initialTemplateSpecTags $returnedTemplateSpecTags } + Assert-True { AreHashtableEqual $explicitNoTags $returnedTemplateSpecVersionTags } + } + finally + { + # Cleanup + Clean-ResourceGroup $rgname + } +} + +<# +.SYNOPSIS +Validates Set-AzTemplateSpec removes tags on existing template specs/versions +when executed with -Tags set to an empty hashtable (explicit no tags). +#> +function Test-SetRemovesTagsIfTagsExplicitlyEmpty +{ + # Setup + $rgname = Get-ResourceGroupName + $rname = Get-ResourceName + $rglocation = "West US 2" + $subId = (Get-AzContext).Subscription.SubscriptionId + $sampleTemplateJson = Get-Content -Raw -Path "sampleTemplate.json" + + try + { + # Prepare our RG and create a new template spec/version with tags: + + New-AzResourceGroup -Name $rgname -Location $rglocation + + $initialTemplateSpecTags = @{RootTag1="Value1"; RootTag2="Value2"} + $initialTemplateSpecWithV1 = New-AzTemplateSpec -ResourceGroupName $rgname -Name $rname -Location $rgLocation -Version "v1" -TemplateJson $sampleTemplateJson -Tag $initialTemplateSpecTags + + $returnedTemplateSpecTags = $initialTemplateSpecWithV1.Tags + $returnedTemplateSpecVersionTags = $initialTemplateSpecWithV1.Versions[0].Tags + + # Verify the tags were set: + Assert-True { AreHashtableEqual $initialTemplateSpecTags $returnedTemplateSpecTags } + Assert-True { AreHashtableEqual $returnedTemplateSpecTags $returnedTemplateSpecVersionTags } + + # Attempt to remove the tags from the version: + + $explicitNoTags = @{} + $updatedTemplateSpecWithV1 = Set-AzTemplateSpec -ResourceGroupName $rgname -Name $rname -Location $rgLocation -Version "v1" -TemplateJson $sampleTemplateJson -Tag $explicitNoTags + + $returnedTemplateSpecTags = $updatedTemplateSpecWithV1.Tags + $returnedTemplateSpecVersionTags = $updatedTemplateSpecWithV1.Versions[0].Tags + + # Verify the tags were removed on the version: + + Assert-True { AreHashtableEqual $initialTemplateSpecTags $returnedTemplateSpecTags } + Assert-True { AreHashtableEqual $explicitNoTags $returnedTemplateSpecVersionTags } + + # Attempt to remove the tags from the root template spec: + + $updatedTemplateSpec = Set-AzTemplateSpec -ResourceGroupName $rgname -Name $rname -Location $rgLocation -Tag $explicitNoTags + $returnedTemplateSpecTags = $updatedTemplateSpec.Tags + + # Verify the tags were removed on the template spec: + Assert-True { AreHashtableEqual $explicitNoTags $returnedTemplateSpecTags } + } + finally + { + # Cleanup + Clean-ResourceGroup $rgname + } } \ No newline at end of file diff --git a/src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.TemplateSpecTests/NewTemplateSpec_Tags_AppliesInheritedTagsIfNoTagsSuppliedAndSpecExists.json b/src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.TemplateSpecTests/NewTemplateSpec_Tags_AppliesInheritedTagsIfNoTagsSuppliedAndSpecExists.json new file mode 100644 index 000000000000..7e08ff7831a3 --- /dev/null +++ b/src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.TemplateSpecTests/NewTemplateSpec_Tags_AppliesInheritedTagsIfNoTagsSuppliedAndSpecExists.json @@ -0,0 +1,1726 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps5438?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzNTQzOD9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6cd70fe8-4493-497a-bbea-de37e9b0f8c9" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "dff50e5c-e2cb-4a30-95c0-cce580ebf8ba" + ], + "x-ms-correlation-request-id": [ + "dff50e5c-e2cb-4a30-95c0-cce580ebf8ba" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T231050Z:dff50e5c-e2cb-4a30-95c0-cce580ebf8ba" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:10:50 GMT" + ], + "Content-Length": [ + "98" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps5438?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzNTQzOD9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "62331b80-209a-46ef-b987-1f79fd6c01fd" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "c86e551d-678a-4d7c-9bc2-d893cda12165" + ], + "x-ms-correlation-request-id": [ + "c86e551d-678a-4d7c-9bc2-d893cda12165" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T231052Z:c86e551d-678a-4d7c-9bc2-d893cda12165" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:10:52 GMT" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps5438?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzNTQzOD9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a4c68a4f-60b0-437a-9570-ce7a486a303e" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "31" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "0a78c286-fa20-454c-ab2c-03af9b9e8e7d" + ], + "x-ms-correlation-request-id": [ + "0a78c286-fa20-454c-ab2c-03af9b9e8e7d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T231050Z:0a78c286-fa20-454c-ab2c-03af9b9e8e7d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:10:50 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/ps5438\",\r\n \"name\": \"ps5438\",\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/ps5438/providers/Microsoft.Resources/templateSpecs/ps8530/versions/v1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNTQzOC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzODUzMC92ZXJzaW9ucy92MT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6378a609-8149-463f-886b-c95caa06428f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "ab57fb9c-c604-42da-aa7f-f4ea60389c25" + ], + "x-ms-correlation-request-id": [ + "ab57fb9c-c604-42da-aa7f-f4ea60389c25" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T231050Z:ab57fb9c-c604-42da-aa7f-f4ea60389c25" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:10:49 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "230" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Resources/templateSpecs/ps8530/versions/v1' under resource group 'ps5438' 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/resourceGroups/ps5438/providers/Microsoft.Resources/templateSpecs/ps8530/versions/v1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNTQzOC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzODUzMC92ZXJzaW9ucy92MT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c51d9da6-95ea-43a0-a296-b7d291a426f9" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "13d3c016-c5f0-429a-8ae8-4dd982f6fb23" + ], + "x-ms-correlation-request-id": [ + "13d3c016-c5f0-429a-8ae8-4dd982f6fb23" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T231050Z:13d3c016-c5f0-429a-8ae8-4dd982f6fb23" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:10:50 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "230" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Resources/templateSpecs/ps8530/versions/v1' under resource group 'ps5438' 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/resourceGroups/ps5438/providers/Microsoft.Resources/templateSpecs/ps8530?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNTQzOC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzODUzMD9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "72c0c1d5-6e59-4e3b-89e6-ac9986c534f9" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "72b3000d-0131-4c30-ab07-3470cfd0cb88" + ], + "x-ms-correlation-request-id": [ + "72b3000d-0131-4c30-ab07-3470cfd0cb88" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T231050Z:72b3000d-0131-4c30-ab07-3470cfd0cb88" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:10:49 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "218" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Resources/templateSpecs/ps8530' under resource group 'ps5438' 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/resourceGroups/ps5438/providers/Microsoft.Resources/templateSpecs/ps8530?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNTQzOC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzODUzMD9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c8c65908-5a1c-4583-a825-e5fb4617d1df" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "653cc306-b11d-4a7f-95c5-a5ac2ca61599" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "cb09e53b-f253-48cc-b8f7-025f1e3111dc" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T231051Z:cb09e53b-f253-48cc-b8f7-025f1e3111dc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:10:51 GMT" + ], + "Content-Length": [ + "658" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag1\": \"Value1\",\r\n \"RootTag2\": \"Value2\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T23:10:50.668566Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T23:10:51.0085662Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5438/providers/Microsoft.Resources/templateSpecs/ps8530\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps8530\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5438/providers/Microsoft.Resources/templateSpecs/ps8530?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNTQzOC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzODUzMD9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "744a6227-b0ce-44fa-892d-0725cec65192" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "263d83bd-b68e-4e9a-af63-bfe5cdfff02c" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "5be6fe6c-ec11-4c76-8b85-bee461e64858" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T231051Z:5be6fe6c-ec11-4c76-8b85-bee461e64858" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:10:51 GMT" + ], + "Content-Length": [ + "658" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag1\": \"Value1\",\r\n \"RootTag2\": \"Value2\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T23:10:50.668566Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T23:10:51.5531004Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5438/providers/Microsoft.Resources/templateSpecs/ps8530\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps8530\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5438/providers/Microsoft.Resources/templateSpecs/ps8530?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNTQzOC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzODUzMD9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag1\": \"Value1\",\r\n \"RootTag2\": \"Value2\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4f814bfa-ffa9-4546-afa9-5b6713ef7ab2" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "103" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "dd553a04-ae37-4a5e-8e41-70eb1fdd3cd4" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "6a3d29f3-62c5-470a-9c81-79693cc7fbd4" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T231050Z:6a3d29f3-62c5-470a-9c81-79693cc7fbd4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:10:50 GMT" + ], + "Content-Length": [ + "657" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag1\": \"Value1\",\r\n \"RootTag2\": \"Value2\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T23:10:50.668566Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T23:10:50.668566Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5438/providers/Microsoft.Resources/templateSpecs/ps8530\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps8530\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5438/providers/Microsoft.Resources/templateSpecs/ps8530?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNTQzOC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzODUzMD9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag1\": \"Value1\",\r\n \"RootTag2\": \"Value2\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "42a77a0d-5929-4ea2-b3c4-b8712a7e37d5" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "103" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "5271d5ea-ab8a-40c6-a578-048aad5aad9e" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "a82065c8-6ac6-40a6-84bb-233eddfcc4c6" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T231051Z:a82065c8-6ac6-40a6-84bb-233eddfcc4c6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:10:51 GMT" + ], + "Content-Length": [ + "658" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag1\": \"Value1\",\r\n \"RootTag2\": \"Value2\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T23:10:50.668566Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T23:10:51.2980966Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5438/providers/Microsoft.Resources/templateSpecs/ps8530\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps8530\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5438/providers/Microsoft.Resources/templateSpecs/ps8530?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNTQzOC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzODUzMD9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag1\": \"Value1\",\r\n \"RootTag2\": \"Value2\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5518a535-ef53-43d1-8917-bc292c564ed1" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "103" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "fc88a61a-9fff-4fca-bfec-ab238bb604c8" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "538e50ed-0545-44f9-b048-681180c8e2a1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T231051Z:538e50ed-0545-44f9-b048-681180c8e2a1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:10:51 GMT" + ], + "Content-Length": [ + "658" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag1\": \"Value1\",\r\n \"RootTag2\": \"Value2\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T23:10:50.668566Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T23:10:51.8791555Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5438/providers/Microsoft.Resources/templateSpecs/ps8530\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps8530\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5438/providers/Microsoft.Resources/templateSpecs/ps8530/versions/v1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNTQzOC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzODUzMC92ZXJzaW9ucy92MT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"tags\": {\r\n \"RootTag1\": \"Value1\",\r\n \"RootTag2\": \"Value2\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "df1bc964-e387-4ff7-b556-b89f1369c6d4" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1378" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "8961f46f-6042-44ab-aa95-afd5ca326c80" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "c694cb32-ecb3-424c-b46d-cb5ec8535cd0" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T231051Z:c694cb32-ecb3-424c-b46d-cb5ec8535cd0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:10:50 GMT" + ], + "Content-Length": [ + "1930" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag1\": \"Value1\",\r\n \"RootTag2\": \"Value2\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T23:10:51.0085662Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T23:10:51.0085662Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5438/providers/Microsoft.Resources/templateSpecs/ps8530/versions/v1\",\r\n \"type\": \"Microsoft.Resources/templateSpecs/versions\",\r\n \"name\": \"v1\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5438/providers/Microsoft.Resources/templateSpecs/ps8530/versions/v2?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNTQzOC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzODUzMC92ZXJzaW9ucy92Mj9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7b8aa098-01f0-411a-81c6-1e6a5343d331" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "578b99c4-c645-4c49-907c-d3cc604ba6de" + ], + "x-ms-correlation-request-id": [ + "578b99c4-c645-4c49-907c-d3cc604ba6de" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T231051Z:578b99c4-c645-4c49-907c-d3cc604ba6de" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:10:51 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "230" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Resources/templateSpecs/ps8530/versions/v2' under resource group 'ps5438' 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/resourceGroups/ps5438/providers/Microsoft.Resources/templateSpecs/ps8530/versions/v2?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNTQzOC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzODUzMC92ZXJzaW9ucy92Mj9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9e849cf8-78fb-4a7d-a278-3472ed454897" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "78027c47-1f94-4649-bb63-fb9b17d71249" + ], + "x-ms-correlation-request-id": [ + "78027c47-1f94-4649-bb63-fb9b17d71249" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T231051Z:78027c47-1f94-4649-bb63-fb9b17d71249" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:10:51 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "230" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Resources/templateSpecs/ps8530/versions/v2' under resource group 'ps5438' 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/resourceGroups/ps5438/providers/Microsoft.Resources/templateSpecs/ps8530/versions/v2?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNTQzOC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzODUzMC92ZXJzaW9ucy92Mj9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"tags\": {\r\n \"RootTag1\": \"Value1\",\r\n \"RootTag2\": \"Value2\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "59f83d80-48e2-4cdb-ac43-3e1b1e8849cc" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1378" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "91669fd2-bb2a-40d3-ab33-19cdf0593ca2" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "02500cae-3a28-4570-809a-719a058e174d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T231051Z:02500cae-3a28-4570-809a-719a058e174d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:10:51 GMT" + ], + "Content-Length": [ + "1930" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag1\": \"Value1\",\r\n \"RootTag2\": \"Value2\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T23:10:51.5531004Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T23:10:51.5531004Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5438/providers/Microsoft.Resources/templateSpecs/ps8530/versions/v2\",\r\n \"type\": \"Microsoft.Resources/templateSpecs/versions\",\r\n \"name\": \"v2\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5438/providers/Microsoft.Resources/templateSpecs/ps8530/versions/v3?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNTQzOC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzODUzMC92ZXJzaW9ucy92Mz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "aab28258-939c-438e-b478-61d4007adb00" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "e9e8b6f1-0898-4a18-a8c7-969ce8730140" + ], + "x-ms-correlation-request-id": [ + "e9e8b6f1-0898-4a18-a8c7-969ce8730140" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T231051Z:e9e8b6f1-0898-4a18-a8c7-969ce8730140" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:10:51 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "230" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Resources/templateSpecs/ps8530/versions/v3' under resource group 'ps5438' 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/resourceGroups/ps5438/providers/Microsoft.Resources/templateSpecs/ps8530/versions/v3?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNTQzOC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzODUzMC92ZXJzaW9ucy92Mz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "360c2e1b-3eb9-4902-b80d-4d04792584cd" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "6133ae63-349e-462f-bd00-15d613288dd6" + ], + "x-ms-correlation-request-id": [ + "6133ae63-349e-462f-bd00-15d613288dd6" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T231051Z:6133ae63-349e-462f-bd00-15d613288dd6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:10:51 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "230" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Resources/templateSpecs/ps8530/versions/v3' under resource group 'ps5438' 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/resourceGroups/ps5438/providers/Microsoft.Resources/templateSpecs/ps8530/versions/v3?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNTQzOC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzODUzMC92ZXJzaW9ucy92Mz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ecd84430-3877-49b2-9ddb-98235d58498b" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1321" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "4f634fdf-545c-4be6-b6e5-ef069cfbb051" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "48f03c73-74fc-4bb3-ab09-c44dffde35b4" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T231052Z:48f03c73-74fc-4bb3-ab09-c44dffde35b4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:10:51 GMT" + ], + "Content-Length": [ + "1873" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T23:10:52.1291567Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T23:10:52.1291567Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5438/providers/Microsoft.Resources/templateSpecs/ps8530/versions/v3\",\r\n \"type\": \"Microsoft.Resources/templateSpecs/versions\",\r\n \"name\": \"v3\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps5438?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzNTQzOD9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d0bd1cfb-6fdb-49da-ae4a-9a9baf49c7c7" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU0MzgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-request-id": [ + "750cb092-db8e-4c2c-8902-125856fa9ebf" + ], + "x-ms-correlation-request-id": [ + "750cb092-db8e-4c2c-8902-125856fa9ebf" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T231052Z:750cb092-db8e-4c2c-8902-125856fa9ebf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:10:52 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU0MzgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVME16Z3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU0MzgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "e78a70c4-29de-4766-8fa5-b352cd2f2114" + ], + "x-ms-correlation-request-id": [ + "e78a70c4-29de-4766-8fa5-b352cd2f2114" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T231107Z:e78a70c4-29de-4766-8fa5-b352cd2f2114" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:11:07 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU0MzgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVME16Z3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU0MzgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "c8006c4e-3daf-41a0-a07f-639f88c6a653" + ], + "x-ms-correlation-request-id": [ + "c8006c4e-3daf-41a0-a07f-639f88c6a653" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T231122Z:c8006c4e-3daf-41a0-a07f-639f88c6a653" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:11:22 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU0MzgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVME16Z3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU0MzgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "5a2d7983-7985-422d-970f-7e300a009ce3" + ], + "x-ms-correlation-request-id": [ + "5a2d7983-7985-422d-970f-7e300a009ce3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T231137Z:5a2d7983-7985-422d-970f-7e300a009ce3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:11:36 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU0MzgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVME16Z3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU0MzgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-request-id": [ + "e95c1779-e033-4399-b413-afc79e1e1878" + ], + "x-ms-correlation-request-id": [ + "e95c1779-e033-4399-b413-afc79e1e1878" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T231152Z:e95c1779-e033-4399-b413-afc79e1e1878" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:11:51 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU0MzgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVME16Z3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU0MzgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-request-id": [ + "f78475db-0163-48ab-9bb8-6a714019f516" + ], + "x-ms-correlation-request-id": [ + "f78475db-0163-48ab-9bb8-6a714019f516" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T231207Z:f78475db-0163-48ab-9bb8-6a714019f516" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:12:06 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU0MzgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVME16Z3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU0MzgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-request-id": [ + "b4dd3910-0ca2-4384-961e-69e581bab7f7" + ], + "x-ms-correlation-request-id": [ + "b4dd3910-0ca2-4384-961e-69e581bab7f7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T231222Z:b4dd3910-0ca2-4384-961e-69e581bab7f7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:12:22 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU0MzgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVME16Z3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-request-id": [ + "60c0e0e6-248e-4a3e-bf1b-eda8fcf8dde3" + ], + "x-ms-correlation-request-id": [ + "60c0e0e6-248e-4a3e-bf1b-eda8fcf8dde3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T231237Z:60c0e0e6-248e-4a3e-bf1b-eda8fcf8dde3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:12:37 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzU0MzgtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVME16Z3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "x-ms-request-id": [ + "482b3862-e429-41a0-a255-0b6923663fb7" + ], + "x-ms-correlation-request-id": [ + "482b3862-e429-41a0-a255-0b6923663fb7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T231237Z:482b3862-e429-41a0-a255-0b6923663fb7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:12:37 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "Test-NewAppliesInheritedTagsIfNoTagsSuppliedAndSpecExists": [ + "ps5438", + "ps8530" + ] + }, + "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.TemplateSpecTests/NewTemplateSpec_Tags_AppliesTagsToBothTemplateSpecAndVersionIfNotExist.json b/src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.TemplateSpecTests/NewTemplateSpec_Tags_AppliesTagsToBothTemplateSpecAndVersionIfNotExist.json new file mode 100644 index 000000000000..83a2e7399789 --- /dev/null +++ b/src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.TemplateSpecTests/NewTemplateSpec_Tags_AppliesTagsToBothTemplateSpecAndVersionIfNotExist.json @@ -0,0 +1,1054 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps2789?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzMjc4OT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5b7eda58-60c4-4f81-af4b-11e7eb811f0d" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "01bb864e-563a-4da9-a152-fc80e222a3ea" + ], + "x-ms-correlation-request-id": [ + "01bb864e-563a-4da9-a152-fc80e222a3ea" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221024Z:01bb864e-563a-4da9-a152-fc80e222a3ea" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:10:23 GMT" + ], + "Content-Length": [ + "98" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps2789?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzMjc4OT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "172ec1f7-ae07-498a-be24-0af0e07d3c78" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "cc4f2433-af33-4501-a6f8-f47c3d39812f" + ], + "x-ms-correlation-request-id": [ + "cc4f2433-af33-4501-a6f8-f47c3d39812f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221025Z:cc4f2433-af33-4501-a6f8-f47c3d39812f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:10:25 GMT" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps2789?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzMjc4OT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bf9bb538-34cf-4c2f-8792-a6f7abf31ab0" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "31" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "56170da9-4f69-4f84-83f7-a6501a293b30" + ], + "x-ms-correlation-request-id": [ + "56170da9-4f69-4f84-83f7-a6501a293b30" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221024Z:56170da9-4f69-4f84-83f7-a6501a293b30" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:10:23 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/ps2789\",\r\n \"name\": \"ps2789\",\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/ps2789/providers/Microsoft.Resources/templateSpecs/ps6030/versions/v1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzMjc4OS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNjAzMC92ZXJzaW9ucy92MT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1d41cd1f-73d3-4e4f-9f3a-88d51745cfec" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "d2b7d7ae-2c06-42a7-9fee-5dca02e02cbf" + ], + "x-ms-correlation-request-id": [ + "d2b7d7ae-2c06-42a7-9fee-5dca02e02cbf" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221024Z:d2b7d7ae-2c06-42a7-9fee-5dca02e02cbf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:10:23 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "230" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Resources/templateSpecs/ps6030/versions/v1' under resource group 'ps2789' 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/resourceGroups/ps2789/providers/Microsoft.Resources/templateSpecs/ps6030/versions/v1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzMjc4OS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNjAzMC92ZXJzaW9ucy92MT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "00772486-b76d-4231-bb77-a1c7c54ed20f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "180b53ed-d4d0-4b2b-a909-07bf3e2d5e0c" + ], + "x-ms-correlation-request-id": [ + "180b53ed-d4d0-4b2b-a909-07bf3e2d5e0c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221024Z:180b53ed-d4d0-4b2b-a909-07bf3e2d5e0c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:10:24 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "230" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Resources/templateSpecs/ps6030/versions/v1' under resource group 'ps2789' 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/resourceGroups/ps2789/providers/Microsoft.Resources/templateSpecs/ps6030?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzMjc4OS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNjAzMD9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0860fa4c-9eb0-4bb4-865e-3a969798446b" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "28d68cce-595c-48a3-a1c2-5889633445c0" + ], + "x-ms-correlation-request-id": [ + "28d68cce-595c-48a3-a1c2-5889633445c0" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221024Z:28d68cce-595c-48a3-a1c2-5889633445c0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:10:23 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "218" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Resources/templateSpecs/ps6030' under resource group 'ps2789' 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/resourceGroups/ps2789/providers/Microsoft.Resources/templateSpecs/ps6030?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzMjc4OS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNjAzMD9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"Tag2\": \"Value2\",\r\n \"Tag1\": \"Value1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "764cd8ea-8321-4ec3-a60c-8130c4dbc1f7" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "95" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "517b73a7-6d62-4990-b04f-25e4f679a830" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "727d57fb-d107-4b0f-a9c7-0e59dbc3d1a3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221024Z:727d57fb-d107-4b0f-a9c7-0e59dbc3d1a3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:10:24 GMT" + ], + "Content-Length": [ + "651" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"Tag2\": \"Value2\",\r\n \"Tag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:10:24.6399225Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:10:24.6399225Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps2789/providers/Microsoft.Resources/templateSpecs/ps6030\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps6030\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps2789/providers/Microsoft.Resources/templateSpecs/ps6030/versions/v1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzMjc4OS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNjAzMC92ZXJzaW9ucy92MT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"tags\": {\r\n \"Tag2\": \"Value2\",\r\n \"Tag1\": \"Value1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "320ff4bb-03d1-4ceb-a83a-6ef778c146ae" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1370" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "94d8c9e5-39b9-4665-83d0-bf5517cb573c" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "064a42df-47f3-44f6-b253-d1ba0913f60f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221025Z:064a42df-47f3-44f6-b253-d1ba0913f60f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:10:24 GMT" + ], + "Content-Length": [ + "1922" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"Tag2\": \"Value2\",\r\n \"Tag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:10:25.0355264Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:10:25.0355264Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps2789/providers/Microsoft.Resources/templateSpecs/ps6030/versions/v1\",\r\n \"type\": \"Microsoft.Resources/templateSpecs/versions\",\r\n \"name\": \"v1\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps2789?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzMjc4OT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7ae37b34-1889-4c1d-96a5-398bed586a23" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzI3ODktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-request-id": [ + "69bfa81b-ecfb-47b5-9578-12a714d1004c" + ], + "x-ms-correlation-request-id": [ + "69bfa81b-ecfb-47b5-9578-12a714d1004c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221025Z:69bfa81b-ecfb-47b5-9578-12a714d1004c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:10:25 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzI3ODktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpJM09Ea3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzI3ODktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "52369c32-0a5c-4bed-8d71-1bc29459ea73" + ], + "x-ms-correlation-request-id": [ + "52369c32-0a5c-4bed-8d71-1bc29459ea73" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221040Z:52369c32-0a5c-4bed-8d71-1bc29459ea73" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:10:40 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzI3ODktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpJM09Ea3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzI3ODktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "ac526ecf-22bb-4917-814b-b1cc0d730ed9" + ], + "x-ms-correlation-request-id": [ + "ac526ecf-22bb-4917-814b-b1cc0d730ed9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221055Z:ac526ecf-22bb-4917-814b-b1cc0d730ed9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:10:55 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzI3ODktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpJM09Ea3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzI3ODktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "5d2d5e8b-ad98-47a6-a8ff-f7543c440d8a" + ], + "x-ms-correlation-request-id": [ + "5d2d5e8b-ad98-47a6-a8ff-f7543c440d8a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221110Z:5d2d5e8b-ad98-47a6-a8ff-f7543c440d8a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:11:10 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzI3ODktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpJM09Ea3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzI3ODktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "656853b0-047c-4b52-bd23-0cdfca511b67" + ], + "x-ms-correlation-request-id": [ + "656853b0-047c-4b52-bd23-0cdfca511b67" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221125Z:656853b0-047c-4b52-bd23-0cdfca511b67" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:11:24 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzI3ODktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpJM09Ea3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzI3ODktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-request-id": [ + "7825db90-8b96-4c9b-905d-edf7cd6f9393" + ], + "x-ms-correlation-request-id": [ + "7825db90-8b96-4c9b-905d-edf7cd6f9393" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221140Z:7825db90-8b96-4c9b-905d-edf7cd6f9393" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:11:39 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzI3ODktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpJM09Ea3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzI3ODktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-request-id": [ + "edf60b6c-9a18-4dea-9573-329a42a4c162" + ], + "x-ms-correlation-request-id": [ + "edf60b6c-9a18-4dea-9573-329a42a4c162" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221155Z:edf60b6c-9a18-4dea-9573-329a42a4c162" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:11:54 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzI3ODktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpJM09Ea3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-request-id": [ + "1d33f621-3727-4e8b-9e4a-622a3cd33178" + ], + "x-ms-correlation-request-id": [ + "1d33f621-3727-4e8b-9e4a-622a3cd33178" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221210Z:1d33f621-3727-4e8b-9e4a-622a3cd33178" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:12:10 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzI3ODktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpJM09Ea3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-request-id": [ + "d6f25935-2bad-4257-b9b2-4be156cba0f2" + ], + "x-ms-correlation-request-id": [ + "d6f25935-2bad-4257-b9b2-4be156cba0f2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221210Z:d6f25935-2bad-4257-b9b2-4be156cba0f2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:12:10 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "Test-NewAppliesTagsToBothTemplateSpecAndVersionIfNotExist": [ + "ps2789", + "ps6030" + ] + }, + "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.TemplateSpecTests/NewTemplateSpec_Tags_AppliesTagsToOnlyVersionIfTemplateSpecExists.json b/src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.TemplateSpecTests/NewTemplateSpec_Tags_AppliesTagsToOnlyVersionIfTemplateSpecExists.json new file mode 100644 index 000000000000..cacb2fe2b874 --- /dev/null +++ b/src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.TemplateSpecTests/NewTemplateSpec_Tags_AppliesTagsToOnlyVersionIfTemplateSpecExists.json @@ -0,0 +1,1729 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps8770?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzODc3MD9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "41f3a39e-9834-41ad-8ffa-483621dff973" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "41107221-f4c9-4f10-b049-1d5965090ee0" + ], + "x-ms-correlation-request-id": [ + "41107221-f4c9-4f10-b049-1d5965090ee0" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221938Z:41107221-f4c9-4f10-b049-1d5965090ee0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:19:38 GMT" + ], + "Content-Length": [ + "98" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps8770?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzODc3MD9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "8f28d8d4-efc6-4183-aa6d-8b66f8da7226" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "14c3fb4f-f7ba-45d6-bba5-880446d29638" + ], + "x-ms-correlation-request-id": [ + "14c3fb4f-f7ba-45d6-bba5-880446d29638" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221941Z:14c3fb4f-f7ba-45d6-bba5-880446d29638" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:19:40 GMT" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps8770?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzODc3MD9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "887b360c-d654-4fec-8ce2-1d9a66bd343d" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "31" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "fd71080e-1fc0-4eff-ad0f-adfbcd2ce0a0" + ], + "x-ms-correlation-request-id": [ + "fd71080e-1fc0-4eff-ad0f-adfbcd2ce0a0" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221938Z:fd71080e-1fc0-4eff-ad0f-adfbcd2ce0a0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:19:38 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/ps8770\",\r\n \"name\": \"ps8770\",\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/ps8770/providers/Microsoft.Resources/templateSpecs/ps8375/versions/v1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODc3MC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzODM3NS92ZXJzaW9ucy92MT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "16e0b53b-4dbd-4d56-9f80-57de6a00130d" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "3958cfd6-7686-4978-a3ea-cfa6bc84c314" + ], + "x-ms-correlation-request-id": [ + "3958cfd6-7686-4978-a3ea-cfa6bc84c314" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221938Z:3958cfd6-7686-4978-a3ea-cfa6bc84c314" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:19:38 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "230" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Resources/templateSpecs/ps8375/versions/v1' under resource group 'ps8770' 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/resourceGroups/ps8770/providers/Microsoft.Resources/templateSpecs/ps8375/versions/v1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODc3MC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzODM3NS92ZXJzaW9ucy92MT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e722d5e9-896a-46f2-90e4-e453e3862436" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "f0895cdc-2f30-4564-9cc5-003176dab12d" + ], + "x-ms-correlation-request-id": [ + "f0895cdc-2f30-4564-9cc5-003176dab12d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221939Z:f0895cdc-2f30-4564-9cc5-003176dab12d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:19:39 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "230" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Resources/templateSpecs/ps8375/versions/v1' under resource group 'ps8770' 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/resourceGroups/ps8770/providers/Microsoft.Resources/templateSpecs/ps8375/versions/v1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODc3MC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzODM3NS92ZXJzaW9ucy92MT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "47e99e29-bd78-4e59-88e8-076985d2974a" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "a06245c5-2edd-4c1e-a8f7-765e6780295b" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-correlation-request-id": [ + "74e589b4-d983-4df8-b953-61c1fcd14474" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221939Z:74e589b4-d983-4df8-b953-61c1fcd14474" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:19:39 GMT" + ], + "Content-Length": [ + "1930" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:19:39.5149149Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:19:39.5149149Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8770/providers/Microsoft.Resources/templateSpecs/ps8375/versions/v1\",\r\n \"type\": \"Microsoft.Resources/templateSpecs/versions\",\r\n \"name\": \"v1\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8770/providers/Microsoft.Resources/templateSpecs/ps8375/versions/v1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODc3MC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzODM3NS92ZXJzaW9ucy92MT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d5f5f744-bea7-4ace-aa16-05f57a9f7f64" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "cb259a75-6f0c-428e-b05a-b735b5ed6ddb" + ], + "x-ms-correlation-request-id": [ + "cb259a75-6f0c-428e-b05a-b735b5ed6ddb" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221940Z:cb259a75-6f0c-428e-b05a-b735b5ed6ddb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:19:39 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "230" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Resources/templateSpecs/ps8375/versions/v1' under resource group 'ps8770' 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/resourceGroups/ps8770/providers/Microsoft.Resources/templateSpecs/ps8375/versions/v1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODc3MC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzODM3NS92ZXJzaW9ucy92MT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "eab2c52d-1140-46f4-b1b2-feb1c66bc5d2" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "455ba0f1-dbd2-4eb8-ad9f-749f5e1b94a9" + ], + "x-ms-correlation-request-id": [ + "455ba0f1-dbd2-4eb8-ad9f-749f5e1b94a9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221940Z:455ba0f1-dbd2-4eb8-ad9f-749f5e1b94a9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:19:39 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "230" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Resources/templateSpecs/ps8375/versions/v1' under resource group 'ps8770' 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/resourceGroups/ps8770/providers/Microsoft.Resources/templateSpecs/ps8375?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODc3MC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzODM3NT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "dc89c121-b104-488d-92ca-aff0894f7bd1" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "87a0d42f-cf81-45bc-88c7-bbc40ba62d6c" + ], + "x-ms-correlation-request-id": [ + "87a0d42f-cf81-45bc-88c7-bbc40ba62d6c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221938Z:87a0d42f-cf81-45bc-88c7-bbc40ba62d6c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:19:38 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "218" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Resources/templateSpecs/ps8375' under resource group 'ps8770' 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/resourceGroups/ps8770/providers/Microsoft.Resources/templateSpecs/ps8375?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODc3MC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzODM3NT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "aede9b8b-62a4-4235-824e-0ee922864062" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "0ce37572-c058-40c9-9757-5cbf91b04f4d" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-correlation-request-id": [ + "29e0e73e-fcba-46c0-b5a1-29f650882cbd" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221939Z:29e0e73e-fcba-46c0-b5a1-29f650882cbd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:19:39 GMT" + ], + "Content-Length": [ + "659" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:19:39.2048865Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:19:39.5149149Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8770/providers/Microsoft.Resources/templateSpecs/ps8375\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps8375\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8770/providers/Microsoft.Resources/templateSpecs/ps8375?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODc3MC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzODM3NT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "cefd732c-371e-4464-a11d-4a288496164a" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "9fee1ccf-1211-40a4-8c6d-b1cb77c8813d" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "c3d0a7e5-328b-4e44-a101-d82b53c4c501" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221940Z:c3d0a7e5-328b-4e44-a101-d82b53c4c501" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:19:39 GMT" + ], + "Content-Length": [ + "659" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:19:39.2048865Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:19:39.8580999Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8770/providers/Microsoft.Resources/templateSpecs/ps8375\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps8375\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8770/providers/Microsoft.Resources/templateSpecs/ps8375?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODc3MC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzODM3NT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "52b32a50-e92a-40b2-81ee-4005b47a5a7b" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "103" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "32adb59a-d569-4409-8f53-cd97753fc13e" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "40ab6b4a-871d-410c-bb21-01383be85533" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221939Z:40ab6b4a-871d-410c-bb21-01383be85533" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:19:38 GMT" + ], + "Content-Length": [ + "659" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:19:39.2048865Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:19:39.2048865Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8770/providers/Microsoft.Resources/templateSpecs/ps8375\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps8375\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8770/providers/Microsoft.Resources/templateSpecs/ps8375?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODc3MC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzODM3NT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bd137f4d-9072-41aa-9b53-14388cb106fa" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "103" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "a629de80-64ac-47de-8926-0ce88b893b1d" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "5065fb37-e07b-4e8d-aca7-6adaa827edba" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221939Z:5065fb37-e07b-4e8d-aca7-6adaa827edba" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:19:39 GMT" + ], + "Content-Length": [ + "659" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:19:39.2048865Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:19:39.7381039Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8770/providers/Microsoft.Resources/templateSpecs/ps8375\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps8375\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8770/providers/Microsoft.Resources/templateSpecs/ps8375?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODc3MC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzODM3NT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1a87611c-6865-4a09-a835-7e328fbeeb94" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "103" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "535d4d9f-6fcb-4761-914d-f5a225d920d4" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "771ad90c-a486-4222-8bc9-bd4116277f62" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221940Z:771ad90c-a486-4222-8bc9-bd4116277f62" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:19:39 GMT" + ], + "Content-Length": [ + "659" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:19:39.2048865Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:19:40.5944806Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8770/providers/Microsoft.Resources/templateSpecs/ps8375\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps8375\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8770/providers/Microsoft.Resources/templateSpecs/ps8375/versions/v1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODc3MC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzODM3NS92ZXJzaW9ucy92MT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "61b6a99b-23e4-4d4a-a4ec-b29c879bc026" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1378" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "82ac5136-651d-46c0-b081-554e0ba830ed" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "fc6b6e60-3f87-45be-92ac-cb3a638a4411" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221939Z:fc6b6e60-3f87-45be-92ac-cb3a638a4411" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:19:39 GMT" + ], + "Content-Length": [ + "1930" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:19:39.5149149Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:19:39.5149149Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8770/providers/Microsoft.Resources/templateSpecs/ps8375/versions/v1\",\r\n \"type\": \"Microsoft.Resources/templateSpecs/versions\",\r\n \"name\": \"v1\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8770/providers/Microsoft.Resources/templateSpecs/ps8375/versions/v1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODc3MC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzODM3NS92ZXJzaW9ucy92MT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"tags\": {\r\n \"Tag2\": \"Value2\",\r\n \"Tag1\": \"Value1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "63e48be5-0d87-4a26-b3dd-9cca40808e47" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1370" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "54f7f549-67b7-4fb3-a65c-4aa58e75c57d" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "75c51f92-851c-4e88-97c9-192c62feab1b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221939Z:75c51f92-851c-4e88-97c9-192c62feab1b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:19:39 GMT" + ], + "Content-Length": [ + "1922" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"Tag2\": \"Value2\",\r\n \"Tag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:19:39.5149149Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:19:39.8580999Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8770/providers/Microsoft.Resources/templateSpecs/ps8375/versions/v1\",\r\n \"type\": \"Microsoft.Resources/templateSpecs/versions\",\r\n \"name\": \"v1\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8770/providers/Microsoft.Resources/templateSpecs/ps8375/versions/v1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODc3MC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzODM3NS92ZXJzaW9ucy92MT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"tags\": {\r\n \"Tag1b\": \"Value1b\",\r\n \"Tag2b\": \"Value2b\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e0301b29-e7bb-42ce-b45c-81d49db94437" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1374" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "d847c50b-4fa4-4210-b4be-1ac311715d55" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "e12b0036-a618-4a2a-a7e3-401c1e20296a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221941Z:e12b0036-a618-4a2a-a7e3-401c1e20296a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:19:40 GMT" + ], + "Content-Length": [ + "1926" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"Tag1b\": \"Value1b\",\r\n \"Tag2b\": \"Value2b\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:19:40.9094794Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:19:40.9094794Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8770/providers/Microsoft.Resources/templateSpecs/ps8375/versions/v1\",\r\n \"type\": \"Microsoft.Resources/templateSpecs/versions\",\r\n \"name\": \"v1\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8770/providers/Microsoft.Resources/templateSpecs/ps8375/versions/v1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODc3MC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzODM3NS92ZXJzaW9ucy92MT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a322a77c-362e-4239-ab56-bdd1129f3deb" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "077f577a-d340-4b5d-8370-2f2a21e79d03" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "028a69ec-bb78-4cd0-b95c-82b4143bddfc" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221940Z:028a69ec-bb78-4cd0-b95c-82b4143bddfc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:19:39 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps8770?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzODc3MD9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "fe7a0827-12a7-401e-be29-78f9a3cedccd" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg3NzAtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-request-id": [ + "1b2fe593-1a5f-46a1-af88-734936ba7e2a" + ], + "x-ms-correlation-request-id": [ + "1b2fe593-1a5f-46a1-af88-734936ba7e2a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221941Z:1b2fe593-1a5f-46a1-af88-734936ba7e2a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:19:40 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg3NzAtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpnM056QXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg3NzAtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "19148f1f-2bbb-4fee-95b8-fbae2f1a31b7" + ], + "x-ms-correlation-request-id": [ + "19148f1f-2bbb-4fee-95b8-fbae2f1a31b7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221956Z:19148f1f-2bbb-4fee-95b8-fbae2f1a31b7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:19:55 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg3NzAtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpnM056QXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg3NzAtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "7c295ab3-2b34-41c8-8a35-ae65ecb8b7d9" + ], + "x-ms-correlation-request-id": [ + "7c295ab3-2b34-41c8-8a35-ae65ecb8b7d9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222011Z:7c295ab3-2b34-41c8-8a35-ae65ecb8b7d9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:20:10 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg3NzAtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpnM056QXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg3NzAtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "5c49c6fe-b538-41df-ae01-8600eae86caa" + ], + "x-ms-correlation-request-id": [ + "5c49c6fe-b538-41df-ae01-8600eae86caa" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222026Z:5c49c6fe-b538-41df-ae01-8600eae86caa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:20:26 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg3NzAtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpnM056QXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg3NzAtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "1b03588f-4a35-4fc5-98b5-e6def493f844" + ], + "x-ms-correlation-request-id": [ + "1b03588f-4a35-4fc5-98b5-e6def493f844" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222041Z:1b03588f-4a35-4fc5-98b5-e6def493f844" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:20:41 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg3NzAtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpnM056QXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg3NzAtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-request-id": [ + "01405a04-a214-4d24-b146-ce13183eff85" + ], + "x-ms-correlation-request-id": [ + "01405a04-a214-4d24-b146-ce13183eff85" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222056Z:01405a04-a214-4d24-b146-ce13183eff85" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:20:56 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg3NzAtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpnM056QXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg3NzAtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-request-id": [ + "5a4aae8a-43e7-4a29-826b-853ad3c0f70f" + ], + "x-ms-correlation-request-id": [ + "5a4aae8a-43e7-4a29-826b-853ad3c0f70f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222111Z:5a4aae8a-43e7-4a29-826b-853ad3c0f70f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:21:10 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg3NzAtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpnM056QXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-request-id": [ + "9076ca70-5a8b-47d4-b0ce-459bd8331168" + ], + "x-ms-correlation-request-id": [ + "9076ca70-5a8b-47d4-b0ce-459bd8331168" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222126Z:9076ca70-5a8b-47d4-b0ce-459bd8331168" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:21:25 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg3NzAtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpnM056QXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-request-id": [ + "75756ff6-4bb5-4ec7-9139-7efcf5a2fd17" + ], + "x-ms-correlation-request-id": [ + "75756ff6-4bb5-4ec7-9139-7efcf5a2fd17" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222126Z:75756ff6-4bb5-4ec7-9139-7efcf5a2fd17" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:21:25 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "Test-NewAppliesTagsToOnlyVersionIfTemplateSpecExists": [ + "ps8770", + "ps8375" + ] + }, + "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.TemplateSpecTests/NewTemplateSpec_Tags_RemovesTagsFromExistingVersionIfTagsExplicityEmpty.json b/src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.TemplateSpecTests/NewTemplateSpec_Tags_RemovesTagsFromExistingVersionIfTagsExplicityEmpty.json new file mode 100644 index 000000000000..fe996540aa98 --- /dev/null +++ b/src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.TemplateSpecTests/NewTemplateSpec_Tags_RemovesTagsFromExistingVersionIfTagsExplicityEmpty.json @@ -0,0 +1,1330 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps5119?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzNTExOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c9e1a0d6-8d46-4250-9c9c-cd829175c0d0" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "6ab2aaec-af12-42fe-951d-b462e5562ab0" + ], + "x-ms-correlation-request-id": [ + "6ab2aaec-af12-42fe-951d-b462e5562ab0" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221602Z:6ab2aaec-af12-42fe-951d-b462e5562ab0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:16:01 GMT" + ], + "Content-Length": [ + "98" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps5119?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzNTExOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c8fc868b-3a44-4088-88fb-b995f4105f39" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "2bfe7dda-dc1c-48bf-b65e-29843f828383" + ], + "x-ms-correlation-request-id": [ + "2bfe7dda-dc1c-48bf-b65e-29843f828383" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221603Z:2bfe7dda-dc1c-48bf-b65e-29843f828383" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:16:03 GMT" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps5119?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzNTExOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0411aebf-9e5c-4c26-9767-cecdbb59dbcd" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "31" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "46098f00-5cc2-4918-b86d-883b06eb22d1" + ], + "x-ms-correlation-request-id": [ + "46098f00-5cc2-4918-b86d-883b06eb22d1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221602Z:46098f00-5cc2-4918-b86d-883b06eb22d1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:16:02 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/ps5119\",\r\n \"name\": \"ps5119\",\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/ps5119/providers/Microsoft.Resources/templateSpecs/ps602/versions/v1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNTExOS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNjAyL3ZlcnNpb25zL3YxP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e7af97ea-3443-4765-b67c-a0bea64f0f1b" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "c524f5ae-3c97-494e-b7f9-18a3b12121f0" + ], + "x-ms-correlation-request-id": [ + "c524f5ae-3c97-494e-b7f9-18a3b12121f0" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221602Z:c524f5ae-3c97-494e-b7f9-18a3b12121f0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:16:02 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "229" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Resources/templateSpecs/ps602/versions/v1' under resource group 'ps5119' 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/resourceGroups/ps5119/providers/Microsoft.Resources/templateSpecs/ps602/versions/v1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNTExOS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNjAyL3ZlcnNpb25zL3YxP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5ddb038c-8829-4ae7-a4bd-7868f4ca5071" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "23bdfc3c-2a1a-46ab-aad0-9161cdae90ab" + ], + "x-ms-correlation-request-id": [ + "23bdfc3c-2a1a-46ab-aad0-9161cdae90ab" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221603Z:23bdfc3c-2a1a-46ab-aad0-9161cdae90ab" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:16:02 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "229" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Resources/templateSpecs/ps602/versions/v1' under resource group 'ps5119' 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/resourceGroups/ps5119/providers/Microsoft.Resources/templateSpecs/ps602/versions/v1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNTExOS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNjAyL3ZlcnNpb25zL3YxP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "51ce625e-f086-44a3-943d-1a2806f331aa" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "8b247faa-f2a6-4fec-bb81-d6c516c2b8ef" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "2444077d-80de-4e07-bf4f-9262617e5489" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221603Z:2444077d-80de-4e07-bf4f-9262617e5489" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:16:03 GMT" + ], + "Content-Length": [ + "1929" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:16:03.3066208Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:16:03.3066208Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5119/providers/Microsoft.Resources/templateSpecs/ps602/versions/v1\",\r\n \"type\": \"Microsoft.Resources/templateSpecs/versions\",\r\n \"name\": \"v1\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5119/providers/Microsoft.Resources/templateSpecs/ps602?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNTExOS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNjAyP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2a6fa5a9-7751-4fd7-a37d-19bfb01d67cc" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "ce370071-5d50-4e0a-ac76-2aaee2a5cb95" + ], + "x-ms-correlation-request-id": [ + "ce370071-5d50-4e0a-ac76-2aaee2a5cb95" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221602Z:ce370071-5d50-4e0a-ac76-2aaee2a5cb95" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:16:02 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "217" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Resources/templateSpecs/ps602' under resource group 'ps5119' 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/resourceGroups/ps5119/providers/Microsoft.Resources/templateSpecs/ps602?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNTExOS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNjAyP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "8c232f92-ee1e-4e2d-a375-75e4d3526676" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "f4b3c445-cf2b-488a-9709-57eb3d4c6a6d" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "e3fe2b7d-bfa0-4258-9a1a-567eb4419c6e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221603Z:e3fe2b7d-bfa0-4258-9a1a-567eb4419c6e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:16:03 GMT" + ], + "Content-Length": [ + "655" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:16:02.81666Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:16:03.3066208Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5119/providers/Microsoft.Resources/templateSpecs/ps602\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps602\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5119/providers/Microsoft.Resources/templateSpecs/ps602?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNTExOS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNjAyP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ced836dc-6b46-433d-b4fc-8221b07c3b84" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "103" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "b2407537-54ad-436d-9d37-24546e6cc5c3" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "def35662-14c9-4647-a8a8-5c734c9d46cc" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221602Z:def35662-14c9-4647-a8a8-5c734c9d46cc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:16:02 GMT" + ], + "Content-Length": [ + "653" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:16:02.81666Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:16:02.81666Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5119/providers/Microsoft.Resources/templateSpecs/ps602\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps602\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5119/providers/Microsoft.Resources/templateSpecs/ps602?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNTExOS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNjAyP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "08f68d37-6967-4576-9e18-1c401cd2b2d5" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "103" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "d571e7f4-4212-44af-a005-329fe22e594d" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "30edd63a-a034-42fe-bec5-9bea4451cb31" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221603Z:30edd63a-a034-42fe-bec5-9bea4451cb31" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:16:03 GMT" + ], + "Content-Length": [ + "655" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:16:02.81666Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:16:03.5758499Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5119/providers/Microsoft.Resources/templateSpecs/ps602\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps602\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5119/providers/Microsoft.Resources/templateSpecs/ps602/versions/v1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNTExOS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNjAyL3ZlcnNpb25zL3YxP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1183b77c-d59c-4e7a-808d-5c29f1a3a506" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1378" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "2178ec09-f78e-4103-9df3-246ccdc224e1" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "1d0227c9-c523-4bd7-b62c-a79b3ce55a65" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221603Z:1d0227c9-c523-4bd7-b62c-a79b3ce55a65" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:16:03 GMT" + ], + "Content-Length": [ + "1929" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:16:03.3066208Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:16:03.3066208Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5119/providers/Microsoft.Resources/templateSpecs/ps602/versions/v1\",\r\n \"type\": \"Microsoft.Resources/templateSpecs/versions\",\r\n \"name\": \"v1\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5119/providers/Microsoft.Resources/templateSpecs/ps602/versions/v1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNTExOS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNjAyL3ZlcnNpb25zL3YxP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bb25d1ac-e841-49e3-9f61-49cfa5c858a1" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1321" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "dd0372dc-92c7-4bbc-a64c-68f34ddf1aa5" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "70b1b876-b6dd-4c95-86b7-a149187cf745" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221603Z:70b1b876-b6dd-4c95-86b7-a149187cf745" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:16:03 GMT" + ], + "Content-Length": [ + "1872" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:16:03.3066208Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:16:03.7108539Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps5119/providers/Microsoft.Resources/templateSpecs/ps602/versions/v1\",\r\n \"type\": \"Microsoft.Resources/templateSpecs/versions\",\r\n \"name\": \"v1\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps5119?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzNTExOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a43c1955-5593-40a3-a24b-b8fb2f29bd12" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzUxMTktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-request-id": [ + "f6769fbc-f81f-4c7d-ae5f-e388981d86b2" + ], + "x-ms-correlation-request-id": [ + "f6769fbc-f81f-4c7d-ae5f-e388981d86b2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221603Z:f6769fbc-f81f-4c7d-ae5f-e388981d86b2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:16:03 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzUxMTktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVeE1Ua3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzUxMTktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "b35644e8-b1ec-4861-a9ca-52cfdd7fc5bf" + ], + "x-ms-correlation-request-id": [ + "b35644e8-b1ec-4861-a9ca-52cfdd7fc5bf" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221619Z:b35644e8-b1ec-4861-a9ca-52cfdd7fc5bf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:16:18 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzUxMTktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVeE1Ua3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzUxMTktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "337c4833-0ae9-4cdf-91a0-8b9a5fd9ad35" + ], + "x-ms-correlation-request-id": [ + "337c4833-0ae9-4cdf-91a0-8b9a5fd9ad35" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221634Z:337c4833-0ae9-4cdf-91a0-8b9a5fd9ad35" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:16:33 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzUxMTktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVeE1Ua3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzUxMTktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "7caab723-6a49-4e20-9816-239851ecd796" + ], + "x-ms-correlation-request-id": [ + "7caab723-6a49-4e20-9816-239851ecd796" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221649Z:7caab723-6a49-4e20-9816-239851ecd796" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:16:48 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzUxMTktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVeE1Ua3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzUxMTktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "2c8c030f-5e0e-43d6-9b57-b020b6511dab" + ], + "x-ms-correlation-request-id": [ + "2c8c030f-5e0e-43d6-9b57-b020b6511dab" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221704Z:2c8c030f-5e0e-43d6-9b57-b020b6511dab" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:17:04 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzUxMTktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVeE1Ua3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzUxMTktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-request-id": [ + "6c6f0c61-6fe7-4332-911a-653e30391d25" + ], + "x-ms-correlation-request-id": [ + "6c6f0c61-6fe7-4332-911a-653e30391d25" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221719Z:6c6f0c61-6fe7-4332-911a-653e30391d25" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:17:18 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzUxMTktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVeE1Ua3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzUxMTktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-request-id": [ + "1712b5cf-3b59-400a-ae89-1768000df83b" + ], + "x-ms-correlation-request-id": [ + "1712b5cf-3b59-400a-ae89-1768000df83b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221734Z:1712b5cf-3b59-400a-ae89-1768000df83b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:17:33 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzUxMTktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVeE1Ua3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-request-id": [ + "54654768-a9c5-4fa4-8ee4-931bb0d71441" + ], + "x-ms-correlation-request-id": [ + "54654768-a9c5-4fa4-8ee4-931bb0d71441" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221749Z:54654768-a9c5-4fa4-8ee4-931bb0d71441" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:17:48 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzUxMTktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpVeE1Ua3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-request-id": [ + "1e1f7e8b-3f63-4db7-a185-aa3793e28e95" + ], + "x-ms-correlation-request-id": [ + "1e1f7e8b-3f63-4db7-a185-aa3793e28e95" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221749Z:1e1f7e8b-3f63-4db7-a185-aa3793e28e95" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:17:48 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "Test-NewRemovesTagsFromExistingVersionIfTagsExplicitlyEmpty": [ + "ps5119", + "ps602" + ] + }, + "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.TemplateSpecTests/SetTemplateSpec_Tags_AppliesInheritedTagsIfNewVersionAndNoTagsProvidedAndSpecExists.json b/src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.TemplateSpecTests/SetTemplateSpec_Tags_AppliesInheritedTagsIfNewVersionAndNoTagsProvidedAndSpecExists.json new file mode 100644 index 000000000000..c4ac1e613c90 --- /dev/null +++ b/src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.TemplateSpecTests/SetTemplateSpec_Tags_AppliesInheritedTagsIfNewVersionAndNoTagsProvidedAndSpecExists.json @@ -0,0 +1,1537 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps8945?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzODk0NT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9f2817c8-0b05-4318-9457-622e607aca7a" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "x-ms-request-id": [ + "749770a9-37dd-4a4b-9556-777c9fef9d81" + ], + "x-ms-correlation-request-id": [ + "749770a9-37dd-4a4b-9556-777c9fef9d81" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T230657Z:749770a9-37dd-4a4b-9556-777c9fef9d81" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:06:57 GMT" + ], + "Content-Length": [ + "98" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps8945?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzODk0NT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b06e6c3c-54f1-4120-b501-49ac48634caa" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "x-ms-request-id": [ + "a3a16d7e-d465-4bba-beb9-17a64d3351e9" + ], + "x-ms-correlation-request-id": [ + "a3a16d7e-d465-4bba-beb9-17a64d3351e9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T230659Z:a3a16d7e-d465-4bba-beb9-17a64d3351e9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:06:59 GMT" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps8945?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzODk0NT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "266b9c85-b046-4c70-8803-1c512d8b4157" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "31" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "beac468a-132d-4b7e-b28d-8eff2ade5707" + ], + "x-ms-correlation-request-id": [ + "beac468a-132d-4b7e-b28d-8eff2ade5707" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T230657Z:beac468a-132d-4b7e-b28d-8eff2ade5707" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:06:57 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/ps8945\",\r\n \"name\": \"ps8945\",\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/ps8945/providers/Microsoft.Resources/templateSpecs/ps9545?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODk0NS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzOTU0NT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "85232266-8095-4c82-a82c-814ae0bd9ea6" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "bc9b60ac-a1c1-4883-b201-44ff27160f61" + ], + "x-ms-correlation-request-id": [ + "bc9b60ac-a1c1-4883-b201-44ff27160f61" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T230657Z:bc9b60ac-a1c1-4883-b201-44ff27160f61" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:06:57 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "218" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Resources/templateSpecs/ps9545' under resource group 'ps8945' 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/resourceGroups/ps8945/providers/Microsoft.Resources/templateSpecs/ps9545?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODk0NS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzOTU0NT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "638986c5-6784-4559-8b28-0ab975b36f5d" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "0190b04a-a4d5-4784-bf5e-53cadd9ce23b" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-correlation-request-id": [ + "e2a8ad19-2bb3-4196-a7c5-734476a7d70f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T230658Z:e2a8ad19-2bb3-4196-a7c5-734476a7d70f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:06:58 GMT" + ], + "Content-Length": [ + "659" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T23:06:58.2341765Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T23:06:58.5441825Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8945/providers/Microsoft.Resources/templateSpecs/ps9545\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps9545\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8945/providers/Microsoft.Resources/templateSpecs/ps9545?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODk0NS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzOTU0NT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "8725061f-a517-4eeb-b6a9-bc97bf322bb5" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "7de77044-65e8-4b2f-bb03-685d4a2ff9f3" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-correlation-request-id": [ + "849d5375-c925-435f-a474-a1cb17080040" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T230659Z:849d5375-c925-435f-a474-a1cb17080040" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:06:58 GMT" + ], + "Content-Length": [ + "658" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T23:06:58.2341765Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T23:06:59.070691Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8945/providers/Microsoft.Resources/templateSpecs/ps9545\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps9545\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8945/providers/Microsoft.Resources/templateSpecs/ps9545?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODk0NS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzOTU0NT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b35e5e53-7ab2-44d6-bda8-625741d5abba" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "103" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "5760045f-6959-430d-ae85-527af3fc19cc" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "ce4968ff-e3df-476e-a16e-235ecf23430a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T230658Z:ce4968ff-e3df-476e-a16e-235ecf23430a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:06:58 GMT" + ], + "Content-Length": [ + "659" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T23:06:58.2341765Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T23:06:58.2341765Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8945/providers/Microsoft.Resources/templateSpecs/ps9545\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps9545\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8945/providers/Microsoft.Resources/templateSpecs/ps9545?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODk0NS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzOTU0NT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1157bfc4-d4e1-470c-80da-51ce0aa2b2ba" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "103" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "a1725436-e608-4115-af2b-57d68f0c1176" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "c795b644-b73d-483a-b877-fe4b0270b92b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T230658Z:c795b644-b73d-483a-b877-fe4b0270b92b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:06:58 GMT" + ], + "Content-Length": [ + "659" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T23:06:58.2341765Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T23:06:58.8056891Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8945/providers/Microsoft.Resources/templateSpecs/ps9545\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps9545\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8945/providers/Microsoft.Resources/templateSpecs/ps9545?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODk0NS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzOTU0NT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b97c41e7-70e0-4891-aa35-2c6a4b1f34b7" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "103" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "190a99de-71f4-42b2-9045-f55830466b29" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "79cb0720-3cad-463f-bad0-6c45acc55281" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T230659Z:79cb0720-3cad-463f-bad0-6c45acc55281" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:06:58 GMT" + ], + "Content-Length": [ + "659" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T23:06:58.2341765Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T23:06:59.3710451Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8945/providers/Microsoft.Resources/templateSpecs/ps9545\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps9545\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8945/providers/Microsoft.Resources/templateSpecs/ps9545/versions/v1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODk0NS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzOTU0NS92ZXJzaW9ucy92MT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a374a0ae-aada-4b20-98ed-3e14717e6912" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "e9c18530-c63f-4d3d-bbb8-ae0c7b4cc91f" + ], + "x-ms-correlation-request-id": [ + "e9c18530-c63f-4d3d-bbb8-ae0c7b4cc91f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T230658Z:e9c18530-c63f-4d3d-bbb8-ae0c7b4cc91f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:06:58 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "230" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Resources/templateSpecs/ps9545/versions/v1' under resource group 'ps8945' 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/resourceGroups/ps8945/providers/Microsoft.Resources/templateSpecs/ps9545/versions/v1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODk0NS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzOTU0NS92ZXJzaW9ucy92MT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b27cdd68-7554-495e-89d1-46b79e0cf553" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1378" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "11f4b390-c92c-4b0f-92e6-ceecdcf624ce" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "639421ff-1f75-4407-8417-533320294823" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T230658Z:639421ff-1f75-4407-8417-533320294823" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:06:58 GMT" + ], + "Content-Length": [ + "1930" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T23:06:58.5441825Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T23:06:58.5441825Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8945/providers/Microsoft.Resources/templateSpecs/ps9545/versions/v1\",\r\n \"type\": \"Microsoft.Resources/templateSpecs/versions\",\r\n \"name\": \"v1\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8945/providers/Microsoft.Resources/templateSpecs/ps9545/versions/v2?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODk0NS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzOTU0NS92ZXJzaW9ucy92Mj9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "52f4d6ca-a2c3-4848-8432-d743243236a1" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "02f7848c-093b-476c-9c77-ff1ca7f30cca" + ], + "x-ms-correlation-request-id": [ + "02f7848c-093b-476c-9c77-ff1ca7f30cca" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T230658Z:02f7848c-093b-476c-9c77-ff1ca7f30cca" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:06:58 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "230" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Resources/templateSpecs/ps9545/versions/v2' under resource group 'ps8945' 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/resourceGroups/ps8945/providers/Microsoft.Resources/templateSpecs/ps9545/versions/v2?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODk0NS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzOTU0NS92ZXJzaW9ucy92Mj9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4f5242e9-ceb3-4727-8612-aeb6d93b077f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1378" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "b620b5b0-d905-4661-af5c-7394c1f42d31" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "4b5ac923-bcfe-4455-96ec-7c84ac354bb5" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T230659Z:4b5ac923-bcfe-4455-96ec-7c84ac354bb5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:06:58 GMT" + ], + "Content-Length": [ + "1928" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T23:06:59.070691Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T23:06:59.070691Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8945/providers/Microsoft.Resources/templateSpecs/ps9545/versions/v2\",\r\n \"type\": \"Microsoft.Resources/templateSpecs/versions\",\r\n \"name\": \"v2\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8945/providers/Microsoft.Resources/templateSpecs/ps9545/versions/v3?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODk0NS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzOTU0NS92ZXJzaW9ucy92Mz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a9f06155-e332-4c4c-9e8c-3de53df49f1a" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "769eb32c-bb60-4df2-9338-194eead2d38e" + ], + "x-ms-correlation-request-id": [ + "769eb32c-bb60-4df2-9338-194eead2d38e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T230659Z:769eb32c-bb60-4df2-9338-194eead2d38e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:06:58 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "230" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Resources/templateSpecs/ps9545/versions/v3' under resource group 'ps8945' 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/resourceGroups/ps8945/providers/Microsoft.Resources/templateSpecs/ps9545/versions/v3?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODk0NS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzOTU0NS92ZXJzaW9ucy92Mz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "8d72e1da-65fc-4d35-ac85-09a13f8aaed7" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1321" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "0de87b42-7268-41d5-a6ea-ba72c2c6ad82" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "8a72b70d-37cf-43c1-b3e6-25a85f427e3f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T230659Z:8a72b70d-37cf-43c1-b3e6-25a85f427e3f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:06:59 GMT" + ], + "Content-Length": [ + "1873" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T23:06:59.6160533Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T23:06:59.6160533Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8945/providers/Microsoft.Resources/templateSpecs/ps9545/versions/v3\",\r\n \"type\": \"Microsoft.Resources/templateSpecs/versions\",\r\n \"name\": \"v3\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps8945?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzODk0NT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ed33811b-b7b1-49e1-b269-aa763ca9ad89" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg5NDUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-request-id": [ + "022017f8-7961-48d1-8add-0a5f485c15de" + ], + "x-ms-correlation-request-id": [ + "022017f8-7961-48d1-8add-0a5f485c15de" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T230659Z:022017f8-7961-48d1-8add-0a5f485c15de" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:06:59 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg5NDUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpnNU5EVXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg5NDUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "x-ms-request-id": [ + "447f79cb-075c-40ee-9642-5917dd654355" + ], + "x-ms-correlation-request-id": [ + "447f79cb-075c-40ee-9642-5917dd654355" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T230714Z:447f79cb-075c-40ee-9642-5917dd654355" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:07:14 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg5NDUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpnNU5EVXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg5NDUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-request-id": [ + "aa24193c-a1f4-47a6-bff6-bd7a44796ac4" + ], + "x-ms-correlation-request-id": [ + "aa24193c-a1f4-47a6-bff6-bd7a44796ac4" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T230730Z:aa24193c-a1f4-47a6-bff6-bd7a44796ac4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:07:29 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg5NDUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpnNU5EVXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg5NDUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "x-ms-request-id": [ + "25a0f151-3cdc-4e3c-9440-9cb2d09b4a01" + ], + "x-ms-correlation-request-id": [ + "25a0f151-3cdc-4e3c-9440-9cb2d09b4a01" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T230745Z:25a0f151-3cdc-4e3c-9440-9cb2d09b4a01" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:07:44 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg5NDUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpnNU5EVXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg5NDUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "x-ms-request-id": [ + "ad1a742e-1b00-4cf4-842d-9eca61897c65" + ], + "x-ms-correlation-request-id": [ + "ad1a742e-1b00-4cf4-842d-9eca61897c65" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T230800Z:ad1a742e-1b00-4cf4-842d-9eca61897c65" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:07:59 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg5NDUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpnNU5EVXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg5NDUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11985" + ], + "x-ms-request-id": [ + "01a99f1a-a45e-4798-aa7e-5957ae4c05dc" + ], + "x-ms-correlation-request-id": [ + "01a99f1a-a45e-4798-aa7e-5957ae4c05dc" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T230815Z:01a99f1a-a45e-4798-aa7e-5957ae4c05dc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:08:14 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg5NDUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpnNU5EVXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg5NDUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11984" + ], + "x-ms-request-id": [ + "13204b5d-2d6f-40fc-a398-902a863eb510" + ], + "x-ms-correlation-request-id": [ + "13204b5d-2d6f-40fc-a398-902a863eb510" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T230830Z:13204b5d-2d6f-40fc-a398-902a863eb510" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:08:30 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg5NDUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpnNU5EVXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11983" + ], + "x-ms-request-id": [ + "f7921a01-105d-4fbe-bcfc-18ad19ace144" + ], + "x-ms-correlation-request-id": [ + "f7921a01-105d-4fbe-bcfc-18ad19ace144" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T230845Z:f7921a01-105d-4fbe-bcfc-18ad19ace144" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:08:44 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg5NDUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpnNU5EVXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11982" + ], + "x-ms-request-id": [ + "d2395b8b-343e-4e71-ad1c-8afb790ead15" + ], + "x-ms-correlation-request-id": [ + "d2395b8b-343e-4e71-ad1c-8afb790ead15" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T230845Z:d2395b8b-343e-4e71-ad1c-8afb790ead15" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 23:08:44 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "Test-SetAppliesInheritedTagsIfNewVersionAndNoTagsProvidedAndSpecExists": [ + "ps8945", + "ps9545" + ] + }, + "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.TemplateSpecTests/SetTemplateSpec_Tags_AppliesTagsOnlyToVersionIfVersionSpecified.json b/src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.TemplateSpecTests/SetTemplateSpec_Tags_AppliesTagsOnlyToVersionIfVersionSpecified.json new file mode 100644 index 000000000000..f49d722040f7 --- /dev/null +++ b/src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.TemplateSpecTests/SetTemplateSpec_Tags_AppliesTagsOnlyToVersionIfVersionSpecified.json @@ -0,0 +1,1261 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps8567?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzODU2Nz9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "67fbd197-9bac-4875-ab6f-12b5280bd4c1" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "4741352b-237b-4317-a21f-33b8cb0d06c7" + ], + "x-ms-correlation-request-id": [ + "4741352b-237b-4317-a21f-33b8cb0d06c7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221400Z:4741352b-237b-4317-a21f-33b8cb0d06c7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:14:00 GMT" + ], + "Content-Length": [ + "98" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps8567?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzODU2Nz9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "97276645-fbcd-4ff1-8bd9-4b206152c724" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "022f3086-2ffe-47bc-9de2-ed0a8d093898" + ], + "x-ms-correlation-request-id": [ + "022f3086-2ffe-47bc-9de2-ed0a8d093898" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221401Z:022f3086-2ffe-47bc-9de2-ed0a8d093898" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:14:01 GMT" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps8567?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzODU2Nz9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1e1eec5a-f836-47c9-b990-a5669c41c70e" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "31" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "e4ad19b9-e8f9-4470-a080-fcc0bc4bd2b0" + ], + "x-ms-correlation-request-id": [ + "e4ad19b9-e8f9-4470-a080-fcc0bc4bd2b0" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221400Z:e4ad19b9-e8f9-4470-a080-fcc0bc4bd2b0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:14:00 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/ps8567\",\r\n \"name\": \"ps8567\",\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/ps8567/providers/Microsoft.Resources/templateSpecs/ps7047?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODU2Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNzA0Nz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b8ab3efc-c7b1-40c9-9779-4814796a64fc" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "1d918fdf-eeff-4a82-89ba-7390103fe52e" + ], + "x-ms-correlation-request-id": [ + "1d918fdf-eeff-4a82-89ba-7390103fe52e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221400Z:1d918fdf-eeff-4a82-89ba-7390103fe52e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:13:59 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "218" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Resources/templateSpecs/ps7047' under resource group 'ps8567' 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/resourceGroups/ps8567/providers/Microsoft.Resources/templateSpecs/ps7047?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODU2Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNzA0Nz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "87be4b43-ded3-46ac-9d5b-177c3f543043" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "ba2a4c09-afd0-4f27-b16c-235ee466f3e4" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-correlation-request-id": [ + "e2c2f5c8-5c05-4fa2-a242-00986a5aba4c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221401Z:e2c2f5c8-5c05-4fa2-a242-00986a5aba4c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:14:00 GMT" + ], + "Content-Length": [ + "659" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:14:01.0617226Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:14:01.0617226Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8567/providers/Microsoft.Resources/templateSpecs/ps7047\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps7047\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8567/providers/Microsoft.Resources/templateSpecs/ps7047?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODU2Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNzA0Nz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d0254133-66f2-419e-9d7d-e7e1605c64e7" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "cee0fffb-be43-4261-a0d2-60ee97a36674" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "e3dc55ac-cf08-4551-849d-ec9f79c903c6" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221401Z:e3dc55ac-cf08-4551-849d-ec9f79c903c6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:14:00 GMT" + ], + "Content-Length": [ + "659" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:14:01.0617226Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:14:01.0617226Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8567/providers/Microsoft.Resources/templateSpecs/ps7047\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps7047\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8567/providers/Microsoft.Resources/templateSpecs/ps7047?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODU2Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNzA0Nz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "04774dc0-a1cd-44a0-814a-2506b167458a" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "103" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "dab2999e-553a-466a-9b69-0f5aee5b79b4" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "2ee6d3a2-64dd-4e3a-909e-b4a1652f8684" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221401Z:2ee6d3a2-64dd-4e3a-909e-b4a1652f8684" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:14:00 GMT" + ], + "Content-Length": [ + "659" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:14:01.0617226Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:14:01.0617226Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8567/providers/Microsoft.Resources/templateSpecs/ps7047\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps7047\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8567/providers/Microsoft.Resources/templateSpecs/ps7047?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODU2Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNzA0Nz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "81b304de-b694-4b7f-8e93-69be9a29e7eb" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "103" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "ad8b5b78-b40c-4d1b-a6ad-5bb4cf5437a3" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "75c4dff1-6464-461b-9a45-c4541730994c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221401Z:75c4dff1-6464-461b-9a45-c4541730994c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:14:00 GMT" + ], + "Content-Length": [ + "659" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:14:01.0617226Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:14:01.3735725Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8567/providers/Microsoft.Resources/templateSpecs/ps7047\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps7047\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8567/providers/Microsoft.Resources/templateSpecs/ps7047/versions?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODU2Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNzA0Ny92ZXJzaW9ucz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "500c06db-31a0-4d1a-a6f5-349ce12f0a25" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "b1569bde-8d84-4d90-a2ad-69e82898efed" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-correlation-request-id": [ + "ef924e7c-ad84-4f2c-ab71-99530b4cab36" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221401Z:ef924e7c-ad84-4f2c-ab71-99530b4cab36" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:14:00 GMT" + ], + "Content-Length": [ + "19" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8567/providers/Microsoft.Resources/templateSpecs/ps7047/versions/v1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODU2Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNzA0Ny92ZXJzaW9ucy92MT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5c82e6fc-707f-4f2b-ae1b-0df43d94462d" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "5ece1e55-0433-4c82-af01-2b6264b13e9c" + ], + "x-ms-correlation-request-id": [ + "5ece1e55-0433-4c82-af01-2b6264b13e9c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221401Z:5ece1e55-0433-4c82-af01-2b6264b13e9c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:14:00 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "230" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Resources/templateSpecs/ps7047/versions/v1' under resource group 'ps8567' 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/resourceGroups/ps8567/providers/Microsoft.Resources/templateSpecs/ps7047/versions/v1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzODU2Ny9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNzA0Ny92ZXJzaW9ucy92MT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"tags\": {\r\n \"Tag2\": \"Value2\",\r\n \"Tag1\": \"Value1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "43f8d120-3087-4b57-878f-906793a0cc4b" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1370" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "fa0b6019-436f-4b1b-b87c-e74c4afbd1a1" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "67c25c36-36f0-4960-868e-9de55710157d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221401Z:67c25c36-36f0-4960-868e-9de55710157d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:14:01 GMT" + ], + "Content-Length": [ + "1922" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"Tag2\": \"Value2\",\r\n \"Tag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:14:01.6485747Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:14:01.6485747Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps8567/providers/Microsoft.Resources/templateSpecs/ps7047/versions/v1\",\r\n \"type\": \"Microsoft.Resources/templateSpecs/versions\",\r\n \"name\": \"v1\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps8567?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzODU2Nz9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5550c44f-7805-4f62-8c0e-6665ef1e3f07" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg1NjctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-request-id": [ + "3bbd1140-1199-4774-8b9f-089423b02175" + ], + "x-ms-correlation-request-id": [ + "3bbd1140-1199-4774-8b9f-089423b02175" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221401Z:3bbd1140-1199-4774-8b9f-089423b02175" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:14:01 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg1NjctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpnMU5qY3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg1NjctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "cf7c5b04-d625-4595-b152-fe2a34f4dd53" + ], + "x-ms-correlation-request-id": [ + "cf7c5b04-d625-4595-b152-fe2a34f4dd53" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221416Z:cf7c5b04-d625-4595-b152-fe2a34f4dd53" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:14:16 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg1NjctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpnMU5qY3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg1NjctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "f6282907-e679-4a42-b669-f8c5988f90e4" + ], + "x-ms-correlation-request-id": [ + "f6282907-e679-4a42-b669-f8c5988f90e4" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221431Z:f6282907-e679-4a42-b669-f8c5988f90e4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:14:31 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg1NjctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpnMU5qY3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg1NjctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "4bdc03fe-0476-45b7-a231-35488aec9f47" + ], + "x-ms-correlation-request-id": [ + "4bdc03fe-0476-45b7-a231-35488aec9f47" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221446Z:4bdc03fe-0476-45b7-a231-35488aec9f47" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:14:46 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg1NjctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpnMU5qY3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg1NjctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "6e437269-87ba-41f2-bbf4-af7af9724a30" + ], + "x-ms-correlation-request-id": [ + "6e437269-87ba-41f2-bbf4-af7af9724a30" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221501Z:6e437269-87ba-41f2-bbf4-af7af9724a30" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:15:01 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg1NjctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpnMU5qY3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg1NjctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-request-id": [ + "1d78e67d-6185-4035-b890-b81101b4e7aa" + ], + "x-ms-correlation-request-id": [ + "1d78e67d-6185-4035-b890-b81101b4e7aa" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221517Z:1d78e67d-6185-4035-b890-b81101b4e7aa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:15:16 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg1NjctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpnMU5qY3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg1NjctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-request-id": [ + "19ef3e1a-1ab1-492a-9677-b99c817004f9" + ], + "x-ms-correlation-request-id": [ + "19ef3e1a-1ab1-492a-9677-b99c817004f9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221532Z:19ef3e1a-1ab1-492a-9677-b99c817004f9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:15:31 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg1NjctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpnMU5qY3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-request-id": [ + "342cf23e-c863-458b-9c53-a9a967287187" + ], + "x-ms-correlation-request-id": [ + "342cf23e-c863-458b-9c53-a9a967287187" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221547Z:342cf23e-c863-458b-9c53-a9a967287187" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:15:46 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzg1NjctV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpnMU5qY3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-request-id": [ + "ee3164aa-4364-45f3-ac61-3583b12447b4" + ], + "x-ms-correlation-request-id": [ + "ee3164aa-4364-45f3-ac61-3583b12447b4" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221547Z:ee3164aa-4364-45f3-ac61-3583b12447b4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:15:46 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "Test-SetAppliesTagsOnlyToVersionIfVersionSpecified": [ + "ps8567", + "ps7047" + ] + }, + "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.TemplateSpecTests/SetTemplateSpec_Tags_AppliesTagsToBothTemplateSpecAndVersionIfNotExist.json b/src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.TemplateSpecTests/SetTemplateSpec_Tags_AppliesTagsToBothTemplateSpecAndVersionIfNotExist.json new file mode 100644 index 000000000000..f9a01cccd1ba --- /dev/null +++ b/src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.TemplateSpecTests/SetTemplateSpec_Tags_AppliesTagsToBothTemplateSpecAndVersionIfNotExist.json @@ -0,0 +1,991 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps7529?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzNzUyOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d5249c71-3123-4870-b657-a5e78d0d8fd5" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "8bc14288-0a91-4538-945a-a30466c2e5fa" + ], + "x-ms-correlation-request-id": [ + "8bc14288-0a91-4538-945a-a30466c2e5fa" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222127Z:8bc14288-0a91-4538-945a-a30466c2e5fa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:21:27 GMT" + ], + "Content-Length": [ + "98" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps7529?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzNzUyOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "59a695b1-0468-4ea1-94e1-778ef55889a8" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "2682ef86-51c1-4b66-9493-085b95f85837" + ], + "x-ms-correlation-request-id": [ + "2682ef86-51c1-4b66-9493-085b95f85837" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222128Z:2682ef86-51c1-4b66-9493-085b95f85837" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:21:27 GMT" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps7529?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzNzUyOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f7df1c0b-9851-4ec9-acae-33d8afe68d2c" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "31" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "e9e99d10-53f5-4740-9416-d698da84d853" + ], + "x-ms-correlation-request-id": [ + "e9e99d10-53f5-4740-9416-d698da84d853" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222127Z:e9e99d10-53f5-4740-9416-d698da84d853" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:21:27 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/ps7529\",\r\n \"name\": \"ps7529\",\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/ps7529/providers/Microsoft.Resources/templateSpecs/ps1149?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNzUyOS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzMTE0OT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6db6d5bb-9a9c-4bf5-a3e6-a93b7cb502cd" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "2be40073-d6a0-4b48-923f-c095d3caa8b7" + ], + "x-ms-correlation-request-id": [ + "2be40073-d6a0-4b48-923f-c095d3caa8b7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222128Z:2be40073-d6a0-4b48-923f-c095d3caa8b7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:21:28 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "218" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Resources/templateSpecs/ps1149' under resource group 'ps7529' 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/resourceGroups/ps7529/providers/Microsoft.Resources/templateSpecs/ps1149?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNzUyOS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzMTE0OT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"Tag2\": \"Value2\",\r\n \"Tag1\": \"Value1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5198a303-6f62-4fe4-a23c-912de5762cbc" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "95" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "af1d3d35-5e20-4719-bc14-5704239e88f8" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "5fede7d6-a09c-4958-a4e8-adf55952206a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222128Z:5fede7d6-a09c-4958-a4e8-adf55952206a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:21:28 GMT" + ], + "Content-Length": [ + "651" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"Tag2\": \"Value2\",\r\n \"Tag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:21:28.3314616Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:21:28.3314616Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps7529/providers/Microsoft.Resources/templateSpecs/ps1149\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps1149\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps7529/providers/Microsoft.Resources/templateSpecs/ps1149/versions/v1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNzUyOS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzMTE0OS92ZXJzaW9ucy92MT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1e00ce03-5867-4865-b290-fccc6374779f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "5a150a94-10d2-4be9-8392-faf3b24396a5" + ], + "x-ms-correlation-request-id": [ + "5a150a94-10d2-4be9-8392-faf3b24396a5" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222128Z:5a150a94-10d2-4be9-8392-faf3b24396a5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:21:28 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "230" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Resources/templateSpecs/ps1149/versions/v1' under resource group 'ps7529' 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/resourceGroups/ps7529/providers/Microsoft.Resources/templateSpecs/ps1149/versions/v1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNzUyOS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzMTE0OS92ZXJzaW9ucy92MT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"tags\": {\r\n \"Tag2\": \"Value2\",\r\n \"Tag1\": \"Value1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0def9622-e52a-4453-b64d-b14d6d20b309" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1370" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "fb3efb7e-a817-4fa0-b0e5-2c93e01df1c4" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "7c115d8f-1363-4a51-aa4c-554fd9f49d51" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222128Z:7c115d8f-1363-4a51-aa4c-554fd9f49d51" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:21:28 GMT" + ], + "Content-Length": [ + "1922" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"Tag2\": \"Value2\",\r\n \"Tag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:21:28.6214629Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:21:28.6214629Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps7529/providers/Microsoft.Resources/templateSpecs/ps1149/versions/v1\",\r\n \"type\": \"Microsoft.Resources/templateSpecs/versions\",\r\n \"name\": \"v1\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps7529?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzNzUyOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "fdcd246c-2b2d-4c63-9008-6afa33caa1a1" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzc1MjktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-request-id": [ + "2e8ee351-4232-4dc1-aaa2-45aab872d210" + ], + "x-ms-correlation-request-id": [ + "2e8ee351-4232-4dc1-aaa2-45aab872d210" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222128Z:2e8ee351-4232-4dc1-aaa2-45aab872d210" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:21:27 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzc1MjktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjMU1qa3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzc1MjktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "d9f731b4-63b7-4342-afd4-4ba2d7fa4d05" + ], + "x-ms-correlation-request-id": [ + "d9f731b4-63b7-4342-afd4-4ba2d7fa4d05" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222143Z:d9f731b4-63b7-4342-afd4-4ba2d7fa4d05" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:21:43 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzc1MjktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjMU1qa3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzc1MjktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "6cc5dbbf-9252-4c66-989e-9958207b5430" + ], + "x-ms-correlation-request-id": [ + "6cc5dbbf-9252-4c66-989e-9958207b5430" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222158Z:6cc5dbbf-9252-4c66-989e-9958207b5430" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:21:58 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzc1MjktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjMU1qa3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzc1MjktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "38d1b34e-3e08-44f1-8f9e-87d2467852ad" + ], + "x-ms-correlation-request-id": [ + "38d1b34e-3e08-44f1-8f9e-87d2467852ad" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222213Z:38d1b34e-3e08-44f1-8f9e-87d2467852ad" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:22:13 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzc1MjktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjMU1qa3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzc1MjktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "74d8dc06-9a5a-4181-b8f2-d7e7ca25da93" + ], + "x-ms-correlation-request-id": [ + "74d8dc06-9a5a-4181-b8f2-d7e7ca25da93" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222228Z:74d8dc06-9a5a-4181-b8f2-d7e7ca25da93" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:22:28 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzc1MjktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjMU1qa3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzc1MjktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-request-id": [ + "07e6a564-528d-46dd-ad86-7935cc22cb31" + ], + "x-ms-correlation-request-id": [ + "07e6a564-528d-46dd-ad86-7935cc22cb31" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222243Z:07e6a564-528d-46dd-ad86-7935cc22cb31" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:22:43 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzc1MjktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjMU1qa3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzc1MjktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-request-id": [ + "5715ec9b-4fc4-4b7f-b4c5-71e26f4c92fd" + ], + "x-ms-correlation-request-id": [ + "5715ec9b-4fc4-4b7f-b4c5-71e26f4c92fd" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222259Z:5715ec9b-4fc4-4b7f-b4c5-71e26f4c92fd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:22:58 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzc1MjktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjMU1qa3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-request-id": [ + "1859cca0-6214-4f25-862a-52102e6b8883" + ], + "x-ms-correlation-request-id": [ + "1859cca0-6214-4f25-862a-52102e6b8883" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222314Z:1859cca0-6214-4f25-862a-52102e6b8883" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:23:13 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzc1MjktV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpjMU1qa3RWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-request-id": [ + "9bfbfebc-d7d1-4148-829c-e0429637ff57" + ], + "x-ms-correlation-request-id": [ + "9bfbfebc-d7d1-4148-829c-e0429637ff57" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222314Z:9bfbfebc-d7d1-4148-829c-e0429637ff57" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:23:13 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "Test-SetAppliesTagsToBothTemplateSpecAndVersionIfNotExist": [ + "ps7529", + "ps1149" + ] + }, + "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.TemplateSpecTests/SetTemplateSpec_Tags_AppliesTagsToTemplateSpecIfNoVersionSpecified.json b/src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.TemplateSpecTests/SetTemplateSpec_Tags_AppliesTagsToTemplateSpecIfNoVersionSpecified.json new file mode 100644 index 000000000000..0ebe51c85d8f --- /dev/null +++ b/src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.TemplateSpecTests/SetTemplateSpec_Tags_AppliesTagsToTemplateSpecIfNoVersionSpecified.json @@ -0,0 +1,1531 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps6655?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzNjY1NT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "fd398ed7-8df5-4520-b8a1-2836c4ad5c09" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "3d761c5b-6793-460b-96fb-afb31e68d8b9" + ], + "x-ms-correlation-request-id": [ + "3d761c5b-6793-460b-96fb-afb31e68d8b9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221750Z:3d761c5b-6793-460b-96fb-afb31e68d8b9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:17:50 GMT" + ], + "Content-Length": [ + "98" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps6655?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzNjY1NT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d5897124-fe87-4248-a67b-4b066ac1c01d" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "b05b1d5d-8514-40cd-999d-290d887ca0e3" + ], + "x-ms-correlation-request-id": [ + "b05b1d5d-8514-40cd-999d-290d887ca0e3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221752Z:b05b1d5d-8514-40cd-999d-290d887ca0e3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:17:51 GMT" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps6655?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzNjY1NT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "17d2439e-0378-4985-8c2d-c7d65aeae1f0" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "31" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "d6a0957e-c65b-4ce4-bcd4-0612eb9a37d4" + ], + "x-ms-correlation-request-id": [ + "d6a0957e-c65b-4ce4-bcd4-0612eb9a37d4" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221750Z:d6a0957e-c65b-4ce4-bcd4-0612eb9a37d4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:17:50 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/ps6655\",\r\n \"name\": \"ps6655\",\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/ps6655/providers/Microsoft.Resources/templateSpecs/ps596?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNjY1NS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNTk2P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "08320e8a-7a9d-4143-bac6-ef6c1477c151" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "8a22ba5d-9b83-4da2-b52c-7ebee0cb237a" + ], + "x-ms-correlation-request-id": [ + "8a22ba5d-9b83-4da2-b52c-7ebee0cb237a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221750Z:8a22ba5d-9b83-4da2-b52c-7ebee0cb237a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:17:49 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "217" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Resources/templateSpecs/ps596' under resource group 'ps6655' 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/resourceGroups/ps6655/providers/Microsoft.Resources/templateSpecs/ps596?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNjY1NS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNTk2P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9a7cadc9-b962-4750-8bad-3107f5407fa8" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "cacbc202-43c1-4a43-bec7-ae27477abaf8" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "83e04664-1d04-422d-8c99-dfb44fb99fa7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221751Z:83e04664-1d04-422d-8c99-dfb44fb99fa7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:17:50 GMT" + ], + "Content-Length": [ + "585" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:17:50.8359359Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:17:50.8359359Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps6655/providers/Microsoft.Resources/templateSpecs/ps596\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps596\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps6655/providers/Microsoft.Resources/templateSpecs/ps596?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNjY1NS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNTk2P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "07997302-d5a7-4cbd-bb78-266d659086d6" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "6bae0e81-ce84-40d3-a0b0-7bb9fb5b42f4" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "x-ms-correlation-request-id": [ + "bc31260f-dda9-4253-ac7d-23c49e9e9f89" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221751Z:bc31260f-dda9-4253-ac7d-23c49e9e9f89" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:17:50 GMT" + ], + "Content-Length": [ + "585" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:17:50.8359359Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:17:50.8359359Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps6655/providers/Microsoft.Resources/templateSpecs/ps596\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps596\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps6655/providers/Microsoft.Resources/templateSpecs/ps596?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNjY1NS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNTk2P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1b54b3de-0105-4e25-97b4-07b42248b973" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "5102d5c4-37df-4c4a-ab01-fde165544ee5" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "5f55a29d-0bfc-4f24-ac24-7c51b024d896" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221751Z:5f55a29d-0bfc-4f24-ac24-7c51b024d896" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:17:51 GMT" + ], + "Content-Length": [ + "585" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:17:50.8359359Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:17:51.4657802Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps6655/providers/Microsoft.Resources/templateSpecs/ps596\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps596\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps6655/providers/Microsoft.Resources/templateSpecs/ps596?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNjY1NS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNTk2P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a0ab3483-df1f-497f-b31e-5316f0bc1aa0" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "042eda19-c439-470e-a751-6eebe7489a11" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "85e69e54-049a-4c9a-b81a-bfef4d4a4cd4" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221751Z:85e69e54-049a-4c9a-b81a-bfef4d4a4cd4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:17:51 GMT" + ], + "Content-Length": [ + "665" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"RootValue2\",\r\n \"RootTag1\": \"RootValue1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:17:50.8359359Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:17:51.8408001Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps6655/providers/Microsoft.Resources/templateSpecs/ps596\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps596\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps6655/providers/Microsoft.Resources/templateSpecs/ps596?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNjY1NS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNTk2P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d53b83c3-3934-4232-a0ce-7b3e3cd8ea1e" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "31" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "89e3dd6d-f314-4b9c-9169-daa8381d256c" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "9b760f00-c8fc-41f0-87a1-4bac3130a173" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221750Z:9b760f00-c8fc-41f0-87a1-4bac3130a173" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:17:50 GMT" + ], + "Content-Length": [ + "585" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:17:50.8359359Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:17:50.8359359Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps6655/providers/Microsoft.Resources/templateSpecs/ps596\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps596\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps6655/providers/Microsoft.Resources/templateSpecs/ps596?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNjY1NS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNTk2P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "469fc547-c446-40d9-9f6a-082304ace7a9" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "31" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "00d6975a-ae8c-49c9-b4dc-2c6f1beaae58" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "77a4960d-5c61-4106-9d00-20ea532ca924" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221751Z:77a4960d-5c61-4106-9d00-20ea532ca924" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:17:50 GMT" + ], + "Content-Length": [ + "585" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:17:50.8359359Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:17:51.1854395Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps6655/providers/Microsoft.Resources/templateSpecs/ps596\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps596\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps6655/providers/Microsoft.Resources/templateSpecs/ps596?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNjY1NS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNTk2P2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"RootValue2\",\r\n \"RootTag1\": \"RootValue1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5176bcba-0196-410c-abf3-ca2a06ec5b37" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "111" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "3fdd198e-682a-492e-9784-df618416107f" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "d4cf878a-b4fc-4b43-86e2-bdd2d20c2e66" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221751Z:d4cf878a-b4fc-4b43-86e2-bdd2d20c2e66" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:17:51 GMT" + ], + "Content-Length": [ + "665" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"RootValue2\",\r\n \"RootTag1\": \"RootValue1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:17:50.8359359Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:17:51.8408001Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps6655/providers/Microsoft.Resources/templateSpecs/ps596\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps596\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps6655/providers/Microsoft.Resources/templateSpecs/ps596/versions?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNjY1NS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNTk2L3ZlcnNpb25zP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "00ec4596-0536-4503-b727-d5cae178d2e3" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "053bddb5-f518-401e-8c18-540536a2a2fb" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-correlation-request-id": [ + "de3bf1f9-e233-476a-a610-6364ba2e083a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221751Z:de3bf1f9-e233-476a-a610-6364ba2e083a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:17:50 GMT" + ], + "Content-Length": [ + "19" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps6655/providers/Microsoft.Resources/templateSpecs/ps596/versions?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNjY1NS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNTk2L3ZlcnNpb25zP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9d1f226f-80a9-4be9-a268-0b0408025642" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "cb235270-356d-4d32-9bf0-0c4c89c95854" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-correlation-request-id": [ + "dfc82274-e7c7-4f5e-9d1a-82ece3873cf8" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221752Z:dfc82274-e7c7-4f5e-9d1a-82ece3873cf8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:17:51 GMT" + ], + "Content-Length": [ + "2210" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"Tag2\": \"Value2\",\r\n \"Tag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:17:51.4657802Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:17:51.4657802Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps6655/providers/Microsoft.Resources/templateSpecs/ps596/versions/v1\",\r\n \"type\": \"Microsoft.Resources/templateSpecs/versions\",\r\n \"name\": \"v1\"\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps6655/providers/Microsoft.Resources/templateSpecs/ps596/versions/v1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNjY1NS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNTk2L3ZlcnNpb25zL3YxP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "933381ee-2ade-4bc1-98e6-f55575e3ee37" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "ae3becf2-8afe-40ff-9282-c8005014312b" + ], + "x-ms-correlation-request-id": [ + "ae3becf2-8afe-40ff-9282-c8005014312b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221751Z:ae3becf2-8afe-40ff-9282-c8005014312b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:17:50 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "229" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Resources/templateSpecs/ps596/versions/v1' under resource group 'ps6655' 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/resourceGroups/ps6655/providers/Microsoft.Resources/templateSpecs/ps596/versions/v1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNjY1NS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzNTk2L3ZlcnNpb25zL3YxP2FwaS12ZXJzaW9uPTIwMTktMDYtMDEtcHJldmlldw==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"tags\": {\r\n \"Tag2\": \"Value2\",\r\n \"Tag1\": \"Value1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "113cb633-bc1e-4b9b-a544-60d63d0db23e" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1370" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "6c424357-2021-45bf-a99b-44855eeacb10" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "35514492-ff72-4a40-a8d9-4eb0725d35c0" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221751Z:35514492-ff72-4a40-a8d9-4eb0725d35c0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:17:50 GMT" + ], + "Content-Length": [ + "1921" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"Tag2\": \"Value2\",\r\n \"Tag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:17:51.4657802Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:17:51.4657802Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps6655/providers/Microsoft.Resources/templateSpecs/ps596/versions/v1\",\r\n \"type\": \"Microsoft.Resources/templateSpecs/versions\",\r\n \"name\": \"v1\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps6655?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzNjY1NT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "568a141c-56f1-4eb1-aa5c-11ad449a122b" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzY2NTUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-request-id": [ + "038fc04e-5626-43b8-85cb-0b3dcda6fe19" + ], + "x-ms-correlation-request-id": [ + "038fc04e-5626-43b8-85cb-0b3dcda6fe19" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221752Z:038fc04e-5626-43b8-85cb-0b3dcda6fe19" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:17:51 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzY2NTUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZMk5UVXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzY2NTUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "a98fa2aa-5704-4a65-8b78-24d8c847016a" + ], + "x-ms-correlation-request-id": [ + "a98fa2aa-5704-4a65-8b78-24d8c847016a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221807Z:a98fa2aa-5704-4a65-8b78-24d8c847016a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:18:06 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzY2NTUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZMk5UVXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzY2NTUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "5d262f3b-23be-4a63-8c60-b1cbe76a12a2" + ], + "x-ms-correlation-request-id": [ + "5d262f3b-23be-4a63-8c60-b1cbe76a12a2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221822Z:5d262f3b-23be-4a63-8c60-b1cbe76a12a2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:18:21 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzY2NTUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZMk5UVXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzY2NTUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "8e11b362-e071-4eca-851d-9680b8d8c4fc" + ], + "x-ms-correlation-request-id": [ + "8e11b362-e071-4eca-851d-9680b8d8c4fc" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221837Z:8e11b362-e071-4eca-851d-9680b8d8c4fc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:18:36 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzY2NTUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZMk5UVXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzY2NTUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "f56be5f2-7434-421d-8455-20712b9cf241" + ], + "x-ms-correlation-request-id": [ + "f56be5f2-7434-421d-8455-20712b9cf241" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221852Z:f56be5f2-7434-421d-8455-20712b9cf241" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:18:51 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzY2NTUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZMk5UVXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzY2NTUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-request-id": [ + "7c769426-a3b0-466f-931b-8770ec8ac5f1" + ], + "x-ms-correlation-request-id": [ + "7c769426-a3b0-466f-931b-8770ec8ac5f1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221907Z:7c769426-a3b0-466f-931b-8770ec8ac5f1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:19:07 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzY2NTUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZMk5UVXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzY2NTUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-request-id": [ + "5484e679-06dd-474f-8e6f-f5928d489c43" + ], + "x-ms-correlation-request-id": [ + "5484e679-06dd-474f-8e6f-f5928d489c43" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221922Z:5484e679-06dd-474f-8e6f-f5928d489c43" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:19:22 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzY2NTUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZMk5UVXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-request-id": [ + "c545a72a-a3d4-4f79-88fa-ca8443c67f50" + ], + "x-ms-correlation-request-id": [ + "c545a72a-a3d4-4f79-88fa-ca8443c67f50" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221937Z:c545a72a-a3d4-4f79-88fa-ca8443c67f50" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:19:36 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzY2NTUtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpZMk5UVXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-request-id": [ + "00d1ca04-2799-4bd9-8ce8-065140a335c5" + ], + "x-ms-correlation-request-id": [ + "00d1ca04-2799-4bd9-8ce8-065140a335c5" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T221937Z:00d1ca04-2799-4bd9-8ce8-065140a335c5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:19:36 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "Test-SetAppliesTagsToTemplateSpecIfNoVersionSpecified": [ + "ps6655", + "ps596" + ] + }, + "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.TemplateSpecTests/SetTemplateSpec_Tags_RemovesTagsIfTagsExplicitlyEmpty.json b/src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.TemplateSpecTests/SetTemplateSpec_Tags_RemovesTagsIfTagsExplicitlyEmpty.json new file mode 100644 index 000000000000..ae7f6df9ecab --- /dev/null +++ b/src/Resources/Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.TemplateSpecTests/SetTemplateSpec_Tags_RemovesTagsIfTagsExplicitlyEmpty.json @@ -0,0 +1,1600 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps4971?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzNDk3MT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5a42a3f2-5b73-4950-be1a-074f60238259" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "5e58897e-b719-415a-bb28-8a8a6ce07d94" + ], + "x-ms-correlation-request-id": [ + "5e58897e-b719-415a-bb28-8a8a6ce07d94" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222504Z:5e58897e-b719-415a-bb28-8a8a6ce07d94" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:25:03 GMT" + ], + "Content-Length": [ + "98" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps4971?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzNDk3MT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7db8cb4c-a3d4-4c9c-abbf-62ca36f635a7" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "3cbbd2e9-fddc-48a4-aeb3-26a24c9e7a8b" + ], + "x-ms-correlation-request-id": [ + "3cbbd2e9-fddc-48a4-aeb3-26a24c9e7a8b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222505Z:3cbbd2e9-fddc-48a4-aeb3-26a24c9e7a8b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:25:05 GMT" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps4971?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzNDk3MT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7aaf04a7-7274-4deb-9064-8f9e4e3ebd9f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "31" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "e24ed714-2156-4acc-8186-839442ad96d8" + ], + "x-ms-correlation-request-id": [ + "e24ed714-2156-4acc-8186-839442ad96d8" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222504Z:e24ed714-2156-4acc-8186-839442ad96d8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:25:03 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/ps4971\",\r\n \"name\": \"ps4971\",\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/ps4971/providers/Microsoft.Resources/templateSpecs/ps1530/versions/v1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNDk3MS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzMTUzMC92ZXJzaW9ucy92MT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3d742cd1-0b96-4bee-badf-344e2798593a" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "20f9e6d9-b1c3-41d8-a50c-ab40a2476bc8" + ], + "x-ms-correlation-request-id": [ + "20f9e6d9-b1c3-41d8-a50c-ab40a2476bc8" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222504Z:20f9e6d9-b1c3-41d8-a50c-ab40a2476bc8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:25:03 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "230" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Resources/templateSpecs/ps1530/versions/v1' under resource group 'ps4971' 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/resourceGroups/ps4971/providers/Microsoft.Resources/templateSpecs/ps1530/versions/v1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNDk3MS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzMTUzMC92ZXJzaW9ucy92MT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "62d5e191-39cb-447b-8eb3-67e62c8b5a25" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "93141adf-5b34-413a-be58-65526178f4cf" + ], + "x-ms-correlation-request-id": [ + "93141adf-5b34-413a-be58-65526178f4cf" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222504Z:93141adf-5b34-413a-be58-65526178f4cf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:25:04 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "230" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Resources/templateSpecs/ps1530/versions/v1' under resource group 'ps4971' 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/resourceGroups/ps4971/providers/Microsoft.Resources/templateSpecs/ps1530/versions/v1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNDk3MS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzMTUzMC92ZXJzaW9ucy92MT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5ef1358b-0b29-4d3f-b909-b36d5e1c7c05" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "c765cdd4-b681-432e-bf06-4f6a0a1c1f61" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "10b63f43-b440-4de5-877f-d3f18bc6ff82" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222505Z:10b63f43-b440-4de5-877f-d3f18bc6ff82" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:25:04 GMT" + ], + "Content-Length": [ + "1930" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:25:04.9826492Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:25:04.9826492Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps4971/providers/Microsoft.Resources/templateSpecs/ps1530/versions/v1\",\r\n \"type\": \"Microsoft.Resources/templateSpecs/versions\",\r\n \"name\": \"v1\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps4971/providers/Microsoft.Resources/templateSpecs/ps1530?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNDk3MS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzMTUzMD9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "532d31c9-630d-44f5-9793-3b8f66c902b1" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "619726a0-08fc-4da0-8a34-e4e40f44c081" + ], + "x-ms-correlation-request-id": [ + "619726a0-08fc-4da0-8a34-e4e40f44c081" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222504Z:619726a0-08fc-4da0-8a34-e4e40f44c081" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:25:03 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "218" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Resources/templateSpecs/ps1530' under resource group 'ps4971' 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/resourceGroups/ps4971/providers/Microsoft.Resources/templateSpecs/ps1530?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNDk3MS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzMTUzMD9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "660fe3ca-3c09-4b89-b7ed-d531c69ab112" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "b9187478-9779-4372-a295-3ba0dc95893a" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "a08e5b30-f838-4adc-967f-98fb3bf8ca83" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222505Z:a08e5b30-f838-4adc-967f-98fb3bf8ca83" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:25:04 GMT" + ], + "Content-Length": [ + "659" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:25:04.6926417Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:25:04.9826492Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps4971/providers/Microsoft.Resources/templateSpecs/ps1530\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps1530\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps4971/providers/Microsoft.Resources/templateSpecs/ps1530?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNDk3MS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzMTUzMD9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "cdecb500-8ac7-4ae3-98cb-2bc20352dffd" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "25b16bd8-7719-4699-88a7-934c3a44c789" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "61a43540-3f36-4864-8480-3ccb50b52fcd" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222505Z:61a43540-3f36-4864-8480-3ccb50b52fcd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:25:04 GMT" + ], + "Content-Length": [ + "659" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:25:04.6926417Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:25:05.3463102Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps4971/providers/Microsoft.Resources/templateSpecs/ps1530\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps1530\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps4971/providers/Microsoft.Resources/templateSpecs/ps1530?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNDk3MS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzMTUzMD9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "770c7eaf-cc2d-40d4-a861-020354e81dd3" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "4c269692-ec01-4845-8e3d-352732fb02fd" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "5b189d1c-2074-4589-a343-884855aa74ff" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222505Z:5b189d1c-2074-4589-a343-884855aa74ff" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:25:04 GMT" + ], + "Content-Length": [ + "601" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:25:04.6926417Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:25:05.597014Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps4971/providers/Microsoft.Resources/templateSpecs/ps1530\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps1530\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps4971/providers/Microsoft.Resources/templateSpecs/ps1530?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNDk3MS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzMTUzMD9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "64180d70-b6d3-4a5d-a785-c57b7dde5081" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "103" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "84c4fa12-29b6-465d-b80c-f5c144f5cdc4" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "61ab9994-56d3-407c-b083-ed5c78f14bd4" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222504Z:61ab9994-56d3-407c-b083-ed5c78f14bd4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:25:04 GMT" + ], + "Content-Length": [ + "659" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:25:04.6926417Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:25:04.6926417Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps4971/providers/Microsoft.Resources/templateSpecs/ps1530\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps1530\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps4971/providers/Microsoft.Resources/templateSpecs/ps1530?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNDk3MS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzMTUzMD9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9084927f-6bbb-4cb7-8ab7-c45ff9fa10da" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "103" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "fd14e65a-5fdf-454d-a16b-774762f508dc" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "8ee405ae-c8a1-4039-8376-e99cffc2012b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222505Z:8ee405ae-c8a1-4039-8376-e99cffc2012b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:25:04 GMT" + ], + "Content-Length": [ + "659" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:25:04.6926417Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:25:05.2213174Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps4971/providers/Microsoft.Resources/templateSpecs/ps1530\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps1530\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps4971/providers/Microsoft.Resources/templateSpecs/ps1530?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNDk3MS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzMTUzMD9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3a6c624e-fb67-4b87-8c9d-efa521069af0" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "46" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "2718aa6e-c36d-468a-8974-03bed9ce39ff" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "03cb0e6f-c601-4ccd-9d49-a75a2b8b71b7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222505Z:03cb0e6f-c601-4ccd-9d49-a75a2b8b71b7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:25:04 GMT" + ], + "Content-Length": [ + "601" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:25:04.6926417Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:25:05.597014Z\"\r\n },\r\n \"properties\": {},\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps4971/providers/Microsoft.Resources/templateSpecs/ps1530\",\r\n \"type\": \"Microsoft.Resources/templateSpecs\",\r\n \"name\": \"ps1530\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps4971/providers/Microsoft.Resources/templateSpecs/ps1530/versions/v1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNDk3MS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzMTUzMC92ZXJzaW9ucy92MT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c4ffaeb0-030f-4ab2-8f9e-84d90a1b3dc4" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1378" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "c26c3dcd-49e1-4b80-9cf6-1756ccbed9a3" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "b65c328a-1a02-4354-b05b-7b1f1d2c8650" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222505Z:b65c328a-1a02-4354-b05b-7b1f1d2c8650" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:25:04 GMT" + ], + "Content-Length": [ + "1930" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {\r\n \"RootTag2\": \"Value2\",\r\n \"RootTag1\": \"Value1\"\r\n },\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:25:04.9826492Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:25:04.9826492Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps4971/providers/Microsoft.Resources/templateSpecs/ps1530/versions/v1\",\r\n \"type\": \"Microsoft.Resources/templateSpecs/versions\",\r\n \"name\": \"v1\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps4971/providers/Microsoft.Resources/templateSpecs/ps1530/versions/v1?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNDk3MS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzMTUzMC92ZXJzaW9ucy92MT9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US 2\",\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "33e7ab68-da26-418d-b314-9fd59aebcfc9" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1321" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "e1b7f087-9ad6-4f03-bcf9-3717865c5e0b" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "1d4226c6-2b57-49b6-bd6c-4875c51c6e28" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222505Z:1d4226c6-2b57-49b6-bd6c-4875c51c6e28" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:25:05 GMT" + ], + "Content-Length": [ + "1873" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"location\": \"West US 2\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:25:04.9826492Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:25:05.3463102Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps4971/providers/Microsoft.Resources/templateSpecs/ps1530/versions/v1\",\r\n \"type\": \"Microsoft.Resources/templateSpecs/versions\",\r\n \"name\": \"v1\"\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps4971/providers/Microsoft.Resources/templateSpecs/ps1530/versions?api-version=2019-06-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlR3JvdXBzL3BzNDk3MS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90ZW1wbGF0ZVNwZWNzL3BzMTUzMC92ZXJzaW9ucz9hcGktdmVyc2lvbj0yMDE5LTA2LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bd1f0f35-a608-4873-8aaa-5501e163bc71" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.TemplateSpecsClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "bbc87b90-1f2e-4a1c-a4bc-1d4255dfbf29" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-correlation-request-id": [ + "b0778e46-d861-4242-b48a-64ca478d9f62" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222505Z:b0778e46-d861-4242-b48a-64ca478d9f62" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:25:04 GMT" + ], + "Content-Length": [ + "2150" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"location\": \"West US 2\",\r\n \"tags\": {},\r\n \"systemData\": {\r\n \"createdBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"createdByType\": \"Application\",\r\n \"createdAt\": \"2020-11-30T22:25:04.9826492Z\",\r\n \"lastModifiedBy\": \"546094f3-32fa-493c-824c-bd9575b0d2fe\",\r\n \"lastModifiedByType\": \"Application\",\r\n \"lastModifiedAt\": \"2020-11-30T22:25:05.3463102Z\"\r\n },\r\n \"properties\": {\r\n \"artifacts\": [],\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n }\r\n },\r\n \"id\": \"/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourceGroups/ps4971/providers/Microsoft.Resources/templateSpecs/ps1530/versions/v1\",\r\n \"type\": \"Microsoft.Resources/templateSpecs/versions\",\r\n \"name\": \"v1\"\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/resourcegroups/ps4971?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL3Jlc291cmNlZ3JvdXBzL3BzNDk3MT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b43f7340-d08f-477a-9d0b-2488760d498f" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzQ5NzEtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-request-id": [ + "9ae5d352-346c-403d-bc63-ef4efd87f64b" + ], + "x-ms-correlation-request-id": [ + "9ae5d352-346c-403d-bc63-ef4efd87f64b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222505Z:9ae5d352-346c-403d-bc63-ef4efd87f64b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:25:05 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzQ5NzEtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpRNU56RXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzQ5NzEtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "b3df6c07-d5d4-44bd-b58e-3c9efedc00b7" + ], + "x-ms-correlation-request-id": [ + "b3df6c07-d5d4-44bd-b58e-3c9efedc00b7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222520Z:b3df6c07-d5d4-44bd-b58e-3c9efedc00b7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:25:20 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzQ5NzEtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpRNU56RXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzQ5NzEtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "57034893-f33d-4eb7-8828-84e9df8be685" + ], + "x-ms-correlation-request-id": [ + "57034893-f33d-4eb7-8828-84e9df8be685" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222535Z:57034893-f33d-4eb7-8828-84e9df8be685" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:25:35 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzQ5NzEtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpRNU56RXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzQ5NzEtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "78cc72ea-d912-4558-b319-7a48029be656" + ], + "x-ms-correlation-request-id": [ + "78cc72ea-d912-4558-b319-7a48029be656" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222550Z:78cc72ea-d912-4558-b319-7a48029be656" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:25:50 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzQ5NzEtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpRNU56RXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzQ5NzEtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "e8bb3824-327d-43ba-96d5-278c69486696" + ], + "x-ms-correlation-request-id": [ + "e8bb3824-327d-43ba-96d5-278c69486696" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222606Z:e8bb3824-327d-43ba-96d5-278c69486696" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:26:05 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzQ5NzEtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpRNU56RXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzQ5NzEtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-request-id": [ + "7069bea6-e0c7-4e28-b5b7-85eb0d8b7d8c" + ], + "x-ms-correlation-request-id": [ + "7069bea6-e0c7-4e28-b5b7-85eb0d8b7d8c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222621Z:7069bea6-e0c7-4e28-b5b7-85eb0d8b7d8c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:26:20 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzQ5NzEtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpRNU56RXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzQ5NzEtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01" + ], + "Retry-After": [ + "0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-request-id": [ + "d94b2e43-6cdf-4cf8-89ea-fa15f172ab9e" + ], + "x-ms-correlation-request-id": [ + "d94b2e43-6cdf-4cf8-89ea-fa15f172ab9e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222636Z:d94b2e43-6cdf-4cf8-89ea-fa15f172ab9e" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:26:35 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzQ5NzEtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpRNU56RXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-request-id": [ + "4dcbb63c-544f-49a4-ab13-3b4eda821805" + ], + "x-ms-correlation-request-id": [ + "4dcbb63c-544f-49a4-ab13-3b4eda821805" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222651Z:4dcbb63c-544f-49a4-ab13-3b4eda821805" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:26:50 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/a1bfa635-f2bf-42f1-86b5-848c674fc321/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QUzQ5NzEtV0VTVFVTMiIsImpvYkxvY2F0aW9uIjoid2VzdHVzMiJ9?api-version=2020-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTFiZmE2MzUtZjJiZi00MmYxLTg2YjUtODQ4YzY3NGZjMzIxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVXpRNU56RXRWMFZUVkZWVE1pSXNJbXB2WWt4dlkyRjBhVzl1SWpvaWQyVnpkSFZ6TWlKOT9hcGktdmVyc2lvbj0yMDIwLTA2LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29321.03", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-request-id": [ + "622de307-2d76-48df-ad7c-72080c9ad4d8" + ], + "x-ms-correlation-request-id": [ + "622de307-2d76-48df-ad7c-72080c9ad4d8" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20201130T222651Z:622de307-2d76-48df-ad7c-72080c9ad4d8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Mon, 30 Nov 2020 22:26:50 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ], + "Retry-After": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "Test-SetRemovesTagsIfTagsExplicitlyEmpty": [ + "ps4971", + "ps1530" + ] + }, + "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 56b742ee8ad1..a9c089637929 100644 --- a/src/Resources/Resources/ChangeLog.md +++ b/src/Resources/Resources/ChangeLog.md @@ -18,6 +18,8 @@ - Additional information about change #1 --> ## Upcoming Release +* Added `-Tag` parameter support to `Set-AzTemplateSpec` and `New-AzTemplateSpec` +* Added Tag display support to default formatter for Template Specs ## Version 3.0.1 * Fixed an issue where What-If shows two resource group scopes with different casing diff --git a/src/Resources/Resources/Resources.format.ps1xml b/src/Resources/Resources/Resources.format.ps1xml index eb222aa328ca..ac8dffd50686 100644 --- a/src/Resources/Resources/Resources.format.ps1xml +++ b/src/Resources/Resources/Resources.format.ps1xml @@ -382,6 +382,13 @@ $_.Location.ToLowerInvariant().Replace(" ", "") + + + + $_.Tags -ne $null -and $_.Tags.Count -gt 0 + + $_.Tags + @@ -426,6 +433,13 @@ Name + + + + $_.Tags -ne $null -and $_.Tags.Count -gt 0 + + $_.Tags + diff --git a/src/Resources/Resources/help/Az.Resources.md b/src/Resources/Resources/help/Az.Resources.md index 454140b2cdf1..3f185c2b924c 100644 --- a/src/Resources/Resources/help/Az.Resources.md +++ b/src/Resources/Resources/help/Az.Resources.md @@ -17,6 +17,9 @@ Adds a user to an existing AD group. ### [Export-AzResourceGroup](Export-AzResourceGroup.md) Captures a resource group as a template and saves it to a file. +### [Export-AzTemplateSpec](Export-AzTemplateSpec.md) +Exports a Template Spec to the local filesystem + ### [Get-AzADAppCredential](Get-AzADAppCredential.md) Retrieves a list of credentials associated with an application. @@ -131,6 +134,9 @@ Lists all Azure RBAC roles that are available for assignment. ### [Get-AzTag](Get-AzTag.md) Gets predefined Azure tags | Gets the entire set of tags on a resource or subscription. +### [Get-AzTemplateSpec](Get-AzTemplateSpec.md) +Gets or lists Template Specs + ### [Get-AzTenantDeployment](Get-AzTenantDeployment.md) Get deployment at tenant scope @@ -216,6 +222,9 @@ Finally, use this command to create a custom role using role definition. ### [New-AzTag](New-AzTag.md) Creates a predefined Azure tag or adds values to an existing tag | Creates or updates the entire set of tags on a resource or subscription. +### [New-AzTemplateSpec](New-AzTemplateSpec.md) +Creates a new Template Spec. + ### [New-AzTenantDeployment](New-AzTenantDeployment.md) Create a deployment at tenant scope @@ -299,6 +308,9 @@ Delete will fail if there are existing role assignments made to the custom role. ### [Remove-AzTag](Remove-AzTag.md) Deletes predefined Azure tags or values | Deletes the entire set of tags on a resource or subscription. +### [Remove-AzTemplateSpec](Remove-AzTemplateSpec.md) +Removes a Template Spec + ### [Remove-AzTenantDeployment](Remove-AzTenantDeployment.md) Removes a deployment at tenant scope and any associated operations @@ -351,6 +363,9 @@ First, use the Get-AzRoleDefinition command to retrieve the custom role that you Then, modify the properties that you wish to change. Finally, save the role definition using this command. +### [Set-AzTemplateSpec](Set-AzTemplateSpec.md) +Modifies a Template Spec. + ### [Stop-AzDeployment](Stop-AzDeployment.md) Cancel a running deployment diff --git a/src/Resources/Resources/help/New-AzTemplateSpec.md b/src/Resources/Resources/help/New-AzTemplateSpec.md index 5f664c38c15e..cbe6996faf87 100644 --- a/src/Resources/Resources/help/New-AzTemplateSpec.md +++ b/src/Resources/Resources/help/New-AzTemplateSpec.md @@ -15,15 +15,17 @@ Creates a new Template Spec. ### FromJsonStringParameterSet (Default) ``` New-AzTemplateSpec [-ResourceGroupName] [-Name] -Version [-Description ] - [-DisplayName ] [-Location ] -TemplateJson [-VersionDescription ] [-Force] - [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-DisplayName ] [-Location ] [-Tag ] -TemplateJson + [-VersionDescription ] [-Force] [-DefaultProfile ] [-WhatIf] [-Confirm] + [] ``` ### FromJsonFileParameterSet ``` New-AzTemplateSpec [-ResourceGroupName] [-Name] -Version [-Description ] - [-DisplayName ] [-Location ] -TemplateFile [-VersionDescription ] [-Force] - [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-DisplayName ] [-Location ] [-Tag ] -TemplateFile + [-VersionDescription ] [-Force] [-DefaultProfile ] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION @@ -171,6 +173,21 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` +### -Tag +Hashtable of tags for the new template spec resource(s). + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: Tags + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -TemplateFile The file path to the local Azure Resource Manager template JSON file. diff --git a/src/Resources/Resources/help/Set-AzTemplateSpec.md b/src/Resources/Resources/help/Set-AzTemplateSpec.md index 6a117edfe6f4..5ab98f3801da 100644 --- a/src/Resources/Resources/help/Set-AzTemplateSpec.md +++ b/src/Resources/Resources/help/Set-AzTemplateSpec.md @@ -14,47 +14,47 @@ Modifies a Template Spec. ### FromJsonStringParameterSet (Default) ``` -Set-AzTemplateSpec [-Location ] [-DefaultProfile ] [-WhatIf] [-Confirm] +Set-AzTemplateSpec [-Location ] [-Tag ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ### UpdateByIdParameterSet ``` Set-AzTemplateSpec -ResourceId [-Description ] [-DisplayName ] [-Location ] - [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-Tag ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ### UpdateVersionByIdFromJsonFileParameterSet ``` Set-AzTemplateSpec -ResourceId -Version [-Description ] [-DisplayName ] - [-Location ] -TemplateFile [-VersionDescription ] + [-Location ] [-Tag ] -TemplateFile [-VersionDescription ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ### UpdateVersionByIdFromJsonParameterSet ``` Set-AzTemplateSpec -ResourceId -Version [-Description ] [-DisplayName ] - [-Location ] -TemplateJson [-VersionDescription ] + [-Location ] [-Tag ] -TemplateJson [-VersionDescription ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ### UpdateByNameParameterSet ``` Set-AzTemplateSpec -ResourceGroupName -Name [-Description ] [-DisplayName ] - [-Location ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-Location ] [-Tag ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ### UpdateVersionByNameFromJsonFileParameterSet ``` Set-AzTemplateSpec -ResourceGroupName -Name -Version [-Description ] - [-DisplayName ] [-Location ] -TemplateFile [-VersionDescription ] + [-DisplayName ] [-Location ] [-Tag ] -TemplateFile [-VersionDescription ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ### UpdateVersionByNameFromJsonParameterSet ``` Set-AzTemplateSpec -ResourceGroupName -Name -Version [-Description ] - [-DisplayName ] [-Location ] -TemplateJson [-VersionDescription ] + [-DisplayName ] [-Location ] [-Tag ] -TemplateJson [-VersionDescription ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` @@ -221,6 +221,21 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` +### -Tag +Hashtable of tags for the template spec and/or version + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: Tags + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -TemplateFile The file path to the local Azure Resource Manager template JSON file.