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 0000000000000..ff6d0452db003
--- /dev/null
+++ b/sdk/resourcemanager/Azure.ResourceManager.Core/src/Extensions/ARMClientExtensions.cs
@@ -0,0 +1,51 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+using System;
+using System.Collections.Generic;
+
+namespace Azure.ResourceManager.Core
+{
+ ///
+ /// A class of extensions for the ARM Client.
+ ///
+ public static class ArmClientExtensions
+ {
+ ///
+ /// Get the operations for a list of specific resources.
+ ///
+ ///
+ /// A list of the IDs of the resources to retrieve.
+ ///
+ public static IList GetGenericResourceOperations(this ArmClient client, IEnumerable ids)
+ {
+ if (ids == null)
+ {
+ throw new ArgumentNullException(nameof(ids));
+ }
+
+ IList genericRespirceOperations = new List();
+ foreach (string id in ids)
+ {
+ genericRespirceOperations.Add(new GenericResourceOperations(client.DefaultSubscription, id));
+ }
+ 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);
+ }
+ }
+}
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 0000000000000..679e7ef9ddab6
--- /dev/null
+++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/Scenario/ArmClientTests.cs
@@ -0,0 +1,134 @@
+using System;
+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 : ResourceManagerTestBase
+ {
+ private string _rgName;
+ private readonly string _location = "southcentralus";
+
+ public ArmClientTests(bool isAsync)
+ : base(isAsync)//, RecordedTestMode.Record)
+ {
+ }
+
+ [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]
+ 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 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()
+ {
+ $"/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 GetGenericOperationsWithListOfInvalidResource()
+ {
+ var ids = new List()
+ {
+ $"/subscriptions/{TestEnvironment.SubscriptionId}/resourceGroups/non-existent/"
+ };
+
+ 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 GetGenericResourceOperationWithNullSetOfIds()
+ {
+ string[] x = null;
+ Assert.Throws(() => { Client.GetGenericResourceOperations(x); });
+ }
+
+ [TestCase]
+ public void GetGenericResourceOperationWithNullId()
+ {
+ string x = null;
+ Assert.Throws(() => { Client.GetGenericResourceOperations(x); });
+ }
+
+ [TestCase]
+ public void GetGenericResourceOperationEmptyTest()
+ {
+ var ids = new List();
+ Assert.AreEqual(new List(), Client.GetGenericResourceOperations(ids));
+ }
+ }
+}
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 0000000000000..e03ebb8b39610
--- /dev/null
+++ b/sdk/resourcemanager/Azure.ResourceManager.Core/tests/SessionRecords/ArmClientTests/ArmClientTests(False).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: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": "db79409d-5486-4640-a33f-5cfd6529435f",
+ "x-ms-ratelimit-remaining-subscription-reads": "11999",
+ "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",
+ "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-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"
+ },
+ "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: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": "7c513411-9fba-447a-ac08-0a85848037fc",
+ "x-ms-ratelimit-remaining-subscription-reads": "11998",
+ "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",
+ "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: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": "fbb656b5-3b4d-4d9d-9ba0-a36f2a4ba2cc",
+ "x-ms-ratelimit-remaining-subscription-writes": "1199",
+ "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",
+ "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 0000000000000..d621b1cfa2e18
--- /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: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": "d61eac86-385d-4fac-b856-b67d7dde70f5",
+ "x-ms-ratelimit-remaining-subscription-reads": "11999",
+ "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",
+ "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-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"
+ },
+ "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: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": "ee93f15c-1051-4943-8490-1dee1ccd257e",
+ "x-ms-ratelimit-remaining-subscription-reads": "11998",
+ "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",
+ "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: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": "1f554f51-191d-4212-9d9c-0d01fc3104d6",
+ "x-ms-ratelimit-remaining-subscription-writes": "1199",
+ "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",
+ "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 0000000000000..f6d619d18a32e
--- /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: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": "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",
+ "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 0000000000000..c7dfdecacc28d
--- /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: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": "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",
+ "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 0000000000000..c4ab59a9dafd5
--- /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: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": "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",
+ "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: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": "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",
+ "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: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": "8b57e6e8-3778-40d7-a18d-3ade7ae82ed4",
+ "x-ms-failure-cause": "gateway",
+ "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": {
+ "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 0000000000000..97f5a703c9498
--- /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: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": "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",
+ "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: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": "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",
+ "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: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": "62f5a2f6-273a-43f7-b519-410b99c961aa",
+ "x-ms-failure-cause": "gateway",
+ "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": {
+ "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 0000000000000..15e5a1d5ef4ce
--- /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: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": "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",
+ "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: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": "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",
+ "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: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": "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",
+ "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 0000000000000..1c8b2cbf16b72
--- /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: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": "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",
+ "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: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": "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",
+ "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: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": "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",
+ "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 0000000000000..4d539c570ed0c
--- /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: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": "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",
+ "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 0000000000000..77b518f559fc9
--- /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: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": "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",
+ "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 0000000000000..b4e3903218cd0
--- /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: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": "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",
+ "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 0000000000000..796a2181da6ec
--- /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: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": "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",
+ "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 0000000000000..f9a443289f4ff
--- /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: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": "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",
+ "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 0000000000000..2415dcaab17c0
--- /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: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": "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",
+ "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 0000000000000..85905d93c6a59
--- /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: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": "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",
+ "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 0000000000000..a830f1956ba4d
--- /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: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": "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",
+ "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 0000000000000..889a0b3be687b
--- /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: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": "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",
+ "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: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": "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",
+ "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: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": "741f0498-6358-44d5-a296-f2638f662688",
+ "x-ms-failure-cause": "gateway",
+ "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": {
+ "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 0000000000000..72d8e13174e55
--- /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: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": "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",
+ "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: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": "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",
+ "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: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": "8f00f9a3-5e6c-4f91-9717-f98d246e146f",
+ "x-ms-failure-cause": "gateway",
+ "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": {
+ "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 0000000000000..770bf2beee8bb
--- /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: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": "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",
+ "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: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": "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",
+ "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: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": "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",
+ "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 0000000000000..0d3ab843c2b01
--- /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: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": "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",
+ "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: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": "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",
+ "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: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": "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",
+ "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