From f1b752f4e1489842ef1f6f04a113472579b2f8d4 Mon Sep 17 00:00:00 2001 From: Ran Wang Date: Tue, 12 May 2020 00:51:23 -0700 Subject: [PATCH] skip-url-encoding for ScopeParameter to avoid unnecessary url-encoding (#11890) * Regenerate sdk code for resource-2019-10 and subscription-2019-11. * Update package version to 3.6.0, as re-publish an existing version is not allowed. * Apply skipping url encoding changes, and re-recording corresponding test cases. * Re-do the sdk code generation as the swagger change has been merged. * Update the release note and nuget version. --- .../resources_resource-manager.txt | 6 +- .../src/Generated/DeploymentOperations.cs | 4 +- .../src/Generated/DeploymentsOperations.cs | 16 +- .../src/Generated/TagsOperations.cs | 8 +- ...ft.Azure.Management.ResourceManager.csproj | 5 +- .../src/Properties/AssemblyInfo.cs | 2 +- .../DeploymentTests.ScenarioTests.cs | 2 +- .../ScenarioTests/TagTests.ScenarioTests.cs | 44 +- .../management_group_level_template.json | 4 +- ...DeploymentWithScope_AtManagementGroup.json | 414 +++--------------- .../DeploymentWithScope_AtResourceGroup.json | 134 +++--- .../DeploymentWithScope_AtSubscription.json | 262 ++++------- .../CreateTagsWithSubscriptionTest.json | 24 +- .../CreateTagsWithTrackedResourcesTest.json | 22 +- .../DeleteTagsWithSubscriptionTest.json | 60 +-- .../DeleteTagsWithTrackedResourcesTest.json | 60 +-- .../GetTagsWithSubscriptionTest.json | 42 +- .../GetTagsWithTrackedResourcesTest.json | 42 +- .../UpdateTagsWithSubscriptionTest.json | 82 ++-- .../UpdateTagsWithTrackedResourcesTest.json | 82 ++-- 20 files changed, 470 insertions(+), 845 deletions(-) diff --git a/eng/mgmt/mgmtmetadata/resources_resource-manager.txt b/eng/mgmt/mgmtmetadata/resources_resource-manager.txt index 18fa90bf66f8..cd5804d0e143 100644 --- a/eng/mgmt/mgmtmetadata/resources_resource-manager.txt +++ b/eng/mgmt/mgmtmetadata/resources_resource-manager.txt @@ -3,12 +3,12 @@ AutoRest installed successfully. Commencing code generation Generating CSharp code Executing AutoRest command -cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/resources/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --tag=package-resources-2019-10 --csharp.output-folder=C:\Workspace\Git\azure-sdk-for-net\sdk\resources\Microsoft.Azure.Management.Resource\src\Generated\NEWResources -2020-04-14 04:49:34 UTC +cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/resources/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --tag=package-resources-2019-10 --csharp.output-folder=Y:\generated\10-01 +2020-05-12 04:45:33 UTC Azure-rest-api-specs repository information GitHub fork: Azure Branch: master -Commit: 6d2fe7f1f7b29dd76994bbe7cab04571c9149e77 +Commit: 09e96609dd7219f387db8a49c61d933b7930b49c AutoRest information Requested version: v2 Bootstrapper version: autorest@2.0.4413 diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/DeploymentOperations.cs b/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/DeploymentOperations.cs index be6ed07ae01a..e99f83084f90 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/DeploymentOperations.cs +++ b/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/DeploymentOperations.cs @@ -132,7 +132,7 @@ internal DeploymentOperations(ResourceManagementClient client) // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}").ToString(); - _url = _url.Replace("{scope}", System.Uri.EscapeDataString(scope)); + _url = _url.Replace("{scope}", scope); _url = _url.Replace("{deploymentName}", System.Uri.EscapeDataString(deploymentName)); _url = _url.Replace("{operationId}", System.Uri.EscapeDataString(operationId)); List _queryParameters = new List(); @@ -343,7 +343,7 @@ internal DeploymentOperations(ResourceManagementClient client) // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/operations").ToString(); - _url = _url.Replace("{scope}", System.Uri.EscapeDataString(scope)); + _url = _url.Replace("{scope}", scope); _url = _url.Replace("{deploymentName}", System.Uri.EscapeDataString(deploymentName)); List _queryParameters = new List(); if (top != null) diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/DeploymentsOperations.cs b/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/DeploymentsOperations.cs index 94dd137e91b4..4e0d754af355 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/DeploymentsOperations.cs +++ b/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/DeploymentsOperations.cs @@ -155,7 +155,7 @@ internal DeploymentsOperations(ResourceManagementClient client) // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "{scope}/providers/Microsoft.Resources/deployments/{deploymentName}").ToString(); - _url = _url.Replace("{scope}", System.Uri.EscapeDataString(scope)); + _url = _url.Replace("{scope}", scope); _url = _url.Replace("{deploymentName}", System.Uri.EscapeDataString(deploymentName)); List _queryParameters = new List(); if (Client.ApiVersion != null) @@ -373,7 +373,7 @@ internal DeploymentsOperations(ResourceManagementClient client) // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "{scope}/providers/Microsoft.Resources/deployments/{deploymentName}").ToString(); - _url = _url.Replace("{scope}", System.Uri.EscapeDataString(scope)); + _url = _url.Replace("{scope}", scope); _url = _url.Replace("{deploymentName}", System.Uri.EscapeDataString(deploymentName)); List _queryParameters = new List(); if (Client.ApiVersion != null) @@ -582,7 +582,7 @@ internal DeploymentsOperations(ResourceManagementClient client) // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel").ToString(); - _url = _url.Replace("{scope}", System.Uri.EscapeDataString(scope)); + _url = _url.Replace("{scope}", scope); _url = _url.Replace("{deploymentName}", System.Uri.EscapeDataString(deploymentName)); List _queryParameters = new List(); if (Client.ApiVersion != null) @@ -796,7 +796,7 @@ internal DeploymentsOperations(ResourceManagementClient client) // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate").ToString(); - _url = _url.Replace("{scope}", System.Uri.EscapeDataString(scope)); + _url = _url.Replace("{scope}", scope); _url = _url.Replace("{deploymentName}", System.Uri.EscapeDataString(deploymentName)); List _queryParameters = new List(); if (Client.ApiVersion != null) @@ -983,7 +983,7 @@ internal DeploymentsOperations(ResourceManagementClient client) // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "{scope}/providers/Microsoft.Resources/deployments/").ToString(); - _url = _url.Replace("{scope}", System.Uri.EscapeDataString(scope)); + _url = _url.Replace("{scope}", scope); List _queryParameters = new List(); if (odataQuery != null) { @@ -5803,7 +5803,7 @@ internal DeploymentsOperations(ResourceManagementClient client) // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "{scope}/providers/Microsoft.Resources/deployments/{deploymentName}").ToString(); - _url = _url.Replace("{scope}", System.Uri.EscapeDataString(scope)); + _url = _url.Replace("{scope}", scope); _url = _url.Replace("{deploymentName}", System.Uri.EscapeDataString(deploymentName)); List _queryParameters = new List(); if (Client.ApiVersion != null) @@ -6007,7 +6007,7 @@ internal DeploymentsOperations(ResourceManagementClient client) // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "{scope}/providers/Microsoft.Resources/deployments/{deploymentName}").ToString(); - _url = _url.Replace("{scope}", System.Uri.EscapeDataString(scope)); + _url = _url.Replace("{scope}", scope); _url = _url.Replace("{deploymentName}", System.Uri.EscapeDataString(deploymentName)); List _queryParameters = new List(); if (Client.ApiVersion != null) @@ -6251,7 +6251,7 @@ internal DeploymentsOperations(ResourceManagementClient client) // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/validate").ToString(); - _url = _url.Replace("{scope}", System.Uri.EscapeDataString(scope)); + _url = _url.Replace("{scope}", scope); _url = _url.Replace("{deploymentName}", System.Uri.EscapeDataString(deploymentName)); List _queryParameters = new List(); if (Client.ApiVersion != null) diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/TagsOperations.cs b/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/TagsOperations.cs index 68d4bf7088e3..79cd11ffc476 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/TagsOperations.cs +++ b/sdk/resources/Microsoft.Azure.Management.Resource/src/Generated/TagsOperations.cs @@ -1083,7 +1083,7 @@ internal TagsOperations(ResourceManagementClient client) // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "{scope}/providers/Microsoft.Resources/tags/default").ToString(); - _url = _url.Replace("{scope}", System.Uri.EscapeDataString(scope)); + _url = _url.Replace("{scope}", scope); List _queryParameters = new List(); if (Client.ApiVersion != null) { @@ -1287,7 +1287,7 @@ internal TagsOperations(ResourceManagementClient client) // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "{scope}/providers/Microsoft.Resources/tags/default").ToString(); - _url = _url.Replace("{scope}", System.Uri.EscapeDataString(scope)); + _url = _url.Replace("{scope}", scope); List _queryParameters = new List(); if (Client.ApiVersion != null) { @@ -1475,7 +1475,7 @@ internal TagsOperations(ResourceManagementClient client) // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "{scope}/providers/Microsoft.Resources/tags/default").ToString(); - _url = _url.Replace("{scope}", System.Uri.EscapeDataString(scope)); + _url = _url.Replace("{scope}", scope); List _queryParameters = new List(); if (Client.ApiVersion != null) { @@ -1654,7 +1654,7 @@ internal TagsOperations(ResourceManagementClient client) // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "{scope}/providers/Microsoft.Resources/tags/default").ToString(); - _url = _url.Replace("{scope}", System.Uri.EscapeDataString(scope)); + _url = _url.Replace("{scope}", scope); List _queryParameters = new List(); if (Client.ApiVersion != null) { diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/src/Microsoft.Azure.Management.ResourceManager.csproj b/sdk/resources/Microsoft.Azure.Management.Resource/src/Microsoft.Azure.Management.ResourceManager.csproj index 5e71d203dfcb..e54e8066ed1b 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/src/Microsoft.Azure.Management.ResourceManager.csproj +++ b/sdk/resources/Microsoft.Azure.Management.Resource/src/Microsoft.Azure.Management.ResourceManager.csproj @@ -7,13 +7,12 @@ Microsoft.Azure.Management.ResourceManager Provides resource group and resource management capabilities for Microsoft Azure. Microsoft.Azure.Management.ResourceManager - 3.7.1-preview + 3.7.2-preview Microsoft Azure resource management;resource management;resource groups; diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/src/Properties/AssemblyInfo.cs b/sdk/resources/Microsoft.Azure.Management.Resource/src/Properties/AssemblyInfo.cs index 41743ff66586..cac795e75a42 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/src/Properties/AssemblyInfo.cs +++ b/sdk/resources/Microsoft.Azure.Management.Resource/src/Properties/AssemblyInfo.cs @@ -8,7 +8,7 @@ [assembly: AssemblyDescription("Provides Microsoft Azure resource management operations including Resource Groups.")] [assembly: AssemblyVersion("3.0.0.0")] -[assembly: AssemblyFileVersion("3.7.1.0")] +[assembly: AssemblyFileVersion("3.7.2.0")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Microsoft")] [assembly: AssemblyProduct("Azure .NET SDK")] diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/tests/ScenarioTests/DeploymentTests.ScenarioTests.cs b/sdk/resources/Microsoft.Azure.Management.Resource/tests/ScenarioTests/DeploymentTests.ScenarioTests.cs index 94d678623653..81d3791a1e6d 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/tests/ScenarioTests/DeploymentTests.ScenarioTests.cs +++ b/sdk/resources/Microsoft.Azure.Management.Resource/tests/ScenarioTests/DeploymentTests.ScenarioTests.cs @@ -600,7 +600,7 @@ public void DeploymentWithScope_AtManagementGroup() { Template = JObject.Parse(File.ReadAllText(Path.Combine("ScenarioTests", "management_group_level_template.json"))), Parameters = - JObject.Parse("{'storageAccountName': {'value': 'tagsa021920'}}"), + JObject.Parse("{'storageAccountName': {'value': 'tagsa1'}}"), Mode = DeploymentMode.Incremental, }, Location = "East US", diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/tests/ScenarioTests/TagTests.ScenarioTests.cs b/sdk/resources/Microsoft.Azure.Management.Resource/tests/ScenarioTests/TagTests.ScenarioTests.cs index c1ff8404cb95..d8b58e8fb820 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/tests/ScenarioTests/TagTests.ScenarioTests.cs +++ b/sdk/resources/Microsoft.Azure.Management.Resource/tests/ScenarioTests/TagTests.ScenarioTests.cs @@ -97,7 +97,7 @@ public void CreateTagValueWithoutCreatingTag() /// /// Utility method to test Put request for Tags Operation within tracked resources and proxy resources /// - private void CreateOrUpdateTagsTest(string resourceScope, MockContext context) + private void CreateOrUpdateTagsTest(MockContext context, string resourceScope = "") { var handler = new RecordedDelegatingHandler() { StatusCodeToReturn = HttpStatusCode.OK }; var tagsResource = new TagsResource(new Tags( @@ -107,6 +107,8 @@ private void CreateOrUpdateTagsTest(string resourceScope, MockContext context) } )); var client = GetResourceManagementClient(context, handler); + var subscriptionScope = "/subscriptions/" + client.SubscriptionId; + resourceScope = subscriptionScope + resourceScope; // test creating tags for resources var putResponse = client.Tags.CreateOrUpdateAtScope(resourceScope, tagsResource); @@ -123,8 +125,8 @@ public void CreateTagsWithTrackedResourcesTest() using (MockContext context = MockContext.Start(this.GetType())) { // test tags for tracked resources - string resourceScope = "/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/resourcegroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM"; - this.CreateOrUpdateTagsTest(resourceScope, context); + string resourceScope = "/resourcegroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM"; + this.CreateOrUpdateTagsTest(context:context, resourceScope:resourceScope); } } @@ -137,19 +139,20 @@ public void CreateTagsWithSubscriptionTest() using (MockContext context = MockContext.Start(this.GetType())) { // test tags for subscription - string subscriptionScope = "/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a"; - this.CreateOrUpdateTagsTest(subscriptionScope, context); + this.CreateOrUpdateTagsTest(context: context); } } /// /// Utility method to test Patch request for Tags Operation within tracked resources and proxy resources, including Replace|Merge|Delete operations /// - private void UpdateTagsTest(string resourceScope, MockContext context) + private void UpdateTagsTest(MockContext context, string resourceScope = "") { var handler = new RecordedDelegatingHandler() { StatusCodeToReturn = HttpStatusCode.OK }; var client = GetResourceManagementClient(context, handler); + var subscriptionScope = "/subscriptions/" + client.SubscriptionId; + resourceScope = subscriptionScope + resourceScope; // using Tags.CreateOrUpdateAtScope to create two tags initially var tagsResource = new TagsResource(new Tags( @@ -207,8 +210,8 @@ public void UpdateTagsWithTrackedResourcesTest() using (MockContext context = MockContext.Start(this.GetType())) { // test tags for tracked resources - string resourceScope = "/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/resourcegroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM"; - this.UpdateTagsTest(resourceScope, context); + string resourceScope = "/resourcegroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM"; + this.UpdateTagsTest(context:context, resourceScope: resourceScope); } } @@ -221,19 +224,20 @@ public void UpdateTagsWithSubscriptionTest() using (MockContext context = MockContext.Start(this.GetType())) { // test tags for subscription - string subscriptionScope = "/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a"; - this.UpdateTagsTest(subscriptionScope, context); + this.UpdateTagsTest(context: context); } } /// /// Utility method to test Get request for Tags Operation within tracked resources and proxy resources /// - private void GetTagsTest(string resourceScope, MockContext context) + private void GetTagsTest(MockContext context, string resourceScope = "") { var handler = new RecordedDelegatingHandler() { StatusCodeToReturn = HttpStatusCode.OK }; var client = GetResourceManagementClient(context, handler); + var subscriptionScope = "/subscriptions/" + client.SubscriptionId; + resourceScope = subscriptionScope + resourceScope; // using Tags.CreateOrUpdateAtScope to create two tags initially var tagsResource = new TagsResource(new Tags( @@ -260,8 +264,8 @@ public void GetTagsWithTrackedResourcesTest() using (MockContext context = MockContext.Start(this.GetType())) { // test tags for tracked resources - string resourceScope = "/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/resourcegroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM"; - this.GetTagsTest(resourceScope, context); + string resourceScope = "/resourcegroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM"; + this.GetTagsTest(context: context, resourceScope: resourceScope); } } @@ -274,18 +278,19 @@ public void GetTagsWithSubscriptionTest() using (MockContext context = MockContext.Start(this.GetType())) { // test tags for subscription - string subscriptionScope = "/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a"; - this.GetTagsTest(subscriptionScope, context); + this.GetTagsTest(context: context); } } /// /// Utility method to test Delete request for Tags Operation within tracked resources and proxy resources /// - private TagsResource DeleteTagsTest(string resourceScope, MockContext context) + private TagsResource DeleteTagsTest(MockContext context, string resourceScope = "") { var handler = new RecordedDelegatingHandler() { StatusCodeToReturn = HttpStatusCode.OK }; var client = GetResourceManagementClient(context, handler); + var subscriptionScope = "/subscriptions/" + client.SubscriptionId; + resourceScope = subscriptionScope + resourceScope; // using Tags.CreateOrUpdateAtScope to create two tags initially var tagsResource = new TagsResource(new Tags( @@ -314,8 +319,8 @@ public void DeleteTagsWithTrackedResourcesTest() using (MockContext context = MockContext.Start(this.GetType())) { // test tags for tracked resources - string resourceScope = "/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/resourcegroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM"; - this.DeleteTagsTest(resourceScope, context).Properties.TagsProperty.Should().BeEmpty(); + string resourceScope = "/resourcegroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM"; + this.DeleteTagsTest(context: context, resourceScope: resourceScope).Properties.TagsProperty.Should().BeEmpty(); } } @@ -328,8 +333,7 @@ public void DeleteTagsWithSubscriptionTest() using (MockContext context = MockContext.Start(this.GetType())) { // test tags for subscription - string subscriptionScope = "/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a"; - this.DeleteTagsTest(subscriptionScope, context).Properties.TagsProperty.Should().BeNull(); + this.DeleteTagsTest(context: context).Properties.TagsProperty.Should().BeNull(); } } diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/tests/ScenarioTests/management_group_level_template.json b/sdk/resources/Microsoft.Azure.Management.Resource/tests/ScenarioTests/management_group_level_template.json index 9cb1be84f032..e86351641189 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/tests/ScenarioTests/management_group_level_template.json +++ b/sdk/resources/Microsoft.Azure.Management.Resource/tests/ScenarioTests/management_group_level_template.json @@ -4,7 +4,7 @@ "parameters": { "storageAccountName": { "type": "string", - "defaultValue": "tagsa021920" + "defaultValue": "tagsa1" } }, "variables": { @@ -46,7 +46,7 @@ "name": "sdktest-subnested", "apiVersion": "2018-05-01", "location": "West US", - "subscriptionId": "afe8f803-7190-48e3-b41a-bc454e8aad1a", + "subscriptionId": "b9f138a1-1d64-4108-8413-9ea3be1c1b2d", "properties": { "template": { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveDeploymentTests/DeploymentWithScope_AtManagementGroup.json b/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveDeploymentTests/DeploymentWithScope_AtManagementGroup.json index bc4df6886e16..6ed88c695f55 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveDeploymentTests/DeploymentWithScope_AtManagementGroup.json +++ b/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveDeploymentTests/DeploymentWithScope_AtManagementGroup.json @@ -1,28 +1,28 @@ { "Entries": [ { - "RequestUri": "/%2Fproviders%2FMicrosoft.Management%2FmanagementGroups%2Ftag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest6584/validate?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnByb3ZpZGVycyUyRk1pY3Jvc29mdC5NYW5hZ2VtZW50JTJGbWFuYWdlbWVudEdyb3VwcyUyRnRhZy1tZzEvcHJvdmlkZXJzL01pY3Jvc29mdC5SZXNvdXJjZXMvZGVwbG95bWVudHMvY3NoYXJwc2RrdGVzdDY1ODQvdmFsaWRhdGU/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", + "RequestUri": "//providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest4704/validate?api-version=2019-10-01", + "EncodedRequestUri": "Ly9wcm92aWRlcnMvTWljcm9zb2Z0Lk1hbmFnZW1lbnQvbWFuYWdlbWVudEdyb3Vwcy90YWctbWcxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRzL2NzaGFycHNka3Rlc3Q0NzA0L3ZhbGlkYXRlP2FwaS12ZXJzaW9uPTIwMTktMTAtMDE=", "RequestMethod": "POST", - "RequestBody": "{\r\n \"location\": \"East US\",\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"tagsa021920\"\r\n }\r\n },\r\n \"variables\": {},\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"name\": \"policy2\",\r\n \"apiVersion\": \"2016-12-01\",\r\n \"properties\": {\r\n \"policyType\": \"Custom\",\r\n \"parameters\": {},\r\n \"policyRule\": {\r\n \"if\": {\r\n \"field\": \"location\",\r\n \"equals\": \"northeurope\"\r\n },\r\n \"then\": {\r\n \"effect\": \"deny\"\r\n }\r\n }\r\n }\r\n },\r\n {\r\n \"type\": \"Microsoft.Authorization/policyAssignments\",\r\n \"name\": \"location-lock\",\r\n \"apiVersion\": \"2016-12-01\",\r\n \"dependsOn\": [\r\n \"policy2\"\r\n ],\r\n \"properties\": {\r\n \"scope\": \"/providers/Microsoft.Management/managementGroups/tag-mg1\",\r\n \"policyDefinitionId\": \"[concat('/providers/Microsoft.Management/managementGroups/tag-mg1/', 'providers/', 'Microsoft.Authorization/policyDefinitions/', 'policy2')]\"\r\n }\r\n },\r\n {\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"name\": \"sdktest-subnested\",\r\n \"apiVersion\": \"2018-05-01\",\r\n \"location\": \"West US\",\r\n \"subscriptionId\": \"afe8f803-7190-48e3-b41a-bc454e8aad1a\",\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"variables\": {},\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Resources/resourceGroups\",\r\n \"name\": \"rg-001\",\r\n \"apiVersion\": \"2018-05-01\",\r\n \"location\": \"East US\",\r\n \"properties\": {}\r\n },\r\n {\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"name\": \"rg-nested\",\r\n \"apiVersion\": \"2017-05-10\",\r\n \"resourceGroup\": \"rg-001\",\r\n \"dependsOn\": [\r\n \"rg-001\"\r\n ],\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"variables\": {},\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Storage/storageAccounts\",\r\n \"name\": \"[parameters('storageAccountName')]\",\r\n \"apiVersion\": \"2015-06-15\",\r\n \"location\": \"East US\",\r\n \"properties\": {\r\n \"accountType\": \"Standard_LRS\"\r\n }\r\n }\r\n ]\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n }\r\n ]\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"value\": \"tagsa021920\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n },\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\"\r\n }\r\n}", + "RequestBody": "{\r\n \"location\": \"East US\",\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"tagsa1\"\r\n }\r\n },\r\n \"variables\": {},\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"name\": \"policy2\",\r\n \"apiVersion\": \"2016-12-01\",\r\n \"properties\": {\r\n \"policyType\": \"Custom\",\r\n \"parameters\": {},\r\n \"policyRule\": {\r\n \"if\": {\r\n \"field\": \"location\",\r\n \"equals\": \"northeurope\"\r\n },\r\n \"then\": {\r\n \"effect\": \"deny\"\r\n }\r\n }\r\n }\r\n },\r\n {\r\n \"type\": \"Microsoft.Authorization/policyAssignments\",\r\n \"name\": \"location-lock\",\r\n \"apiVersion\": \"2016-12-01\",\r\n \"dependsOn\": [\r\n \"policy2\"\r\n ],\r\n \"properties\": {\r\n \"scope\": \"/providers/Microsoft.Management/managementGroups/tag-mg1\",\r\n \"policyDefinitionId\": \"[concat('/providers/Microsoft.Management/managementGroups/tag-mg1/', 'providers/', 'Microsoft.Authorization/policyDefinitions/', 'policy2')]\"\r\n }\r\n },\r\n {\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"name\": \"sdktest-subnested\",\r\n \"apiVersion\": \"2018-05-01\",\r\n \"location\": \"West US\",\r\n \"subscriptionId\": \"b9f138a1-1d64-4108-8413-9ea3be1c1b2d\",\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"variables\": {},\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Resources/resourceGroups\",\r\n \"name\": \"rg-001\",\r\n \"apiVersion\": \"2018-05-01\",\r\n \"location\": \"East US\",\r\n \"properties\": {}\r\n },\r\n {\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"name\": \"rg-nested\",\r\n \"apiVersion\": \"2017-05-10\",\r\n \"resourceGroup\": \"rg-001\",\r\n \"dependsOn\": [\r\n \"rg-001\"\r\n ],\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"variables\": {},\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Storage/storageAccounts\",\r\n \"name\": \"[parameters('storageAccountName')]\",\r\n \"apiVersion\": \"2015-06-15\",\r\n \"location\": \"East US\",\r\n \"properties\": {\r\n \"accountType\": \"Standard_LRS\"\r\n }\r\n }\r\n ]\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n }\r\n ]\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"value\": \"tagsa1\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n },\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\"\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "ebbbe113-312f-4251-9946-a72b0e8f01fc" + "23456d40-190a-479c-9541-8b6e1954d588" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.3.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "3756" + "3746" ] }, "ResponseHeaders": { @@ -36,13 +36,13 @@ "1199" ], "x-ms-request-id": [ - "e7cd514f-e7cf-4b88-85fc-28d3f3115689" + "23df8cfb-434a-497b-899a-cbe9b57725b0" ], "x-ms-correlation-request-id": [ - "e7cd514f-e7cf-4b88-85fc-28d3f3115689" + "23df8cfb-434a-497b-899a-cbe9b57725b0" ], "x-ms-routing-request-id": [ - "WESTUS:20200220T022916Z:e7cd514f-e7cf-4b88-85fc-28d3f3115689" + "WESTUS2:20200507T043143Z:23df8cfb-434a-497b-899a-cbe9b57725b0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,10 +51,10 @@ "nosniff" ], "Date": [ - "Thu, 20 Feb 2020 02:29:16 GMT" + "Thu, 07 May 2020 04:31:43 GMT" ], "Content-Length": [ - "2055" + "2044" ], "Content-Type": [ "application/json; charset=utf-8" @@ -63,32 +63,32 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest6584\",\r\n \"name\": \"csharpsdktest6584\",\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\"\r\n },\r\n \"properties\": {\r\n \"templateHash\": \"1574251487356097972\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"String\",\r\n \"value\": \"tagsa021920\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-02-20T02:29:16.0151836Z\",\r\n \"duration\": \"PT0S\",\r\n \"correlationId\": \"e7cd514f-e7cf-4b88-85fc-28d3f3115689\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"policyDefinitions\",\r\n \"locations\": [\r\n null\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"policyAssignments\",\r\n \"locations\": [\r\n null\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"deployments\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Authorization/policyDefinitions/policy2\",\r\n \"resourceType\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"resourceName\": \"policy2\"\r\n }\r\n ],\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Authorization/policyAssignments/location-lock\",\r\n \"resourceType\": \"Microsoft.Authorization/policyAssignments\",\r\n \"resourceName\": \"location-lock\"\r\n }\r\n ],\r\n \"validatedResources\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Authorization/policyDefinitions/policy2\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Authorization/policyAssignments/location-lock\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/deployments/sdktest-subnested\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/resourceGroups/rg-001\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/resourceGroups/rg-001/providers/Microsoft.Resources/deployments/rg-nested\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/resourceGroups/rg-001/providers/Microsoft.Storage/storageAccounts/tagsa021920\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest4704\",\r\n \"name\": \"csharpsdktest4704\",\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\"\r\n },\r\n \"properties\": {\r\n \"templateHash\": \"2703533561468293118\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"String\",\r\n \"value\": \"tagsa1\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-05-07T04:31:43.283147Z\",\r\n \"duration\": \"PT0S\",\r\n \"correlationId\": \"23df8cfb-434a-497b-899a-cbe9b57725b0\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"policyDefinitions\",\r\n \"locations\": [\r\n null\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"policyAssignments\",\r\n \"locations\": [\r\n null\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"deployments\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Authorization/policyDefinitions/policy2\",\r\n \"resourceType\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"resourceName\": \"policy2\"\r\n }\r\n ],\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Authorization/policyAssignments/location-lock\",\r\n \"resourceType\": \"Microsoft.Authorization/policyAssignments\",\r\n \"resourceName\": \"location-lock\"\r\n }\r\n ],\r\n \"validatedResources\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Authorization/policyDefinitions/policy2\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Authorization/policyAssignments/location-lock\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/deployments/sdktest-subnested\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/rg-001\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/rg-001/providers/Microsoft.Resources/deployments/rg-nested\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/rg-001/providers/Microsoft.Storage/storageAccounts/tagsa1\"\r\n }\r\n ]\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/%2Fproviders%2FMicrosoft.Management%2FmanagementGroups%2Ftag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest6584?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnByb3ZpZGVycyUyRk1pY3Jvc29mdC5NYW5hZ2VtZW50JTJGbWFuYWdlbWVudEdyb3VwcyUyRnRhZy1tZzEvcHJvdmlkZXJzL01pY3Jvc29mdC5SZXNvdXJjZXMvZGVwbG95bWVudHMvY3NoYXJwc2RrdGVzdDY1ODQ/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", + "RequestUri": "//providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest4704?api-version=2019-10-01", + "EncodedRequestUri": "Ly9wcm92aWRlcnMvTWljcm9zb2Z0Lk1hbmFnZW1lbnQvbWFuYWdlbWVudEdyb3Vwcy90YWctbWcxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRzL2NzaGFycHNka3Rlc3Q0NzA0P2FwaS12ZXJzaW9uPTIwMTktMTAtMDE=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"location\": \"East US\",\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"tagsa021920\"\r\n }\r\n },\r\n \"variables\": {},\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"name\": \"policy2\",\r\n \"apiVersion\": \"2016-12-01\",\r\n \"properties\": {\r\n \"policyType\": \"Custom\",\r\n \"parameters\": {},\r\n \"policyRule\": {\r\n \"if\": {\r\n \"field\": \"location\",\r\n \"equals\": \"northeurope\"\r\n },\r\n \"then\": {\r\n \"effect\": \"deny\"\r\n }\r\n }\r\n }\r\n },\r\n {\r\n \"type\": \"Microsoft.Authorization/policyAssignments\",\r\n \"name\": \"location-lock\",\r\n \"apiVersion\": \"2016-12-01\",\r\n \"dependsOn\": [\r\n \"policy2\"\r\n ],\r\n \"properties\": {\r\n \"scope\": \"/providers/Microsoft.Management/managementGroups/tag-mg1\",\r\n \"policyDefinitionId\": \"[concat('/providers/Microsoft.Management/managementGroups/tag-mg1/', 'providers/', 'Microsoft.Authorization/policyDefinitions/', 'policy2')]\"\r\n }\r\n },\r\n {\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"name\": \"sdktest-subnested\",\r\n \"apiVersion\": \"2018-05-01\",\r\n \"location\": \"West US\",\r\n \"subscriptionId\": \"afe8f803-7190-48e3-b41a-bc454e8aad1a\",\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"variables\": {},\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Resources/resourceGroups\",\r\n \"name\": \"rg-001\",\r\n \"apiVersion\": \"2018-05-01\",\r\n \"location\": \"East US\",\r\n \"properties\": {}\r\n },\r\n {\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"name\": \"rg-nested\",\r\n \"apiVersion\": \"2017-05-10\",\r\n \"resourceGroup\": \"rg-001\",\r\n \"dependsOn\": [\r\n \"rg-001\"\r\n ],\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"variables\": {},\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Storage/storageAccounts\",\r\n \"name\": \"[parameters('storageAccountName')]\",\r\n \"apiVersion\": \"2015-06-15\",\r\n \"location\": \"East US\",\r\n \"properties\": {\r\n \"accountType\": \"Standard_LRS\"\r\n }\r\n }\r\n ]\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n }\r\n ]\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"value\": \"tagsa021920\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n },\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\"\r\n }\r\n}", + "RequestBody": "{\r\n \"location\": \"East US\",\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"tagsa1\"\r\n }\r\n },\r\n \"variables\": {},\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"name\": \"policy2\",\r\n \"apiVersion\": \"2016-12-01\",\r\n \"properties\": {\r\n \"policyType\": \"Custom\",\r\n \"parameters\": {},\r\n \"policyRule\": {\r\n \"if\": {\r\n \"field\": \"location\",\r\n \"equals\": \"northeurope\"\r\n },\r\n \"then\": {\r\n \"effect\": \"deny\"\r\n }\r\n }\r\n }\r\n },\r\n {\r\n \"type\": \"Microsoft.Authorization/policyAssignments\",\r\n \"name\": \"location-lock\",\r\n \"apiVersion\": \"2016-12-01\",\r\n \"dependsOn\": [\r\n \"policy2\"\r\n ],\r\n \"properties\": {\r\n \"scope\": \"/providers/Microsoft.Management/managementGroups/tag-mg1\",\r\n \"policyDefinitionId\": \"[concat('/providers/Microsoft.Management/managementGroups/tag-mg1/', 'providers/', 'Microsoft.Authorization/policyDefinitions/', 'policy2')]\"\r\n }\r\n },\r\n {\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"name\": \"sdktest-subnested\",\r\n \"apiVersion\": \"2018-05-01\",\r\n \"location\": \"West US\",\r\n \"subscriptionId\": \"b9f138a1-1d64-4108-8413-9ea3be1c1b2d\",\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"variables\": {},\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Resources/resourceGroups\",\r\n \"name\": \"rg-001\",\r\n \"apiVersion\": \"2018-05-01\",\r\n \"location\": \"East US\",\r\n \"properties\": {}\r\n },\r\n {\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"name\": \"rg-nested\",\r\n \"apiVersion\": \"2017-05-10\",\r\n \"resourceGroup\": \"rg-001\",\r\n \"dependsOn\": [\r\n \"rg-001\"\r\n ],\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"variables\": {},\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Storage/storageAccounts\",\r\n \"name\": \"[parameters('storageAccountName')]\",\r\n \"apiVersion\": \"2015-06-15\",\r\n \"location\": \"East US\",\r\n \"properties\": {\r\n \"accountType\": \"Standard_LRS\"\r\n }\r\n }\r\n ]\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n }\r\n ]\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"value\": \"tagsa1\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n },\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\"\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "c1dde890-2be3-4190-a482-17049bc68839" + "cb0c1c56-4ee0-4e7f-9c3f-8d4e10a4bcf2" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.3.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "3756" + "3746" ] }, "ResponseHeaders": { @@ -99,19 +99,19 @@ "no-cache" ], "Azure-AsyncOperation": [ - "https://management.azure.com/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest6584/operationStatuses/08586194411286403778?api-version=2019-10-01" + "https://management.azure.com/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest4704/operationStatuses/08586127809701238042?api-version=2019-10-01" ], "x-ms-ratelimit-remaining-tenant-writes": [ "1199" ], "x-ms-request-id": [ - "cdee8ae1-2edb-463b-9a0e-a8b5d1a08dae" + "649ceaeb-47af-40a2-bb34-d898e1c87a8e" ], "x-ms-correlation-request-id": [ - "cdee8ae1-2edb-463b-9a0e-a8b5d1a08dae" + "649ceaeb-47af-40a2-bb34-d898e1c87a8e" ], "x-ms-routing-request-id": [ - "WESTUS:20200220T022918Z:cdee8ae1-2edb-463b-9a0e-a8b5d1a08dae" + "WESTUS2:20200507T043157Z:649ceaeb-47af-40a2-bb34-d898e1c87a8e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -120,10 +120,10 @@ "nosniff" ], "Date": [ - "Thu, 20 Feb 2020 02:29:18 GMT" + "Thu, 07 May 2020 04:31:56 GMT" ], "Content-Length": [ - "1302" + "1298" ], "Content-Type": [ "application/json; charset=utf-8" @@ -132,20 +132,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest6584\",\r\n \"name\": \"csharpsdktest6584\",\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\"\r\n },\r\n \"properties\": {\r\n \"templateHash\": \"1574251487356097972\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"String\",\r\n \"value\": \"tagsa021920\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2020-02-20T02:29:18.556792Z\",\r\n \"duration\": \"PT1.7195381S\",\r\n \"correlationId\": \"cdee8ae1-2edb-463b-9a0e-a8b5d1a08dae\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"policyDefinitions\",\r\n \"locations\": [\r\n null\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"policyAssignments\",\r\n \"locations\": [\r\n null\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"deployments\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Authorization/policyDefinitions/policy2\",\r\n \"resourceType\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"resourceName\": \"policy2\"\r\n }\r\n ],\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Authorization/policyAssignments/location-lock\",\r\n \"resourceType\": \"Microsoft.Authorization/policyAssignments\",\r\n \"resourceName\": \"location-lock\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest4704\",\r\n \"name\": \"csharpsdktest4704\",\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\"\r\n },\r\n \"properties\": {\r\n \"templateHash\": \"2703533561468293118\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"String\",\r\n \"value\": \"tagsa1\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2020-05-07T04:31:56.5421219Z\",\r\n \"duration\": \"PT1.1883056S\",\r\n \"correlationId\": \"649ceaeb-47af-40a2-bb34-d898e1c87a8e\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"policyDefinitions\",\r\n \"locations\": [\r\n null\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"policyAssignments\",\r\n \"locations\": [\r\n null\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"deployments\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Authorization/policyDefinitions/policy2\",\r\n \"resourceType\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"resourceName\": \"policy2\"\r\n }\r\n ],\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Authorization/policyAssignments/location-lock\",\r\n \"resourceType\": \"Microsoft.Authorization/policyAssignments\",\r\n \"resourceName\": \"location-lock\"\r\n }\r\n ]\r\n }\r\n}", "StatusCode": 201 }, { - "RequestUri": "/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest6584/operationStatuses/08586194411286403778?api-version=2019-10-01", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlbWVudC9tYW5hZ2VtZW50R3JvdXBzL3RhZy1tZzEvcHJvdmlkZXJzL01pY3Jvc29mdC5SZXNvdXJjZXMvZGVwbG95bWVudHMvY3NoYXJwc2RrdGVzdDY1ODQvb3BlcmF0aW9uU3RhdHVzZXMvMDg1ODYxOTQ0MTEyODY0MDM3Nzg/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", + "RequestUri": "/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest4704/operationStatuses/08586127809701238042?api-version=2019-10-01", + "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlbWVudC9tYW5hZ2VtZW50R3JvdXBzL3RhZy1tZzEvcHJvdmlkZXJzL01pY3Jvc29mdC5SZXNvdXJjZXMvZGVwbG95bWVudHMvY3NoYXJwc2RrdGVzdDQ3MDQvb3BlcmF0aW9uU3RhdHVzZXMvMDg1ODYxMjc4MDk3MDEyMzgwNDI/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.3.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ] }, "ResponseHeaders": { @@ -159,13 +159,13 @@ "11999" ], "x-ms-request-id": [ - "3b751771-47a9-44e4-be4f-55fd17f9a12d" + "43c2953a-a03b-42a8-853c-4bfbd7efbb10" ], "x-ms-correlation-request-id": [ - "3b751771-47a9-44e4-be4f-55fd17f9a12d" + "43c2953a-a03b-42a8-853c-4bfbd7efbb10" ], "x-ms-routing-request-id": [ - "WESTUS:20200220T022949Z:3b751771-47a9-44e4-be4f-55fd17f9a12d" + "WESTUS2:20200507T043227Z:43c2953a-a03b-42a8-853c-4bfbd7efbb10" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -174,277 +174,7 @@ "nosniff" ], "Date": [ - "Thu, 20 Feb 2020 02:29:48 GMT" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Content-Length": [ - "20" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Running\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest6584/operationStatuses/08586194411286403778?api-version=2019-10-01", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlbWVudC9tYW5hZ2VtZW50R3JvdXBzL3RhZy1tZzEvcHJvdmlkZXJzL01pY3Jvc29mdC5SZXNvdXJjZXMvZGVwbG95bWVudHMvY3NoYXJwc2RrdGVzdDY1ODQvb3BlcmF0aW9uU3RhdHVzZXMvMDg1ODYxOTQ0MTEyODY0MDM3Nzg/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28325.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.3.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-tenant-reads": [ - "11998" - ], - "x-ms-request-id": [ - "38cf36fe-67f1-44c3-b84a-bd138d10145a" - ], - "x-ms-correlation-request-id": [ - "38cf36fe-67f1-44c3-b84a-bd138d10145a" - ], - "x-ms-routing-request-id": [ - "WESTUS:20200220T023019Z:38cf36fe-67f1-44c3-b84a-bd138d10145a" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 20 Feb 2020 02:30:19 GMT" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Content-Length": [ - "20" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Running\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest6584/operationStatuses/08586194411286403778?api-version=2019-10-01", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlbWVudC9tYW5hZ2VtZW50R3JvdXBzL3RhZy1tZzEvcHJvdmlkZXJzL01pY3Jvc29mdC5SZXNvdXJjZXMvZGVwbG95bWVudHMvY3NoYXJwc2RrdGVzdDY1ODQvb3BlcmF0aW9uU3RhdHVzZXMvMDg1ODYxOTQ0MTEyODY0MDM3Nzg/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28325.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.3.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-tenant-reads": [ - "11997" - ], - "x-ms-request-id": [ - "ac5ee1fc-1074-488a-8a28-691169383119" - ], - "x-ms-correlation-request-id": [ - "ac5ee1fc-1074-488a-8a28-691169383119" - ], - "x-ms-routing-request-id": [ - "WESTUS:20200220T023049Z:ac5ee1fc-1074-488a-8a28-691169383119" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 20 Feb 2020 02:30:49 GMT" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Content-Length": [ - "20" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Running\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest6584/operationStatuses/08586194411286403778?api-version=2019-10-01", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlbWVudC9tYW5hZ2VtZW50R3JvdXBzL3RhZy1tZzEvcHJvdmlkZXJzL01pY3Jvc29mdC5SZXNvdXJjZXMvZGVwbG95bWVudHMvY3NoYXJwc2RrdGVzdDY1ODQvb3BlcmF0aW9uU3RhdHVzZXMvMDg1ODYxOTQ0MTEyODY0MDM3Nzg/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28325.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.3.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-tenant-reads": [ - "11996" - ], - "x-ms-request-id": [ - "b8dcfeec-b93b-4162-af62-4426d3b60016" - ], - "x-ms-correlation-request-id": [ - "b8dcfeec-b93b-4162-af62-4426d3b60016" - ], - "x-ms-routing-request-id": [ - "WESTUS:20200220T023119Z:b8dcfeec-b93b-4162-af62-4426d3b60016" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 20 Feb 2020 02:31:19 GMT" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Content-Length": [ - "20" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Running\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest6584/operationStatuses/08586194411286403778?api-version=2019-10-01", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlbWVudC9tYW5hZ2VtZW50R3JvdXBzL3RhZy1tZzEvcHJvdmlkZXJzL01pY3Jvc29mdC5SZXNvdXJjZXMvZGVwbG95bWVudHMvY3NoYXJwc2RrdGVzdDY1ODQvb3BlcmF0aW9uU3RhdHVzZXMvMDg1ODYxOTQ0MTEyODY0MDM3Nzg/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28325.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.3.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-tenant-reads": [ - "11995" - ], - "x-ms-request-id": [ - "ba69f2c7-f696-4245-adac-dd774bec4791" - ], - "x-ms-correlation-request-id": [ - "ba69f2c7-f696-4245-adac-dd774bec4791" - ], - "x-ms-routing-request-id": [ - "WESTUS:20200220T023150Z:ba69f2c7-f696-4245-adac-dd774bec4791" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 20 Feb 2020 02:31:49 GMT" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Content-Length": [ - "20" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Running\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest6584/operationStatuses/08586194411286403778?api-version=2019-10-01", - "EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuTWFuYWdlbWVudC9tYW5hZ2VtZW50R3JvdXBzL3RhZy1tZzEvcHJvdmlkZXJzL01pY3Jvc29mdC5SZXNvdXJjZXMvZGVwbG95bWVudHMvY3NoYXJwc2RrdGVzdDY1ODQvb3BlcmF0aW9uU3RhdHVzZXMvMDg1ODYxOTQ0MTEyODY0MDM3Nzg/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28325.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.3.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-tenant-reads": [ - "11994" - ], - "x-ms-request-id": [ - "2809e466-2691-4d9e-8ea3-f0c608056306" - ], - "x-ms-correlation-request-id": [ - "2809e466-2691-4d9e-8ea3-f0c608056306" - ], - "x-ms-routing-request-id": [ - "WESTUS:20200220T023220Z:2809e466-2691-4d9e-8ea3-f0c608056306" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 20 Feb 2020 02:32:19 GMT" + "Thu, 07 May 2020 04:32:26 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -460,16 +190,16 @@ "StatusCode": 200 }, { - "RequestUri": "/%2Fproviders%2FMicrosoft.Management%2FmanagementGroups%2Ftag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest6584?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnByb3ZpZGVycyUyRk1pY3Jvc29mdC5NYW5hZ2VtZW50JTJGbWFuYWdlbWVudEdyb3VwcyUyRnRhZy1tZzEvcHJvdmlkZXJzL01pY3Jvc29mdC5SZXNvdXJjZXMvZGVwbG95bWVudHMvY3NoYXJwc2RrdGVzdDY1ODQ/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", + "RequestUri": "//providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest4704?api-version=2019-10-01", + "EncodedRequestUri": "Ly9wcm92aWRlcnMvTWljcm9zb2Z0Lk1hbmFnZW1lbnQvbWFuYWdlbWVudEdyb3Vwcy90YWctbWcxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRzL2NzaGFycHNka3Rlc3Q0NzA0P2FwaS12ZXJzaW9uPTIwMTktMTAtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.3.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ] }, "ResponseHeaders": { @@ -480,16 +210,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11993" + "11998" ], "x-ms-request-id": [ - "796f6b83-2643-4757-b706-21e762e29597" + "f8e16141-a82a-4165-a776-deac0ec874ed" ], "x-ms-correlation-request-id": [ - "796f6b83-2643-4757-b706-21e762e29597" + "f8e16141-a82a-4165-a776-deac0ec874ed" ], "x-ms-routing-request-id": [ - "WESTUS:20200220T023220Z:796f6b83-2643-4757-b706-21e762e29597" + "WESTUS2:20200507T043227Z:f8e16141-a82a-4165-a776-deac0ec874ed" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -498,7 +228,7 @@ "nosniff" ], "Date": [ - "Thu, 20 Feb 2020 02:32:20 GMT" + "Thu, 07 May 2020 04:32:26 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -507,29 +237,29 @@ "-1" ], "Content-Length": [ - "1807" + "1795" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest6584\",\r\n \"name\": \"csharpsdktest6584\",\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\"\r\n },\r\n \"properties\": {\r\n \"templateHash\": \"1574251487356097972\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"String\",\r\n \"value\": \"tagsa021920\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-02-20T02:32:07.9115967Z\",\r\n \"duration\": \"PT2M51.0743428S\",\r\n \"correlationId\": \"cdee8ae1-2edb-463b-9a0e-a8b5d1a08dae\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"policyDefinitions\",\r\n \"locations\": [\r\n null\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"policyAssignments\",\r\n \"locations\": [\r\n null\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"deployments\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Authorization/policyDefinitions/policy2\",\r\n \"resourceType\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"resourceName\": \"policy2\"\r\n }\r\n ],\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Authorization/policyAssignments/location-lock\",\r\n \"resourceType\": \"Microsoft.Authorization/policyAssignments\",\r\n \"resourceName\": \"location-lock\"\r\n }\r\n ],\r\n \"outputResources\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Authorization/policyAssignments/location-lock\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Authorization/policyDefinitions/policy2\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/resourceGroups/rg-001\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/resourceGroups/rg-001/providers/Microsoft.Storage/storageAccounts/tagsa021920\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest4704\",\r\n \"name\": \"csharpsdktest4704\",\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\"\r\n },\r\n \"properties\": {\r\n \"templateHash\": \"2703533561468293118\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"String\",\r\n \"value\": \"tagsa1\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-05-07T04:32:05.7726731Z\",\r\n \"duration\": \"PT10.4188568S\",\r\n \"correlationId\": \"649ceaeb-47af-40a2-bb34-d898e1c87a8e\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"policyDefinitions\",\r\n \"locations\": [\r\n null\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"policyAssignments\",\r\n \"locations\": [\r\n null\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"deployments\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Authorization/policyDefinitions/policy2\",\r\n \"resourceType\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"resourceName\": \"policy2\"\r\n }\r\n ],\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Authorization/policyAssignments/location-lock\",\r\n \"resourceType\": \"Microsoft.Authorization/policyAssignments\",\r\n \"resourceName\": \"location-lock\"\r\n }\r\n ],\r\n \"outputResources\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Authorization/policyAssignments/location-lock\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Authorization/policyDefinitions/policy2\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/rg-001\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/rg-001/providers/Microsoft.Storage/storageAccounts/tagsa1\"\r\n }\r\n ]\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/%2Fproviders%2FMicrosoft.Management%2FmanagementGroups%2Ftag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest6584?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnByb3ZpZGVycyUyRk1pY3Jvc29mdC5NYW5hZ2VtZW50JTJGbWFuYWdlbWVudEdyb3VwcyUyRnRhZy1tZzEvcHJvdmlkZXJzL01pY3Jvc29mdC5SZXNvdXJjZXMvZGVwbG95bWVudHMvY3NoYXJwc2RrdGVzdDY1ODQ/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", + "RequestUri": "//providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest4704?api-version=2019-10-01", + "EncodedRequestUri": "Ly9wcm92aWRlcnMvTWljcm9zb2Z0Lk1hbmFnZW1lbnQvbWFuYWdlbWVudEdyb3Vwcy90YWctbWcxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRzL2NzaGFycHNka3Rlc3Q0NzA0P2FwaS12ZXJzaW9uPTIwMTktMTAtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "80b5a3cf-5897-43a4-b858-b70c7d79d66f" + "d1ab69d0-140d-4ea9-9bc4-7aae9e1aac1c" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.3.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ] }, "ResponseHeaders": { @@ -540,16 +270,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11992" + "11997" ], "x-ms-request-id": [ - "3ee6bd7b-6fca-4985-b6ca-eb58d9aba3ca" + "cb3e3834-352e-4887-a384-3b6daa1c3258" ], "x-ms-correlation-request-id": [ - "3ee6bd7b-6fca-4985-b6ca-eb58d9aba3ca" + "cb3e3834-352e-4887-a384-3b6daa1c3258" ], "x-ms-routing-request-id": [ - "WESTUS:20200220T023220Z:3ee6bd7b-6fca-4985-b6ca-eb58d9aba3ca" + "WESTUS2:20200507T043234Z:cb3e3834-352e-4887-a384-3b6daa1c3258" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -558,7 +288,7 @@ "nosniff" ], "Date": [ - "Thu, 20 Feb 2020 02:32:20 GMT" + "Thu, 07 May 2020 04:32:34 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -567,29 +297,29 @@ "-1" ], "Content-Length": [ - "1807" + "1795" ] }, - "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest6584\",\r\n \"name\": \"csharpsdktest6584\",\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\"\r\n },\r\n \"properties\": {\r\n \"templateHash\": \"1574251487356097972\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"String\",\r\n \"value\": \"tagsa021920\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-02-20T02:32:07.9115967Z\",\r\n \"duration\": \"PT2M51.0743428S\",\r\n \"correlationId\": \"cdee8ae1-2edb-463b-9a0e-a8b5d1a08dae\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"policyDefinitions\",\r\n \"locations\": [\r\n null\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"policyAssignments\",\r\n \"locations\": [\r\n null\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"deployments\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Authorization/policyDefinitions/policy2\",\r\n \"resourceType\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"resourceName\": \"policy2\"\r\n }\r\n ],\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Authorization/policyAssignments/location-lock\",\r\n \"resourceType\": \"Microsoft.Authorization/policyAssignments\",\r\n \"resourceName\": \"location-lock\"\r\n }\r\n ],\r\n \"outputResources\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Authorization/policyAssignments/location-lock\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Authorization/policyDefinitions/policy2\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/resourceGroups/rg-001\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/resourceGroups/rg-001/providers/Microsoft.Storage/storageAccounts/tagsa021920\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest4704\",\r\n \"name\": \"csharpsdktest4704\",\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\"\r\n },\r\n \"properties\": {\r\n \"templateHash\": \"2703533561468293118\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"String\",\r\n \"value\": \"tagsa1\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-05-07T04:32:05.7726731Z\",\r\n \"duration\": \"PT10.4188568S\",\r\n \"correlationId\": \"649ceaeb-47af-40a2-bb34-d898e1c87a8e\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"policyDefinitions\",\r\n \"locations\": [\r\n null\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"policyAssignments\",\r\n \"locations\": [\r\n null\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"deployments\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Authorization/policyDefinitions/policy2\",\r\n \"resourceType\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"resourceName\": \"policy2\"\r\n }\r\n ],\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Authorization/policyAssignments/location-lock\",\r\n \"resourceType\": \"Microsoft.Authorization/policyAssignments\",\r\n \"resourceName\": \"location-lock\"\r\n }\r\n ],\r\n \"outputResources\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Authorization/policyAssignments/location-lock\"\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Authorization/policyDefinitions/policy2\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/rg-001\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/rg-001/providers/Microsoft.Storage/storageAccounts/tagsa1\"\r\n }\r\n ]\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/%2Fproviders%2FMicrosoft.Management%2FmanagementGroups%2Ftag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest6584/operations?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnByb3ZpZGVycyUyRk1pY3Jvc29mdC5NYW5hZ2VtZW50JTJGbWFuYWdlbWVudEdyb3VwcyUyRnRhZy1tZzEvcHJvdmlkZXJzL01pY3Jvc29mdC5SZXNvdXJjZXMvZGVwbG95bWVudHMvY3NoYXJwc2RrdGVzdDY1ODQvb3BlcmF0aW9ucz9hcGktdmVyc2lvbj0yMDE5LTEwLTAx", + "RequestUri": "//providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest4704/operations?api-version=2019-10-01", + "EncodedRequestUri": "Ly9wcm92aWRlcnMvTWljcm9zb2Z0Lk1hbmFnZW1lbnQvbWFuYWdlbWVudEdyb3Vwcy90YWctbWcxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRzL2NzaGFycHNka3Rlc3Q0NzA0L29wZXJhdGlvbnM/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "609b0a77-adf7-4046-a756-dbfed8953bf9" + "36ee973d-e37b-4f22-9201-20f9da783487" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.3.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ] }, "ResponseHeaders": { @@ -600,16 +330,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-tenant-reads": [ - "11991" + "11996" ], "x-ms-request-id": [ - "718cb88f-3751-480f-ad85-9e27656d0312" + "da3cf1ac-89f5-4613-8ae5-76c38c457b83" ], "x-ms-correlation-request-id": [ - "718cb88f-3751-480f-ad85-9e27656d0312" + "da3cf1ac-89f5-4613-8ae5-76c38c457b83" ], "x-ms-routing-request-id": [ - "WESTUS:20200220T023221Z:718cb88f-3751-480f-ad85-9e27656d0312" + "WESTUS2:20200507T043238Z:da3cf1ac-89f5-4613-8ae5-76c38c457b83" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -618,7 +348,7 @@ "nosniff" ], "Date": [ - "Thu, 20 Feb 2020 02:32:20 GMT" + "Thu, 07 May 2020 04:32:38 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -627,19 +357,19 @@ "-1" ], "Content-Length": [ - "2573" + "2568" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest6584/operations/923C0D292A235BAE\",\r\n \"operationId\": \"923C0D292A235BAE\",\r\n \"properties\": {\r\n \"provisioningOperation\": \"Create\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-02-20T02:32:07.3522454Z\",\r\n \"duration\": \"PT2M46.2092041S\",\r\n \"trackingId\": \"42e70ff2-dcef-4a10-9454-4de4c0a1dbb0\",\r\n \"serviceRequestId\": \"028326db-f62f-4811-97ac-d1fef5967b2a\",\r\n \"statusCode\": \"OK\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/deployments/sdktest-subnested\",\r\n \"resourceType\": \"Microsoft.Resources/deployments\",\r\n \"resourceName\": \"sdktest-subnested\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest6584/operations/3636B08D54C11DB7\",\r\n \"operationId\": \"3636B08D54C11DB7\",\r\n \"properties\": {\r\n \"provisioningOperation\": \"Create\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-02-20T02:29:21.7331872Z\",\r\n \"duration\": \"PT0.2180208S\",\r\n \"trackingId\": \"794db222-44eb-40a4-a403-9c5a334b770f\",\r\n \"serviceRequestId\": \"eastus2:8dafc90f-7dc9-4f81-a31a-49a9aa8a991a\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Authorization/policyAssignments/location-lock\",\r\n \"resourceType\": \"Microsoft.Authorization/policyAssignments\",\r\n \"resourceName\": \"location-lock\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest6584/operations/C845763560A82518\",\r\n \"operationId\": \"C845763560A82518\",\r\n \"properties\": {\r\n \"provisioningOperation\": \"Create\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-02-20T02:29:21.4511276Z\",\r\n \"duration\": \"PT0.3080863S\",\r\n \"trackingId\": \"08c43f3d-c4ec-4146-937d-4b52e4ce2d08\",\r\n \"serviceRequestId\": \"eastus2:f9ea8d1a-ba88-4cfb-8dc7-3f8b483816e5\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Authorization/policyDefinitions/policy2\",\r\n \"resourceType\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"resourceName\": \"policy2\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest6584/operations/08586194411286403778\",\r\n \"operationId\": \"08586194411286403778\",\r\n \"properties\": {\r\n \"provisioningOperation\": \"EvaluateDeploymentOutput\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-02-20T02:32:07.8712073Z\",\r\n \"duration\": \"PT0.3018494S\",\r\n \"trackingId\": \"651172ab-e2de-48d9-8fdf-f05eff0832e1\",\r\n \"statusCode\": \"OK\",\r\n \"statusMessage\": null\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest4704/operations/7BD3B782F18D2551\",\r\n \"operationId\": \"7BD3B782F18D2551\",\r\n \"properties\": {\r\n \"provisioningOperation\": \"Create\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-05-07T04:32:05.6250108Z\",\r\n \"duration\": \"PT8.1978205S\",\r\n \"trackingId\": \"7095cda9-3637-4bf1-950d-d7cf4a459882\",\r\n \"serviceRequestId\": \"69981863-d179-463d-bebc-2a1f661a39f1\",\r\n \"statusCode\": \"OK\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/deployments/sdktest-subnested\",\r\n \"resourceType\": \"Microsoft.Resources/deployments\",\r\n \"resourceName\": \"sdktest-subnested\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest4704/operations/3636B08D54C11DB7\",\r\n \"operationId\": \"3636B08D54C11DB7\",\r\n \"properties\": {\r\n \"provisioningOperation\": \"Create\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-05-07T04:31:57.9338272Z\",\r\n \"duration\": \"PT0.1365205S\",\r\n \"trackingId\": \"925b4e94-f1e8-4011-b7e8-e5f96165c995\",\r\n \"serviceRequestId\": \"eastus:972e1f80-8641-462a-9f49-6f59f8eb733e\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Authorization/policyAssignments/location-lock\",\r\n \"resourceType\": \"Microsoft.Authorization/policyAssignments\",\r\n \"resourceName\": \"location-lock\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest4704/operations/C845763560A82518\",\r\n \"operationId\": \"C845763560A82518\",\r\n \"properties\": {\r\n \"provisioningOperation\": \"Create\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-05-07T04:31:57.7504987Z\",\r\n \"duration\": \"PT0.3233084S\",\r\n \"trackingId\": \"b045d880-cc24-433f-a79e-3243c33d7ec1\",\r\n \"serviceRequestId\": \"eastus:8ee5d57e-d10c-4db9-957f-06fb0e9657bf\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Authorization/policyDefinitions/policy2\",\r\n \"resourceType\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"resourceName\": \"policy2\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/providers/Microsoft.Management/managementGroups/tag-mg1/providers/Microsoft.Resources/deployments/csharpsdktest4704/operations/08586127809701238042\",\r\n \"operationId\": \"08586127809701238042\",\r\n \"properties\": {\r\n \"provisioningOperation\": \"EvaluateDeploymentOutput\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-05-07T04:32:05.7442093Z\",\r\n \"duration\": \"PT0.0801766S\",\r\n \"trackingId\": \"290afb1c-8c81-4eff-afc4-e8f8d41e1eed\",\r\n \"statusCode\": \"OK\",\r\n \"statusMessage\": null\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 } ], "Names": { "DeploymentWithScope_AtManagementGroup": [ - "csharpsdktest6584" + "csharpsdktest4704" ] }, "Variables": { - "SubscriptionId": "afe8f803-7190-48e3-b41a-bc454e8aad1a" + "SubscriptionId": "b9f138a1-1d64-4108-8413-9ea3be1c1b2d" } } \ No newline at end of file diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveDeploymentTests/DeploymentWithScope_AtResourceGroup.json b/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveDeploymentTests/DeploymentWithScope_AtResourceGroup.json index 8133a9eaeaa1..a9a6ffbe803f 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveDeploymentTests/DeploymentWithScope_AtResourceGroup.json +++ b/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveDeploymentTests/DeploymentWithScope_AtResourceGroup.json @@ -7,16 +7,16 @@ "RequestBody": "{\r\n \"location\": \"WestUS\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "ba08516a-c944-4952-9470-838f530b81ed" + "7c6e3411-d677-44da-93ae-3de5899ba0c1" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.3.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -36,13 +36,13 @@ "1199" ], "x-ms-request-id": [ - "07fa34e0-04b5-44e1-9872-c5f8c4e0493b" + "c3afcad3-0d9d-4fcb-8526-9e39226d0a67" ], "x-ms-correlation-request-id": [ - "07fa34e0-04b5-44e1-9872-c5f8c4e0493b" + "c3afcad3-0d9d-4fcb-8526-9e39226d0a67" ], "x-ms-routing-request-id": [ - "WESTUS:20200218T182325Z:07fa34e0-04b5-44e1-9872-c5f8c4e0493b" + "WESTUS2:20200506T213813Z:c3afcad3-0d9d-4fcb-8526-9e39226d0a67" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,7 +51,7 @@ "nosniff" ], "Date": [ - "Tue, 18 Feb 2020 18:23:25 GMT" + "Wed, 06 May 2020 21:38:13 GMT" ], "Content-Length": [ "219" @@ -67,22 +67,22 @@ "StatusCode": 201 }, { - "RequestUri": "/%2Fsubscriptions%2Fb9f138a1-1d64-4108-8413-9ea3be1c1b2d%2FresourceGroups%2FSDK-test-01/providers/Microsoft.Resources/deployments/csmd3957/validate?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnN1YnNjcmlwdGlvbnMlMkZiOWYxMzhhMS0xZDY0LTQxMDgtODQxMy05ZWEzYmUxYzFiMmQlMkZyZXNvdXJjZUdyb3VwcyUyRlNESy10ZXN0LTAxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRzL2NzbWQzOTU3L3ZhbGlkYXRlP2FwaS12ZXJzaW9uPTIwMTktMTAtMDE=", + "RequestUri": "//subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/SDK-test-01/providers/Microsoft.Resources/deployments/csmd4085/validate?api-version=2019-10-01", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zL2I5ZjEzOGExLTFkNjQtNDEwOC04NDEzLTllYTNiZTFjMWIyZC9yZXNvdXJjZUdyb3Vwcy9TREstdGVzdC0wMS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50cy9jc21kNDA4NS92YWxpZGF0ZT9hcGktdmVyc2lvbj0yMDE5LTEwLTAx", "RequestMethod": "POST", "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Storage/storageAccounts\",\r\n \"name\": \"[parameters('storageAccountName')]\",\r\n \"apiVersion\": \"2015-06-15\",\r\n \"location\": \"[resourceGroup().location]\",\r\n \"properties\": {\r\n \"accountType\": \"Standard_LRS\"\r\n }\r\n }\r\n ],\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"value\": \"tianotest105\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n },\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\"\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "66a44bcb-69a9-4951-ab54-dde946411612" + "291ccc93-c74c-43c5-9e60-86e3d76af26c" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.3.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -102,13 +102,13 @@ "1199" ], "x-ms-request-id": [ - "43f49e80-dabd-433c-8b77-b2459be12e3d" + "fa39009e-1dfa-442c-9ff7-1f9a7b215dc6" ], "x-ms-correlation-request-id": [ - "43f49e80-dabd-433c-8b77-b2459be12e3d" + "fa39009e-1dfa-442c-9ff7-1f9a7b215dc6" ], "x-ms-routing-request-id": [ - "WESTUS:20200218T182325Z:43f49e80-dabd-433c-8b77-b2459be12e3d" + "WESTUS2:20200506T213813Z:fa39009e-1dfa-442c-9ff7-1f9a7b215dc6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -117,7 +117,7 @@ "nosniff" ], "Date": [ - "Tue, 18 Feb 2020 18:23:25 GMT" + "Wed, 06 May 2020 21:38:13 GMT" ], "Content-Length": [ "837" @@ -129,26 +129,26 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/SDK-test-01/providers/Microsoft.Resources/deployments/csmd3957\",\r\n \"name\": \"csmd3957\",\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\"\r\n },\r\n \"properties\": {\r\n \"templateHash\": \"17146611848161502822\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"String\",\r\n \"value\": \"tianotest105\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-02-18T18:23:25.6473175Z\",\r\n \"duration\": \"PT0S\",\r\n \"correlationId\": \"43f49e80-dabd-433c-8b77-b2459be12e3d\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [],\r\n \"validatedResources\": [\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/SDK-test-01/providers/Microsoft.Storage/storageAccounts/tianotest105\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/SDK-test-01/providers/Microsoft.Resources/deployments/csmd4085\",\r\n \"name\": \"csmd4085\",\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\"\r\n },\r\n \"properties\": {\r\n \"templateHash\": \"17146611848161502822\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"String\",\r\n \"value\": \"tianotest105\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-05-06T21:38:13.6441571Z\",\r\n \"duration\": \"PT0S\",\r\n \"correlationId\": \"fa39009e-1dfa-442c-9ff7-1f9a7b215dc6\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [],\r\n \"validatedResources\": [\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/SDK-test-01/providers/Microsoft.Storage/storageAccounts/tianotest105\"\r\n }\r\n ]\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/%2Fsubscriptions%2Fb9f138a1-1d64-4108-8413-9ea3be1c1b2d%2FresourceGroups%2FSDK-test-01/providers/Microsoft.Resources/deployments/csmd3957?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnN1YnNjcmlwdGlvbnMlMkZiOWYxMzhhMS0xZDY0LTQxMDgtODQxMy05ZWEzYmUxYzFiMmQlMkZyZXNvdXJjZUdyb3VwcyUyRlNESy10ZXN0LTAxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRzL2NzbWQzOTU3P2FwaS12ZXJzaW9uPTIwMTktMTAtMDE=", + "RequestUri": "//subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/SDK-test-01/providers/Microsoft.Resources/deployments/csmd4085?api-version=2019-10-01", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zL2I5ZjEzOGExLTFkNjQtNDEwOC04NDEzLTllYTNiZTFjMWIyZC9yZXNvdXJjZUdyb3Vwcy9TREstdGVzdC0wMS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50cy9jc21kNDA4NT9hcGktdmVyc2lvbj0yMDE5LTEwLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"string\"\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Storage/storageAccounts\",\r\n \"name\": \"[parameters('storageAccountName')]\",\r\n \"apiVersion\": \"2015-06-15\",\r\n \"location\": \"[resourceGroup().location]\",\r\n \"properties\": {\r\n \"accountType\": \"Standard_LRS\"\r\n }\r\n }\r\n ],\r\n \"outputs\": {}\r\n },\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"value\": \"tianotest105\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n },\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\"\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "1982376f-fa8e-406b-b973-c3d83d5c4c41" + "577b1368-2afd-4ac4-a95b-5d3e233ae86f" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.3.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -165,19 +165,19 @@ "no-cache" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourcegroups/SDK-test-01/providers/Microsoft.Resources/deployments/csmd3957/operationStatuses/08586195566795569871?api-version=2019-10-01" + "https://management.azure.com/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourcegroups/SDK-test-01/providers/Microsoft.Resources/deployments/csmd4085/operationStatuses/08586128057912805430?api-version=2019-10-01" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], "x-ms-request-id": [ - "955dba67-d787-418d-bc4d-e00ccb909454" + "621c3b5c-17d1-4d47-b095-914be2895450" ], "x-ms-correlation-request-id": [ - "955dba67-d787-418d-bc4d-e00ccb909454" + "621c3b5c-17d1-4d47-b095-914be2895450" ], "x-ms-routing-request-id": [ - "WESTUS:20200218T182326Z:955dba67-d787-418d-bc4d-e00ccb909454" + "WESTUS2:20200506T213814Z:621c3b5c-17d1-4d47-b095-914be2895450" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -186,10 +186,10 @@ "nosniff" ], "Date": [ - "Tue, 18 Feb 2020 18:23:25 GMT" + "Wed, 06 May 2020 21:38:14 GMT" ], "Content-Length": [ - "674" + "676" ], "Content-Type": [ "application/json; charset=utf-8" @@ -198,20 +198,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/SDK-test-01/providers/Microsoft.Resources/deployments/csmd3957\",\r\n \"name\": \"csmd3957\",\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\"\r\n },\r\n \"properties\": {\r\n \"templateHash\": \"17146611848161502822\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"String\",\r\n \"value\": \"tianotest105\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2020-02-18T18:23:26.019224Z\",\r\n \"duration\": \"PT0.098604S\",\r\n \"correlationId\": \"955dba67-d787-418d-bc4d-e00ccb909454\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": []\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/SDK-test-01/providers/Microsoft.Resources/deployments/csmd4085\",\r\n \"name\": \"csmd4085\",\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\"\r\n },\r\n \"properties\": {\r\n \"templateHash\": \"17146611848161502822\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"String\",\r\n \"value\": \"tianotest105\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2020-05-06T21:38:14.4826016Z\",\r\n \"duration\": \"PT0.2855347S\",\r\n \"correlationId\": \"621c3b5c-17d1-4d47-b095-914be2895450\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": []\r\n }\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourcegroups/SDK-test-01/providers/Microsoft.Resources/deployments/csmd3957/operationStatuses/08586195566795569871?api-version=2019-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjlmMTM4YTEtMWQ2NC00MTA4LTg0MTMtOWVhM2JlMWMxYjJkL3Jlc291cmNlZ3JvdXBzL1NESy10ZXN0LTAxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRzL2NzbWQzOTU3L29wZXJhdGlvblN0YXR1c2VzLzA4NTg2MTk1NTY2Nzk1NTY5ODcxP2FwaS12ZXJzaW9uPTIwMTktMTAtMDE=", + "RequestUri": "/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourcegroups/SDK-test-01/providers/Microsoft.Resources/deployments/csmd4085/operationStatuses/08586128057912805430?api-version=2019-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjlmMTM4YTEtMWQ2NC00MTA4LTg0MTMtOWVhM2JlMWMxYjJkL3Jlc291cmNlZ3JvdXBzL1NESy10ZXN0LTAxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRzL2NzbWQ0MDg1L29wZXJhdGlvblN0YXR1c2VzLzA4NTg2MTI4MDU3OTEyODA1NDMwP2FwaS12ZXJzaW9uPTIwMTktMTAtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.3.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ] }, "ResponseHeaders": { @@ -225,13 +225,13 @@ "11999" ], "x-ms-request-id": [ - "81e57c18-fc91-4008-a11b-62c5c710bda7" + "d1e4c7d8-93d7-4fd8-b971-d13e4c237ddf" ], "x-ms-correlation-request-id": [ - "81e57c18-fc91-4008-a11b-62c5c710bda7" + "d1e4c7d8-93d7-4fd8-b971-d13e4c237ddf" ], "x-ms-routing-request-id": [ - "WESTUS:20200218T182356Z:81e57c18-fc91-4008-a11b-62c5c710bda7" + "WESTUS2:20200506T213845Z:d1e4c7d8-93d7-4fd8-b971-d13e4c237ddf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -240,7 +240,7 @@ "nosniff" ], "Date": [ - "Tue, 18 Feb 2020 18:23:55 GMT" + "Wed, 06 May 2020 21:38:44 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -256,16 +256,16 @@ "StatusCode": 200 }, { - "RequestUri": "/%2Fsubscriptions%2Fb9f138a1-1d64-4108-8413-9ea3be1c1b2d%2FresourceGroups%2FSDK-test-01/providers/Microsoft.Resources/deployments/csmd3957?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnN1YnNjcmlwdGlvbnMlMkZiOWYxMzhhMS0xZDY0LTQxMDgtODQxMy05ZWEzYmUxYzFiMmQlMkZyZXNvdXJjZUdyb3VwcyUyRlNESy10ZXN0LTAxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRzL2NzbWQzOTU3P2FwaS12ZXJzaW9uPTIwMTktMTAtMDE=", + "RequestUri": "//subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/SDK-test-01/providers/Microsoft.Resources/deployments/csmd4085?api-version=2019-10-01", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zL2I5ZjEzOGExLTFkNjQtNDEwOC04NDEzLTllYTNiZTFjMWIyZC9yZXNvdXJjZUdyb3Vwcy9TREstdGVzdC0wMS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50cy9jc21kNDA4NT9hcGktdmVyc2lvbj0yMDE5LTEwLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.3.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ] }, "ResponseHeaders": { @@ -279,13 +279,13 @@ "11998" ], "x-ms-request-id": [ - "115e2b2f-1f64-4366-8cff-0313d0c28c8e" + "de650393-2b92-419b-ae58-07e7d1a962ae" ], "x-ms-correlation-request-id": [ - "115e2b2f-1f64-4366-8cff-0313d0c28c8e" + "de650393-2b92-419b-ae58-07e7d1a962ae" ], "x-ms-routing-request-id": [ - "WESTUS:20200218T182356Z:115e2b2f-1f64-4366-8cff-0313d0c28c8e" + "WESTUS2:20200506T213847Z:de650393-2b92-419b-ae58-07e7d1a962ae" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -294,7 +294,7 @@ "nosniff" ], "Date": [ - "Tue, 18 Feb 2020 18:23:55 GMT" + "Wed, 06 May 2020 21:38:47 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -306,26 +306,26 @@ "856" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/SDK-test-01/providers/Microsoft.Resources/deployments/csmd3957\",\r\n \"name\": \"csmd3957\",\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\"\r\n },\r\n \"properties\": {\r\n \"templateHash\": \"17146611848161502822\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"String\",\r\n \"value\": \"tianotest105\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-02-18T18:23:51.0800708Z\",\r\n \"duration\": \"PT25.1594508S\",\r\n \"correlationId\": \"955dba67-d787-418d-bc4d-e00ccb909454\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [],\r\n \"outputs\": {},\r\n \"outputResources\": [\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/SDK-test-01/providers/Microsoft.Storage/storageAccounts/tianotest105\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/SDK-test-01/providers/Microsoft.Resources/deployments/csmd4085\",\r\n \"name\": \"csmd4085\",\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\"\r\n },\r\n \"properties\": {\r\n \"templateHash\": \"17146611848161502822\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"String\",\r\n \"value\": \"tianotest105\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-05-06T21:38:36.8856596Z\",\r\n \"duration\": \"PT22.6885927S\",\r\n \"correlationId\": \"621c3b5c-17d1-4d47-b095-914be2895450\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [],\r\n \"outputs\": {},\r\n \"outputResources\": [\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/SDK-test-01/providers/Microsoft.Storage/storageAccounts/tianotest105\"\r\n }\r\n ]\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/%2Fsubscriptions%2Fb9f138a1-1d64-4108-8413-9ea3be1c1b2d%2FresourceGroups%2FSDK-test-01/providers/Microsoft.Resources/deployments/csmd3957?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnN1YnNjcmlwdGlvbnMlMkZiOWYxMzhhMS0xZDY0LTQxMDgtODQxMy05ZWEzYmUxYzFiMmQlMkZyZXNvdXJjZUdyb3VwcyUyRlNESy10ZXN0LTAxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRzL2NzbWQzOTU3P2FwaS12ZXJzaW9uPTIwMTktMTAtMDE=", + "RequestUri": "//subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/SDK-test-01/providers/Microsoft.Resources/deployments/csmd4085?api-version=2019-10-01", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zL2I5ZjEzOGExLTFkNjQtNDEwOC04NDEzLTllYTNiZTFjMWIyZC9yZXNvdXJjZUdyb3Vwcy9TREstdGVzdC0wMS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50cy9jc21kNDA4NT9hcGktdmVyc2lvbj0yMDE5LTEwLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "16278260-f40b-471d-88e4-e7a9a0731410" + "9068d52b-dbad-4a48-868e-fdaddbbf135d" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.3.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ] }, "ResponseHeaders": { @@ -339,13 +339,13 @@ "11997" ], "x-ms-request-id": [ - "059eaf6c-a305-4f9c-b62f-94769b216f98" + "25cfb019-8441-406a-884d-a712baad6e17" ], "x-ms-correlation-request-id": [ - "059eaf6c-a305-4f9c-b62f-94769b216f98" + "25cfb019-8441-406a-884d-a712baad6e17" ], "x-ms-routing-request-id": [ - "WESTUS:20200218T182356Z:059eaf6c-a305-4f9c-b62f-94769b216f98" + "WESTUS2:20200506T213847Z:25cfb019-8441-406a-884d-a712baad6e17" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -354,7 +354,7 @@ "nosniff" ], "Date": [ - "Tue, 18 Feb 2020 18:23:55 GMT" + "Wed, 06 May 2020 21:38:47 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -366,26 +366,26 @@ "856" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/SDK-test-01/providers/Microsoft.Resources/deployments/csmd3957\",\r\n \"name\": \"csmd3957\",\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\"\r\n },\r\n \"properties\": {\r\n \"templateHash\": \"17146611848161502822\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"String\",\r\n \"value\": \"tianotest105\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-02-18T18:23:51.0800708Z\",\r\n \"duration\": \"PT25.1594508S\",\r\n \"correlationId\": \"955dba67-d787-418d-bc4d-e00ccb909454\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [],\r\n \"outputs\": {},\r\n \"outputResources\": [\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/SDK-test-01/providers/Microsoft.Storage/storageAccounts/tianotest105\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/SDK-test-01/providers/Microsoft.Resources/deployments/csmd4085\",\r\n \"name\": \"csmd4085\",\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\"\r\n },\r\n \"properties\": {\r\n \"templateHash\": \"17146611848161502822\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"String\",\r\n \"value\": \"tianotest105\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-05-06T21:38:36.8856596Z\",\r\n \"duration\": \"PT22.6885927S\",\r\n \"correlationId\": \"621c3b5c-17d1-4d47-b095-914be2895450\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Storage\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"storageAccounts\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [],\r\n \"outputs\": {},\r\n \"outputResources\": [\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/SDK-test-01/providers/Microsoft.Storage/storageAccounts/tianotest105\"\r\n }\r\n ]\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/%2Fsubscriptions%2Fb9f138a1-1d64-4108-8413-9ea3be1c1b2d%2FresourceGroups%2FSDK-test-01/providers/Microsoft.Resources/deployments/csmd3957/operations?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnN1YnNjcmlwdGlvbnMlMkZiOWYxMzhhMS0xZDY0LTQxMDgtODQxMy05ZWEzYmUxYzFiMmQlMkZyZXNvdXJjZUdyb3VwcyUyRlNESy10ZXN0LTAxL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRzL2NzbWQzOTU3L29wZXJhdGlvbnM/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", + "RequestUri": "//subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/SDK-test-01/providers/Microsoft.Resources/deployments/csmd4085/operations?api-version=2019-10-01", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zL2I5ZjEzOGExLTFkNjQtNDEwOC04NDEzLTllYTNiZTFjMWIyZC9yZXNvdXJjZUdyb3Vwcy9TREstdGVzdC0wMS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50cy9jc21kNDA4NS9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTktMTAtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ec713a8a-7f13-44e7-aeac-f21c1a4f4cb0" + "894388af-5e85-4889-95ed-a76afb16b154" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.3.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ] }, "ResponseHeaders": { @@ -399,13 +399,13 @@ "11996" ], "x-ms-request-id": [ - "2ab93aa9-0b67-4b89-bf53-aa6b90a67f17" + "e8a10b9d-3d57-4c8d-8bac-4cf25af65558" ], "x-ms-correlation-request-id": [ - "2ab93aa9-0b67-4b89-bf53-aa6b90a67f17" + "e8a10b9d-3d57-4c8d-8bac-4cf25af65558" ], "x-ms-routing-request-id": [ - "WESTUS:20200218T182356Z:2ab93aa9-0b67-4b89-bf53-aa6b90a67f17" + "WESTUS2:20200506T213848Z:e8a10b9d-3d57-4c8d-8bac-4cf25af65558" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -414,7 +414,7 @@ "nosniff" ], "Date": [ - "Tue, 18 Feb 2020 18:23:55 GMT" + "Wed, 06 May 2020 21:38:47 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -426,13 +426,13 @@ "1198" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/SDK-test-01/providers/Microsoft.Resources/deployments/csmd3957/operations/5F2380786A0315F1\",\r\n \"operationId\": \"5F2380786A0315F1\",\r\n \"properties\": {\r\n \"provisioningOperation\": \"Create\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-02-18T18:23:49.9683805Z\",\r\n \"duration\": \"PT23.7557877S\",\r\n \"trackingId\": \"dc3e1007-87e8-4b28-a3d9-344f7a7cc8ba\",\r\n \"serviceRequestId\": \"a0921963-8d28-4d75-aebb-dc1c87bddb83\",\r\n \"statusCode\": \"OK\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/SDK-test-01/providers/Microsoft.Storage/storageAccounts/tianotest105\",\r\n \"resourceType\": \"Microsoft.Storage/storageAccounts\",\r\n \"resourceName\": \"tianotest105\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/SDK-test-01/providers/Microsoft.Resources/deployments/csmd3957/operations/08586195566795569871\",\r\n \"operationId\": \"08586195566795569871\",\r\n \"properties\": {\r\n \"provisioningOperation\": \"EvaluateDeploymentOutput\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-02-18T18:23:50.7990162Z\",\r\n \"duration\": \"PT0.4187213S\",\r\n \"trackingId\": \"afbe240e-cf1c-42a7-945a-3206525427e7\",\r\n \"statusCode\": \"OK\",\r\n \"statusMessage\": null\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/SDK-test-01/providers/Microsoft.Resources/deployments/csmd4085/operations/5F2380786A0315F1\",\r\n \"operationId\": \"5F2380786A0315F1\",\r\n \"properties\": {\r\n \"provisioningOperation\": \"Create\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-05-06T21:38:36.7910899Z\",\r\n \"duration\": \"PT21.9653366S\",\r\n \"trackingId\": \"bd8326a4-6204-46b3-b5e1-cf3509392773\",\r\n \"serviceRequestId\": \"99ee61fd-f156-4d7c-8d2f-fe253d4e73f7\",\r\n \"statusCode\": \"OK\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/SDK-test-01/providers/Microsoft.Storage/storageAccounts/tianotest105\",\r\n \"resourceType\": \"Microsoft.Storage/storageAccounts\",\r\n \"resourceName\": \"tianotest105\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/SDK-test-01/providers/Microsoft.Resources/deployments/csmd4085/operations/08586128057912805430\",\r\n \"operationId\": \"08586128057912805430\",\r\n \"properties\": {\r\n \"provisioningOperation\": \"EvaluateDeploymentOutput\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-05-06T21:38:36.8577944Z\",\r\n \"duration\": \"PT0.0347137S\",\r\n \"trackingId\": \"5978c142-e0af-4abe-a64c-6d51b278982c\",\r\n \"statusCode\": \"OK\",\r\n \"statusMessage\": null\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 } ], "Names": { "DeploymentWithScope_AtResourceGroup": [ - "csmd3957" + "csmd4085" ] }, "Variables": { diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveDeploymentTests/DeploymentWithScope_AtSubscription.json b/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveDeploymentTests/DeploymentWithScope_AtSubscription.json index bcf6d49354d6..f512fd9bba67 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveDeploymentTests/DeploymentWithScope_AtSubscription.json +++ b/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveDeploymentTests/DeploymentWithScope_AtSubscription.json @@ -1,22 +1,22 @@ { "Entries": [ { - "RequestUri": "/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/resourcegroups/SDK-test?api-version=2019-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWZlOGY4MDMtNzE5MC00OGUzLWI0MWEtYmM0NTRlOGFhZDFhL3Jlc291cmNlZ3JvdXBzL1NESy10ZXN0P2FwaS12ZXJzaW9uPTIwMTktMTAtMDE=", + "RequestUri": "/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourcegroups/SDK-test?api-version=2019-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjlmMTM4YTEtMWQ2NC00MTA4LTg0MTMtOWVhM2JlMWMxYjJkL3Jlc291cmNlZ3JvdXBzL1NESy10ZXN0P2FwaS12ZXJzaW9uPTIwMTktMTAtMDE=", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"WestUS\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "f36385bb-7a63-4bf1-a153-f9c43d565d82" + "1c0bccaf-602a-412f-9923-a9d9b7e6fd54" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.3.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -36,13 +36,13 @@ "1199" ], "x-ms-request-id": [ - "e59d3be1-dc0b-4f48-b6f7-0fda24baf0a9" + "2fa580ac-9a52-4258-8131-7f82a089ae3f" ], "x-ms-correlation-request-id": [ - "e59d3be1-dc0b-4f48-b6f7-0fda24baf0a9" + "2fa580ac-9a52-4258-8131-7f82a089ae3f" ], "x-ms-routing-request-id": [ - "WESTUS:20200220T015627Z:e59d3be1-dc0b-4f48-b6f7-0fda24baf0a9" + "WESTUS2:20200506T213725Z:2fa580ac-9a52-4258-8131-7f82a089ae3f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,7 +51,7 @@ "nosniff" ], "Date": [ - "Thu, 20 Feb 2020 01:56:26 GMT" + "Wed, 06 May 2020 21:37:24 GMT" ], "Content-Length": [ "213" @@ -63,26 +63,26 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/resourceGroups/SDK-test\",\r\n \"name\": \"SDK-test\",\r\n \"type\": \"Microsoft.Resources/resourceGroups\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/SDK-test\",\r\n \"name\": \"SDK-test\",\r\n \"type\": \"Microsoft.Resources/resourceGroups\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "StatusCode": 201 }, { - "RequestUri": "/%2Fsubscriptions%2Fafe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/deployments/csmd3355/validate?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnN1YnNjcmlwdGlvbnMlMkZhZmU4ZjgwMy03MTkwLTQ4ZTMtYjQxYS1iYzQ1NGU4YWFkMWEvcHJvdmlkZXJzL01pY3Jvc29mdC5SZXNvdXJjZXMvZGVwbG95bWVudHMvY3NtZDMzNTUvdmFsaWRhdGU/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", + "RequestUri": "//subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/deployments/csmd2054/validate?api-version=2019-10-01", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zL2I5ZjEzOGExLTFkNjQtNDEwOC04NDEzLTllYTNiZTFjMWIyZC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50cy9jc21kMjA1NC92YWxpZGF0ZT9hcGktdmVyc2lvbj0yMDE5LTEwLTAx", "RequestMethod": "POST", "RequestBody": "{\r\n \"location\": \"WestUS\",\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"armbuilddemo1801\"\r\n }\r\n },\r\n \"variables\": {},\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"name\": \"policy2\",\r\n \"apiVersion\": \"2016-12-01\",\r\n \"properties\": {\r\n \"policyType\": \"Custom\",\r\n \"parameters\": {},\r\n \"policyRule\": {\r\n \"if\": {\r\n \"field\": \"location\",\r\n \"equals\": \"northeurope\"\r\n },\r\n \"then\": {\r\n \"effect\": \"deny\"\r\n }\r\n }\r\n }\r\n },\r\n {\r\n \"type\": \"Microsoft.Authorization/policyAssignments\",\r\n \"name\": \"location-lock\",\r\n \"apiVersion\": \"2016-12-01\",\r\n \"dependsOn\": [\r\n \"policy2\"\r\n ],\r\n \"properties\": {\r\n \"scope\": \"[subscription().id]\",\r\n \"policyDefinitionId\": \"[resourceId('Microsoft.Authorization/policyDefinitions', 'policy2')]\"\r\n }\r\n },\r\n {\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"name\": \"rg-nested\",\r\n \"apiVersion\": \"2017-05-10\",\r\n \"resourceGroup\": \"SDK-test\",\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"variables\": {},\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Storage/storageAccounts\",\r\n \"name\": \"[parameters('storageAccountName')]\",\r\n \"apiVersion\": \"2015-06-15\",\r\n \"location\": \"East US\",\r\n \"properties\": {\r\n \"accountType\": \"Standard_LRS\"\r\n }\r\n }\r\n ]\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"value\": \"armbuilddemo1803\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n },\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\"\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "6c986c1d-6435-4fc0-8252-4aa5e755fc7b" + "2839757f-ca1c-41bd-8caa-aa8f4307b861" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.3.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -102,13 +102,13 @@ "1199" ], "x-ms-request-id": [ - "91d77776-39d7-47c8-a84a-59fa14f69874" + "ea89630b-625e-4327-bc72-9cf5f81b81a4" ], "x-ms-correlation-request-id": [ - "91d77776-39d7-47c8-a84a-59fa14f69874" + "ea89630b-625e-4327-bc72-9cf5f81b81a4" ], "x-ms-routing-request-id": [ - "WESTUS:20200220T015627Z:91d77776-39d7-47c8-a84a-59fa14f69874" + "WESTUS2:20200506T213725Z:ea89630b-625e-4327-bc72-9cf5f81b81a4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -117,10 +117,10 @@ "nosniff" ], "Date": [ - "Thu, 20 Feb 2020 01:56:27 GMT" + "Wed, 06 May 2020 21:37:24 GMT" ], "Content-Length": [ - "1818" + "1819" ], "Content-Type": [ "application/json; charset=utf-8" @@ -129,26 +129,26 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/deployments/csmd3355\",\r\n \"name\": \"csmd3355\",\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\"\r\n },\r\n \"properties\": {\r\n \"templateHash\": \"17428175978634637131\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"String\",\r\n \"value\": \"armbuilddemo1803\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-02-20T01:56:27.756911Z\",\r\n \"duration\": \"PT0S\",\r\n \"correlationId\": \"91d77776-39d7-47c8-a84a-59fa14f69874\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"policyDefinitions\",\r\n \"locations\": [\r\n null\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"policyAssignments\",\r\n \"locations\": [\r\n null\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"deployments\",\r\n \"locations\": [\r\n null\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Authorization/policyDefinitions/policy2\",\r\n \"resourceType\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"resourceName\": \"policy2\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Authorization/policyAssignments/location-lock\",\r\n \"resourceType\": \"Microsoft.Authorization/policyAssignments\",\r\n \"resourceName\": \"location-lock\"\r\n }\r\n ],\r\n \"validatedResources\": [\r\n {\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Authorization/policyDefinitions/policy2\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Authorization/policyAssignments/location-lock\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/resourceGroups/SDK-test/providers/Microsoft.Resources/deployments/rg-nested\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/resourceGroups/SDK-test/providers/Microsoft.Storage/storageAccounts/armbuilddemo1803\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/deployments/csmd2054\",\r\n \"name\": \"csmd2054\",\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\"\r\n },\r\n \"properties\": {\r\n \"templateHash\": \"17428175978634637131\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"String\",\r\n \"value\": \"armbuilddemo1803\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-05-06T21:37:25.3941214Z\",\r\n \"duration\": \"PT0S\",\r\n \"correlationId\": \"ea89630b-625e-4327-bc72-9cf5f81b81a4\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"policyDefinitions\",\r\n \"locations\": [\r\n null\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"policyAssignments\",\r\n \"locations\": [\r\n null\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"deployments\",\r\n \"locations\": [\r\n null\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Authorization/policyDefinitions/policy2\",\r\n \"resourceType\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"resourceName\": \"policy2\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Authorization/policyAssignments/location-lock\",\r\n \"resourceType\": \"Microsoft.Authorization/policyAssignments\",\r\n \"resourceName\": \"location-lock\"\r\n }\r\n ],\r\n \"validatedResources\": [\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Authorization/policyDefinitions/policy2\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Authorization/policyAssignments/location-lock\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/SDK-test/providers/Microsoft.Resources/deployments/rg-nested\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/SDK-test/providers/Microsoft.Storage/storageAccounts/armbuilddemo1803\"\r\n }\r\n ]\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/%2Fsubscriptions%2Fafe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/deployments/csmd3355?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnN1YnNjcmlwdGlvbnMlMkZhZmU4ZjgwMy03MTkwLTQ4ZTMtYjQxYS1iYzQ1NGU4YWFkMWEvcHJvdmlkZXJzL01pY3Jvc29mdC5SZXNvdXJjZXMvZGVwbG95bWVudHMvY3NtZDMzNTU/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", + "RequestUri": "//subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/deployments/csmd2054?api-version=2019-10-01", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zL2I5ZjEzOGExLTFkNjQtNDEwOC04NDEzLTllYTNiZTFjMWIyZC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50cy9jc21kMjA1ND9hcGktdmVyc2lvbj0yMDE5LTEwLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"WestUS\",\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"string\",\r\n \"defaultValue\": \"armbuilddemo1801\"\r\n }\r\n },\r\n \"variables\": {},\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"name\": \"policy2\",\r\n \"apiVersion\": \"2016-12-01\",\r\n \"properties\": {\r\n \"policyType\": \"Custom\",\r\n \"parameters\": {},\r\n \"policyRule\": {\r\n \"if\": {\r\n \"field\": \"location\",\r\n \"equals\": \"northeurope\"\r\n },\r\n \"then\": {\r\n \"effect\": \"deny\"\r\n }\r\n }\r\n }\r\n },\r\n {\r\n \"type\": \"Microsoft.Authorization/policyAssignments\",\r\n \"name\": \"location-lock\",\r\n \"apiVersion\": \"2016-12-01\",\r\n \"dependsOn\": [\r\n \"policy2\"\r\n ],\r\n \"properties\": {\r\n \"scope\": \"[subscription().id]\",\r\n \"policyDefinitionId\": \"[resourceId('Microsoft.Authorization/policyDefinitions', 'policy2')]\"\r\n }\r\n },\r\n {\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"name\": \"rg-nested\",\r\n \"apiVersion\": \"2017-05-10\",\r\n \"resourceGroup\": \"SDK-test\",\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {},\r\n \"variables\": {},\r\n \"resources\": [\r\n {\r\n \"type\": \"Microsoft.Storage/storageAccounts\",\r\n \"name\": \"[parameters('storageAccountName')]\",\r\n \"apiVersion\": \"2015-06-15\",\r\n \"location\": \"East US\",\r\n \"properties\": {\r\n \"accountType\": \"Standard_LRS\"\r\n }\r\n }\r\n ]\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"value\": \"armbuilddemo1803\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n },\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\"\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "12b70d03-e033-4062-b236-2916d363f3b2" + "b98d61fa-b530-4a6f-9bc1-34fc9c6b7f3e" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.3.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -165,19 +165,19 @@ "no-cache" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/deployments/csmd3355/operationStatuses/08586194430974280267?api-version=2019-10-01" + "https://management.azure.com/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/deployments/csmd2054/operationStatuses/08586128058393232485?api-version=2019-10-01" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], "x-ms-request-id": [ - "50ff03ca-10b0-4e55-adb6-436e1a1aab36" + "7ce19a30-76d0-4e6e-bf2b-80391b164388" ], "x-ms-correlation-request-id": [ - "50ff03ca-10b0-4e55-adb6-436e1a1aab36" + "7ce19a30-76d0-4e6e-bf2b-80391b164388" ], "x-ms-routing-request-id": [ - "WESTUS:20200220T015628Z:50ff03ca-10b0-4e55-adb6-436e1a1aab36" + "WESTUS2:20200506T213727Z:7ce19a30-76d0-4e6e-bf2b-80391b164388" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -186,7 +186,7 @@ "nosniff" ], "Date": [ - "Thu, 20 Feb 2020 01:56:27 GMT" + "Wed, 06 May 2020 21:37:27 GMT" ], "Content-Length": [ "1272" @@ -198,20 +198,20 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/deployments/csmd3355\",\r\n \"name\": \"csmd3355\",\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\"\r\n },\r\n \"properties\": {\r\n \"templateHash\": \"17428175978634637131\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"String\",\r\n \"value\": \"armbuilddemo1803\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2020-02-20T01:56:28.1252587Z\",\r\n \"duration\": \"PT0.0756697S\",\r\n \"correlationId\": \"50ff03ca-10b0-4e55-adb6-436e1a1aab36\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"policyDefinitions\",\r\n \"locations\": [\r\n null\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"policyAssignments\",\r\n \"locations\": [\r\n null\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"deployments\",\r\n \"locations\": [\r\n null\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Authorization/policyDefinitions/policy2\",\r\n \"resourceType\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"resourceName\": \"policy2\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Authorization/policyAssignments/location-lock\",\r\n \"resourceType\": \"Microsoft.Authorization/policyAssignments\",\r\n \"resourceName\": \"location-lock\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/deployments/csmd2054\",\r\n \"name\": \"csmd2054\",\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\"\r\n },\r\n \"properties\": {\r\n \"templateHash\": \"17428175978634637131\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"String\",\r\n \"value\": \"armbuilddemo1803\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2020-05-06T21:37:26.7378822Z\",\r\n \"duration\": \"PT0.5835135S\",\r\n \"correlationId\": \"7ce19a30-76d0-4e6e-bf2b-80391b164388\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"policyDefinitions\",\r\n \"locations\": [\r\n null\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"policyAssignments\",\r\n \"locations\": [\r\n null\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"deployments\",\r\n \"locations\": [\r\n null\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Authorization/policyDefinitions/policy2\",\r\n \"resourceType\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"resourceName\": \"policy2\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Authorization/policyAssignments/location-lock\",\r\n \"resourceType\": \"Microsoft.Authorization/policyAssignments\",\r\n \"resourceName\": \"location-lock\"\r\n }\r\n ]\r\n }\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/deployments/csmd3355/operationStatuses/08586194430974280267?api-version=2019-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWZlOGY4MDMtNzE5MC00OGUzLWI0MWEtYmM0NTRlOGFhZDFhL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRzL2NzbWQzMzU1L29wZXJhdGlvblN0YXR1c2VzLzA4NTg2MTk0NDMwOTc0MjgwMjY3P2FwaS12ZXJzaW9uPTIwMTktMTAtMDE=", + "RequestUri": "/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/deployments/csmd2054/operationStatuses/08586128058393232485?api-version=2019-10-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYjlmMTM4YTEtMWQ2NC00MTA4LTg0MTMtOWVhM2JlMWMxYjJkL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRzL2NzbWQyMDU0L29wZXJhdGlvblN0YXR1c2VzLzA4NTg2MTI4MDU4MzkzMjMyNDg1P2FwaS12ZXJzaW9uPTIwMTktMTAtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.3.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ] }, "ResponseHeaders": { @@ -225,13 +225,13 @@ "11999" ], "x-ms-request-id": [ - "9dd5acfd-55a4-4987-b450-70632d43fc18" + "2ba2ec05-55ab-40a6-b6f7-bb0f1d2d8d6b" ], "x-ms-correlation-request-id": [ - "9dd5acfd-55a4-4987-b450-70632d43fc18" + "2ba2ec05-55ab-40a6-b6f7-bb0f1d2d8d6b" ], "x-ms-routing-request-id": [ - "WESTUS:20200220T015658Z:9dd5acfd-55a4-4987-b450-70632d43fc18" + "WESTUS2:20200506T213757Z:2ba2ec05-55ab-40a6-b6f7-bb0f1d2d8d6b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -240,115 +240,7 @@ "nosniff" ], "Date": [ - "Thu, 20 Feb 2020 01:56:57 GMT" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Content-Length": [ - "20" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Running\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/deployments/csmd3355/operationStatuses/08586194430974280267?api-version=2019-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWZlOGY4MDMtNzE5MC00OGUzLWI0MWEtYmM0NTRlOGFhZDFhL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRzL2NzbWQzMzU1L29wZXJhdGlvblN0YXR1c2VzLzA4NTg2MTk0NDMwOTc0MjgwMjY3P2FwaS12ZXJzaW9uPTIwMTktMTAtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28325.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.3.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11998" - ], - "x-ms-request-id": [ - "e0b753db-088f-40ed-be7d-2fb900b550df" - ], - "x-ms-correlation-request-id": [ - "e0b753db-088f-40ed-be7d-2fb900b550df" - ], - "x-ms-routing-request-id": [ - "WESTUS:20200220T015728Z:e0b753db-088f-40ed-be7d-2fb900b550df" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 20 Feb 2020 01:57:27 GMT" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Content-Length": [ - "20" - ] - }, - "ResponseBody": "{\r\n \"status\": \"Running\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/deployments/csmd3355/operationStatuses/08586194430974280267?api-version=2019-10-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWZlOGY4MDMtNzE5MC00OGUzLWI0MWEtYmM0NTRlOGFhZDFhL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL2RlcGxveW1lbnRzL2NzbWQzMzU1L29wZXJhdGlvblN0YXR1c2VzLzA4NTg2MTk0NDMwOTc0MjgwMjY3P2FwaS12ZXJzaW9uPTIwMTktMTAtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28325.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.3.0.0" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Pragma": [ - "no-cache" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11997" - ], - "x-ms-request-id": [ - "f06c3f43-1e7f-47fd-87eb-342eb2393f11" - ], - "x-ms-correlation-request-id": [ - "f06c3f43-1e7f-47fd-87eb-342eb2393f11" - ], - "x-ms-routing-request-id": [ - "WESTUS:20200220T015758Z:f06c3f43-1e7f-47fd-87eb-342eb2393f11" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Thu, 20 Feb 2020 01:57:57 GMT" + "Wed, 06 May 2020 21:37:56 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -364,16 +256,16 @@ "StatusCode": 200 }, { - "RequestUri": "/%2Fsubscriptions%2Fafe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/deployments/csmd3355?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnN1YnNjcmlwdGlvbnMlMkZhZmU4ZjgwMy03MTkwLTQ4ZTMtYjQxYS1iYzQ1NGU4YWFkMWEvcHJvdmlkZXJzL01pY3Jvc29mdC5SZXNvdXJjZXMvZGVwbG95bWVudHMvY3NtZDMzNTU/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", + "RequestUri": "//subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/deployments/csmd2054?api-version=2019-10-01", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zL2I5ZjEzOGExLTFkNjQtNDEwOC04NDEzLTllYTNiZTFjMWIyZC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50cy9jc21kMjA1ND9hcGktdmVyc2lvbj0yMDE5LTEwLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.3.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ] }, "ResponseHeaders": { @@ -384,16 +276,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11996" + "11998" ], "x-ms-request-id": [ - "321da783-a429-47d5-8496-28128349fea1" + "b739c737-5def-478c-8f71-6ef5de3768a2" ], "x-ms-correlation-request-id": [ - "321da783-a429-47d5-8496-28128349fea1" + "b739c737-5def-478c-8f71-6ef5de3768a2" ], "x-ms-routing-request-id": [ - "WESTUS:20200220T015758Z:321da783-a429-47d5-8496-28128349fea1" + "WESTUS2:20200506T213757Z:b739c737-5def-478c-8f71-6ef5de3768a2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -402,7 +294,7 @@ "nosniff" ], "Date": [ - "Thu, 20 Feb 2020 01:57:57 GMT" + "Wed, 06 May 2020 21:37:56 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -411,29 +303,29 @@ "-1" ], "Content-Length": [ - "1689" + "1687" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/deployments/csmd3355\",\r\n \"name\": \"csmd3355\",\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\"\r\n },\r\n \"properties\": {\r\n \"templateHash\": \"17428175978634637131\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"String\",\r\n \"value\": \"armbuilddemo1803\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-02-20T01:57:34.1976243Z\",\r\n \"duration\": \"PT1M6.1480353S\",\r\n \"correlationId\": \"50ff03ca-10b0-4e55-adb6-436e1a1aab36\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"policyDefinitions\",\r\n \"locations\": [\r\n null\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"policyAssignments\",\r\n \"locations\": [\r\n null\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"deployments\",\r\n \"locations\": [\r\n null\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Authorization/policyDefinitions/policy2\",\r\n \"resourceType\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"resourceName\": \"policy2\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Authorization/policyAssignments/location-lock\",\r\n \"resourceType\": \"Microsoft.Authorization/policyAssignments\",\r\n \"resourceName\": \"location-lock\"\r\n }\r\n ],\r\n \"outputResources\": [\r\n {\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Authorization/policyAssignments/location-lock\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Authorization/policyDefinitions/policy2\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/resourceGroups/SDK-test/providers/Microsoft.Storage/storageAccounts/armbuilddemo1803\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/deployments/csmd2054\",\r\n \"name\": \"csmd2054\",\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\"\r\n },\r\n \"properties\": {\r\n \"templateHash\": \"17428175978634637131\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"String\",\r\n \"value\": \"armbuilddemo1803\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-05-06T21:37:56.960968Z\",\r\n \"duration\": \"PT30.8065993S\",\r\n \"correlationId\": \"7ce19a30-76d0-4e6e-bf2b-80391b164388\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"policyDefinitions\",\r\n \"locations\": [\r\n null\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"policyAssignments\",\r\n \"locations\": [\r\n null\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"deployments\",\r\n \"locations\": [\r\n null\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Authorization/policyDefinitions/policy2\",\r\n \"resourceType\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"resourceName\": \"policy2\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Authorization/policyAssignments/location-lock\",\r\n \"resourceType\": \"Microsoft.Authorization/policyAssignments\",\r\n \"resourceName\": \"location-lock\"\r\n }\r\n ],\r\n \"outputResources\": [\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Authorization/policyAssignments/location-lock\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Authorization/policyDefinitions/policy2\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/SDK-test/providers/Microsoft.Storage/storageAccounts/armbuilddemo1803\"\r\n }\r\n ]\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/%2Fsubscriptions%2Fafe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/deployments/csmd3355?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnN1YnNjcmlwdGlvbnMlMkZhZmU4ZjgwMy03MTkwLTQ4ZTMtYjQxYS1iYzQ1NGU4YWFkMWEvcHJvdmlkZXJzL01pY3Jvc29mdC5SZXNvdXJjZXMvZGVwbG95bWVudHMvY3NtZDMzNTU/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", + "RequestUri": "//subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/deployments/csmd2054?api-version=2019-10-01", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zL2I5ZjEzOGExLTFkNjQtNDEwOC04NDEzLTllYTNiZTFjMWIyZC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50cy9jc21kMjA1ND9hcGktdmVyc2lvbj0yMDE5LTEwLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2419bd8b-a5c1-41e3-92b6-dc7fc97f71c9" + "bfe8df43-0be4-437c-94db-dce8492680b7" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.3.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ] }, "ResponseHeaders": { @@ -444,16 +336,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11995" + "11997" ], "x-ms-request-id": [ - "3c0b7b5e-41c9-4c97-b974-1c9425371d35" + "5278ab50-b79a-44d3-b9eb-d3a1f915fdef" ], "x-ms-correlation-request-id": [ - "3c0b7b5e-41c9-4c97-b974-1c9425371d35" + "5278ab50-b79a-44d3-b9eb-d3a1f915fdef" ], "x-ms-routing-request-id": [ - "WESTUS:20200220T015758Z:3c0b7b5e-41c9-4c97-b974-1c9425371d35" + "WESTUS2:20200506T213757Z:5278ab50-b79a-44d3-b9eb-d3a1f915fdef" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -462,7 +354,7 @@ "nosniff" ], "Date": [ - "Thu, 20 Feb 2020 01:57:57 GMT" + "Wed, 06 May 2020 21:37:56 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -471,29 +363,29 @@ "-1" ], "Content-Length": [ - "1689" + "1687" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/deployments/csmd3355\",\r\n \"name\": \"csmd3355\",\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\"\r\n },\r\n \"properties\": {\r\n \"templateHash\": \"17428175978634637131\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"String\",\r\n \"value\": \"armbuilddemo1803\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-02-20T01:57:34.1976243Z\",\r\n \"duration\": \"PT1M6.1480353S\",\r\n \"correlationId\": \"50ff03ca-10b0-4e55-adb6-436e1a1aab36\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"policyDefinitions\",\r\n \"locations\": [\r\n null\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"policyAssignments\",\r\n \"locations\": [\r\n null\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"deployments\",\r\n \"locations\": [\r\n null\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Authorization/policyDefinitions/policy2\",\r\n \"resourceType\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"resourceName\": \"policy2\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Authorization/policyAssignments/location-lock\",\r\n \"resourceType\": \"Microsoft.Authorization/policyAssignments\",\r\n \"resourceName\": \"location-lock\"\r\n }\r\n ],\r\n \"outputResources\": [\r\n {\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Authorization/policyAssignments/location-lock\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Authorization/policyDefinitions/policy2\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/resourceGroups/SDK-test/providers/Microsoft.Storage/storageAccounts/armbuilddemo1803\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/deployments/csmd2054\",\r\n \"name\": \"csmd2054\",\r\n \"type\": \"Microsoft.Resources/deployments\",\r\n \"location\": \"westus\",\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\"\r\n },\r\n \"properties\": {\r\n \"templateHash\": \"17428175978634637131\",\r\n \"parameters\": {\r\n \"storageAccountName\": {\r\n \"type\": \"String\",\r\n \"value\": \"armbuilddemo1803\"\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-05-06T21:37:56.960968Z\",\r\n \"duration\": \"PT30.8065993S\",\r\n \"correlationId\": \"7ce19a30-76d0-4e6e-bf2b-80391b164388\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Authorization\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"policyDefinitions\",\r\n \"locations\": [\r\n null\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"policyAssignments\",\r\n \"locations\": [\r\n null\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"namespace\": \"Microsoft.Resources\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"deployments\",\r\n \"locations\": [\r\n null\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [\r\n {\r\n \"dependsOn\": [\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Authorization/policyDefinitions/policy2\",\r\n \"resourceType\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"resourceName\": \"policy2\"\r\n }\r\n ],\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Authorization/policyAssignments/location-lock\",\r\n \"resourceType\": \"Microsoft.Authorization/policyAssignments\",\r\n \"resourceName\": \"location-lock\"\r\n }\r\n ],\r\n \"outputResources\": [\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Authorization/policyAssignments/location-lock\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Authorization/policyDefinitions/policy2\"\r\n },\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/SDK-test/providers/Microsoft.Storage/storageAccounts/armbuilddemo1803\"\r\n }\r\n ]\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/%2Fsubscriptions%2Fafe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/deployments/csmd3355/operations?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnN1YnNjcmlwdGlvbnMlMkZhZmU4ZjgwMy03MTkwLTQ4ZTMtYjQxYS1iYzQ1NGU4YWFkMWEvcHJvdmlkZXJzL01pY3Jvc29mdC5SZXNvdXJjZXMvZGVwbG95bWVudHMvY3NtZDMzNTUvb3BlcmF0aW9ucz9hcGktdmVyc2lvbj0yMDE5LTEwLTAx", + "RequestUri": "//subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/deployments/csmd2054/operations?api-version=2019-10-01", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zL2I5ZjEzOGExLTFkNjQtNDEwOC04NDEzLTllYTNiZTFjMWIyZC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy9kZXBsb3ltZW50cy9jc21kMjA1NC9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTktMTAtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "f347498e-a874-48c4-b117-f41ffeef5cc0" + "47d3d6a9-158b-4db7-bdbf-492bfcc0434b" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.3.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ] }, "ResponseHeaders": { @@ -504,16 +396,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11994" + "11996" ], "x-ms-request-id": [ - "5e654ca2-389c-4dab-aa60-83468acbe8ef" + "8ab5e0eb-682d-45cd-8317-f317cd2207f5" ], "x-ms-correlation-request-id": [ - "5e654ca2-389c-4dab-aa60-83468acbe8ef" + "8ab5e0eb-682d-45cd-8317-f317cd2207f5" ], "x-ms-routing-request-id": [ - "WESTUS:20200220T015758Z:5e654ca2-389c-4dab-aa60-83468acbe8ef" + "WESTUS2:20200506T213757Z:8ab5e0eb-682d-45cd-8317-f317cd2207f5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -522,7 +414,7 @@ "nosniff" ], "Date": [ - "Thu, 20 Feb 2020 01:57:57 GMT" + "Wed, 06 May 2020 21:37:56 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -531,19 +423,19 @@ "-1" ], "Content-Length": [ - "2512" + "2510" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/deployments/csmd3355/operations/D7966D9AD1E8DFAA\",\r\n \"operationId\": \"D7966D9AD1E8DFAA\",\r\n \"properties\": {\r\n \"provisioningOperation\": \"Create\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-02-20T01:57:02.6217593Z\",\r\n \"duration\": \"PT0.4226405S\",\r\n \"trackingId\": \"df380056-0d9f-46b6-a279-fbe6804f0d11\",\r\n \"serviceRequestId\": \"eastus:03399cd6-58ae-4e93-94a6-01a9634f5d14\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Authorization/policyAssignments/location-lock\",\r\n \"resourceType\": \"Microsoft.Authorization/policyAssignments\",\r\n \"resourceName\": \"location-lock\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/deployments/csmd3355/operations/6CAB46D9D8096697\",\r\n \"operationId\": \"6CAB46D9D8096697\",\r\n \"properties\": {\r\n \"provisioningOperation\": \"Create\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-02-20T01:57:01.6900585Z\",\r\n \"duration\": \"PT0.5013616S\",\r\n \"trackingId\": \"04686272-ffbe-4ac7-8caf-01ecfad22af3\",\r\n \"serviceRequestId\": \"eastus:0c30b5c5-21dd-43de-a4f2-802831e7ace1\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Authorization/policyDefinitions/policy2\",\r\n \"resourceType\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"resourceName\": \"policy2\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/deployments/csmd3355/operations/5E246AAA02B33A22\",\r\n \"operationId\": \"5E246AAA02B33A22\",\r\n \"properties\": {\r\n \"provisioningOperation\": \"Create\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-02-20T01:57:29.6916522Z\",\r\n \"duration\": \"PT1M1.2077174S\",\r\n \"trackingId\": \"b749c399-e801-440e-919b-684a617e5571\",\r\n \"serviceRequestId\": \"b52b26db-c9f8-4e51-8c1f-3fd87bc72e95\",\r\n \"statusCode\": \"OK\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/resourceGroups/SDK-test/providers/Microsoft.Resources/deployments/rg-nested\",\r\n \"resourceType\": \"Microsoft.Resources/deployments\",\r\n \"resourceName\": \"rg-nested\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/deployments/csmd3355/operations/08586194430974280267\",\r\n \"operationId\": \"08586194430974280267\",\r\n \"properties\": {\r\n \"provisioningOperation\": \"EvaluateDeploymentOutput\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-02-20T01:57:33.9877587Z\",\r\n \"duration\": \"PT0.6931029S\",\r\n \"trackingId\": \"027e93ef-ab5d-4d1c-84c6-7b522c7ea97b\",\r\n \"statusCode\": \"OK\",\r\n \"statusMessage\": null\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/deployments/csmd2054/operations/6ED18CB97CF805BD\",\r\n \"operationId\": \"6ED18CB97CF805BD\",\r\n \"properties\": {\r\n \"provisioningOperation\": \"Create\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-05-06T21:37:56.8430212Z\",\r\n \"duration\": \"PT28.8034901S\",\r\n \"trackingId\": \"9e9c021e-decd-429c-bd9c-21991a0f5d0f\",\r\n \"serviceRequestId\": \"81c6f609-c14e-41e8-ba2b-cb33b32cf23b\",\r\n \"statusCode\": \"OK\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/SDK-test/providers/Microsoft.Resources/deployments/rg-nested\",\r\n \"resourceType\": \"Microsoft.Resources/deployments\",\r\n \"resourceName\": \"rg-nested\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/deployments/csmd2054/operations/09447EC139317AB8\",\r\n \"operationId\": \"09447EC139317AB8\",\r\n \"properties\": {\r\n \"provisioningOperation\": \"Create\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-05-06T21:37:29.3924691Z\",\r\n \"duration\": \"PT0.421784S\",\r\n \"trackingId\": \"623b8d21-a85f-4a8a-bd2a-f1d1ee3fd165\",\r\n \"serviceRequestId\": \"eastus:cce8bc8f-e2ff-4a8b-9ca9-9265aca39b63\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Authorization/policyAssignments/location-lock\",\r\n \"resourceType\": \"Microsoft.Authorization/policyAssignments\",\r\n \"resourceName\": \"location-lock\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/deployments/csmd2054/operations/AB21198855D61D27\",\r\n \"operationId\": \"AB21198855D61D27\",\r\n \"properties\": {\r\n \"provisioningOperation\": \"Create\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-05-06T21:37:28.6907128Z\",\r\n \"duration\": \"PT0.6511817S\",\r\n \"trackingId\": \"ffbde090-9d58-414c-a8fd-79ae636c22dc\",\r\n \"serviceRequestId\": \"eastus:169b961f-d85a-459c-9b13-3ee1c7ceaba6\",\r\n \"statusCode\": \"Created\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Authorization/policyDefinitions/policy2\",\r\n \"resourceType\": \"Microsoft.Authorization/policyDefinitions\",\r\n \"resourceName\": \"policy2\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/deployments/csmd2054/operations/08586128058393232485\",\r\n \"operationId\": \"08586128058393232485\",\r\n \"properties\": {\r\n \"provisioningOperation\": \"EvaluateDeploymentOutput\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2020-05-06T21:37:56.9449575Z\",\r\n \"duration\": \"PT0.0637888S\",\r\n \"trackingId\": \"6d9e17c7-9926-4b04-be11-d39fe29bf064\",\r\n \"statusCode\": \"OK\",\r\n \"statusMessage\": null\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 } ], "Names": { "DeploymentWithScope_AtSubscription": [ - "csmd3355" + "csmd2054" ] }, "Variables": { - "SubscriptionId": "afe8f803-7190-48e3-b41a-bc454e8aad1a" + "SubscriptionId": "b9f138a1-1d64-4108-8413-9ea3be1c1b2d" } } \ No newline at end of file diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveTagsTests/CreateTagsWithSubscriptionTest.json b/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveTagsTests/CreateTagsWithSubscriptionTest.json index 78ea11d2290f..10cd256acb6d 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveTagsTests/CreateTagsWithSubscriptionTest.json +++ b/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveTagsTests/CreateTagsWithSubscriptionTest.json @@ -1,22 +1,22 @@ { "Entries": [ { - "RequestUri": "/%2Fsubscriptions%2Fafe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnN1YnNjcmlwdGlvbnMlMkZhZmU4ZjgwMy03MTkwLTQ4ZTMtYjQxYS1iYzQ1NGU4YWFkMWEvcHJvdmlkZXJzL01pY3Jvc29mdC5SZXNvdXJjZXMvdGFncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMTAtMDE=", + "RequestUri": "//subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zL2I5ZjEzOGExLTFkNjQtNDEwOC04NDEzLTllYTNiZTFjMWIyZC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90YWdzL2RlZmF1bHQ/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\",\r\n \"tagKey2\": \"tagValue2\"\r\n }\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "38e772d2-89d4-44fe-a3a7-519e87f3cad2" + "840ef361-c9c5-4923-8b5d-84063eb85a1b" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.4.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -33,16 +33,16 @@ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "1199" ], "x-ms-request-id": [ - "b49e278c-0b56-4f09-961e-ec3f4e4e0f0a" + "2b4cc5e4-b8c5-439d-abb8-4a53e9933e49" ], "x-ms-correlation-request-id": [ - "b49e278c-0b56-4f09-961e-ec3f4e4e0f0a" + "2b4cc5e4-b8c5-439d-abb8-4a53e9933e49" ], "x-ms-routing-request-id": [ - "WESTUS:20200228T174533Z:b49e278c-0b56-4f09-961e-ec3f4e4e0f0a" + "WESTUS2:20200506T210128Z:2b4cc5e4-b8c5-439d-abb8-4a53e9933e49" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,7 +51,7 @@ "nosniff" ], "Date": [ - "Fri, 28 Feb 2020 17:45:32 GMT" + "Wed, 06 May 2020 21:01:28 GMT" ], "Content-Length": [ "222" @@ -63,12 +63,12 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\",\r\n \"tagKey2\": \"tagValue2\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\",\r\n \"tagKey2\": \"tagValue2\"\r\n }\r\n }\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "afe8f803-7190-48e3-b41a-bc454e8aad1a" + "SubscriptionId": "b9f138a1-1d64-4108-8413-9ea3be1c1b2d" } } \ No newline at end of file diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveTagsTests/CreateTagsWithTrackedResourcesTest.json b/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveTagsTests/CreateTagsWithTrackedResourcesTest.json index 7b128a2702c1..ebd07cba502a 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveTagsTests/CreateTagsWithTrackedResourcesTest.json +++ b/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveTagsTests/CreateTagsWithTrackedResourcesTest.json @@ -1,22 +1,22 @@ { "Entries": [ { - "RequestUri": "/%2Fsubscriptions%2Fafe8f803-7190-48e3-b41a-bc454e8aad1a%2Fresourcegroups%2FTagsApiSDK%2Fproviders%2FMicrosoft.Compute%2FvirtualMachines%2FTagTestVM/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnN1YnNjcmlwdGlvbnMlMkZhZmU4ZjgwMy03MTkwLTQ4ZTMtYjQxYS1iYzQ1NGU4YWFkMWElMkZyZXNvdXJjZWdyb3VwcyUyRlRhZ3NBcGlTREslMkZwcm92aWRlcnMlMkZNaWNyb3NvZnQuQ29tcHV0ZSUyRnZpcnR1YWxNYWNoaW5lcyUyRlRhZ1Rlc3RWTS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90YWdzL2RlZmF1bHQ/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", + "RequestUri": "//subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourcegroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zL2I5ZjEzOGExLTFkNjQtNDEwOC04NDEzLTllYTNiZTFjMWIyZC9yZXNvdXJjZWdyb3Vwcy9UYWdzQXBpU0RLL3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZXMvVGFnVGVzdFZNL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL3RhZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE5LTEwLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\",\r\n \"tagKey2\": \"tagValue2\"\r\n }\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "44e915c4-ac75-42db-a7a7-c2f02a6c2122" + "2a3480b6-4226-4226-92f6-e1123eb05e29" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.4.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -36,13 +36,13 @@ "1199" ], "x-ms-request-id": [ - "de2976b2-1e46-4980-8d23-5284dfd4d54f" + "3b1c0f62-5f09-47f1-8bdc-89a1d1d14a1f" ], "x-ms-correlation-request-id": [ - "de2976b2-1e46-4980-8d23-5284dfd4d54f" + "3b1c0f62-5f09-47f1-8bdc-89a1d1d14a1f" ], "x-ms-routing-request-id": [ - "WESTUS:20200228T174513Z:de2976b2-1e46-4980-8d23-5284dfd4d54f" + "WESTUS2:20200506T211703Z:3b1c0f62-5f09-47f1-8bdc-89a1d1d14a1f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,7 +51,7 @@ "nosniff" ], "Date": [ - "Fri, 28 Feb 2020 17:45:13 GMT" + "Wed, 06 May 2020 21:17:02 GMT" ], "Content-Length": [ "302" @@ -63,12 +63,12 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/resourceGroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\",\r\n \"tagKey2\": \"tagValue2\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\",\r\n \"tagKey2\": \"tagValue2\"\r\n }\r\n }\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "afe8f803-7190-48e3-b41a-bc454e8aad1a" + "SubscriptionId": "b9f138a1-1d64-4108-8413-9ea3be1c1b2d" } } \ No newline at end of file diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveTagsTests/DeleteTagsWithSubscriptionTest.json b/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveTagsTests/DeleteTagsWithSubscriptionTest.json index 04ac31b1b5fa..c885216b7e46 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveTagsTests/DeleteTagsWithSubscriptionTest.json +++ b/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveTagsTests/DeleteTagsWithSubscriptionTest.json @@ -1,22 +1,22 @@ { "Entries": [ { - "RequestUri": "/%2Fsubscriptions%2Fafe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnN1YnNjcmlwdGlvbnMlMkZhZmU4ZjgwMy03MTkwLTQ4ZTMtYjQxYS1iYzQ1NGU4YWFkMWEvcHJvdmlkZXJzL01pY3Jvc29mdC5SZXNvdXJjZXMvdGFncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMTAtMDE=", + "RequestUri": "//subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zL2I5ZjEzOGExLTFkNjQtNDEwOC04NDEzLTllYTNiZTFjMWIyZC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90YWdzL2RlZmF1bHQ/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\",\r\n \"tagKey2\": \"tagValue2\"\r\n }\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "bdd91293-6583-435d-8185-bddc96e73fee" + "fbbaf56b-5693-46ce-a446-333a8a92ab2d" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.4.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -36,13 +36,13 @@ "1199" ], "x-ms-request-id": [ - "2a0aca98-f30d-4174-9eff-1aebc88c1d39" + "db87f707-4770-492c-91b2-058c75208c6d" ], "x-ms-correlation-request-id": [ - "2a0aca98-f30d-4174-9eff-1aebc88c1d39" + "db87f707-4770-492c-91b2-058c75208c6d" ], "x-ms-routing-request-id": [ - "WESTUS:20200228T174444Z:2a0aca98-f30d-4174-9eff-1aebc88c1d39" + "WESTUS2:20200506T211714Z:db87f707-4770-492c-91b2-058c75208c6d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,7 +51,7 @@ "nosniff" ], "Date": [ - "Fri, 28 Feb 2020 17:44:43 GMT" + "Wed, 06 May 2020 21:17:14 GMT" ], "Content-Length": [ "222" @@ -63,26 +63,26 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\",\r\n \"tagKey2\": \"tagValue2\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\",\r\n \"tagKey2\": \"tagValue2\"\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/%2Fsubscriptions%2Fafe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnN1YnNjcmlwdGlvbnMlMkZhZmU4ZjgwMy03MTkwLTQ4ZTMtYjQxYS1iYzQ1NGU4YWFkMWEvcHJvdmlkZXJzL01pY3Jvc29mdC5SZXNvdXJjZXMvdGFncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMTAtMDE=", + "RequestUri": "//subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zL2I5ZjEzOGExLTFkNjQtNDEwOC04NDEzLTllYTNiZTFjMWIyZC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90YWdzL2RlZmF1bHQ/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "d6242a43-9102-4622-9688-d2112c125d4f" + "d63bae2a-5df5-4d78-9052-0621a24ff0b5" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.4.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ] }, "ResponseHeaders": { @@ -96,13 +96,13 @@ "14999" ], "x-ms-request-id": [ - "6eb78291-d5c7-463a-9ef1-b04f56db05c8" + "16818c1b-a2ee-4f04-847b-07c83da81d73" ], "x-ms-correlation-request-id": [ - "6eb78291-d5c7-463a-9ef1-b04f56db05c8" + "16818c1b-a2ee-4f04-847b-07c83da81d73" ], "x-ms-routing-request-id": [ - "WESTUS:20200228T174447Z:6eb78291-d5c7-463a-9ef1-b04f56db05c8" + "WESTUS2:20200506T211718Z:16818c1b-a2ee-4f04-847b-07c83da81d73" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -111,7 +111,7 @@ "nosniff" ], "Date": [ - "Fri, 28 Feb 2020 17:44:46 GMT" + "Wed, 06 May 2020 21:17:17 GMT" ], "Expires": [ "-1" @@ -124,22 +124,22 @@ "StatusCode": 200 }, { - "RequestUri": "/%2Fsubscriptions%2Fafe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnN1YnNjcmlwdGlvbnMlMkZhZmU4ZjgwMy03MTkwLTQ4ZTMtYjQxYS1iYzQ1NGU4YWFkMWEvcHJvdmlkZXJzL01pY3Jvc29mdC5SZXNvdXJjZXMvdGFncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMTAtMDE=", + "RequestUri": "//subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zL2I5ZjEzOGExLTFkNjQtNDEwOC04NDEzLTllYTNiZTFjMWIyZC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90YWdzL2RlZmF1bHQ/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "e6d711b3-8a9b-44ba-acee-96e6ed8d9f2e" + "53c40b24-c4d4-4f4c-a889-ed6d19f40d0f" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.4.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ] }, "ResponseHeaders": { @@ -153,13 +153,13 @@ "11999" ], "x-ms-request-id": [ - "a25cd098-1fcd-415d-a496-ceaef40e9703" + "c1e05874-df9b-4642-9912-695cd842585a" ], "x-ms-correlation-request-id": [ - "a25cd098-1fcd-415d-a496-ceaef40e9703" + "c1e05874-df9b-4642-9912-695cd842585a" ], "x-ms-routing-request-id": [ - "WESTUS:20200228T174450Z:a25cd098-1fcd-415d-a496-ceaef40e9703" + "WESTUS2:20200506T211721Z:c1e05874-df9b-4642-9912-695cd842585a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -168,7 +168,7 @@ "nosniff" ], "Date": [ - "Fri, 28 Feb 2020 17:44:49 GMT" + "Wed, 06 May 2020 21:17:20 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -180,12 +180,12 @@ "170" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {}\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {}\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "afe8f803-7190-48e3-b41a-bc454e8aad1a" + "SubscriptionId": "b9f138a1-1d64-4108-8413-9ea3be1c1b2d" } } \ No newline at end of file diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveTagsTests/DeleteTagsWithTrackedResourcesTest.json b/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveTagsTests/DeleteTagsWithTrackedResourcesTest.json index 48fbd06eb850..f37c6387baad 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveTagsTests/DeleteTagsWithTrackedResourcesTest.json +++ b/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveTagsTests/DeleteTagsWithTrackedResourcesTest.json @@ -1,22 +1,22 @@ { "Entries": [ { - "RequestUri": "/%2Fsubscriptions%2Fafe8f803-7190-48e3-b41a-bc454e8aad1a%2Fresourcegroups%2FTagsApiSDK%2Fproviders%2FMicrosoft.Compute%2FvirtualMachines%2FTagTestVM/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnN1YnNjcmlwdGlvbnMlMkZhZmU4ZjgwMy03MTkwLTQ4ZTMtYjQxYS1iYzQ1NGU4YWFkMWElMkZyZXNvdXJjZWdyb3VwcyUyRlRhZ3NBcGlTREslMkZwcm92aWRlcnMlMkZNaWNyb3NvZnQuQ29tcHV0ZSUyRnZpcnR1YWxNYWNoaW5lcyUyRlRhZ1Rlc3RWTS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90YWdzL2RlZmF1bHQ/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", + "RequestUri": "//subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourcegroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zL2I5ZjEzOGExLTFkNjQtNDEwOC04NDEzLTllYTNiZTFjMWIyZC9yZXNvdXJjZWdyb3Vwcy9UYWdzQXBpU0RLL3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZXMvVGFnVGVzdFZNL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL3RhZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE5LTEwLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\",\r\n \"tagKey2\": \"tagValue2\"\r\n }\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "26c79ab6-09b9-444a-8cb9-a43b430be871" + "9c87ab71-077c-4f52-867f-8fc46c1dac3d" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.4.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -36,13 +36,13 @@ "1199" ], "x-ms-request-id": [ - "64b8d3ce-51bb-4cf1-86ff-4581951e6a96" + "c963916f-e68a-4f7e-9c79-c6fcacab8feb" ], "x-ms-correlation-request-id": [ - "64b8d3ce-51bb-4cf1-86ff-4581951e6a96" + "c963916f-e68a-4f7e-9c79-c6fcacab8feb" ], "x-ms-routing-request-id": [ - "WESTUS:20200228T174457Z:64b8d3ce-51bb-4cf1-86ff-4581951e6a96" + "WESTUS2:20200506T211730Z:c963916f-e68a-4f7e-9c79-c6fcacab8feb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,7 +51,7 @@ "nosniff" ], "Date": [ - "Fri, 28 Feb 2020 17:44:57 GMT" + "Wed, 06 May 2020 21:17:29 GMT" ], "Content-Length": [ "302" @@ -63,26 +63,26 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/resourceGroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\",\r\n \"tagKey2\": \"tagValue2\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\",\r\n \"tagKey2\": \"tagValue2\"\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/%2Fsubscriptions%2Fafe8f803-7190-48e3-b41a-bc454e8aad1a%2Fresourcegroups%2FTagsApiSDK%2Fproviders%2FMicrosoft.Compute%2FvirtualMachines%2FTagTestVM/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnN1YnNjcmlwdGlvbnMlMkZhZmU4ZjgwMy03MTkwLTQ4ZTMtYjQxYS1iYzQ1NGU4YWFkMWElMkZyZXNvdXJjZWdyb3VwcyUyRlRhZ3NBcGlTREslMkZwcm92aWRlcnMlMkZNaWNyb3NvZnQuQ29tcHV0ZSUyRnZpcnR1YWxNYWNoaW5lcyUyRlRhZ1Rlc3RWTS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90YWdzL2RlZmF1bHQ/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", + "RequestUri": "//subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourcegroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zL2I5ZjEzOGExLTFkNjQtNDEwOC04NDEzLTllYTNiZTFjMWIyZC9yZXNvdXJjZWdyb3Vwcy9UYWdzQXBpU0RLL3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZXMvVGFnVGVzdFZNL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL3RhZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE5LTEwLTAx", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "09bbf8fc-d26b-4515-a696-682cd781a6ad" + "066bbe0c-afa6-448a-9195-7df734cbd5c9" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.4.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ] }, "ResponseHeaders": { @@ -96,13 +96,13 @@ "14999" ], "x-ms-request-id": [ - "86c99b71-7e3e-4601-98cd-0676314af5ac" + "959c88db-770b-4aa4-a4b7-24c9ea54fbf4" ], "x-ms-correlation-request-id": [ - "86c99b71-7e3e-4601-98cd-0676314af5ac" + "959c88db-770b-4aa4-a4b7-24c9ea54fbf4" ], "x-ms-routing-request-id": [ - "WESTUS:20200228T174501Z:86c99b71-7e3e-4601-98cd-0676314af5ac" + "WESTUS2:20200506T211734Z:959c88db-770b-4aa4-a4b7-24c9ea54fbf4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -111,7 +111,7 @@ "nosniff" ], "Date": [ - "Fri, 28 Feb 2020 17:45:01 GMT" + "Wed, 06 May 2020 21:17:34 GMT" ], "Expires": [ "-1" @@ -124,22 +124,22 @@ "StatusCode": 200 }, { - "RequestUri": "/%2Fsubscriptions%2Fafe8f803-7190-48e3-b41a-bc454e8aad1a%2Fresourcegroups%2FTagsApiSDK%2Fproviders%2FMicrosoft.Compute%2FvirtualMachines%2FTagTestVM/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnN1YnNjcmlwdGlvbnMlMkZhZmU4ZjgwMy03MTkwLTQ4ZTMtYjQxYS1iYzQ1NGU4YWFkMWElMkZyZXNvdXJjZWdyb3VwcyUyRlRhZ3NBcGlTREslMkZwcm92aWRlcnMlMkZNaWNyb3NvZnQuQ29tcHV0ZSUyRnZpcnR1YWxNYWNoaW5lcyUyRlRhZ1Rlc3RWTS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90YWdzL2RlZmF1bHQ/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", + "RequestUri": "//subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourcegroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zL2I5ZjEzOGExLTFkNjQtNDEwOC04NDEzLTllYTNiZTFjMWIyZC9yZXNvdXJjZWdyb3Vwcy9UYWdzQXBpU0RLL3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZXMvVGFnVGVzdFZNL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL3RhZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE5LTEwLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "e457e616-d986-471f-bdbc-d2748af99304" + "79f0da3c-2817-40df-a915-746ca05071cd" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.4.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ] }, "ResponseHeaders": { @@ -153,13 +153,13 @@ "11999" ], "x-ms-request-id": [ - "3cad5058-77d0-4e7c-8bd8-7b2e16a636b5" + "ac01ff62-d855-434e-b226-068290002561" ], "x-ms-correlation-request-id": [ - "3cad5058-77d0-4e7c-8bd8-7b2e16a636b5" + "ac01ff62-d855-434e-b226-068290002561" ], "x-ms-routing-request-id": [ - "WESTUS:20200228T174504Z:3cad5058-77d0-4e7c-8bd8-7b2e16a636b5" + "WESTUS2:20200506T211737Z:ac01ff62-d855-434e-b226-068290002561" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -168,7 +168,7 @@ "nosniff" ], "Date": [ - "Fri, 28 Feb 2020 17:45:04 GMT" + "Wed, 06 May 2020 21:17:37 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -180,12 +180,12 @@ "259" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/resourceGroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {}\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {}\r\n }\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "afe8f803-7190-48e3-b41a-bc454e8aad1a" + "SubscriptionId": "b9f138a1-1d64-4108-8413-9ea3be1c1b2d" } } \ No newline at end of file diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveTagsTests/GetTagsWithSubscriptionTest.json b/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveTagsTests/GetTagsWithSubscriptionTest.json index 7c46f27c72c6..c89e453d3174 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveTagsTests/GetTagsWithSubscriptionTest.json +++ b/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveTagsTests/GetTagsWithSubscriptionTest.json @@ -1,22 +1,22 @@ { "Entries": [ { - "RequestUri": "/%2Fsubscriptions%2Fafe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnN1YnNjcmlwdGlvbnMlMkZhZmU4ZjgwMy03MTkwLTQ4ZTMtYjQxYS1iYzQ1NGU4YWFkMWEvcHJvdmlkZXJzL01pY3Jvc29mdC5SZXNvdXJjZXMvdGFncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMTAtMDE=", + "RequestUri": "//subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zL2I5ZjEzOGExLTFkNjQtNDEwOC04NDEzLTllYTNiZTFjMWIyZC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90YWdzL2RlZmF1bHQ/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\",\r\n \"tagKey2\": \"tagValue2\"\r\n }\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "ff3264cb-7f12-41e7-b817-6e9ac1f8035e" + "04f2cfee-f5f3-40fe-8ce4-1290f57ef0e4" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.4.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -36,13 +36,13 @@ "1199" ], "x-ms-request-id": [ - "3a762301-afc2-476f-bcf8-9e2018e3b0d7" + "91765915-f04f-475d-820e-868f7e2325bc" ], "x-ms-correlation-request-id": [ - "3a762301-afc2-476f-bcf8-9e2018e3b0d7" + "91765915-f04f-475d-820e-868f7e2325bc" ], "x-ms-routing-request-id": [ - "WESTUS:20200228T174526Z:3a762301-afc2-476f-bcf8-9e2018e3b0d7" + "WESTUS2:20200506T211748Z:91765915-f04f-475d-820e-868f7e2325bc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,7 +51,7 @@ "nosniff" ], "Date": [ - "Fri, 28 Feb 2020 17:45:26 GMT" + "Wed, 06 May 2020 21:17:47 GMT" ], "Content-Length": [ "222" @@ -63,26 +63,26 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\",\r\n \"tagKey2\": \"tagValue2\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\",\r\n \"tagKey2\": \"tagValue2\"\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/%2Fsubscriptions%2Fafe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnN1YnNjcmlwdGlvbnMlMkZhZmU4ZjgwMy03MTkwLTQ4ZTMtYjQxYS1iYzQ1NGU4YWFkMWEvcHJvdmlkZXJzL01pY3Jvc29mdC5SZXNvdXJjZXMvdGFncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMTAtMDE=", + "RequestUri": "//subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zL2I5ZjEzOGExLTFkNjQtNDEwOC04NDEzLTllYTNiZTFjMWIyZC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90YWdzL2RlZmF1bHQ/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "f0c35129-1932-4fc0-bd5f-abda0e4a4605" + "e9d13a49-5326-4385-9426-5b8c076b628b" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.4.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ] }, "ResponseHeaders": { @@ -96,13 +96,13 @@ "11999" ], "x-ms-request-id": [ - "093358e9-5a6b-4c6a-9f25-495932dc6c30" + "92893938-7395-4dcb-a393-3262d0c2c9ca" ], "x-ms-correlation-request-id": [ - "093358e9-5a6b-4c6a-9f25-495932dc6c30" + "92893938-7395-4dcb-a393-3262d0c2c9ca" ], "x-ms-routing-request-id": [ - "WESTUS:20200228T174529Z:093358e9-5a6b-4c6a-9f25-495932dc6c30" + "WESTUS2:20200506T211751Z:92893938-7395-4dcb-a393-3262d0c2c9ca" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -111,7 +111,7 @@ "nosniff" ], "Date": [ - "Fri, 28 Feb 2020 17:45:29 GMT" + "Wed, 06 May 2020 21:17:51 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -123,12 +123,12 @@ "222" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\",\r\n \"tagKey2\": \"tagValue2\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\",\r\n \"tagKey2\": \"tagValue2\"\r\n }\r\n }\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "afe8f803-7190-48e3-b41a-bc454e8aad1a" + "SubscriptionId": "b9f138a1-1d64-4108-8413-9ea3be1c1b2d" } } \ No newline at end of file diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveTagsTests/GetTagsWithTrackedResourcesTest.json b/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveTagsTests/GetTagsWithTrackedResourcesTest.json index 2aa1bb76cba5..744d4b0f5bb5 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveTagsTests/GetTagsWithTrackedResourcesTest.json +++ b/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveTagsTests/GetTagsWithTrackedResourcesTest.json @@ -1,22 +1,22 @@ { "Entries": [ { - "RequestUri": "/%2Fsubscriptions%2Fafe8f803-7190-48e3-b41a-bc454e8aad1a%2Fresourcegroups%2FTagsApiSDK%2Fproviders%2FMicrosoft.Compute%2FvirtualMachines%2FTagTestVM/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnN1YnNjcmlwdGlvbnMlMkZhZmU4ZjgwMy03MTkwLTQ4ZTMtYjQxYS1iYzQ1NGU4YWFkMWElMkZyZXNvdXJjZWdyb3VwcyUyRlRhZ3NBcGlTREslMkZwcm92aWRlcnMlMkZNaWNyb3NvZnQuQ29tcHV0ZSUyRnZpcnR1YWxNYWNoaW5lcyUyRlRhZ1Rlc3RWTS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90YWdzL2RlZmF1bHQ/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", + "RequestUri": "//subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourcegroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zL2I5ZjEzOGExLTFkNjQtNDEwOC04NDEzLTllYTNiZTFjMWIyZC9yZXNvdXJjZWdyb3Vwcy9UYWdzQXBpU0RLL3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZXMvVGFnVGVzdFZNL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL3RhZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE5LTEwLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\",\r\n \"tagKey2\": \"tagValue2\"\r\n }\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "041f9340-d101-4bd4-9b12-746f1cd78677" + "a3ea8502-df6b-4a8b-9879-3e3db9f81f07" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.4.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -36,13 +36,13 @@ "1199" ], "x-ms-request-id": [ - "6d58c67d-f121-4ede-b6c6-9ea68bea065c" + "ec591200-9dab-41a7-beed-594d1f334c46" ], "x-ms-correlation-request-id": [ - "6d58c67d-f121-4ede-b6c6-9ea68bea065c" + "ec591200-9dab-41a7-beed-594d1f334c46" ], "x-ms-routing-request-id": [ - "WESTUS:20200228T174507Z:6d58c67d-f121-4ede-b6c6-9ea68bea065c" + "WESTUS2:20200506T211823Z:ec591200-9dab-41a7-beed-594d1f334c46" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,7 +51,7 @@ "nosniff" ], "Date": [ - "Fri, 28 Feb 2020 17:45:06 GMT" + "Wed, 06 May 2020 21:18:23 GMT" ], "Content-Length": [ "302" @@ -63,26 +63,26 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/resourceGroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\",\r\n \"tagKey2\": \"tagValue2\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\",\r\n \"tagKey2\": \"tagValue2\"\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/%2Fsubscriptions%2Fafe8f803-7190-48e3-b41a-bc454e8aad1a%2Fresourcegroups%2FTagsApiSDK%2Fproviders%2FMicrosoft.Compute%2FvirtualMachines%2FTagTestVM/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnN1YnNjcmlwdGlvbnMlMkZhZmU4ZjgwMy03MTkwLTQ4ZTMtYjQxYS1iYzQ1NGU4YWFkMWElMkZyZXNvdXJjZWdyb3VwcyUyRlRhZ3NBcGlTREslMkZwcm92aWRlcnMlMkZNaWNyb3NvZnQuQ29tcHV0ZSUyRnZpcnR1YWxNYWNoaW5lcyUyRlRhZ1Rlc3RWTS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90YWdzL2RlZmF1bHQ/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", + "RequestUri": "//subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourcegroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zL2I5ZjEzOGExLTFkNjQtNDEwOC04NDEzLTllYTNiZTFjMWIyZC9yZXNvdXJjZWdyb3Vwcy9UYWdzQXBpU0RLL3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZXMvVGFnVGVzdFZNL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL3RhZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE5LTEwLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "0bb64346-2a4d-475e-90fc-8b6ba19f3a8a" + "0ab0b09d-4457-4597-8df7-e42beb1095f9" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.4.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ] }, "ResponseHeaders": { @@ -96,13 +96,13 @@ "11999" ], "x-ms-request-id": [ - "e316771e-8aaf-454e-bdc0-60a65e6b4a5b" + "23b10d46-6c52-49ae-a401-a368de9c6f96" ], "x-ms-correlation-request-id": [ - "e316771e-8aaf-454e-bdc0-60a65e6b4a5b" + "23b10d46-6c52-49ae-a401-a368de9c6f96" ], "x-ms-routing-request-id": [ - "WESTUS:20200228T174510Z:e316771e-8aaf-454e-bdc0-60a65e6b4a5b" + "WESTUS2:20200506T211827Z:23b10d46-6c52-49ae-a401-a368de9c6f96" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -111,7 +111,7 @@ "nosniff" ], "Date": [ - "Fri, 28 Feb 2020 17:45:09 GMT" + "Wed, 06 May 2020 21:18:27 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -123,12 +123,12 @@ "302" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/resourceGroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\",\r\n \"tagKey2\": \"tagValue2\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\",\r\n \"tagKey2\": \"tagValue2\"\r\n }\r\n }\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "afe8f803-7190-48e3-b41a-bc454e8aad1a" + "SubscriptionId": "b9f138a1-1d64-4108-8413-9ea3be1c1b2d" } } \ No newline at end of file diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveTagsTests/UpdateTagsWithSubscriptionTest.json b/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveTagsTests/UpdateTagsWithSubscriptionTest.json index 4480bb142d03..a907cdde1b2e 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveTagsTests/UpdateTagsWithSubscriptionTest.json +++ b/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveTagsTests/UpdateTagsWithSubscriptionTest.json @@ -1,22 +1,22 @@ { "Entries": [ { - "RequestUri": "/%2Fsubscriptions%2Fafe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnN1YnNjcmlwdGlvbnMlMkZhZmU4ZjgwMy03MTkwLTQ4ZTMtYjQxYS1iYzQ1NGU4YWFkMWEvcHJvdmlkZXJzL01pY3Jvc29mdC5SZXNvdXJjZXMvdGFncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMTAtMDE=", + "RequestUri": "//subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zL2I5ZjEzOGExLTFkNjQtNDEwOC04NDEzLTllYTNiZTFjMWIyZC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90YWdzL2RlZmF1bHQ/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\",\r\n \"tagKey2\": \"tagValue2\"\r\n }\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "62633c68-eea7-4ce6-8481-3382aa1e03d4" + "09660d8a-07f1-4596-aca0-b817ba90b53c" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.4.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -36,13 +36,13 @@ "1199" ], "x-ms-request-id": [ - "74394805-ab79-4539-b821-82754e19d938" + "f465712b-c16b-42c0-85e0-add262bd4845" ], "x-ms-correlation-request-id": [ - "74394805-ab79-4539-b821-82754e19d938" + "f465712b-c16b-42c0-85e0-add262bd4845" ], "x-ms-routing-request-id": [ - "WESTUS:20200228T174451Z:74394805-ab79-4539-b821-82754e19d938" + "WESTUS2:20200506T211836Z:f465712b-c16b-42c0-85e0-add262bd4845" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,7 +51,7 @@ "nosniff" ], "Date": [ - "Fri, 28 Feb 2020 17:44:50 GMT" + "Wed, 06 May 2020 21:18:36 GMT" ], "Content-Length": [ "222" @@ -63,26 +63,26 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\",\r\n \"tagKey2\": \"tagValue2\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\",\r\n \"tagKey2\": \"tagValue2\"\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/%2Fsubscriptions%2Fafe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnN1YnNjcmlwdGlvbnMlMkZhZmU4ZjgwMy03MTkwLTQ4ZTMtYjQxYS1iYzQ1NGU4YWFkMWEvcHJvdmlkZXJzL01pY3Jvc29mdC5SZXNvdXJjZXMvdGFncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMTAtMDE=", + "RequestUri": "//subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zL2I5ZjEzOGExLTFkNjQtNDEwOC04NDEzLTllYTNiZTFjMWIyZC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90YWdzL2RlZmF1bHQ/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", "RequestMethod": "PATCH", "RequestBody": "{\r\n \"operation\": \"Merge\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue3\",\r\n \"tagKey3\": \"tagValue3\"\r\n }\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "dadbb647-190c-4cb0-b5ce-52c2c8f778c1" + "9d0f46fc-a091-4446-bbfb-5b40d0d8b18b" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.4.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -102,13 +102,13 @@ "1198" ], "x-ms-request-id": [ - "d507d0f6-d12e-43e4-9ddd-af5833aecda8" + "4bdebe65-4062-43cb-b5a1-49f7767f933c" ], "x-ms-correlation-request-id": [ - "d507d0f6-d12e-43e4-9ddd-af5833aecda8" + "4bdebe65-4062-43cb-b5a1-49f7767f933c" ], "x-ms-routing-request-id": [ - "WESTUS:20200228T174454Z:d507d0f6-d12e-43e4-9ddd-af5833aecda8" + "WESTUS2:20200506T211840Z:4bdebe65-4062-43cb-b5a1-49f7767f933c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -117,7 +117,7 @@ "nosniff" ], "Date": [ - "Fri, 28 Feb 2020 17:44:53 GMT" + "Wed, 06 May 2020 21:18:40 GMT" ], "Content-Length": [ "244" @@ -129,26 +129,26 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue3\",\r\n \"tagKey2\": \"tagValue2\",\r\n \"tagKey3\": \"tagValue3\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue3\",\r\n \"tagKey2\": \"tagValue2\",\r\n \"tagKey3\": \"tagValue3\"\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/%2Fsubscriptions%2Fafe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnN1YnNjcmlwdGlvbnMlMkZhZmU4ZjgwMy03MTkwLTQ4ZTMtYjQxYS1iYzQ1NGU4YWFkMWEvcHJvdmlkZXJzL01pY3Jvc29mdC5SZXNvdXJjZXMvdGFncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMTAtMDE=", + "RequestUri": "//subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zL2I5ZjEzOGExLTFkNjQtNDEwOC04NDEzLTllYTNiZTFjMWIyZC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90YWdzL2RlZmF1bHQ/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", "RequestMethod": "PATCH", "RequestBody": "{\r\n \"operation\": \"Replace\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue3\",\r\n \"tagKey3\": \"tagValue3\"\r\n }\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "57235c4a-24ea-417c-9163-e2429216eec7" + "d7529de4-386b-4edc-b4c0-a393a6d24ab8" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.4.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -168,13 +168,13 @@ "1197" ], "x-ms-request-id": [ - "f0effd4c-a57c-4801-896b-6504c8f6ca9c" + "8d9fdbba-e235-41a4-90f8-a3356d1e42e0" ], "x-ms-correlation-request-id": [ - "f0effd4c-a57c-4801-896b-6504c8f6ca9c" + "8d9fdbba-e235-41a4-90f8-a3356d1e42e0" ], "x-ms-routing-request-id": [ - "WESTUS:20200228T174454Z:f0effd4c-a57c-4801-896b-6504c8f6ca9c" + "WESTUS2:20200506T211840Z:8d9fdbba-e235-41a4-90f8-a3356d1e42e0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -183,7 +183,7 @@ "nosniff" ], "Date": [ - "Fri, 28 Feb 2020 17:44:54 GMT" + "Wed, 06 May 2020 21:18:40 GMT" ], "Content-Length": [ "222" @@ -195,26 +195,26 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue3\",\r\n \"tagKey3\": \"tagValue3\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue3\",\r\n \"tagKey3\": \"tagValue3\"\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/%2Fsubscriptions%2Fafe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnN1YnNjcmlwdGlvbnMlMkZhZmU4ZjgwMy03MTkwLTQ4ZTMtYjQxYS1iYzQ1NGU4YWFkMWEvcHJvdmlkZXJzL01pY3Jvc29mdC5SZXNvdXJjZXMvdGFncy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTktMTAtMDE=", + "RequestUri": "//subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zL2I5ZjEzOGExLTFkNjQtNDEwOC04NDEzLTllYTNiZTFjMWIyZC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90YWdzL2RlZmF1bHQ/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", "RequestMethod": "PATCH", "RequestBody": "{\r\n \"operation\": \"Delete\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue3\",\r\n \"tagKey3\": \"tagValue3\"\r\n }\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "f1010228-2766-424c-81db-8d27644eb162" + "f6e8933f-85ce-4bf6-9a21-9761fd9c954d" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.4.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -234,13 +234,13 @@ "1196" ], "x-ms-request-id": [ - "d78eb49e-8e8c-4463-b517-c3bbfcfb7b32" + "ac04d482-22b0-4fc8-aef8-4fece7b64660" ], "x-ms-correlation-request-id": [ - "d78eb49e-8e8c-4463-b517-c3bbfcfb7b32" + "ac04d482-22b0-4fc8-aef8-4fece7b64660" ], "x-ms-routing-request-id": [ - "WESTUS:20200228T174454Z:d78eb49e-8e8c-4463-b517-c3bbfcfb7b32" + "WESTUS2:20200506T211840Z:ac04d482-22b0-4fc8-aef8-4fece7b64660" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -249,7 +249,7 @@ "nosniff" ], "Date": [ - "Fri, 28 Feb 2020 17:44:54 GMT" + "Wed, 06 May 2020 21:18:40 GMT" ], "Content-Length": [ "179" @@ -261,12 +261,12 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {}\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {}\r\n }\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "afe8f803-7190-48e3-b41a-bc454e8aad1a" + "SubscriptionId": "b9f138a1-1d64-4108-8413-9ea3be1c1b2d" } } \ No newline at end of file diff --git a/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveTagsTests/UpdateTagsWithTrackedResourcesTest.json b/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveTagsTests/UpdateTagsWithTrackedResourcesTest.json index 33685879560c..f008ceebbda3 100644 --- a/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveTagsTests/UpdateTagsWithTrackedResourcesTest.json +++ b/sdk/resources/Microsoft.Azure.Management.Resource/tests/SessionRecords/LiveTagsTests/UpdateTagsWithTrackedResourcesTest.json @@ -1,22 +1,22 @@ { "Entries": [ { - "RequestUri": "/%2Fsubscriptions%2Fafe8f803-7190-48e3-b41a-bc454e8aad1a%2Fresourcegroups%2FTagsApiSDK%2Fproviders%2FMicrosoft.Compute%2FvirtualMachines%2FTagTestVM/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnN1YnNjcmlwdGlvbnMlMkZhZmU4ZjgwMy03MTkwLTQ4ZTMtYjQxYS1iYzQ1NGU4YWFkMWElMkZyZXNvdXJjZWdyb3VwcyUyRlRhZ3NBcGlTREslMkZwcm92aWRlcnMlMkZNaWNyb3NvZnQuQ29tcHV0ZSUyRnZpcnR1YWxNYWNoaW5lcyUyRlRhZ1Rlc3RWTS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90YWdzL2RlZmF1bHQ/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", + "RequestUri": "//subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourcegroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zL2I5ZjEzOGExLTFkNjQtNDEwOC04NDEzLTllYTNiZTFjMWIyZC9yZXNvdXJjZWdyb3Vwcy9UYWdzQXBpU0RLL3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZXMvVGFnVGVzdFZNL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL3RhZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE5LTEwLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\",\r\n \"tagKey2\": \"tagValue2\"\r\n }\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "90e26219-7527-4dbf-859a-298da6d0cf65" + "f63b00eb-defd-49ae-90cc-9ee1ffa9e310" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.4.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -36,13 +36,13 @@ "1199" ], "x-ms-request-id": [ - "1a66b9a4-b366-4b04-974e-4b0ead479c01" + "44c32d25-81c5-4669-837c-2d38c3eecdb1" ], "x-ms-correlation-request-id": [ - "1a66b9a4-b366-4b04-974e-4b0ead479c01" + "44c32d25-81c5-4669-837c-2d38c3eecdb1" ], "x-ms-routing-request-id": [ - "WESTUS:20200228T174516Z:1a66b9a4-b366-4b04-974e-4b0ead479c01" + "WESTUS2:20200506T211850Z:44c32d25-81c5-4669-837c-2d38c3eecdb1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -51,7 +51,7 @@ "nosniff" ], "Date": [ - "Fri, 28 Feb 2020 17:45:16 GMT" + "Wed, 06 May 2020 21:18:50 GMT" ], "Content-Length": [ "302" @@ -63,26 +63,26 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/resourceGroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\",\r\n \"tagKey2\": \"tagValue2\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue1\",\r\n \"tagKey2\": \"tagValue2\"\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/%2Fsubscriptions%2Fafe8f803-7190-48e3-b41a-bc454e8aad1a%2Fresourcegroups%2FTagsApiSDK%2Fproviders%2FMicrosoft.Compute%2FvirtualMachines%2FTagTestVM/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnN1YnNjcmlwdGlvbnMlMkZhZmU4ZjgwMy03MTkwLTQ4ZTMtYjQxYS1iYzQ1NGU4YWFkMWElMkZyZXNvdXJjZWdyb3VwcyUyRlRhZ3NBcGlTREslMkZwcm92aWRlcnMlMkZNaWNyb3NvZnQuQ29tcHV0ZSUyRnZpcnR1YWxNYWNoaW5lcyUyRlRhZ1Rlc3RWTS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90YWdzL2RlZmF1bHQ/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", + "RequestUri": "//subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourcegroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zL2I5ZjEzOGExLTFkNjQtNDEwOC04NDEzLTllYTNiZTFjMWIyZC9yZXNvdXJjZWdyb3Vwcy9UYWdzQXBpU0RLL3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZXMvVGFnVGVzdFZNL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL3RhZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE5LTEwLTAx", "RequestMethod": "PATCH", "RequestBody": "{\r\n \"operation\": \"Merge\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue3\",\r\n \"tagKey3\": \"tagValue3\"\r\n }\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "fd1ae952-9302-43ff-93c7-091a98e8ada6" + "6d1a40de-9f37-4a5c-ab67-0048b69d5f5c" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.4.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -102,13 +102,13 @@ "1198" ], "x-ms-request-id": [ - "c80ad949-df87-421f-9630-3e8d3f1904f5" + "0c040188-064c-4412-960f-dc7beadf9a13" ], "x-ms-correlation-request-id": [ - "c80ad949-df87-421f-9630-3e8d3f1904f5" + "0c040188-064c-4412-960f-dc7beadf9a13" ], "x-ms-routing-request-id": [ - "WESTUS:20200228T174520Z:c80ad949-df87-421f-9630-3e8d3f1904f5" + "WESTUS2:20200506T211854Z:0c040188-064c-4412-960f-dc7beadf9a13" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -117,7 +117,7 @@ "nosniff" ], "Date": [ - "Fri, 28 Feb 2020 17:45:20 GMT" + "Wed, 06 May 2020 21:18:54 GMT" ], "Content-Length": [ "324" @@ -129,26 +129,26 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/resourceGroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue3\",\r\n \"tagKey2\": \"tagValue2\",\r\n \"tagKey3\": \"tagValue3\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue3\",\r\n \"tagKey2\": \"tagValue2\",\r\n \"tagKey3\": \"tagValue3\"\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/%2Fsubscriptions%2Fafe8f803-7190-48e3-b41a-bc454e8aad1a%2Fresourcegroups%2FTagsApiSDK%2Fproviders%2FMicrosoft.Compute%2FvirtualMachines%2FTagTestVM/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnN1YnNjcmlwdGlvbnMlMkZhZmU4ZjgwMy03MTkwLTQ4ZTMtYjQxYS1iYzQ1NGU4YWFkMWElMkZyZXNvdXJjZWdyb3VwcyUyRlRhZ3NBcGlTREslMkZwcm92aWRlcnMlMkZNaWNyb3NvZnQuQ29tcHV0ZSUyRnZpcnR1YWxNYWNoaW5lcyUyRlRhZ1Rlc3RWTS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90YWdzL2RlZmF1bHQ/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", + "RequestUri": "//subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourcegroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zL2I5ZjEzOGExLTFkNjQtNDEwOC04NDEzLTllYTNiZTFjMWIyZC9yZXNvdXJjZWdyb3Vwcy9UYWdzQXBpU0RLL3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZXMvVGFnVGVzdFZNL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL3RhZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE5LTEwLTAx", "RequestMethod": "PATCH", "RequestBody": "{\r\n \"operation\": \"Replace\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue3\",\r\n \"tagKey3\": \"tagValue3\"\r\n }\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "c015ab22-69d7-4591-bd1f-15ed716ee654" + "132ab424-d342-41aa-91e7-07165e1cd3d7" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.4.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -168,13 +168,13 @@ "1197" ], "x-ms-request-id": [ - "2f1ff05d-a475-40d4-ba95-70c62cb7d3d3" + "611f7e57-4db2-400b-a20f-1f5d47d9ee2a" ], "x-ms-correlation-request-id": [ - "2f1ff05d-a475-40d4-ba95-70c62cb7d3d3" + "611f7e57-4db2-400b-a20f-1f5d47d9ee2a" ], "x-ms-routing-request-id": [ - "WESTUS:20200228T174521Z:2f1ff05d-a475-40d4-ba95-70c62cb7d3d3" + "WESTUS2:20200506T211855Z:611f7e57-4db2-400b-a20f-1f5d47d9ee2a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -183,7 +183,7 @@ "nosniff" ], "Date": [ - "Fri, 28 Feb 2020 17:45:21 GMT" + "Wed, 06 May 2020 21:18:55 GMT" ], "Content-Length": [ "302" @@ -195,26 +195,26 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/resourceGroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue3\",\r\n \"tagKey3\": \"tagValue3\"\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue3\",\r\n \"tagKey3\": \"tagValue3\"\r\n }\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/%2Fsubscriptions%2Fafe8f803-7190-48e3-b41a-bc454e8aad1a%2Fresourcegroups%2FTagsApiSDK%2Fproviders%2FMicrosoft.Compute%2FvirtualMachines%2FTagTestVM/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", - "EncodedRequestUri": "LyUyRnN1YnNjcmlwdGlvbnMlMkZhZmU4ZjgwMy03MTkwLTQ4ZTMtYjQxYS1iYzQ1NGU4YWFkMWElMkZyZXNvdXJjZWdyb3VwcyUyRlRhZ3NBcGlTREslMkZwcm92aWRlcnMlMkZNaWNyb3NvZnQuQ29tcHV0ZSUyRnZpcnR1YWxNYWNoaW5lcyUyRlRhZ1Rlc3RWTS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlc291cmNlcy90YWdzL2RlZmF1bHQ/YXBpLXZlcnNpb249MjAxOS0xMC0wMQ==", + "RequestUri": "//subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourcegroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM/providers/Microsoft.Resources/tags/default?api-version=2019-10-01", + "EncodedRequestUri": "Ly9zdWJzY3JpcHRpb25zL2I5ZjEzOGExLTFkNjQtNDEwOC04NDEzLTllYTNiZTFjMWIyZC9yZXNvdXJjZWdyb3Vwcy9UYWdzQXBpU0RLL3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS92aXJ0dWFsTWFjaGluZXMvVGFnVGVzdFZNL3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVzb3VyY2VzL3RhZ3MvZGVmYXVsdD9hcGktdmVyc2lvbj0yMDE5LTEwLTAx", "RequestMethod": "PATCH", "RequestBody": "{\r\n \"operation\": \"Delete\",\r\n \"properties\": {\r\n \"tags\": {\r\n \"tagKey1\": \"tagValue3\",\r\n \"tagKey3\": \"tagValue3\"\r\n }\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "0a2c4862-91e4-4cb6-9844-4ed2d53c9fb8" + "1a534e26-7e38-40ee-90c2-1960e0eed61b" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28325.01", + "FxVersion/4.6.28619.01", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.4.0.0" + "Microsoft.Azure.Management.ResourceManager.ResourceManagementClient/3.7.1.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -234,13 +234,13 @@ "1196" ], "x-ms-request-id": [ - "7d1fe21b-c0cc-4228-a239-70ac1db41ad4" + "a442f255-a5b4-459f-a2b5-1b844fe12b74" ], "x-ms-correlation-request-id": [ - "7d1fe21b-c0cc-4228-a239-70ac1db41ad4" + "a442f255-a5b4-459f-a2b5-1b844fe12b74" ], "x-ms-routing-request-id": [ - "WESTUS:20200228T174522Z:7d1fe21b-c0cc-4228-a239-70ac1db41ad4" + "WESTUS2:20200506T211855Z:a442f255-a5b4-459f-a2b5-1b844fe12b74" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -249,7 +249,7 @@ "nosniff" ], "Date": [ - "Fri, 28 Feb 2020 17:45:22 GMT" + "Wed, 06 May 2020 21:18:55 GMT" ], "Content-Length": [ "259" @@ -261,12 +261,12 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/afe8f803-7190-48e3-b41a-bc454e8aad1a/resourceGroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {}\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/b9f138a1-1d64-4108-8413-9ea3be1c1b2d/resourceGroups/TagsApiSDK/providers/Microsoft.Compute/virtualMachines/TagTestVM/providers/Microsoft.Resources/tags/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Resources/tags\",\r\n \"properties\": {\r\n \"tags\": {}\r\n }\r\n}", "StatusCode": 200 } ], "Names": {}, "Variables": { - "SubscriptionId": "afe8f803-7190-48e3-b41a-bc454e8aad1a" + "SubscriptionId": "b9f138a1-1d64-4108-8413-9ea3be1c1b2d" } } \ No newline at end of file