From 10f6ad0c6416ee7b84427b30a3068fec2005e6aa Mon Sep 17 00:00:00 2001 From: YalinLi0312 Date: Wed, 24 Mar 2021 16:18:02 -0700 Subject: [PATCH 1/9] Change the accessbility to virtual for Resource.Id --- .../Azure.ResourceManager.Core/src/Resources/Resource.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Resources/Resource.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Resources/Resource.cs index 86a35ac05cf7..a8638d1c689b 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Resources/Resource.cs +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Resources/Resource.cs @@ -14,7 +14,7 @@ public abstract class Resource : IEquatable, IEquatable, IComp /// /// Gets or sets the resource identifier. /// - public abstract ResourceIdentifier Id { get; protected set; } + public virtual ResourceIdentifier Id { get; protected set; } /// /// Gets the name. From 32767e018563b3219e591cd9da73b2a873b26fb8 Mon Sep 17 00:00:00 2001 From: Jonathan Cardenas Date: Fri, 30 Apr 2021 17:24:25 -0700 Subject: [PATCH 2/9] GetGenericResourceOperations extension method implementation --- .../src/Extensions/ARMClientExtensions.cs | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 sdk/resourcemanager/Azure.ResourceManager.Core/src/Extensions/ARMClientExtensions.cs diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Extensions/ARMClientExtensions.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Extensions/ARMClientExtensions.cs new file mode 100644 index 000000000000..d125bc94c4ed --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Extensions/ARMClientExtensions.cs @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; +using System.Collections.Generic; +using System.Text; + +namespace Azure.ResourceManager.Core +{ + /// + /// A class of extensions for the ARM Client. + /// + public static class ARMClientExtensions + { + /// + /// Get the operations for an specif resource. + /// + /// + /// The ID of the resource to retrieve. + /// + public static GenericResourceOperations GetGenericResourceOperations(this ArmClient client, string id) + { + return new GenericResourceOperations(client.DefaultSubscription, id); + } + } +} From b10aee26e1e60abab8fbb14a6577c590af0dac77 Mon Sep 17 00:00:00 2001 From: Jonathan Cardenas Date: Fri, 30 Apr 2021 18:05:53 -0700 Subject: [PATCH 3/9] Create ArmClientTests.cs --- .../tests/Scenario/ArmClientTests.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ArmClientTests.cs diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ArmClientTests.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ArmClientTests.cs new file mode 100644 index 000000000000..9fd7d2bad1bb --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ArmClientTests.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Azure.ResourceManager.Core.Tests.Scenario +{ + class ArmClientTests + { + } +} From 47bbbfef6d72c30c1a78cbb6d4071d783638013e Mon Sep 17 00:00:00 2001 From: Jonathan Cardenas Date: Wed, 12 May 2021 15:41:43 -0700 Subject: [PATCH 4/9] Scenario Tests --- .../src/Extensions/ARMClientExtensions.cs | 17 +++- .../tests/Scenario/ArmClientTests.cs | 90 ++++++++++++++++++- 2 files changed, 103 insertions(+), 4 deletions(-) diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Extensions/ARMClientExtensions.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Extensions/ARMClientExtensions.cs index d125bc94c4ed..352c9e27ff5d 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Extensions/ARMClientExtensions.cs +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Extensions/ARMClientExtensions.cs @@ -3,6 +3,7 @@ using System; using System.Collections.Generic; +using System.Linq; using System.Text; namespace Azure.ResourceManager.Core @@ -16,11 +17,21 @@ public static class ARMClientExtensions /// Get the operations for an specif resource. /// /// - /// The ID of the resource to retrieve. + /// A list of the IDs of the resources to retrieve. /// - public static GenericResourceOperations GetGenericResourceOperations(this ArmClient client, string id) + public static List GetGenericResourceOperations(this ArmClient client, List ids) { - return new GenericResourceOperations(client.DefaultSubscription, id); + if (ids == null || !ids.Any()) + { + throw new ArgumentNullException(nameof(ids)); + } + + var genericRespirceOperations = new List(); + foreach (string id in ids) + { + genericRespirceOperations.Add(new GenericResourceOperations(client.DefaultSubscription, id)); + } + return genericRespirceOperations; } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ArmClientTests.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ArmClientTests.cs index 9fd7d2bad1bb..e6bfb42058ad 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ArmClientTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ArmClientTests.cs @@ -2,11 +2,99 @@ using System.Collections.Generic; using System.Linq; using System.Text; +using NUnit.Framework; using System.Threading.Tasks; +using Azure.Core.TestFramework; namespace Azure.ResourceManager.Core.Tests.Scenario { - class ArmClientTests + class ArmClientTests : ResourceManagerTestBase { + private string _rgName; + private readonly string _location = "southcentralus"; + + public ArmClientTests(bool isAsync) + : base(isAsync) + { + } + + [OneTimeSetUp] + public async Task LocalOneTimeSetup() + { + _rgName = SessionRecording.GenerateAssetName("testRg-"); + var subscription = await GlobalClient.GetSubscriptions().TryGetAsync(SessionEnvironment.SubscriptionId); + _ = subscription.GetResourceGroups().Construct(_location).StartCreateOrUpdateAsync(_rgName).ConfigureAwait(false).GetAwaiter().GetResult().Value; + StopSessionRecording(); + } + + [TestCase] + public void GetGenericOperationsTests() + { + var ids = new List() + { + $"/subscriptions/{TestEnvironment.SubscriptionId}/resourceGroups/foo-1/", + $"/subscriptions/{TestEnvironment.SubscriptionId}/resourceGroups/foo-2/", + $"/subscriptions/{TestEnvironment.SubscriptionId}/resourceGroups/foo-3/", + $"/subscriptions/{TestEnvironment.SubscriptionId}/resourceGroups/foo-4/" + }; + + var genericResourceOperationsList = Client.GetGenericResourceOperations(ids); + + foreach(GenericResourceOperations operations in genericResourceOperationsList) + { + Assert.AreEqual(operations.Id, ids[0]); + ids.RemoveAt(0); + } + } + + [TestCase] + [RecordedTest] + public async Task GetGenericOperationsWithValidResource() + { + var ids = new List() + { + $"/subscriptions/{TestEnvironment.SubscriptionId}/resourceGroups/{_rgName}/" + }; + + var genericResourceOperationsList = Client.GetGenericResourceOperations(ids); + + foreach (GenericResourceOperations operations in genericResourceOperationsList) + { + var genericResource = await operations.GetAsync(); + Assert.AreEqual(200, genericResource.GetRawResponse().Status); + } + } + + [TestCase] + [RecordedTest] + public void GetGenericOperationsWithInvalidResource() + { + var ids = new List() + { + $"/subscriptions/{TestEnvironment.SubscriptionId}/resourceGroups/non-existant/" + }; + + var genericResourceOperationsList = Client.GetGenericResourceOperations(ids); + + foreach (GenericResourceOperations operations in genericResourceOperationsList) + { + RequestFailedException exception = Assert.ThrowsAsync(async () => await operations.GetAsync()); + Assert.AreEqual(404, exception.Status); + } + } + + [TestCase] + public void TestNullGetGenericResourceOperation() + { + Assert.Throws(() => { Client.GetGenericResourceOperations(null); }); + } + + [TestCase] + public void TestEmptyGetGenericResourceOperation() + { + var ids = new List(); + bool x = ids.Any(); + Assert.Throws(() => { Client.GetGenericResourceOperations(ids); }); + } } } From 15c7b15d403a7bf2d5002c173cd6c00ac337079f Mon Sep 17 00:00:00 2001 From: Jonathan Cardenas Date: Wed, 12 May 2021 22:02:46 -0700 Subject: [PATCH 5/9] GetGenericResourceOperations for single ID --- .../src/Extensions/ARMClientExtensions.cs | 24 +++++++++++++++---- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Extensions/ARMClientExtensions.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Extensions/ARMClientExtensions.cs index 352c9e27ff5d..5c9bda50d2eb 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Extensions/ARMClientExtensions.cs +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Extensions/ARMClientExtensions.cs @@ -3,25 +3,23 @@ using System; using System.Collections.Generic; -using System.Linq; -using System.Text; namespace Azure.ResourceManager.Core { /// /// A class of extensions for the ARM Client. /// - public static class ARMClientExtensions + public static class ArmClientExtensions { /// - /// Get the operations for an specif resource. + /// Get the operations for a list of specific resources. /// /// /// A list of the IDs of the resources to retrieve. /// public static List GetGenericResourceOperations(this ArmClient client, List ids) { - if (ids == null || !ids.Any()) + if (ids == null) { throw new ArgumentNullException(nameof(ids)); } @@ -33,5 +31,21 @@ public static List GetGenericResourceOperations(this } return genericRespirceOperations; } + + /// + /// Get the operations for an specific resource. + /// + /// + /// The ID of the resource to retrieve. + /// + public static GenericResourceOperations GetGenericResourceOperations(this ArmClient client, string id) + { + if (id == null) + { + throw new ArgumentNullException(nameof(id)); + } + + return new GenericResourceOperations(client.DefaultSubscription, id); + } } } From 4a97da92fcfd0153e0a504a8c9392e0bb5db9b98 Mon Sep 17 00:00:00 2001 From: Jonathan Cardenas Date: Wed, 12 May 2021 22:03:22 -0700 Subject: [PATCH 6/9] Single ID tests --- .../tests/Scenario/ArmClientTests.cs | 54 +++++++++++++++---- 1 file changed, 45 insertions(+), 9 deletions(-) diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ArmClientTests.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ArmClientTests.cs index e6bfb42058ad..ac290df39a8c 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ArmClientTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ArmClientTests.cs @@ -47,9 +47,36 @@ public void GetGenericOperationsTests() } } + [TestCase] + public void GetGenericResourceOperationsSingleIDTests() + { + string id = $"/subscriptions/{TestEnvironment.SubscriptionId}/resourceGroups/foo-1/"; + Assert.AreEqual(Client.GetGenericResourceOperations(id).Id, id); + } + + [TestCase] + [RecordedTest] + public async Task GetGenericResourceOperationsWithSingleValidResource() + { + string id = $"/subscriptions/{TestEnvironment.SubscriptionId}/resourceGroups/{_rgName}/"; + var genericResourceOperations = Client.GetGenericResourceOperations(id); + var genericResource = await genericResourceOperations.GetAsync(); + Assert.AreEqual(200, genericResource.GetRawResponse().Status); + } + [TestCase] [RecordedTest] - public async Task GetGenericOperationsWithValidResource() + public void GetGenericResourceOperationsWithSingleInvalidResource() + { + string id = $"/subscriptions/{TestEnvironment.SubscriptionId}/resourceGroups/foo-1/"; + var genericResourceOperations = Client.GetGenericResourceOperations(id); + RequestFailedException exception = Assert.ThrowsAsync(async () => await genericResourceOperations.GetAsync()); + Assert.AreEqual(404, exception.Status); + } + + [TestCase] + [RecordedTest] + public async Task GetGenericOperationsWithListOfValidResource() { var ids = new List() { @@ -67,11 +94,11 @@ public async Task GetGenericOperationsWithValidResource() [TestCase] [RecordedTest] - public void GetGenericOperationsWithInvalidResource() + public void GetGenericOperationsWithListOfInvalidResource() { var ids = new List() { - $"/subscriptions/{TestEnvironment.SubscriptionId}/resourceGroups/non-existant/" + $"/subscriptions/{TestEnvironment.SubscriptionId}/resourceGroups/non-existent/" }; var genericResourceOperationsList = Client.GetGenericResourceOperations(ids); @@ -83,18 +110,27 @@ public void GetGenericOperationsWithInvalidResource() } } - [TestCase] - public void TestNullGetGenericResourceOperation() + [TestCase ("List")] + [TestCase ("Single")] + public void GetGenericResourceOperationNullTests(string type) { - Assert.Throws(() => { Client.GetGenericResourceOperations(null); }); + if(type == "List") + { + List x = null; + Assert.Throws(() => { Client.GetGenericResourceOperations(x); }); + } + else + { + string x = null; + Assert.Throws(() => { Client.GetGenericResourceOperations(x); }); + } } [TestCase] - public void TestEmptyGetGenericResourceOperation() + public void GetGenericResourceOperationEmptyTest() { var ids = new List(); - bool x = ids.Any(); - Assert.Throws(() => { Client.GetGenericResourceOperations(ids); }); + Assert.AreEqual(new List(), Client.GetGenericResourceOperations(ids)); } } } From 9d145f2657c72019e03e94461bd0f456dc7fed00 Mon Sep 17 00:00:00 2001 From: Jonathan Cardenas Date: Thu, 13 May 2021 15:38:51 -0700 Subject: [PATCH 7/9] Addressing comments --- .../src/Extensions/ARMClientExtensions.cs | 4 ++-- .../tests/Scenario/ArmClientTests.cs | 20 +++++++++---------- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Extensions/ARMClientExtensions.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Extensions/ARMClientExtensions.cs index 5c9bda50d2eb..ff6d0452db00 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/src/Extensions/ARMClientExtensions.cs +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Extensions/ARMClientExtensions.cs @@ -17,14 +17,14 @@ public static class ArmClientExtensions /// /// A list of the IDs of the resources to retrieve. /// - public static List GetGenericResourceOperations(this ArmClient client, List ids) + public static IList GetGenericResourceOperations(this ArmClient client, IEnumerable ids) { if (ids == null) { throw new ArgumentNullException(nameof(ids)); } - var genericRespirceOperations = new List(); + IList genericRespirceOperations = new List(); foreach (string id in ids) { genericRespirceOperations.Add(new GenericResourceOperations(client.DefaultSubscription, id)); diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ArmClientTests.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ArmClientTests.cs index ac290df39a8c..e40b232edc46 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ArmClientTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ArmClientTests.cs @@ -110,20 +110,18 @@ public void GetGenericOperationsWithListOfInvalidResource() } } - [TestCase ("List")] - [TestCase ("Single")] - public void GetGenericResourceOperationNullTests(string type) + [TestCase] + public void GetGenericResourceOperationWithNullSetOfIds() + { + string[] x = null; + Assert.Throws(() => { Client.GetGenericResourceOperations(x); }); + } + + [TestCase] + public void GetGenericResourceOperationWithNullId() { - if(type == "List") - { - List x = null; - Assert.Throws(() => { Client.GetGenericResourceOperations(x); }); - } - else - { string x = null; Assert.Throws(() => { Client.GetGenericResourceOperations(x); }); - } } [TestCase] From 46b4402a7d086edf54439e8275de73b1f5f0542b Mon Sep 17 00:00:00 2001 From: Jonathan Cardenas Date: Thu, 13 May 2021 15:40:00 -0700 Subject: [PATCH 8/9] Tests recordings --- .../tests/Scenario/ArmClientTests.cs | 2 +- .../ArmClientTests/ArmClientTests(False).json | 134 ++ .../ArmClientTests(True)Async.json | 133 ++ .../GetGenericOperationsTests().json | 49 + .../GetGenericOperationsTests()Async.json | 49 + ...OperationsWithListOfInvalidResource().json | 1273 ++++++++++++++++ ...tionsWithListOfInvalidResource()Async.json | 1273 ++++++++++++++++ ...icOperationsWithListOfValidResource().json | 1276 +++++++++++++++++ ...rationsWithListOfValidResource()Async.json | 1276 +++++++++++++++++ ...etGenericResourceOperationEmptyTest().json | 49 + ...ericResourceOperationEmptyTest()Async.json | 49 + ...tGenericResourceOperationWithNullId().json | 49 + ...ricResourceOperationWithNullId()Async.json | 49 + ...icResourceOperationWithNullSetOfIds().json | 49 + ...ourceOperationWithNullSetOfIds()Async.json | 49 + ...ericResourceOperationsSingleIDTests().json | 49 + ...esourceOperationsSingleIDTests()Async.json | 49 + ...OperationsWithSingleInvalidResource().json | 1273 ++++++++++++++++ ...tionsWithSingleInvalidResource()Async.json | 1273 ++++++++++++++++ ...ceOperationsWithSingleValidResource().json | 1276 +++++++++++++++++ ...rationsWithSingleValidResource()Async.json | 1276 +++++++++++++++++ 21 files changed, 10954 insertions(+), 1 deletion(-) create mode 100644 sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/ArmClientTests(False).json create mode 100644 sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/ArmClientTests(True)Async.json create mode 100644 sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsTests().json create mode 100644 sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsTests()Async.json create mode 100644 sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfInvalidResource().json create mode 100644 sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfInvalidResource()Async.json create mode 100644 sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfValidResource().json create mode 100644 sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfValidResource()Async.json create mode 100644 sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationEmptyTest().json create mode 100644 sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationEmptyTest()Async.json create mode 100644 sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullId().json create mode 100644 sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullId()Async.json create mode 100644 sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullSetOfIds().json create mode 100644 sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullSetOfIds()Async.json create mode 100644 sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsSingleIDTests().json create mode 100644 sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsSingleIDTests()Async.json create mode 100644 sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleInvalidResource().json create mode 100644 sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleInvalidResource()Async.json create mode 100644 sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleValidResource().json create mode 100644 sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleValidResource()Async.json diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ArmClientTests.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ArmClientTests.cs index e40b232edc46..e4bd10e6f437 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ArmClientTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ArmClientTests.cs @@ -14,7 +14,7 @@ class ArmClientTests : ResourceManagerTestBase private readonly string _location = "southcentralus"; public ArmClientTests(bool isAsync) - : base(isAsync) + : base(isAsync, RecordedTestMode.Record) { } diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/ArmClientTests(False).json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/ArmClientTests(False).json new file mode 100644 index 000000000000..81b4b17f9e8c --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/ArmClientTests(False).json @@ -0,0 +1,134 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "5a471502cc785e70e671623a1a452721", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "397", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:20 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "6b9f585f-c238-454a-b376-872989262926", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-request-id": "6b9f585f-c238-454a-b376-872989262926", + "x-ms-routing-request-id": "WESTUS2:20210513T223421Z:6b9f585f-c238-454a-b376-872989262926" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-862265ea3bfba14e80624d01842977b9-1cb8c19825568d46-00", + "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "7f043350e1a08916b2e6d331bf887312", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "397", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:21 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "f3925567-8b5b-414e-bc46-a71874a1a022", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-request-id": "f3925567-8b5b-414e-bc46-a71874a1a022", + "x-ms-routing-request-id": "WESTUS2:20210513T223421Z:f3925567-8b5b-414e-bc46-a71874a1a022" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRg-9828?api-version=2019-10-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "41", + "Content-Type": "application/json", + "traceparent": "00-d14e3e15f943d64d8ef2ebb933858c75-9f1b1bc355022343-00", + "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "1de8ca6ff16afc375aa8a238b9711bfb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "location": "South Central US", + "tags": {} + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "237", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:22 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "49010865-a250-4352-8e42-e8f96bfdcfb1", + "x-ms-ratelimit-remaining-subscription-writes": "1199", + "x-ms-request-id": "49010865-a250-4352-8e42-e8f96bfdcfb1", + "x-ms-routing-request-id": "WESTUS2:20210513T223423Z:49010865-a250-4352-8e42-e8f96bfdcfb1" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRg-9828", + "name": "testRg-9828", + "type": "Microsoft.Resources/resourceGroups", + "location": "southcentralus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded" + } + } + } + ], + "Variables": { + "RandomSeed": "1122079985", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/ArmClientTests(True)Async.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/ArmClientTests(True)Async.json new file mode 100644 index 000000000000..03235d397264 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/ArmClientTests(True)Async.json @@ -0,0 +1,133 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "5a471502cc785e70e671623a1a452721", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "397", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:21 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "183ccd94-2564-4adb-8792-b98c1e1072ef", + "x-ms-ratelimit-remaining-subscription-reads": "11999", + "x-ms-request-id": "183ccd94-2564-4adb-8792-b98c1e1072ef", + "x-ms-routing-request-id": "WESTUS2:20210513T223421Z:183ccd94-2564-4adb-8792-b98c1e1072ef" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "traceparent": "00-d5ec621edfa45c4ea215049ce118fad1-c858bd1044c03a46-00", + "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "7f043350e1a08916b2e6d331bf887312", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "397", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:21 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "95c36d6e-e878-48c5-ba2f-e74479adf9f5", + "x-ms-ratelimit-remaining-subscription-reads": "11998", + "x-ms-request-id": "95c36d6e-e878-48c5-ba2f-e74479adf9f5", + "x-ms-routing-request-id": "WESTUS2:20210513T223421Z:95c36d6e-e878-48c5-ba2f-e74479adf9f5" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourcegroups/testRg-9828?api-version=2019-10-01", + "RequestMethod": "PUT", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "41", + "Content-Type": "application/json", + "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "1de8ca6ff16afc375aa8a238b9711bfb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "location": "South Central US", + "tags": {} + }, + "StatusCode": 201, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "237", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:22 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "50b2053e-41e5-4c73-9ab1-350ea2d1ddc2", + "x-ms-ratelimit-remaining-subscription-writes": "1199", + "x-ms-request-id": "50b2053e-41e5-4c73-9ab1-350ea2d1ddc2", + "x-ms-routing-request-id": "WESTUS2:20210513T223423Z:50b2053e-41e5-4c73-9ab1-350ea2d1ddc2" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRg-9828", + "name": "testRg-9828", + "type": "Microsoft.Resources/resourceGroups", + "location": "southcentralus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded" + } + } + } + ], + "Variables": { + "RandomSeed": "1122079985", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsTests().json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsTests().json new file mode 100644 index 000000000000..38d43dda9753 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsTests().json @@ -0,0 +1,49 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "0eb3d93b133c8a58c719ba989fc8bd8f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "397", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:23 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "62a21daa-e944-4508-aa0f-36d675387942", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "62a21daa-e944-4508-aa0f-36d675387942", + "x-ms-routing-request-id": "WESTUS2:20210513T223423Z:62a21daa-e944-4508-aa0f-36d675387942" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + } + ], + "Variables": { + "RandomSeed": "173774393", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsTests()Async.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsTests()Async.json new file mode 100644 index 000000000000..f4786ae6bacd --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsTests()Async.json @@ -0,0 +1,49 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "ed82218f3b5be08677d154bfc82678b3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "397", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:23 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "45168873-83b0-465a-8f5a-a2129098a905", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-request-id": "45168873-83b0-465a-8f5a-a2129098a905", + "x-ms-routing-request-id": "WESTUS2:20210513T223423Z:45168873-83b0-465a-8f5a-a2129098a905" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + } + ], + "Variables": { + "RandomSeed": "525146284", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfInvalidResource().json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfInvalidResource().json new file mode 100644 index 000000000000..b33c5d7fa453 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfInvalidResource().json @@ -0,0 +1,1273 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "fff178d6ed5866066762532553bb0b30", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "397", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:23 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "aeb61760-58b9-47a6-9631-f3dc8171e835", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "aeb61760-58b9-47a6-9631-f3dc8171e835", + "x-ms-routing-request-id": "WESTUS2:20210513T223424Z:aeb61760-58b9-47a6-9631-f3dc8171e835" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=2019-10-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "5f5613df99ea89dbe0435f022d33f1a9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "16457", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:23 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "f476f74c-eae0-4abf-8856-7edeb620c741", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-request-id": "f476f74c-eae0-4abf-8856-7edeb620c741", + "x-ms-routing-request-id": "WESTUS2:20210513T223424Z:f476f74c-eae0-4abf-8856-7edeb620c741" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "namespace": "Microsoft.Resources", + "authorization": { + "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" + }, + "resourceTypes": [ + { + "resourceType": "tenants", + "locations": [], + "apiVersions": [ + "2020-01-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "locations", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "operationresults", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "notifyResourceJobs", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "tags", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "checkPolicyCompliance", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "checkresourcename", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "calculateTemplateHash", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/operationresults", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsLocation" + }, + { + "resourceType": "subscriptions/resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "subscriptions/resourcegroups/resources", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/locations", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagnames", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagNames/tagValues", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments", + "locations": [], + "apiVersions": [ + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-08-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments/operations", + "locations": [], + "apiVersions": [ + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "links", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "operations", + "locations": [], + "apiVersions": [ + "2015-01-01" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2015-01-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "bulkDelete", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Brazil South", + "Canada Central", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "Central India", + "South India", + "Japan East", + "Korea Central", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Brazil South", + "Canada Central", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "Central India", + "South India", + "Japan East", + "Korea Central", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Brazil South", + "Canada Central", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "Central India", + "South India", + "Japan East", + "Korea Central", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + } + ], + "registrationState": "Registered", + "registrationPolicy": "RegistrationFree" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/non-existent/?api-version=2019-05-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210513.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "681d18f8bcf8700deb324820f46c97ef", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "104", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:24 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "1fbb4dd3-285b-4c7b-84ab-f7faa9e89c76", + "x-ms-failure-cause": "gateway", + "x-ms-ratelimit-remaining-subscription-reads": "11991", + "x-ms-request-id": "1fbb4dd3-285b-4c7b-84ab-f7faa9e89c76", + "x-ms-routing-request-id": "WESTUS2:20210513T223424Z:1fbb4dd3-285b-4c7b-84ab-f7faa9e89c76" + }, + "ResponseBody": { + "error": { + "code": "ResourceGroupNotFound", + "message": "Resource group \u0027non-existent\u0027 could not be found." + } + } + } + ], + "Variables": { + "RandomSeed": "1176186604", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfInvalidResource()Async.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfInvalidResource()Async.json new file mode 100644 index 000000000000..244a69e0ba50 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfInvalidResource()Async.json @@ -0,0 +1,1273 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "fff178d6ed5866066762532553bb0b30", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "397", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:23 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "20729f28-7084-4981-95b3-5cb6836cdcc6", + "x-ms-ratelimit-remaining-subscription-reads": "11994", + "x-ms-request-id": "20729f28-7084-4981-95b3-5cb6836cdcc6", + "x-ms-routing-request-id": "WESTUS2:20210513T223424Z:20729f28-7084-4981-95b3-5cb6836cdcc6" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=2019-10-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "5f5613df99ea89dbe0435f022d33f1a9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "16457", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:24 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "27d18f9d-7d04-44ac-8bdb-9994cd2dc46a", + "x-ms-ratelimit-remaining-subscription-reads": "11993", + "x-ms-request-id": "27d18f9d-7d04-44ac-8bdb-9994cd2dc46a", + "x-ms-routing-request-id": "WESTUS2:20210513T223424Z:27d18f9d-7d04-44ac-8bdb-9994cd2dc46a" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "namespace": "Microsoft.Resources", + "authorization": { + "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" + }, + "resourceTypes": [ + { + "resourceType": "tenants", + "locations": [], + "apiVersions": [ + "2020-01-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "locations", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "operationresults", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "notifyResourceJobs", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "tags", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "checkPolicyCompliance", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "checkresourcename", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "calculateTemplateHash", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/operationresults", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsLocation" + }, + { + "resourceType": "subscriptions/resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "subscriptions/resourcegroups/resources", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/locations", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagnames", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagNames/tagValues", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments", + "locations": [], + "apiVersions": [ + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-08-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments/operations", + "locations": [], + "apiVersions": [ + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "links", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "operations", + "locations": [], + "apiVersions": [ + "2015-01-01" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2015-01-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "bulkDelete", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Brazil South", + "Canada Central", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "Central India", + "South India", + "Japan East", + "Korea Central", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Brazil South", + "Canada Central", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "Central India", + "South India", + "Japan East", + "Korea Central", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Brazil South", + "Canada Central", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "Central India", + "South India", + "Japan East", + "Korea Central", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + } + ], + "registrationState": "Registered", + "registrationPolicy": "RegistrationFree" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/non-existent/?api-version=2019-05-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210513.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "681d18f8bcf8700deb324820f46c97ef", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "104", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:24 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "177e3eae-e5a8-483e-bbf4-e7851c4af4ab", + "x-ms-failure-cause": "gateway", + "x-ms-ratelimit-remaining-subscription-reads": "11992", + "x-ms-request-id": "177e3eae-e5a8-483e-bbf4-e7851c4af4ab", + "x-ms-routing-request-id": "WESTUS2:20210513T223424Z:177e3eae-e5a8-483e-bbf4-e7851c4af4ab" + }, + "ResponseBody": { + "error": { + "code": "ResourceGroupNotFound", + "message": "Resource group \u0027non-existent\u0027 could not be found." + } + } + } + ], + "Variables": { + "RandomSeed": "1176186604", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfValidResource().json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfValidResource().json new file mode 100644 index 000000000000..fb94b3664330 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfValidResource().json @@ -0,0 +1,1276 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "03b22673cd589bc632da34fa8ebeecdd", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "397", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:24 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "6732e0c9-a495-442e-8667-c7d86d624e6a", + "x-ms-ratelimit-remaining-subscription-reads": "11987", + "x-ms-request-id": "6732e0c9-a495-442e-8667-c7d86d624e6a", + "x-ms-routing-request-id": "WESTUS2:20210513T223425Z:6732e0c9-a495-442e-8667-c7d86d624e6a" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=2019-10-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "ba05ff9db8c329941c97cb3cfbd3cba6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "16457", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:24 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ff2144dc-2b07-4556-b143-152c005d62b5", + "x-ms-ratelimit-remaining-subscription-reads": "11986", + "x-ms-request-id": "ff2144dc-2b07-4556-b143-152c005d62b5", + "x-ms-routing-request-id": "WESTUS2:20210513T223425Z:ff2144dc-2b07-4556-b143-152c005d62b5" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "namespace": "Microsoft.Resources", + "authorization": { + "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" + }, + "resourceTypes": [ + { + "resourceType": "tenants", + "locations": [], + "apiVersions": [ + "2020-01-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "locations", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "operationresults", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "notifyResourceJobs", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "tags", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "checkPolicyCompliance", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "checkresourcename", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "calculateTemplateHash", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/operationresults", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsLocation" + }, + { + "resourceType": "subscriptions/resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "subscriptions/resourcegroups/resources", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/locations", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagnames", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagNames/tagValues", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments", + "locations": [], + "apiVersions": [ + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-08-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments/operations", + "locations": [], + "apiVersions": [ + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "links", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "operations", + "locations": [], + "apiVersions": [ + "2015-01-01" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2015-01-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "bulkDelete", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Brazil South", + "Canada Central", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "Central India", + "South India", + "Japan East", + "Korea Central", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Brazil South", + "Canada Central", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "Central India", + "South India", + "Japan East", + "Korea Central", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Brazil South", + "Canada Central", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "Central India", + "South India", + "Japan East", + "Korea Central", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + } + ], + "registrationState": "Registered", + "registrationPolicy": "RegistrationFree" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRg-9828/?api-version=2019-05-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210513.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "b060e2a71de0d9a31829b05fa7214486", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "237", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:24 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "fab8feba-882a-4a5c-bf02-08d5f1e6ee89", + "x-ms-ratelimit-remaining-subscription-reads": "11985", + "x-ms-request-id": "fab8feba-882a-4a5c-bf02-08d5f1e6ee89", + "x-ms-routing-request-id": "WESTUS2:20210513T223425Z:fab8feba-882a-4a5c-bf02-08d5f1e6ee89" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRg-9828", + "name": "testRg-9828", + "type": "Microsoft.Resources/resourceGroups", + "location": "southcentralus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded" + } + } + } + ], + "Variables": { + "RandomSeed": "129329977", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfValidResource()Async.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfValidResource()Async.json new file mode 100644 index 000000000000..c43a8ca84984 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfValidResource()Async.json @@ -0,0 +1,1276 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "15cd3fd2bc0730150f9cc5c030808029", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "397", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:24 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "0c2ee5da-e271-4809-a1b0-60d490a54d14", + "x-ms-ratelimit-remaining-subscription-reads": "11990", + "x-ms-request-id": "0c2ee5da-e271-4809-a1b0-60d490a54d14", + "x-ms-routing-request-id": "WESTUS2:20210513T223425Z:0c2ee5da-e271-4809-a1b0-60d490a54d14" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=2019-10-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "bc343c692f023928889ec6859a769849", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "16457", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:24 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "1b8907ad-b0a3-4278-84ad-ebf2c6858aa5", + "x-ms-ratelimit-remaining-subscription-reads": "11989", + "x-ms-request-id": "1b8907ad-b0a3-4278-84ad-ebf2c6858aa5", + "x-ms-routing-request-id": "WESTUS2:20210513T223425Z:1b8907ad-b0a3-4278-84ad-ebf2c6858aa5" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "namespace": "Microsoft.Resources", + "authorization": { + "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" + }, + "resourceTypes": [ + { + "resourceType": "tenants", + "locations": [], + "apiVersions": [ + "2020-01-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "locations", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "operationresults", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "notifyResourceJobs", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "tags", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "checkPolicyCompliance", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "checkresourcename", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "calculateTemplateHash", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/operationresults", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsLocation" + }, + { + "resourceType": "subscriptions/resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "subscriptions/resourcegroups/resources", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/locations", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagnames", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagNames/tagValues", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments", + "locations": [], + "apiVersions": [ + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-08-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments/operations", + "locations": [], + "apiVersions": [ + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "links", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "operations", + "locations": [], + "apiVersions": [ + "2015-01-01" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2015-01-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "bulkDelete", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Brazil South", + "Canada Central", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "Central India", + "South India", + "Japan East", + "Korea Central", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Brazil South", + "Canada Central", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "Central India", + "South India", + "Japan East", + "Korea Central", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Brazil South", + "Canada Central", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "Central India", + "South India", + "Japan East", + "Korea Central", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + } + ], + "registrationState": "Registered", + "registrationPolicy": "RegistrationFree" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRg-9828/?api-version=2019-05-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210513.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "94377ed6ad3d8024b8e3d077bdc8cea6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "237", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:24 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "6cdf2fd5-31c8-4e37-aa92-5dfa40deab71", + "x-ms-ratelimit-remaining-subscription-reads": "11988", + "x-ms-request-id": "6cdf2fd5-31c8-4e37-aa92-5dfa40deab71", + "x-ms-routing-request-id": "WESTUS2:20210513T223425Z:6cdf2fd5-31c8-4e37-aa92-5dfa40deab71" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRg-9828", + "name": "testRg-9828", + "type": "Microsoft.Resources/resourceGroups", + "location": "southcentralus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded" + } + } + } + ], + "Variables": { + "RandomSeed": "248817585", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationEmptyTest().json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationEmptyTest().json new file mode 100644 index 000000000000..33d894aaee50 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationEmptyTest().json @@ -0,0 +1,49 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "8f53a9e517d6796610db2498ee0aa671", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "397", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:25 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "386fdd8a-e5f2-4541-b583-5441d02a46c5", + "x-ms-ratelimit-remaining-subscription-reads": "11983", + "x-ms-request-id": "386fdd8a-e5f2-4541-b583-5441d02a46c5", + "x-ms-routing-request-id": "WESTUS2:20210513T223425Z:386fdd8a-e5f2-4541-b583-5441d02a46c5" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + } + ], + "Variables": { + "RandomSeed": "1005163647", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationEmptyTest()Async.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationEmptyTest()Async.json new file mode 100644 index 000000000000..42b79fa323be --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationEmptyTest()Async.json @@ -0,0 +1,49 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "4a2c43a9d7fdc394e066c1f2f03f3a9d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "397", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:25 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "16bc385a-ef1a-437c-b326-67f52ed19897", + "x-ms-ratelimit-remaining-subscription-reads": "11984", + "x-ms-request-id": "16bc385a-ef1a-437c-b326-67f52ed19897", + "x-ms-routing-request-id": "WESTUS2:20210513T223425Z:16bc385a-ef1a-437c-b326-67f52ed19897" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + } + ], + "Variables": { + "RandomSeed": "54454898", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullId().json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullId().json new file mode 100644 index 000000000000..3409bb18213d --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullId().json @@ -0,0 +1,49 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "5b36cce4d8b6440da9769a1e4abf1f94", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "397", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:27 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "404f2d16-ace0-402f-8646-57589aeece52", + "x-ms-ratelimit-remaining-subscription-reads": "11967", + "x-ms-request-id": "404f2d16-ace0-402f-8646-57589aeece52", + "x-ms-routing-request-id": "WESTUS2:20210513T223428Z:404f2d16-ace0-402f-8646-57589aeece52" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + } + ], + "Variables": { + "RandomSeed": "293300777", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullId()Async.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullId()Async.json new file mode 100644 index 000000000000..48e326d2625c --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullId()Async.json @@ -0,0 +1,49 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "d1fb875a5285579edf3d1821cd46642f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "397", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:27 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "fa6abdb7-ae9f-4ae5-aca4-f89f7d4bc602", + "x-ms-ratelimit-remaining-subscription-reads": "11968", + "x-ms-request-id": "fa6abdb7-ae9f-4ae5-aca4-f89f7d4bc602", + "x-ms-routing-request-id": "WESTUS2:20210513T223427Z:fa6abdb7-ae9f-4ae5-aca4-f89f7d4bc602" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + } + ], + "Variables": { + "RandomSeed": "2096503466", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullSetOfIds().json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullSetOfIds().json new file mode 100644 index 000000000000..3ff783765a55 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullSetOfIds().json @@ -0,0 +1,49 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "5df048b56051266ed016766021651ef4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "397", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:27 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "52cc865d-a469-4aa7-9c3c-5f835322022e", + "x-ms-ratelimit-remaining-subscription-reads": "11994", + "x-ms-request-id": "52cc865d-a469-4aa7-9c3c-5f835322022e", + "x-ms-routing-request-id": "WESTUS2:20210513T223428Z:52cc865d-a469-4aa7-9c3c-5f835322022e" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + } + ], + "Variables": { + "RandomSeed": "1356406201", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullSetOfIds()Async.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullSetOfIds()Async.json new file mode 100644 index 000000000000..1b4cef97a5c2 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullSetOfIds()Async.json @@ -0,0 +1,49 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "b1724a7f043f8f2db6a68e89e04c1eb4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "397", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:27 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "92bc05f8-b2c5-4766-bd51-2dea65034ea0", + "x-ms-ratelimit-remaining-subscription-reads": "11966", + "x-ms-request-id": "92bc05f8-b2c5-4766-bd51-2dea65034ea0", + "x-ms-routing-request-id": "WESTUS2:20210513T223428Z:92bc05f8-b2c5-4766-bd51-2dea65034ea0" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + } + ], + "Variables": { + "RandomSeed": "1363497134", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsSingleIDTests().json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsSingleIDTests().json new file mode 100644 index 000000000000..f75fd07bf9ac --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsSingleIDTests().json @@ -0,0 +1,49 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "60080ba5a2ac8da3888d338db503af96", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "397", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:25 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "fc3e5acf-ce7f-449d-992c-6ba2ca872017", + "x-ms-ratelimit-remaining-subscription-reads": "11981", + "x-ms-request-id": "fc3e5acf-ce7f-449d-992c-6ba2ca872017", + "x-ms-routing-request-id": "WESTUS2:20210513T223426Z:fc3e5acf-ce7f-449d-992c-6ba2ca872017" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + } + ], + "Variables": { + "RandomSeed": "1274569526", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsSingleIDTests()Async.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsSingleIDTests()Async.json new file mode 100644 index 000000000000..636e074dd856 --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsSingleIDTests()Async.json @@ -0,0 +1,49 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "2aa907ce87b7fb24b7c3375bf544f422", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "397", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:25 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "513e8828-1479-4426-be52-841560eea2c2", + "x-ms-ratelimit-remaining-subscription-reads": "11982", + "x-ms-request-id": "513e8828-1479-4426-be52-841560eea2c2", + "x-ms-routing-request-id": "WESTUS2:20210513T223426Z:513e8828-1479-4426-be52-841560eea2c2" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + } + ], + "Variables": { + "RandomSeed": "1468932213", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleInvalidResource().json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleInvalidResource().json new file mode 100644 index 000000000000..114b37922acb --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleInvalidResource().json @@ -0,0 +1,1273 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "8452f61dcff28bd37c929efad100d5bf", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "397", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:26 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ac62f241-a7a9-448a-b424-56a4743657ae", + "x-ms-ratelimit-remaining-subscription-reads": "11977", + "x-ms-request-id": "ac62f241-a7a9-448a-b424-56a4743657ae", + "x-ms-routing-request-id": "WESTUS2:20210513T223427Z:ac62f241-a7a9-448a-b424-56a4743657ae" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=2019-10-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "cd5989a57a2d5d59af0831da884c949a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "16457", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:26 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "ee76ac6c-2767-496f-9cfb-3deb1ba15a9b", + "x-ms-ratelimit-remaining-subscription-reads": "11976", + "x-ms-request-id": "ee76ac6c-2767-496f-9cfb-3deb1ba15a9b", + "x-ms-routing-request-id": "WESTUS2:20210513T223427Z:ee76ac6c-2767-496f-9cfb-3deb1ba15a9b" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "namespace": "Microsoft.Resources", + "authorization": { + "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" + }, + "resourceTypes": [ + { + "resourceType": "tenants", + "locations": [], + "apiVersions": [ + "2020-01-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "locations", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "operationresults", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "notifyResourceJobs", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "tags", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "checkPolicyCompliance", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "checkresourcename", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "calculateTemplateHash", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/operationresults", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsLocation" + }, + { + "resourceType": "subscriptions/resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "subscriptions/resourcegroups/resources", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/locations", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagnames", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagNames/tagValues", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments", + "locations": [], + "apiVersions": [ + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-08-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments/operations", + "locations": [], + "apiVersions": [ + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "links", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "operations", + "locations": [], + "apiVersions": [ + "2015-01-01" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2015-01-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "bulkDelete", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Brazil South", + "Canada Central", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "Central India", + "South India", + "Japan East", + "Korea Central", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Brazil South", + "Canada Central", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "Central India", + "South India", + "Japan East", + "Korea Central", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Brazil South", + "Canada Central", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "Central India", + "South India", + "Japan East", + "Korea Central", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + } + ], + "registrationState": "Registered", + "registrationPolicy": "RegistrationFree" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/foo-1/?api-version=2019-05-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210513.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "256cf19cc1d06814db6a73585db96cf0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:26 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "426a1af7-4aad-4772-add3-e7fd2f73b2a1", + "x-ms-failure-cause": "gateway", + "x-ms-ratelimit-remaining-subscription-reads": "11975", + "x-ms-request-id": "426a1af7-4aad-4772-add3-e7fd2f73b2a1", + "x-ms-routing-request-id": "WESTUS2:20210513T223427Z:426a1af7-4aad-4772-add3-e7fd2f73b2a1" + }, + "ResponseBody": { + "error": { + "code": "ResourceGroupNotFound", + "message": "Resource group \u0027foo-1\u0027 could not be found." + } + } + } + ], + "Variables": { + "RandomSeed": "960719231", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleInvalidResource()Async.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleInvalidResource()Async.json new file mode 100644 index 000000000000..dea601b76dfc --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleInvalidResource()Async.json @@ -0,0 +1,1273 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "d9d4f9e773e1f4926221b6248fe6d67f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "397", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:26 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "608a9756-fb46-46fa-a115-21d8d5308171", + "x-ms-ratelimit-remaining-subscription-reads": "11980", + "x-ms-request-id": "608a9756-fb46-46fa-a115-21d8d5308171", + "x-ms-routing-request-id": "WESTUS2:20210513T223426Z:608a9756-fb46-46fa-a115-21d8d5308171" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=2019-10-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "50b76f28d619e604b6f1153554fe8161", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "16457", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:26 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "31c4a15b-ad85-4538-a63d-67bf107104a7", + "x-ms-ratelimit-remaining-subscription-reads": "11979", + "x-ms-request-id": "31c4a15b-ad85-4538-a63d-67bf107104a7", + "x-ms-routing-request-id": "WESTUS2:20210513T223426Z:31c4a15b-ad85-4538-a63d-67bf107104a7" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "namespace": "Microsoft.Resources", + "authorization": { + "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" + }, + "resourceTypes": [ + { + "resourceType": "tenants", + "locations": [], + "apiVersions": [ + "2020-01-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "locations", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "operationresults", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "notifyResourceJobs", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "tags", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "checkPolicyCompliance", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "checkresourcename", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "calculateTemplateHash", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/operationresults", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsLocation" + }, + { + "resourceType": "subscriptions/resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "subscriptions/resourcegroups/resources", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/locations", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagnames", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagNames/tagValues", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments", + "locations": [], + "apiVersions": [ + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-08-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments/operations", + "locations": [], + "apiVersions": [ + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "links", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "operations", + "locations": [], + "apiVersions": [ + "2015-01-01" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2015-01-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "bulkDelete", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Brazil South", + "Canada Central", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "Central India", + "South India", + "Japan East", + "Korea Central", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Brazil South", + "Canada Central", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "Central India", + "South India", + "Japan East", + "Korea Central", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Brazil South", + "Canada Central", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "Central India", + "South India", + "Japan East", + "Korea Central", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + } + ], + "registrationState": "Registered", + "registrationPolicy": "RegistrationFree" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/foo-1/?api-version=2019-05-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210513.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "9ac66980cb80101e5fec3c01f035b843", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "97", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:26 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "8bef170e-969d-44c3-8b0b-c6379ff77eaa", + "x-ms-failure-cause": "gateway", + "x-ms-ratelimit-remaining-subscription-reads": "11978", + "x-ms-request-id": "8bef170e-969d-44c3-8b0b-c6379ff77eaa", + "x-ms-routing-request-id": "WESTUS2:20210513T223426Z:8bef170e-969d-44c3-8b0b-c6379ff77eaa" + }, + "ResponseBody": { + "error": { + "code": "ResourceGroupNotFound", + "message": "Resource group \u0027foo-1\u0027 could not be found." + } + } + } + ], + "Variables": { + "RandomSeed": "967810164", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleValidResource().json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleValidResource().json new file mode 100644 index 000000000000..58aaadeb02af --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleValidResource().json @@ -0,0 +1,1276 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "abef9890c604fa01edaf32ba52b3ded4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "397", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:27 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "663e1309-24ed-45df-b573-b42d4cdf5e7f", + "x-ms-ratelimit-remaining-subscription-reads": "11971", + "x-ms-request-id": "663e1309-24ed-45df-b573-b42d4cdf5e7f", + "x-ms-routing-request-id": "WESTUS2:20210513T223427Z:663e1309-24ed-45df-b573-b42d4cdf5e7f" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=2019-10-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "f22e9a4c4b34bdbb899aaf6bacfa7af3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "16457", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:27 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "0dbbb6cb-7223-4e78-b903-aeca0bb1c46f", + "x-ms-ratelimit-remaining-subscription-reads": "11970", + "x-ms-request-id": "0dbbb6cb-7223-4e78-b903-aeca0bb1c46f", + "x-ms-routing-request-id": "WESTUS2:20210513T223427Z:0dbbb6cb-7223-4e78-b903-aeca0bb1c46f" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "namespace": "Microsoft.Resources", + "authorization": { + "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" + }, + "resourceTypes": [ + { + "resourceType": "tenants", + "locations": [], + "apiVersions": [ + "2020-01-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "locations", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "operationresults", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "notifyResourceJobs", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "tags", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "checkPolicyCompliance", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "checkresourcename", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "calculateTemplateHash", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/operationresults", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsLocation" + }, + { + "resourceType": "subscriptions/resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "subscriptions/resourcegroups/resources", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/locations", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagnames", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagNames/tagValues", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments", + "locations": [], + "apiVersions": [ + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-08-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments/operations", + "locations": [], + "apiVersions": [ + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "links", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "operations", + "locations": [], + "apiVersions": [ + "2015-01-01" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2015-01-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "bulkDelete", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Brazil South", + "Canada Central", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "Central India", + "South India", + "Japan East", + "Korea Central", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Brazil South", + "Canada Central", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "Central India", + "South India", + "Japan East", + "Korea Central", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Brazil South", + "Canada Central", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "Central India", + "South India", + "Japan East", + "Korea Central", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + } + ], + "registrationState": "Registered", + "registrationPolicy": "RegistrationFree" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRg-9828/?api-version=2019-05-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210513.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "8de05a5389b3607407763250aa5af357", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "237", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:27 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "4d26c6ab-4f33-412f-a86d-f4e04db0f2b9", + "x-ms-ratelimit-remaining-subscription-reads": "11969", + "x-ms-request-id": "4d26c6ab-4f33-412f-a86d-f4e04db0f2b9", + "x-ms-routing-request-id": "WESTUS2:20210513T223427Z:4d26c6ab-4f33-412f-a86d-f4e04db0f2b9" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRg-9828", + "name": "testRg-9828", + "type": "Microsoft.Resources/resourceGroups", + "location": "southcentralus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded" + } + } + } + ], + "Variables": { + "RandomSeed": "1768768755", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleValidResource()Async.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleValidResource()Async.json new file mode 100644 index 000000000000..b55ffbcfe76c --- /dev/null +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleValidResource()Async.json @@ -0,0 +1,1276 @@ +{ + "Entries": [ + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c?api-version=2019-11-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "b951bc0c279a2c2239922c8cacec9003", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "397", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:26 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "0f53c680-ba8c-4c75-8bae-81a5ade4861c", + "x-ms-ratelimit-remaining-subscription-reads": "11974", + "x-ms-request-id": "0f53c680-ba8c-4c75-8bae-81a5ade4861c", + "x-ms-routing-request-id": "WESTUS2:20210513T223427Z:0f53c680-ba8c-4c75-8bae-81a5ade4861c" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "authorizationSource": "RoleBased", + "managedByTenants": [], + "subscriptionId": "db1ab6f0-4769-4b27-930e-01e2ef9c123c", + "tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "displayName": "Azure SDK sandbox", + "state": "Enabled", + "subscriptionPolicies": { + "locationPlacementId": "Internal_2014-09-01", + "quotaId": "Internal_2014-09-01", + "spendingLimit": "Off" + } + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources?api-version=2019-10-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "395be66455874f1669c2f12b31a91758", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "16457", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:26 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "2c9a3f34-2606-46cf-8f3e-edc4ae5c39a7", + "x-ms-ratelimit-remaining-subscription-reads": "11973", + "x-ms-request-id": "2c9a3f34-2606-46cf-8f3e-edc4ae5c39a7", + "x-ms-routing-request-id": "WESTUS2:20210513T223427Z:2c9a3f34-2606-46cf-8f3e-edc4ae5c39a7" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", + "namespace": "Microsoft.Resources", + "authorization": { + "applicationId": "3b990c8b-9607-4c2a-8b04-1d41985facca" + }, + "resourceTypes": [ + { + "resourceType": "tenants", + "locations": [], + "apiVersions": [ + "2020-01-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "locations", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "operationresults", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "notifyResourceJobs", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01" + ], + "capabilities": "None" + }, + { + "resourceType": "tags", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01" + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "checkPolicyCompliance", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "checkresourcename", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "calculateTemplateHash", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions", + "locations": [], + "apiVersions": [ + "2019-10-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/resources", + "locations": [], + "apiVersions": [ + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/providers", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/operationresults", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsLocation" + }, + { + "resourceType": "subscriptions/resourceGroups", + "locations": [ + "Central US", + "East Asia", + "Southeast Asia", + "East US", + "East US 2", + "West US", + "West US 2", + "North Central US", + "South Central US", + "West Central US", + "North Europe", + "West Europe", + "Japan East", + "Japan West", + "Brazil South", + "Australia Southeast", + "Australia East", + "West India", + "South India", + "Central India", + "Canada Central", + "Canada East", + "UK South", + "UK West", + "Korea Central", + "Korea South", + "France Central", + "South Africa North", + "UAE North", + "Australia Central", + "Switzerland North", + "Germany West Central", + "Norway East", + "Jio India West" + ], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "subscriptions/resourcegroups/resources", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/locations", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2016-06-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagnames", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "subscriptions/tagNames/tagValues", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments", + "locations": [], + "apiVersions": [ + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-08-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "deployments/operations", + "locations": [], + "apiVersions": [ + "2021-01-01", + "2020-10-01", + "2020-06-01", + "2019-09-01", + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "links", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2016-06-01" + }, + { + "profileVersion": "2019-03-01-hybrid", + "apiVersion": "2018-05-01" + } + ], + "capabilities": "SupportsExtension" + }, + { + "resourceType": "operations", + "locations": [], + "apiVersions": [ + "2015-01-01" + ], + "apiProfiles": [ + { + "profileVersion": "2018-06-01-profile", + "apiVersion": "2015-01-01" + } + ], + "capabilities": "None" + }, + { + "resourceType": "bulkDelete", + "locations": [], + "apiVersions": [ + "2019-05-01", + "2019-04-01", + "2019-03-01", + "2018-11-01", + "2018-09-01", + "2018-08-01", + "2018-07-01", + "2018-05-01", + "2018-02-01", + "2018-01-01", + "2017-08-01", + "2017-06-01", + "2017-05-10", + "2017-05-01", + "2017-03-01", + "2016-09-01", + "2016-07-01", + "2016-06-01", + "2016-02-01", + "2015-11-01", + "2015-01-01", + "2014-04-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "deploymentScripts", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Brazil South", + "Canada Central", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "Central India", + "South India", + "Japan East", + "Korea Central", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "SupportsTags, SupportsLocation" + }, + { + "resourceType": "deploymentScripts/logs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Brazil South", + "Canada Central", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "Central India", + "South India", + "Japan East", + "Korea Central", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "locations/deploymentScriptOperationResults", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Brazil South", + "Canada Central", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "Central India", + "South India", + "Japan East", + "Korea Central", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US" + ], + "apiVersions": [ + "2020-10-01", + "2019-10-01-preview" + ], + "capabilities": "None" + }, + { + "resourceType": "templateSpecs", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + }, + { + "resourceType": "templateSpecs/versions", + "locations": [ + "East Asia", + "Southeast Asia", + "Australia East", + "Australia Central", + "Australia Central 2", + "Australia Southeast", + "Brazil South", + "Canada Central", + "Canada East", + "Switzerland North", + "Germany West Central", + "East US 2", + "East US", + "Central US", + "North Central US", + "France Central", + "UK South", + "UK West", + "Central India", + "West India", + "South India", + "Japan East", + "Japan West", + "Korea Central", + "Korea South", + "North Europe", + "Norway East", + "UAE North", + "West Central US", + "West Europe", + "West US 2", + "West US", + "South Central US", + "South Africa North" + ], + "apiVersions": [ + "2021-05-01", + "2021-03-01-preview", + "2019-06-01-preview" + ], + "capabilities": "CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SupportsTags, SupportsLocation" + } + ], + "registrationState": "Registered", + "registrationPolicy": "RegistrationFree" + } + }, + { + "RequestUri": "https://management.azure.com/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRg-9828/?api-version=2019-05-01", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "User-Agent": "azsdk-net-ResourceManager.Core/1.0.0-alpha.20210513.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", + "x-ms-client-request-id": "22e807d2e26ee2084a54a792c274842f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Cache-Control": "no-cache", + "Content-Length": "237", + "Content-Type": "application/json; charset=utf-8", + "Date": "Thu, 13 May 2021 22:34:26 GMT", + "Expires": "-1", + "Pragma": "no-cache", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains", + "X-Content-Type-Options": "nosniff", + "x-ms-correlation-request-id": "4c39b5b5-5310-422e-a1db-d726486e1a62", + "x-ms-ratelimit-remaining-subscription-reads": "11972", + "x-ms-request-id": "4c39b5b5-5310-422e-a1db-d726486e1a62", + "x-ms-routing-request-id": "WESTUS2:20210513T223427Z:4c39b5b5-5310-422e-a1db-d726486e1a62" + }, + "ResponseBody": { + "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRg-9828", + "name": "testRg-9828", + "type": "Microsoft.Resources/resourceGroups", + "location": "southcentralus", + "tags": {}, + "properties": { + "provisioningState": "Succeeded" + } + } + } + ], + "Variables": { + "RandomSeed": "234803832", + "SUBSCRIPTION_ID": "db1ab6f0-4769-4b27-930e-01e2ef9c123c" + } +} \ No newline at end of file From cd31d061104a281dae99f6ed9c62c8007a250960 Mon Sep 17 00:00:00 2001 From: Jonathan Cardenas Date: Thu, 13 May 2021 15:41:40 -0700 Subject: [PATCH 9/9] Tests recordings --- .../tests/Scenario/ArmClientTests.cs | 2 +- .../ArmClientTests/ArmClientTests(False).json | 27 ++++++++--------- .../ArmClientTests(True)Async.json | 26 ++++++++-------- .../GetGenericOperationsTests().json | 10 +++---- .../GetGenericOperationsTests()Async.json | 10 +++---- ...OperationsWithListOfInvalidResource().json | 30 +++++++++---------- ...tionsWithListOfInvalidResource()Async.json | 30 +++++++++---------- ...icOperationsWithListOfValidResource().json | 30 +++++++++---------- ...rationsWithListOfValidResource()Async.json | 30 +++++++++---------- ...etGenericResourceOperationEmptyTest().json | 10 +++---- ...ericResourceOperationEmptyTest()Async.json | 10 +++---- ...tGenericResourceOperationWithNullId().json | 10 +++---- ...ricResourceOperationWithNullId()Async.json | 10 +++---- ...icResourceOperationWithNullSetOfIds().json | 10 +++---- ...ourceOperationWithNullSetOfIds()Async.json | 10 +++---- ...ericResourceOperationsSingleIDTests().json | 10 +++---- ...esourceOperationsSingleIDTests()Async.json | 10 +++---- ...OperationsWithSingleInvalidResource().json | 30 +++++++++---------- ...tionsWithSingleInvalidResource()Async.json | 30 +++++++++---------- ...ceOperationsWithSingleValidResource().json | 30 +++++++++---------- ...rationsWithSingleValidResource()Async.json | 30 +++++++++---------- 21 files changed, 197 insertions(+), 198 deletions(-) diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ArmClientTests.cs b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ArmClientTests.cs index e4bd10e6f437..679e7ef9ddab 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ArmClientTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ArmClientTests.cs @@ -14,7 +14,7 @@ class ArmClientTests : ResourceManagerTestBase private readonly string _location = "southcentralus"; public ArmClientTests(bool isAsync) - : base(isAsync, RecordedTestMode.Record) + : base(isAsync)//, RecordedTestMode.Record) { } diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/ArmClientTests(False).json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/ArmClientTests(False).json index 81b4b17f9e8c..e03ebb8b3961 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/ArmClientTests(False).json +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/ArmClientTests(False).json @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "397", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:20 GMT", + "Date": "Thu, 13 May 2021 22:40:37 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6b9f585f-c238-454a-b376-872989262926", + "x-ms-correlation-request-id": "db79409d-5486-4640-a33f-5cfd6529435f", "x-ms-ratelimit-remaining-subscription-reads": "11999", - "x-ms-request-id": "6b9f585f-c238-454a-b376-872989262926", - "x-ms-routing-request-id": "WESTUS2:20210513T223421Z:6b9f585f-c238-454a-b376-872989262926" + "x-ms-request-id": "db79409d-5486-4640-a33f-5cfd6529435f", + "x-ms-routing-request-id": "WESTUS2:20210513T224038Z:db79409d-5486-4640-a33f-5cfd6529435f" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -47,7 +47,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-862265ea3bfba14e80624d01842977b9-1cb8c19825568d46-00", + "traceparent": "00-f742bb62f8f4af4598f1b29eb48cf761-e07d36b4a0abcd44-00", "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "7f043350e1a08916b2e6d331bf887312", "x-ms-return-client-request-id": "true" @@ -58,15 +58,15 @@ "Cache-Control": "no-cache", "Content-Length": "397", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:21 GMT", + "Date": "Thu, 13 May 2021 22:40:38 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f3925567-8b5b-414e-bc46-a71874a1a022", + "x-ms-correlation-request-id": "7c513411-9fba-447a-ac08-0a85848037fc", "x-ms-ratelimit-remaining-subscription-reads": "11998", - "x-ms-request-id": "f3925567-8b5b-414e-bc46-a71874a1a022", - "x-ms-routing-request-id": "WESTUS2:20210513T223421Z:f3925567-8b5b-414e-bc46-a71874a1a022" + "x-ms-request-id": "7c513411-9fba-447a-ac08-0a85848037fc", + "x-ms-routing-request-id": "WESTUS2:20210513T224038Z:7c513411-9fba-447a-ac08-0a85848037fc" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -91,7 +91,6 @@ "Authorization": "Sanitized", "Content-Length": "41", "Content-Type": "application/json", - "traceparent": "00-d14e3e15f943d64d8ef2ebb933858c75-9f1b1bc355022343-00", "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "1de8ca6ff16afc375aa8a238b9711bfb", "x-ms-return-client-request-id": "true" @@ -105,15 +104,15 @@ "Cache-Control": "no-cache", "Content-Length": "237", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:22 GMT", + "Date": "Thu, 13 May 2021 22:40:39 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "49010865-a250-4352-8e42-e8f96bfdcfb1", + "x-ms-correlation-request-id": "fbb656b5-3b4d-4d9d-9ba0-a36f2a4ba2cc", "x-ms-ratelimit-remaining-subscription-writes": "1199", - "x-ms-request-id": "49010865-a250-4352-8e42-e8f96bfdcfb1", - "x-ms-routing-request-id": "WESTUS2:20210513T223423Z:49010865-a250-4352-8e42-e8f96bfdcfb1" + "x-ms-request-id": "fbb656b5-3b4d-4d9d-9ba0-a36f2a4ba2cc", + "x-ms-routing-request-id": "WESTUS2:20210513T224040Z:fbb656b5-3b4d-4d9d-9ba0-a36f2a4ba2cc" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRg-9828", diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/ArmClientTests(True)Async.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/ArmClientTests(True)Async.json index 03235d397264..d621b1cfa2e1 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/ArmClientTests(True)Async.json +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/ArmClientTests(True)Async.json @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "397", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:21 GMT", + "Date": "Thu, 13 May 2021 22:40:38 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "183ccd94-2564-4adb-8792-b98c1e1072ef", + "x-ms-correlation-request-id": "d61eac86-385d-4fac-b856-b67d7dde70f5", "x-ms-ratelimit-remaining-subscription-reads": "11999", - "x-ms-request-id": "183ccd94-2564-4adb-8792-b98c1e1072ef", - "x-ms-routing-request-id": "WESTUS2:20210513T223421Z:183ccd94-2564-4adb-8792-b98c1e1072ef" + "x-ms-request-id": "d61eac86-385d-4fac-b856-b67d7dde70f5", + "x-ms-routing-request-id": "WESTUS2:20210513T224038Z:d61eac86-385d-4fac-b856-b67d7dde70f5" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -47,7 +47,7 @@ "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "traceparent": "00-d5ec621edfa45c4ea215049ce118fad1-c858bd1044c03a46-00", + "traceparent": "00-7d87511d50642d4dbc71baf8bb2620e3-9fe967510b80574b-00", "User-Agent": "azsdk-net-ResourceManager.Resources/1.0.0-preview.2 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.19043 )", "x-ms-client-request-id": "7f043350e1a08916b2e6d331bf887312", "x-ms-return-client-request-id": "true" @@ -58,15 +58,15 @@ "Cache-Control": "no-cache", "Content-Length": "397", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:21 GMT", + "Date": "Thu, 13 May 2021 22:40:37 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "95c36d6e-e878-48c5-ba2f-e74479adf9f5", + "x-ms-correlation-request-id": "ee93f15c-1051-4943-8490-1dee1ccd257e", "x-ms-ratelimit-remaining-subscription-reads": "11998", - "x-ms-request-id": "95c36d6e-e878-48c5-ba2f-e74479adf9f5", - "x-ms-routing-request-id": "WESTUS2:20210513T223421Z:95c36d6e-e878-48c5-ba2f-e74479adf9f5" + "x-ms-request-id": "ee93f15c-1051-4943-8490-1dee1ccd257e", + "x-ms-routing-request-id": "WESTUS2:20210513T224038Z:ee93f15c-1051-4943-8490-1dee1ccd257e" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -104,15 +104,15 @@ "Cache-Control": "no-cache", "Content-Length": "237", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:22 GMT", + "Date": "Thu, 13 May 2021 22:40:40 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "50b2053e-41e5-4c73-9ab1-350ea2d1ddc2", + "x-ms-correlation-request-id": "1f554f51-191d-4212-9d9c-0d01fc3104d6", "x-ms-ratelimit-remaining-subscription-writes": "1199", - "x-ms-request-id": "50b2053e-41e5-4c73-9ab1-350ea2d1ddc2", - "x-ms-routing-request-id": "WESTUS2:20210513T223423Z:50b2053e-41e5-4c73-9ab1-350ea2d1ddc2" + "x-ms-request-id": "1f554f51-191d-4212-9d9c-0d01fc3104d6", + "x-ms-routing-request-id": "WESTUS2:20210513T224040Z:1f554f51-191d-4212-9d9c-0d01fc3104d6" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRg-9828", diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsTests().json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsTests().json index 38d43dda9753..f6d619d18a32 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsTests().json +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsTests().json @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "397", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:23 GMT", + "Date": "Thu, 13 May 2021 22:40:40 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "62a21daa-e944-4508-aa0f-36d675387942", - "x-ms-ratelimit-remaining-subscription-reads": "11996", - "x-ms-request-id": "62a21daa-e944-4508-aa0f-36d675387942", - "x-ms-routing-request-id": "WESTUS2:20210513T223423Z:62a21daa-e944-4508-aa0f-36d675387942" + "x-ms-correlation-request-id": "6727d820-6512-4dd6-b700-29c494f2b20a", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-request-id": "6727d820-6512-4dd6-b700-29c494f2b20a", + "x-ms-routing-request-id": "WESTUS2:20210513T224041Z:6727d820-6512-4dd6-b700-29c494f2b20a" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsTests()Async.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsTests()Async.json index f4786ae6bacd..c7dfdecacc28 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsTests()Async.json +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsTests()Async.json @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "397", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:23 GMT", + "Date": "Thu, 13 May 2021 22:40:40 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "45168873-83b0-465a-8f5a-a2129098a905", - "x-ms-ratelimit-remaining-subscription-reads": "11995", - "x-ms-request-id": "45168873-83b0-465a-8f5a-a2129098a905", - "x-ms-routing-request-id": "WESTUS2:20210513T223423Z:45168873-83b0-465a-8f5a-a2129098a905" + "x-ms-correlation-request-id": "117d20e5-35a5-4a47-8c8f-2fd718fa0f39", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "117d20e5-35a5-4a47-8c8f-2fd718fa0f39", + "x-ms-routing-request-id": "WESTUS2:20210513T224041Z:117d20e5-35a5-4a47-8c8f-2fd718fa0f39" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfInvalidResource().json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfInvalidResource().json index b33c5d7fa453..c4ab59a9dafd 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfInvalidResource().json +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfInvalidResource().json @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "397", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:23 GMT", + "Date": "Thu, 13 May 2021 22:40:41 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "aeb61760-58b9-47a6-9631-f3dc8171e835", - "x-ms-ratelimit-remaining-subscription-reads": "11996", - "x-ms-request-id": "aeb61760-58b9-47a6-9631-f3dc8171e835", - "x-ms-routing-request-id": "WESTUS2:20210513T223424Z:aeb61760-58b9-47a6-9631-f3dc8171e835" + "x-ms-correlation-request-id": "da1bc5f5-4fcf-4c6a-b5c6-e3ea11db9867", + "x-ms-ratelimit-remaining-subscription-reads": "11994", + "x-ms-request-id": "da1bc5f5-4fcf-4c6a-b5c6-e3ea11db9867", + "x-ms-routing-request-id": "WESTUS2:20210513T224041Z:da1bc5f5-4fcf-4c6a-b5c6-e3ea11db9867" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -57,15 +57,15 @@ "Cache-Control": "no-cache", "Content-Length": "16457", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:23 GMT", + "Date": "Thu, 13 May 2021 22:40:42 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "f476f74c-eae0-4abf-8856-7edeb620c741", - "x-ms-ratelimit-remaining-subscription-reads": "11995", - "x-ms-request-id": "f476f74c-eae0-4abf-8856-7edeb620c741", - "x-ms-routing-request-id": "WESTUS2:20210513T223424Z:f476f74c-eae0-4abf-8856-7edeb620c741" + "x-ms-correlation-request-id": "a28a19d2-9700-4094-aebf-f7d1c5e8d4c6", + "x-ms-ratelimit-remaining-subscription-reads": "11993", + "x-ms-request-id": "a28a19d2-9700-4094-aebf-f7d1c5e8d4c6", + "x-ms-routing-request-id": "WESTUS2:20210513T224042Z:a28a19d2-9700-4094-aebf-f7d1c5e8d4c6" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", @@ -1247,16 +1247,16 @@ "Cache-Control": "no-cache", "Content-Length": "104", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:24 GMT", + "Date": "Thu, 13 May 2021 22:40:42 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "1fbb4dd3-285b-4c7b-84ab-f7faa9e89c76", + "x-ms-correlation-request-id": "8b57e6e8-3778-40d7-a18d-3ade7ae82ed4", "x-ms-failure-cause": "gateway", - "x-ms-ratelimit-remaining-subscription-reads": "11991", - "x-ms-request-id": "1fbb4dd3-285b-4c7b-84ab-f7faa9e89c76", - "x-ms-routing-request-id": "WESTUS2:20210513T223424Z:1fbb4dd3-285b-4c7b-84ab-f7faa9e89c76" + "x-ms-ratelimit-remaining-subscription-reads": "11992", + "x-ms-request-id": "8b57e6e8-3778-40d7-a18d-3ade7ae82ed4", + "x-ms-routing-request-id": "WESTUS2:20210513T224042Z:8b57e6e8-3778-40d7-a18d-3ade7ae82ed4" }, "ResponseBody": { "error": { diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfInvalidResource()Async.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfInvalidResource()Async.json index 244a69e0ba50..97f5a703c949 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfInvalidResource()Async.json +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfInvalidResource()Async.json @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "397", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:23 GMT", + "Date": "Thu, 13 May 2021 22:40:41 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "20729f28-7084-4981-95b3-5cb6836cdcc6", - "x-ms-ratelimit-remaining-subscription-reads": "11994", - "x-ms-request-id": "20729f28-7084-4981-95b3-5cb6836cdcc6", - "x-ms-routing-request-id": "WESTUS2:20210513T223424Z:20729f28-7084-4981-95b3-5cb6836cdcc6" + "x-ms-correlation-request-id": "6fb9351b-f4a5-4d02-9d3a-130fc479143b", + "x-ms-ratelimit-remaining-subscription-reads": "11996", + "x-ms-request-id": "6fb9351b-f4a5-4d02-9d3a-130fc479143b", + "x-ms-routing-request-id": "WESTUS2:20210513T224041Z:6fb9351b-f4a5-4d02-9d3a-130fc479143b" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -57,15 +57,15 @@ "Cache-Control": "no-cache", "Content-Length": "16457", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:24 GMT", + "Date": "Thu, 13 May 2021 22:40:41 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "27d18f9d-7d04-44ac-8bdb-9994cd2dc46a", - "x-ms-ratelimit-remaining-subscription-reads": "11993", - "x-ms-request-id": "27d18f9d-7d04-44ac-8bdb-9994cd2dc46a", - "x-ms-routing-request-id": "WESTUS2:20210513T223424Z:27d18f9d-7d04-44ac-8bdb-9994cd2dc46a" + "x-ms-correlation-request-id": "6b6ee28f-fb5f-4902-ad66-610aa62b6f4e", + "x-ms-ratelimit-remaining-subscription-reads": "11995", + "x-ms-request-id": "6b6ee28f-fb5f-4902-ad66-610aa62b6f4e", + "x-ms-routing-request-id": "WESTUS2:20210513T224042Z:6b6ee28f-fb5f-4902-ad66-610aa62b6f4e" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", @@ -1247,16 +1247,16 @@ "Cache-Control": "no-cache", "Content-Length": "104", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:24 GMT", + "Date": "Thu, 13 May 2021 22:40:42 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "177e3eae-e5a8-483e-bbf4-e7851c4af4ab", + "x-ms-correlation-request-id": "62f5a2f6-273a-43f7-b519-410b99c961aa", "x-ms-failure-cause": "gateway", - "x-ms-ratelimit-remaining-subscription-reads": "11992", - "x-ms-request-id": "177e3eae-e5a8-483e-bbf4-e7851c4af4ab", - "x-ms-routing-request-id": "WESTUS2:20210513T223424Z:177e3eae-e5a8-483e-bbf4-e7851c4af4ab" + "x-ms-ratelimit-remaining-subscription-reads": "11991", + "x-ms-request-id": "62f5a2f6-273a-43f7-b519-410b99c961aa", + "x-ms-routing-request-id": "WESTUS2:20210513T224042Z:62f5a2f6-273a-43f7-b519-410b99c961aa" }, "ResponseBody": { "error": { diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfValidResource().json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfValidResource().json index fb94b3664330..15e5a1d5ef4c 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfValidResource().json +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfValidResource().json @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "397", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:24 GMT", + "Date": "Thu, 13 May 2021 22:40:42 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6732e0c9-a495-442e-8667-c7d86d624e6a", - "x-ms-ratelimit-remaining-subscription-reads": "11987", - "x-ms-request-id": "6732e0c9-a495-442e-8667-c7d86d624e6a", - "x-ms-routing-request-id": "WESTUS2:20210513T223425Z:6732e0c9-a495-442e-8667-c7d86d624e6a" + "x-ms-correlation-request-id": "f5b40753-435c-4800-8fc6-6cec112a0b30", + "x-ms-ratelimit-remaining-subscription-reads": "11990", + "x-ms-request-id": "f5b40753-435c-4800-8fc6-6cec112a0b30", + "x-ms-routing-request-id": "WESTUS2:20210513T224042Z:f5b40753-435c-4800-8fc6-6cec112a0b30" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -57,15 +57,15 @@ "Cache-Control": "no-cache", "Content-Length": "16457", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:24 GMT", + "Date": "Thu, 13 May 2021 22:40:42 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ff2144dc-2b07-4556-b143-152c005d62b5", - "x-ms-ratelimit-remaining-subscription-reads": "11986", - "x-ms-request-id": "ff2144dc-2b07-4556-b143-152c005d62b5", - "x-ms-routing-request-id": "WESTUS2:20210513T223425Z:ff2144dc-2b07-4556-b143-152c005d62b5" + "x-ms-correlation-request-id": "40d54216-90ea-461f-8472-1affe2e0141e", + "x-ms-ratelimit-remaining-subscription-reads": "11989", + "x-ms-request-id": "40d54216-90ea-461f-8472-1affe2e0141e", + "x-ms-routing-request-id": "WESTUS2:20210513T224042Z:40d54216-90ea-461f-8472-1affe2e0141e" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", @@ -1247,15 +1247,15 @@ "Cache-Control": "no-cache", "Content-Length": "237", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:24 GMT", + "Date": "Thu, 13 May 2021 22:40:42 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "fab8feba-882a-4a5c-bf02-08d5f1e6ee89", - "x-ms-ratelimit-remaining-subscription-reads": "11985", - "x-ms-request-id": "fab8feba-882a-4a5c-bf02-08d5f1e6ee89", - "x-ms-routing-request-id": "WESTUS2:20210513T223425Z:fab8feba-882a-4a5c-bf02-08d5f1e6ee89" + "x-ms-correlation-request-id": "eba9ee84-0f2a-4ea9-9bd5-2928320a1296", + "x-ms-ratelimit-remaining-subscription-reads": "11988", + "x-ms-request-id": "eba9ee84-0f2a-4ea9-9bd5-2928320a1296", + "x-ms-routing-request-id": "WESTUS2:20210513T224043Z:eba9ee84-0f2a-4ea9-9bd5-2928320a1296" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRg-9828", diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfValidResource()Async.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfValidResource()Async.json index c43a8ca84984..1c8b2cbf16b7 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfValidResource()Async.json +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericOperationsWithListOfValidResource()Async.json @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "397", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:24 GMT", + "Date": "Thu, 13 May 2021 22:40:42 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0c2ee5da-e271-4809-a1b0-60d490a54d14", - "x-ms-ratelimit-remaining-subscription-reads": "11990", - "x-ms-request-id": "0c2ee5da-e271-4809-a1b0-60d490a54d14", - "x-ms-routing-request-id": "WESTUS2:20210513T223425Z:0c2ee5da-e271-4809-a1b0-60d490a54d14" + "x-ms-correlation-request-id": "e7ba25df-7afb-4447-9dde-550488492396", + "x-ms-ratelimit-remaining-subscription-reads": "11994", + "x-ms-request-id": "e7ba25df-7afb-4447-9dde-550488492396", + "x-ms-routing-request-id": "WESTUS2:20210513T224043Z:e7ba25df-7afb-4447-9dde-550488492396" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -57,15 +57,15 @@ "Cache-Control": "no-cache", "Content-Length": "16457", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:24 GMT", + "Date": "Thu, 13 May 2021 22:40:42 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "1b8907ad-b0a3-4278-84ad-ebf2c6858aa5", - "x-ms-ratelimit-remaining-subscription-reads": "11989", - "x-ms-request-id": "1b8907ad-b0a3-4278-84ad-ebf2c6858aa5", - "x-ms-routing-request-id": "WESTUS2:20210513T223425Z:1b8907ad-b0a3-4278-84ad-ebf2c6858aa5" + "x-ms-correlation-request-id": "16987816-c142-44e7-9930-3b518d89f1d7", + "x-ms-ratelimit-remaining-subscription-reads": "11993", + "x-ms-request-id": "16987816-c142-44e7-9930-3b518d89f1d7", + "x-ms-routing-request-id": "WESTUS2:20210513T224043Z:16987816-c142-44e7-9930-3b518d89f1d7" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", @@ -1247,15 +1247,15 @@ "Cache-Control": "no-cache", "Content-Length": "237", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:24 GMT", + "Date": "Thu, 13 May 2021 22:40:42 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "6cdf2fd5-31c8-4e37-aa92-5dfa40deab71", - "x-ms-ratelimit-remaining-subscription-reads": "11988", - "x-ms-request-id": "6cdf2fd5-31c8-4e37-aa92-5dfa40deab71", - "x-ms-routing-request-id": "WESTUS2:20210513T223425Z:6cdf2fd5-31c8-4e37-aa92-5dfa40deab71" + "x-ms-correlation-request-id": "c9eccee4-0d45-4f9a-b2f5-d5f59799add3", + "x-ms-ratelimit-remaining-subscription-reads": "11987", + "x-ms-request-id": "c9eccee4-0d45-4f9a-b2f5-d5f59799add3", + "x-ms-routing-request-id": "WESTUS2:20210513T224043Z:c9eccee4-0d45-4f9a-b2f5-d5f59799add3" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRg-9828", diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationEmptyTest().json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationEmptyTest().json index 33d894aaee50..4d539c570ed0 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationEmptyTest().json +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationEmptyTest().json @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "397", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:25 GMT", + "Date": "Thu, 13 May 2021 22:40:43 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "386fdd8a-e5f2-4541-b583-5441d02a46c5", - "x-ms-ratelimit-remaining-subscription-reads": "11983", - "x-ms-request-id": "386fdd8a-e5f2-4541-b583-5441d02a46c5", - "x-ms-routing-request-id": "WESTUS2:20210513T223425Z:386fdd8a-e5f2-4541-b583-5441d02a46c5" + "x-ms-correlation-request-id": "8bcb3265-0cc3-44f7-a3d1-3ebe42aa7ac5", + "x-ms-ratelimit-remaining-subscription-reads": "11986", + "x-ms-request-id": "8bcb3265-0cc3-44f7-a3d1-3ebe42aa7ac5", + "x-ms-routing-request-id": "WESTUS2:20210513T224043Z:8bcb3265-0cc3-44f7-a3d1-3ebe42aa7ac5" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationEmptyTest()Async.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationEmptyTest()Async.json index 42b79fa323be..77b518f559fc 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationEmptyTest()Async.json +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationEmptyTest()Async.json @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "397", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:25 GMT", + "Date": "Thu, 13 May 2021 22:40:43 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "16bc385a-ef1a-437c-b326-67f52ed19897", - "x-ms-ratelimit-remaining-subscription-reads": "11984", - "x-ms-request-id": "16bc385a-ef1a-437c-b326-67f52ed19897", - "x-ms-routing-request-id": "WESTUS2:20210513T223425Z:16bc385a-ef1a-437c-b326-67f52ed19897" + "x-ms-correlation-request-id": "0c67889b-9f5c-4fe6-b570-1a45ad4a5719", + "x-ms-ratelimit-remaining-subscription-reads": "11985", + "x-ms-request-id": "0c67889b-9f5c-4fe6-b570-1a45ad4a5719", + "x-ms-routing-request-id": "WESTUS2:20210513T224043Z:0c67889b-9f5c-4fe6-b570-1a45ad4a5719" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullId().json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullId().json index 3409bb18213d..b4e3903218cd 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullId().json +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullId().json @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "397", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:27 GMT", + "Date": "Thu, 13 May 2021 22:40:45 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "404f2d16-ace0-402f-8646-57589aeece52", - "x-ms-ratelimit-remaining-subscription-reads": "11967", - "x-ms-request-id": "404f2d16-ace0-402f-8646-57589aeece52", - "x-ms-routing-request-id": "WESTUS2:20210513T223428Z:404f2d16-ace0-402f-8646-57589aeece52" + "x-ms-correlation-request-id": "724b021f-0870-43a9-9c94-448efe213156", + "x-ms-ratelimit-remaining-subscription-reads": "11977", + "x-ms-request-id": "724b021f-0870-43a9-9c94-448efe213156", + "x-ms-routing-request-id": "WESTUS2:20210513T224046Z:724b021f-0870-43a9-9c94-448efe213156" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullId()Async.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullId()Async.json index 48e326d2625c..796a2181da6e 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullId()Async.json +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullId()Async.json @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "397", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:27 GMT", + "Date": "Thu, 13 May 2021 22:40:45 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "fa6abdb7-ae9f-4ae5-aca4-f89f7d4bc602", - "x-ms-ratelimit-remaining-subscription-reads": "11968", - "x-ms-request-id": "fa6abdb7-ae9f-4ae5-aca4-f89f7d4bc602", - "x-ms-routing-request-id": "WESTUS2:20210513T223427Z:fa6abdb7-ae9f-4ae5-aca4-f89f7d4bc602" + "x-ms-correlation-request-id": "702b7003-b744-43df-856e-fbec18a14c33", + "x-ms-ratelimit-remaining-subscription-reads": "11985", + "x-ms-request-id": "702b7003-b744-43df-856e-fbec18a14c33", + "x-ms-routing-request-id": "WESTUS2:20210513T224046Z:702b7003-b744-43df-856e-fbec18a14c33" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullSetOfIds().json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullSetOfIds().json index 3ff783765a55..f9a443289f4f 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullSetOfIds().json +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullSetOfIds().json @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "397", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:27 GMT", + "Date": "Thu, 13 May 2021 22:40:45 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "52cc865d-a469-4aa7-9c3c-5f835322022e", - "x-ms-ratelimit-remaining-subscription-reads": "11994", - "x-ms-request-id": "52cc865d-a469-4aa7-9c3c-5f835322022e", - "x-ms-routing-request-id": "WESTUS2:20210513T223428Z:52cc865d-a469-4aa7-9c3c-5f835322022e" + "x-ms-correlation-request-id": "c1e9eee7-3e93-4d0c-bb2f-0c130fc7a3f4", + "x-ms-ratelimit-remaining-subscription-reads": "11984", + "x-ms-request-id": "c1e9eee7-3e93-4d0c-bb2f-0c130fc7a3f4", + "x-ms-routing-request-id": "WESTUS2:20210513T224046Z:c1e9eee7-3e93-4d0c-bb2f-0c130fc7a3f4" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullSetOfIds()Async.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullSetOfIds()Async.json index 1b4cef97a5c2..2415dcaab17c 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullSetOfIds()Async.json +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationWithNullSetOfIds()Async.json @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "397", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:27 GMT", + "Date": "Thu, 13 May 2021 22:40:46 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "92bc05f8-b2c5-4766-bd51-2dea65034ea0", - "x-ms-ratelimit-remaining-subscription-reads": "11966", - "x-ms-request-id": "92bc05f8-b2c5-4766-bd51-2dea65034ea0", - "x-ms-routing-request-id": "WESTUS2:20210513T223428Z:92bc05f8-b2c5-4766-bd51-2dea65034ea0" + "x-ms-correlation-request-id": "fb8147fe-04ea-4096-b2a2-ff0e646b2060", + "x-ms-ratelimit-remaining-subscription-reads": "11976", + "x-ms-request-id": "fb8147fe-04ea-4096-b2a2-ff0e646b2060", + "x-ms-routing-request-id": "WESTUS2:20210513T224046Z:fb8147fe-04ea-4096-b2a2-ff0e646b2060" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsSingleIDTests().json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsSingleIDTests().json index f75fd07bf9ac..85905d93c6a5 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsSingleIDTests().json +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsSingleIDTests().json @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "397", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:25 GMT", + "Date": "Thu, 13 May 2021 22:40:44 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "fc3e5acf-ce7f-449d-992c-6ba2ca872017", - "x-ms-ratelimit-remaining-subscription-reads": "11981", - "x-ms-request-id": "fc3e5acf-ce7f-449d-992c-6ba2ca872017", - "x-ms-routing-request-id": "WESTUS2:20210513T223426Z:fc3e5acf-ce7f-449d-992c-6ba2ca872017" + "x-ms-correlation-request-id": "7c8ad9aa-ab4c-4cd6-8e44-608a58125a73", + "x-ms-ratelimit-remaining-subscription-reads": "11984", + "x-ms-request-id": "7c8ad9aa-ab4c-4cd6-8e44-608a58125a73", + "x-ms-routing-request-id": "WESTUS2:20210513T224044Z:7c8ad9aa-ab4c-4cd6-8e44-608a58125a73" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsSingleIDTests()Async.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsSingleIDTests()Async.json index 636e074dd856..a830f1956ba4 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsSingleIDTests()Async.json +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsSingleIDTests()Async.json @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "397", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:25 GMT", + "Date": "Thu, 13 May 2021 22:40:43 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "513e8828-1479-4426-be52-841560eea2c2", - "x-ms-ratelimit-remaining-subscription-reads": "11982", - "x-ms-request-id": "513e8828-1479-4426-be52-841560eea2c2", - "x-ms-routing-request-id": "WESTUS2:20210513T223426Z:513e8828-1479-4426-be52-841560eea2c2" + "x-ms-correlation-request-id": "9372e82f-bf68-43ed-9ed6-effd1227d4ac", + "x-ms-ratelimit-remaining-subscription-reads": "11992", + "x-ms-request-id": "9372e82f-bf68-43ed-9ed6-effd1227d4ac", + "x-ms-routing-request-id": "WESTUS2:20210513T224044Z:9372e82f-bf68-43ed-9ed6-effd1227d4ac" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleInvalidResource().json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleInvalidResource().json index 114b37922acb..889a0b3be687 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleInvalidResource().json +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleInvalidResource().json @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "397", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:26 GMT", + "Date": "Thu, 13 May 2021 22:40:44 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ac62f241-a7a9-448a-b424-56a4743657ae", - "x-ms-ratelimit-remaining-subscription-reads": "11977", - "x-ms-request-id": "ac62f241-a7a9-448a-b424-56a4743657ae", - "x-ms-routing-request-id": "WESTUS2:20210513T223427Z:ac62f241-a7a9-448a-b424-56a4743657ae" + "x-ms-correlation-request-id": "ce7d2875-d7fa-4a43-9635-8a5b13e2fb50", + "x-ms-ratelimit-remaining-subscription-reads": "11991", + "x-ms-request-id": "ce7d2875-d7fa-4a43-9635-8a5b13e2fb50", + "x-ms-routing-request-id": "WESTUS2:20210513T224044Z:ce7d2875-d7fa-4a43-9635-8a5b13e2fb50" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -57,15 +57,15 @@ "Cache-Control": "no-cache", "Content-Length": "16457", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:26 GMT", + "Date": "Thu, 13 May 2021 22:40:44 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "ee76ac6c-2767-496f-9cfb-3deb1ba15a9b", - "x-ms-ratelimit-remaining-subscription-reads": "11976", - "x-ms-request-id": "ee76ac6c-2767-496f-9cfb-3deb1ba15a9b", - "x-ms-routing-request-id": "WESTUS2:20210513T223427Z:ee76ac6c-2767-496f-9cfb-3deb1ba15a9b" + "x-ms-correlation-request-id": "6fb14776-36e2-4fc4-8ccd-ca0a5d34de61", + "x-ms-ratelimit-remaining-subscription-reads": "11990", + "x-ms-request-id": "6fb14776-36e2-4fc4-8ccd-ca0a5d34de61", + "x-ms-routing-request-id": "WESTUS2:20210513T224044Z:6fb14776-36e2-4fc4-8ccd-ca0a5d34de61" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", @@ -1247,16 +1247,16 @@ "Cache-Control": "no-cache", "Content-Length": "97", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:26 GMT", + "Date": "Thu, 13 May 2021 22:40:44 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "426a1af7-4aad-4772-add3-e7fd2f73b2a1", + "x-ms-correlation-request-id": "741f0498-6358-44d5-a296-f2638f662688", "x-ms-failure-cause": "gateway", - "x-ms-ratelimit-remaining-subscription-reads": "11975", - "x-ms-request-id": "426a1af7-4aad-4772-add3-e7fd2f73b2a1", - "x-ms-routing-request-id": "WESTUS2:20210513T223427Z:426a1af7-4aad-4772-add3-e7fd2f73b2a1" + "x-ms-ratelimit-remaining-subscription-reads": "11989", + "x-ms-request-id": "741f0498-6358-44d5-a296-f2638f662688", + "x-ms-routing-request-id": "WESTUS2:20210513T224044Z:741f0498-6358-44d5-a296-f2638f662688" }, "ResponseBody": { "error": { diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleInvalidResource()Async.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleInvalidResource()Async.json index dea601b76dfc..72d8e13174e5 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleInvalidResource()Async.json +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleInvalidResource()Async.json @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "397", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:26 GMT", + "Date": "Thu, 13 May 2021 22:40:44 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "608a9756-fb46-46fa-a115-21d8d5308171", - "x-ms-ratelimit-remaining-subscription-reads": "11980", - "x-ms-request-id": "608a9756-fb46-46fa-a115-21d8d5308171", - "x-ms-routing-request-id": "WESTUS2:20210513T223426Z:608a9756-fb46-46fa-a115-21d8d5308171" + "x-ms-correlation-request-id": "c58241f0-4363-41fa-8e02-6fd9b23793e4", + "x-ms-ratelimit-remaining-subscription-reads": "11983", + "x-ms-request-id": "c58241f0-4363-41fa-8e02-6fd9b23793e4", + "x-ms-routing-request-id": "WESTUS2:20210513T224044Z:c58241f0-4363-41fa-8e02-6fd9b23793e4" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -57,15 +57,15 @@ "Cache-Control": "no-cache", "Content-Length": "16457", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:26 GMT", + "Date": "Thu, 13 May 2021 22:40:44 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "31c4a15b-ad85-4538-a63d-67bf107104a7", - "x-ms-ratelimit-remaining-subscription-reads": "11979", - "x-ms-request-id": "31c4a15b-ad85-4538-a63d-67bf107104a7", - "x-ms-routing-request-id": "WESTUS2:20210513T223426Z:31c4a15b-ad85-4538-a63d-67bf107104a7" + "x-ms-correlation-request-id": "5c0f7fb5-2bcc-44ad-801a-200db3e59311", + "x-ms-ratelimit-remaining-subscription-reads": "11982", + "x-ms-request-id": "5c0f7fb5-2bcc-44ad-801a-200db3e59311", + "x-ms-routing-request-id": "WESTUS2:20210513T224044Z:5c0f7fb5-2bcc-44ad-801a-200db3e59311" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", @@ -1247,16 +1247,16 @@ "Cache-Control": "no-cache", "Content-Length": "97", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:26 GMT", + "Date": "Thu, 13 May 2021 22:40:44 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "8bef170e-969d-44c3-8b0b-c6379ff77eaa", + "x-ms-correlation-request-id": "8f00f9a3-5e6c-4f91-9717-f98d246e146f", "x-ms-failure-cause": "gateway", - "x-ms-ratelimit-remaining-subscription-reads": "11978", - "x-ms-request-id": "8bef170e-969d-44c3-8b0b-c6379ff77eaa", - "x-ms-routing-request-id": "WESTUS2:20210513T223426Z:8bef170e-969d-44c3-8b0b-c6379ff77eaa" + "x-ms-ratelimit-remaining-subscription-reads": "11981", + "x-ms-request-id": "8f00f9a3-5e6c-4f91-9717-f98d246e146f", + "x-ms-routing-request-id": "WESTUS2:20210513T224044Z:8f00f9a3-5e6c-4f91-9717-f98d246e146f" }, "ResponseBody": { "error": { diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleValidResource().json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleValidResource().json index 58aaadeb02af..770bf2beee8b 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleValidResource().json +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleValidResource().json @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "397", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:27 GMT", + "Date": "Thu, 13 May 2021 22:40:45 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "663e1309-24ed-45df-b573-b42d4cdf5e7f", - "x-ms-ratelimit-remaining-subscription-reads": "11971", - "x-ms-request-id": "663e1309-24ed-45df-b573-b42d4cdf5e7f", - "x-ms-routing-request-id": "WESTUS2:20210513T223427Z:663e1309-24ed-45df-b573-b42d4cdf5e7f" + "x-ms-correlation-request-id": "fb40dd4a-4acf-4652-b5dc-eb8c3f34e672", + "x-ms-ratelimit-remaining-subscription-reads": "11980", + "x-ms-request-id": "fb40dd4a-4acf-4652-b5dc-eb8c3f34e672", + "x-ms-routing-request-id": "WESTUS2:20210513T224045Z:fb40dd4a-4acf-4652-b5dc-eb8c3f34e672" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -57,15 +57,15 @@ "Cache-Control": "no-cache", "Content-Length": "16457", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:27 GMT", + "Date": "Thu, 13 May 2021 22:40:45 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0dbbb6cb-7223-4e78-b903-aeca0bb1c46f", - "x-ms-ratelimit-remaining-subscription-reads": "11970", - "x-ms-request-id": "0dbbb6cb-7223-4e78-b903-aeca0bb1c46f", - "x-ms-routing-request-id": "WESTUS2:20210513T223427Z:0dbbb6cb-7223-4e78-b903-aeca0bb1c46f" + "x-ms-correlation-request-id": "cb5954b5-59ac-4987-9efa-7c88557be6cb", + "x-ms-ratelimit-remaining-subscription-reads": "11979", + "x-ms-request-id": "cb5954b5-59ac-4987-9efa-7c88557be6cb", + "x-ms-routing-request-id": "WESTUS2:20210513T224045Z:cb5954b5-59ac-4987-9efa-7c88557be6cb" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", @@ -1247,15 +1247,15 @@ "Cache-Control": "no-cache", "Content-Length": "237", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:27 GMT", + "Date": "Thu, 13 May 2021 22:40:45 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4d26c6ab-4f33-412f-a86d-f4e04db0f2b9", - "x-ms-ratelimit-remaining-subscription-reads": "11969", - "x-ms-request-id": "4d26c6ab-4f33-412f-a86d-f4e04db0f2b9", - "x-ms-routing-request-id": "WESTUS2:20210513T223427Z:4d26c6ab-4f33-412f-a86d-f4e04db0f2b9" + "x-ms-correlation-request-id": "06fdc7be-2167-444a-b7b9-2e5832c393c4", + "x-ms-ratelimit-remaining-subscription-reads": "11978", + "x-ms-request-id": "06fdc7be-2167-444a-b7b9-2e5832c393c4", + "x-ms-routing-request-id": "WESTUS2:20210513T224045Z:06fdc7be-2167-444a-b7b9-2e5832c393c4" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRg-9828", diff --git a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleValidResource()Async.json b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleValidResource()Async.json index b55ffbcfe76c..0d3ab843c2b0 100644 --- a/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleValidResource()Async.json +++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/GetGenericResourceOperationsWithSingleValidResource()Async.json @@ -16,15 +16,15 @@ "Cache-Control": "no-cache", "Content-Length": "397", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:26 GMT", + "Date": "Thu, 13 May 2021 22:40:44 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "0f53c680-ba8c-4c75-8bae-81a5ade4861c", - "x-ms-ratelimit-remaining-subscription-reads": "11974", - "x-ms-request-id": "0f53c680-ba8c-4c75-8bae-81a5ade4861c", - "x-ms-routing-request-id": "WESTUS2:20210513T223427Z:0f53c680-ba8c-4c75-8bae-81a5ade4861c" + "x-ms-correlation-request-id": "addc623f-8897-4b3c-bb4b-c259ee07afd3", + "x-ms-ratelimit-remaining-subscription-reads": "11988", + "x-ms-request-id": "addc623f-8897-4b3c-bb4b-c259ee07afd3", + "x-ms-routing-request-id": "WESTUS2:20210513T224045Z:addc623f-8897-4b3c-bb4b-c259ee07afd3" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c", @@ -57,15 +57,15 @@ "Cache-Control": "no-cache", "Content-Length": "16457", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:26 GMT", + "Date": "Thu, 13 May 2021 22:40:44 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "2c9a3f34-2606-46cf-8f3e-edc4ae5c39a7", - "x-ms-ratelimit-remaining-subscription-reads": "11973", - "x-ms-request-id": "2c9a3f34-2606-46cf-8f3e-edc4ae5c39a7", - "x-ms-routing-request-id": "WESTUS2:20210513T223427Z:2c9a3f34-2606-46cf-8f3e-edc4ae5c39a7" + "x-ms-correlation-request-id": "5591919e-1b53-45d3-9b57-b7a0b216f3d3", + "x-ms-ratelimit-remaining-subscription-reads": "11987", + "x-ms-request-id": "5591919e-1b53-45d3-9b57-b7a0b216f3d3", + "x-ms-routing-request-id": "WESTUS2:20210513T224045Z:5591919e-1b53-45d3-9b57-b7a0b216f3d3" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/providers/Microsoft.Resources", @@ -1247,15 +1247,15 @@ "Cache-Control": "no-cache", "Content-Length": "237", "Content-Type": "application/json; charset=utf-8", - "Date": "Thu, 13 May 2021 22:34:26 GMT", + "Date": "Thu, 13 May 2021 22:40:44 GMT", "Expires": "-1", "Pragma": "no-cache", "Strict-Transport-Security": "max-age=31536000; includeSubDomains", "X-Content-Type-Options": "nosniff", - "x-ms-correlation-request-id": "4c39b5b5-5310-422e-a1db-d726486e1a62", - "x-ms-ratelimit-remaining-subscription-reads": "11972", - "x-ms-request-id": "4c39b5b5-5310-422e-a1db-d726486e1a62", - "x-ms-routing-request-id": "WESTUS2:20210513T223427Z:4c39b5b5-5310-422e-a1db-d726486e1a62" + "x-ms-correlation-request-id": "878588b8-30a0-46fd-841d-b062fcab9839", + "x-ms-ratelimit-remaining-subscription-reads": "11986", + "x-ms-request-id": "878588b8-30a0-46fd-841d-b062fcab9839", + "x-ms-routing-request-id": "WESTUS2:20210513T224045Z:878588b8-30a0-46fd-841d-b062fcab9839" }, "ResponseBody": { "id": "/subscriptions/db1ab6f0-4769-4b27-930e-01e2ef9c123c/resourceGroups/testRg-9828",