diff --git a/src/AzureStack/AzSdk.reference.props b/src/AzureStack/AzSdk.reference.props
new file mode 100644
index 000000000000..3fa8b2131fa4
--- /dev/null
+++ b/src/AzureStack/AzSdk.reference.props
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/AzureStack/AzSdk.test.reference.props b/src/AzureStack/AzSdk.test.reference.props
new file mode 100644
index 000000000000..a1b4061f6e33
--- /dev/null
+++ b/src/AzureStack/AzSdk.test.reference.props
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/AzureStack/CommerceAdmin/Commerce.Admin.Tests/Commerce.Tests.csproj b/src/AzureStack/CommerceAdmin/Commerce.Admin.Tests/Commerce.Tests.csproj
new file mode 100644
index 000000000000..b14d9e9b896f
--- /dev/null
+++ b/src/AzureStack/CommerceAdmin/Commerce.Admin.Tests/Commerce.Tests.csproj
@@ -0,0 +1,27 @@
+
+
+
+ Commerce.Admin.Tests
+ Commerce.Admin.Tests Class Library
+ Commerce.Admin.Tests
+ 1.0.0-preview
+
+
+ netcoreapp1.1
+
+
+
+
+
+
+
+
+ PreserveNewest
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/AzureStack/CommerceAdmin/Commerce.Admin.Tests/Properties/AssemblyInfo.cs b/src/AzureStack/CommerceAdmin/Commerce.Admin.Tests/Properties/AssemblyInfo.cs
new file mode 100644
index 000000000000..68e1e55f240e
--- /dev/null
+++ b/src/AzureStack/CommerceAdmin/Commerce.Admin.Tests/Properties/AssemblyInfo.cs
@@ -0,0 +1,20 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+[assembly: AssemblyTitle("Commerce.Tests")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Microsoft")]
+[assembly: AssemblyProduct("Commerce.Tests")]
+[assembly: AssemblyCopyright("Copyright © Microsoft 2017")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+[assembly: ComVisible(false)]
+
+[assembly: Guid("1b24bc4a-6e4d-4feb-b5d5-c9684c60a308")]
+
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/src/AzureStack/CommerceAdmin/Commerce.Admin.Tests/SessionRecords/CommerceAdminClient/TestListSubscriberUsageAggregatesFromLastTwoDays.json b/src/AzureStack/CommerceAdmin/Commerce.Admin.Tests/SessionRecords/CommerceAdminClient/TestListSubscriberUsageAggregatesFromLastTwoDays.json
new file mode 100644
index 000000000000..f9308d8d2760
--- /dev/null
+++ b/src/AzureStack/CommerceAdmin/Commerce.Admin.Tests/SessionRecords/CommerceAdminClient/TestListSubscriberUsageAggregatesFromLastTwoDays.json
@@ -0,0 +1,69 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/providers/Microsoft.Commerce/subscriberUsageAggregates?api-version=2015-06-01-preview&reportedStartTime=2017-09-06T00:00:00Z&reportedEndTime=2017-09-07T00:00:00Z",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tbWVyY2Uvc3Vic2NyaWJlclVzYWdlQWdncmVnYXRlcz9hcGktdmVyc2lvbj0yMDE1LTA2LTAxLXByZXZpZXcmcmVwb3J0ZWRTdGFydFRpbWU9MjAxNy0wOS0wNlQwMCUzQTAwJTNBMDBaJnJlcG9ydGVkRW5kVGltZT0yMDE3LTA5LTA3VDAwJTNBMDAlM0EwMFo=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "a4a62639-68fa-4fe3-85ea-8d2eb24cad12"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Commerce.Admin.CommerceAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/providers/Microsoft.Commerce/UsageAggregate/36770ead-1c95-4048-8ff3-d727dd5007de-9764F92C-E44A-498E-8DC1-AAD66587A810\",\r\n \"name\": \"36770ead-1c95-4048-8ff3-d727dd5007de-9764F92C-E44A-498E-8DC1-AAD66587A810\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"36770ead-1c95-4048-8ff3-d727dd5007de\",\r\n \"usageStartTime\": \"2017-09-05T17:00:00-07:00\",\r\n \"usageEndTime\": \"2017-09-06T17:00:00-07:00\",\r\n \"instanceData\": \"{\\\"Microsoft.Resources\\\":{\\\"resourceUri\\\":\\\"/subscriptions/36770ead-1c95-4048-8ff3-d727dd5007de/resourcegroups/derpgroup/providers/Microsoft.Storage/storageaccounts/vmefbj65\\\",\\\"location\\\":\\\"local\\\",\\\"tags\\\":null,\\\"additionalInfo\\\":null}}\",\r\n \"quantity\": 0.0029740091413259506,\r\n \"meterId\": \"9764F92C-E44A-498E-8DC1-AAD66587A810\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/providers/Microsoft.Commerce/UsageAggregate/36770ead-1c95-4048-8ff3-d727dd5007de-43DAF82B-4618-444A-B994-40C23F7CD438\",\r\n \"name\": \"36770ead-1c95-4048-8ff3-d727dd5007de-43DAF82B-4618-444A-B994-40C23F7CD438\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"36770ead-1c95-4048-8ff3-d727dd5007de\",\r\n \"usageStartTime\": \"2017-09-05T17:00:00-07:00\",\r\n \"usageEndTime\": \"2017-09-06T17:00:00-07:00\",\r\n \"instanceData\": \"{\\\"Microsoft.Resources\\\":{\\\"resourceUri\\\":\\\"/subscriptions/36770ead-1c95-4048-8ff3-d727dd5007de/resourcegroups/derpgroup/providers/Microsoft.Storage/storageaccounts/vmefbj65\\\",\\\"location\\\":\\\"local\\\",\\\"tags\\\":null,\\\"additionalInfo\\\":null}}\",\r\n \"quantity\": 0.051000000000000004,\r\n \"meterId\": \"43DAF82B-4618-444A-B994-40C23F7CD438\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/providers/Microsoft.Commerce/UsageAggregate/36770ead-1c95-4048-8ff3-d727dd5007de-6dab500f-a4fd-49c4-956d-229bb9c8c793\",\r\n \"name\": \"36770ead-1c95-4048-8ff3-d727dd5007de-6dab500f-a4fd-49c4-956d-229bb9c8c793\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"36770ead-1c95-4048-8ff3-d727dd5007de\",\r\n \"usageStartTime\": \"2017-09-05T17:00:00-07:00\",\r\n \"usageEndTime\": \"2017-09-06T17:00:00-07:00\",\r\n \"instanceData\": \"{\\\"Microsoft.Resources\\\":{\\\"resourceUri\\\":\\\"/subscriptions/36770ead-1c95-4048-8ff3-d727dd5007de/resourceGroups/derpgroup/providers/Microsoft.Compute/virtualMachines/simplewinvmd\\\",\\\"location\\\":\\\"local\\\",\\\"tags\\\":\\\"null\\\",\\\"additionalInfo\\\":\\\"{\\\\\\\"ServiceType\\\\\\\":\\\\\\\"Standard_A1\\\\\\\",\\\\\\\"ImageType\\\\\\\":null}\\\"}}\",\r\n \"quantity\": 3.9998271341111109,\r\n \"meterId\": \"6dab500f-a4fd-49c4-956d-229bb9c8c793\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/providers/Microsoft.Commerce/UsageAggregate/36770ead-1c95-4048-8ff3-d727dd5007de-9cd92d4c-bafd-4492-b278-bedc2de8232a\",\r\n \"name\": \"36770ead-1c95-4048-8ff3-d727dd5007de-9cd92d4c-bafd-4492-b278-bedc2de8232a\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"36770ead-1c95-4048-8ff3-d727dd5007de\",\r\n \"usageStartTime\": \"2017-09-05T17:00:00-07:00\",\r\n \"usageEndTime\": \"2017-09-06T17:00:00-07:00\",\r\n \"instanceData\": \"{\\\"Microsoft.Resources\\\":{\\\"resourceUri\\\":\\\"/subscriptions/36770ead-1c95-4048-8ff3-d727dd5007de/resourceGroups/derpgroup/providers/Microsoft.Compute/virtualMachines/simplewinvmd\\\",\\\"location\\\":\\\"local\\\",\\\"tags\\\":\\\"null\\\",\\\"additionalInfo\\\":\\\"{\\\\\\\"ServiceType\\\\\\\":\\\\\\\"Standard_A1\\\\\\\",\\\\\\\"ImageType\\\\\\\":null}\\\"}}\",\r\n \"quantity\": 3.9998271341111109,\r\n \"meterId\": \"9cd92d4c-bafd-4492-b278-bedc2de8232a\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/providers/Microsoft.Commerce/UsageAggregate/36770ead-1c95-4048-8ff3-d727dd5007de-B5C15376-6C94-4FDD-B655-1A69D138ACA3\",\r\n \"name\": \"36770ead-1c95-4048-8ff3-d727dd5007de-B5C15376-6C94-4FDD-B655-1A69D138ACA3\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"36770ead-1c95-4048-8ff3-d727dd5007de\",\r\n \"usageStartTime\": \"2017-09-05T17:00:00-07:00\",\r\n \"usageEndTime\": \"2017-09-06T17:00:00-07:00\",\r\n \"instanceData\": \"{\\\"Microsoft.Resources\\\":{\\\"resourceUri\\\":\\\"/subscriptions/36770ead-1c95-4048-8ff3-d727dd5007de/resourcegroups/derpgroup/providers/Microsoft.Storage/storageaccounts/vmefbj65\\\",\\\"location\\\":\\\"local\\\",\\\"tags\\\":null,\\\"additionalInfo\\\":null}}\",\r\n \"quantity\": 47.745195036754012,\r\n \"meterId\": \"B5C15376-6C94-4FDD-B655-1A69D138ACA3\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/providers/Microsoft.Commerce/UsageAggregate/36770ead-1c95-4048-8ff3-d727dd5007de-09F8879E-87E9-4305-A572-4B7BE209F857\",\r\n \"name\": \"36770ead-1c95-4048-8ff3-d727dd5007de-09F8879E-87E9-4305-A572-4B7BE209F857\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"36770ead-1c95-4048-8ff3-d727dd5007de\",\r\n \"usageStartTime\": \"2017-09-05T17:00:00-07:00\",\r\n \"usageEndTime\": \"2017-09-06T17:00:00-07:00\",\r\n \"instanceData\": \"{\\\"Microsoft.Resources\\\":{\\\"resourceUri\\\":\\\"/subscriptions/36770ead-1c95-4048-8ff3-d727dd5007de/resourcegroups/derpgroup/providers/Microsoft.Storage/storageaccounts/vmefbj65\\\",\\\"location\\\":\\\"local\\\",\\\"tags\\\":null,\\\"additionalInfo\\\":null}}\",\r\n \"quantity\": 6.866455078125E-05,\r\n \"meterId\": \"09F8879E-87E9-4305-A572-4B7BE209F857\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/providers/Microsoft.Commerce/UsageAggregate/36770ead-1c95-4048-8ff3-d727dd5007de-3023FEF4-ECA5-4D7B-87B3-CFBC061931E8\",\r\n \"name\": \"36770ead-1c95-4048-8ff3-d727dd5007de-3023FEF4-ECA5-4D7B-87B3-CFBC061931E8\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"36770ead-1c95-4048-8ff3-d727dd5007de\",\r\n \"usageStartTime\": \"2017-09-05T17:00:00-07:00\",\r\n \"usageEndTime\": \"2017-09-06T17:00:00-07:00\",\r\n \"instanceData\": \"{\\\"Microsoft.Resources\\\":{\\\"resourceUri\\\":\\\"/subscriptions/36770ead-1c95-4048-8ff3-d727dd5007de/resourcegroups/derpgroup/providers/Microsoft.Storage/storageaccounts/vmefbj65\\\",\\\"location\\\":\\\"local\\\",\\\"tags\\\":null,\\\"additionalInfo\\\":null}}\",\r\n \"quantity\": 0.00011140573769807816,\r\n \"meterId\": \"3023FEF4-ECA5-4D7B-87B3-CFBC061931E8\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"https://adminmanagement.local.azurestack.external/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/providers/Microsoft.Commerce/subscriberUsageAggregates?api-version=2015-06-01-preview&reportedStartTime=2017-09-06T00:00:00Z&reportedEndTime=2017-09-07T00:00:00Z/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/providers/Microsoft.Commerce/subscriberUsageAggregates?api-version=2015-06-01-preview&reportedStartTime=2017-09-06T00%3a00%3a00Z&reportedEndTime=2017-09-07T00%3a00%3a00Z&continuationToken=L3N1YnNjcmlwdGlvbnMvMzY3NzBlYWQtMWM5NS00MDQ4LThmZjMtZDcyN2RkNTAwN2RlL3Jlc291cmNlZ3JvdXBzL2RlcnBncm91cC9wcm92aWRlcnMvTWljcm9zb2Z0LlN0b3JhZ2Uvc3RvcmFnZWFjY291bnRzL3ZtZWZiajY1LzMwMjNGRUY0LUVDQTUtNEQ3Qi04N0IzLUNGQkMwNjE5MzFFOC82MzY0MDI1MjgwMDAwMDAwMDAvNjM2NDAyNTI4MDAwMDAwMDAw\"\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "6545"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 06 Sep 2017 22:13:35 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "X-Powered-By": [
+ "ASP.NET"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14761"
+ ],
+ "x-ms-request-id": [
+ "d2a24d60-7347-4c54-bb58-1eb04c398e56"
+ ],
+ "x-ms-correlation-request-id": [
+ "d2a24d60-7347-4c54-bb58-1eb04c398e56"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170906T221336Z:d2a24d60-7347-4c54-bb58-1eb04c398e56"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/CommerceAdmin/Commerce.Admin.Tests/src/Helpers/AzureStackTestBase.cs b/src/AzureStack/CommerceAdmin/Commerce.Admin.Tests/src/Helpers/AzureStackTestBase.cs
new file mode 100644
index 000000000000..90ca3fd45fe1
--- /dev/null
+++ b/src/AzureStack/CommerceAdmin/Commerce.Admin.Tests/src/Helpers/AzureStackTestBase.cs
@@ -0,0 +1,87 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+
+using System;
+using System.Net;
+
+using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
+
+namespace Commerce.Tests
+{
+ ///
+ /// Base class for all AzureStack tests. This class should not be modified but extended through a child class.
+ ///
+ ///
+ public abstract class AzureStackTestBase where T : class
+ {
+
+ ///
+ /// Reference to service client.
+ ///
+ protected T client;
+
+ ///
+ /// Validate the client.
+ ///
+ /// The instantiated client we want to validate.
+ protected abstract void ValidateClient(T client);
+
+ ///
+ /// The default location for all admin actions. Override in derived class as needed.
+ ///
+ protected string Location = "local";
+
+ ///
+ /// Run a test that accepts no arguments. An exception can be
+ ///
+ /// The test we wish to run.
+ /// Function to execute before your test has completed.
+ /// Function to execute after your test has completed.
+ /// Expected returned HttpStatusCode.
+ /// Thrown when an unexpected exception occurs.
+ ///
+ protected void RunTest(Action test,
+ Action before = null,
+ Action after = null,
+ HttpStatusCode status = HttpStatusCode.OK,
+ [System.Runtime.CompilerServices.CallerMemberName]
+ string methodName= "testframework_failed") {
+
+ Exception caught = null;
+
+ try
+ {
+ var handler = new RecordedDelegatingHandler { StatusCodeToReturn = status };
+ handler.IsPassThrough = true;
+
+ using (MockContext context = MockContext.Start(typeof(T).Name, methodName))
+ {
+ var client = context.GetServiceClient(handlers: handler);
+ ValidateClient(client);
+
+ before?.Invoke();
+ test(client);
+ after?.Invoke();
+ }
+ }
+ catch (Exception ex)
+ {
+ caught = ex;
+ }
+ finally
+ {
+ if (caught != null)
+ {
+ throw new Exception("Test failed", caught);
+ }
+ }
+ }
+
+ public void IgnoreExceptions(Action action) {
+ try { action(); }
+ catch (Exception) { }
+ }
+
+ }
+}
diff --git a/src/AzureStack/CommerceAdmin/Commerce.Admin.Tests/src/Helpers/CommerceTestBase.cs b/src/AzureStack/CommerceAdmin/Commerce.Admin.Tests/src/Helpers/CommerceTestBase.cs
new file mode 100644
index 000000000000..6a4c8fa82843
--- /dev/null
+++ b/src/AzureStack/CommerceAdmin/Commerce.Admin.Tests/src/Helpers/CommerceTestBase.cs
@@ -0,0 +1,29 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+
+using Microsoft.AzureStack.Management.Commerce.Admin;
+using Xunit;
+
+namespace Commerce.Tests
+{
+
+ public class CommerceTestBase : AzureStackTestBase
+ {
+ public CommerceTestBase()
+ {
+ // Empty
+ }
+
+ protected override void ValidateClient(CommerceAdminClient client)
+ {
+ // validate creation
+ Assert.NotNull(client);
+
+ // validate objects
+ Assert.NotNull(client.SubscriberUsageAggregates);
+ Assert.NotNull(client.SubscriptionId);
+ }
+ }
+}
diff --git a/src/AzureStack/CommerceAdmin/Commerce.Admin.Tests/src/Helpers/Common.cs b/src/AzureStack/CommerceAdmin/Commerce.Admin.Tests/src/Helpers/Common.cs
new file mode 100644
index 000000000000..99720be44af3
--- /dev/null
+++ b/src/AzureStack/CommerceAdmin/Commerce.Admin.Tests/src/Helpers/Common.cs
@@ -0,0 +1,279 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+
+using Microsoft.Rest;
+using Microsoft.Rest.Azure;
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net.Http;
+using System.Text;
+
+namespace Commerce.Tests
+{
+
+ ///
+ /// A collection of common values and functions
+ ///
+ public class Common
+ {
+
+ public const string AcceptableCharactersForResourceName = "abcdefghijklmnopqrstuvwxyz0123456789";
+ public const int MaxResourceNameLength = 24;
+
+ // This is just for code readability
+ public const int Milliseconds = 1;
+ public const int Seconds = 1000 * Milliseconds;
+ public const int Minutes = 60 * Seconds;
+ public const int Hours = 60 * Minutes;
+
+ ///
+ /// Allows tests to retrieve content from Azure Stack directly.
+ ///
+ /// The client used to connect.
+ /// Credentials used to connect.
+ /// The location of the object.
+ /// Body of the request.
+ ///
+ public static string RetrieveObject(HttpClient client, ServiceClientCredentials creds, string uri) {
+ return RetrieveObject(client, creds, new Uri(uri));
+ }
+
+
+ ///
+ /// Allows tests to retrieve content from Azure Stack directly.
+ ///
+ /// The client used to connect.
+ /// Credentials used to connect.
+ /// The location of the object.
+ /// Body of the request.
+ public static string RetrieveObject(HttpClient client, ServiceClientCredentials creds, Uri uri) {
+ var message = new HttpRequestMessage(HttpMethod.Get, uri);
+ creds.ProcessHttpRequestAsync(message, System.Threading.CancellationToken.None);
+ var result = client.SendAsync(message).Result;
+ return result.Content.ToString();
+ }
+
+ ///
+ /// Generate a random name that can be ingested by Azure or AzureStack.
+ ///
+ /// The prefix added to the string. The default is okaytodelete.
+ /// The generated string.
+ public static string GenerateRandomName(string prefix = "okaytodelete", bool useGuid = true) {
+ StringBuilder sb = new StringBuilder(prefix);
+ if (useGuid)
+ {
+ sb.Append(Guid.NewGuid());
+ }
+ else
+ {
+ Random rand = new Random();
+ for (int i = 0; sb.Length < MaxResourceNameLength; ++i)
+ {
+ sb.Append(AcceptableCharactersForResourceName[rand.Next(AcceptableCharactersForResourceName.Length)]);
+ }
+ }
+ return sb.ToString();
+ }
+
+ ///
+ /// Given an operation retry it either some given number of times or until it succeeds
+ ///
+ /// Function which returns true if it succeeds, false otherwise
+ /// Maximum number of retries
+ /// Delay between retries
+ public static bool RetryOperation(Func func, uint retries = 10, int delay = 250 * Common.Milliseconds) {
+ while (retries > 0)
+ {
+ if (func())
+ {
+ break;
+ }
+ --retries;
+ System.Threading.Thread.Sleep(delay);
+ }
+ return retries >= 0;
+ }
+
+ ///
+ /// Given an operation retry it either some given number of times or until an exception is thrown.
+ ///
+ /// The action we want to perform.
+ /// Maximum number of retries
+ /// Delay between retries
+ /// True if an exception is thrown, false if we reach our retry limit.
+ public static bool RetryExceptionExpected(Action act, uint retries = 10, int delay = 250 * Common.Milliseconds) {
+ Func func = () => { try { act(); return false; } catch { } return true; };
+ return RetryOperation(func, retries, delay);
+ }
+
+ ///
+ /// Go over each page and perform some action on it.
+ ///
+ /// Type of object held within the pages.
+ /// Page we start from.
+ /// Function will return the next page.
+ /// What action to perform on each object.
+ public static void MapOverIPage(IPage start, Func> getNext, Action action = default(Action)) {
+ var curr = start;
+ for (;;)
+ {
+ curr.ForEach(action);
+
+ if (string.IsNullOrEmpty(curr.NextPageLink))
+ {
+ break;
+ }
+
+ curr = getNext(curr.NextPageLink);
+ }
+ }
+
+ ///
+ /// Write IPages to a given file from a starting IPage.
+ ///
+ /// The type of object each IPage holds.
+ /// The starting IPage.
+ /// Given a valid URI returns the next IPage.
+ /// The name of the file.
+ /// Returns a string representation of object of type T.
+ ///
+ public static void WriteIPagesToFile(IPage start, Func> getNext, System.String filename, Func toString = null) {
+ using (System.IO.FileStream stream = System.IO.File.Create(filename))
+ {
+ WriteIPagesToStream(start, getNext, stream, toString);
+ }
+ }
+
+ ///
+ /// Write all element in an enumerable to a file on their own line.
+ ///
+ /// Type held in Enumerable.
+ /// Input IEnumerable.
+ /// The name of the file.
+ /// Returns a string representation of object of type T. Default action is to call ToString.
+ public static void WriteIEnumerableToFile(IEnumerable iter, System.String filename, Func toString = null) {
+ using (System.IO.FileStream stream = System.IO.File.Create(filename))
+ {
+ WriteIEnumerableToStream(iter, stream, toString);
+ }
+ }
+
+ ///
+ /// Write all IPage
+ ///
+ /// Type held in each page.
+ /// Starting page.
+ /// Given a valid URI returns the next IPage.
+ /// The stream written to.
+ /// Returns a string representation of object of type T. Default action is to call ToString.
+ public static void WriteIPagesToStream(IPage start, Func> getNext, System.IO.Stream stream, Func toString = null) {
+ toString = toString ?? delegate (T t) { return t.ToString(); };
+ StringBuilder sb = new StringBuilder();
+ Action action = (obj) => { sb.Append(toString(obj)); sb.AppendLine(); };
+ MapOverIPage(start, getNext, action);
+ var str = sb.ToString();
+ var bytes = Encoding.ASCII.GetBytes(sb.ToString());
+ stream.Write(bytes, 0, bytes.Length);
+ }
+
+ ///
+ /// Iterate through each item in the pages and write its string representation to a file.
+ /// The default action to get a string representation is to call toString on each object.
+ ///
+ /// Type held in Enumerable.
+ /// Input IEnumerable.
+ /// The stream written to.
+ /// Returns a string representation of object of type T. Default action is to call ToString.
+ public static void WriteIEnumerableToStream(IEnumerable iter, System.IO.Stream stream, Func toString = null) {
+ toString = toString ?? delegate (T t) { return t.ToString(); };
+ StringBuilder sb = new StringBuilder();
+ Action action = (obj) => { sb.Append(toString(obj)); sb.AppendLine(); };
+ iter.ForEach(action);
+ var bytes = Encoding.ASCII.GetBytes(sb.ToString());
+ stream.Write(bytes, 0, bytes.Length);
+ }
+
+ }
+}
+
+public static class Extensions
+{
+
+ ///
+ /// Round down the dateTimeOffset to interval.
+ ///
+ /// The date time offset.
+ /// The interval.
+ public static DateTimeOffset Floor(this DateTimeOffset dateTimeOffset, TimeSpan interval) {
+ return new DateTimeOffset(dateTimeOffset.UtcTicks - (dateTimeOffset.UtcTicks % interval.Ticks), TimeSpan.Zero);
+ }
+
+ ///
+ /// Round down to the day.
+ ///
+ /// The date time.
+ public static DateTime Floor(this DateTime dateTime) {
+ return dateTime.Floor(TimeSpan.FromDays(1));
+ }
+
+ ///
+ /// Round down the DateTime to interval.
+ ///
+ /// The date.
+ /// The interval.
+ public static DateTime Floor(this DateTime dateTime, TimeSpan interval) {
+ return new DateTimeOffset(dateTime).Floor(interval).DateTime;
+ }
+
+
+ ///
+ /// Apply an operation over an IList object
+ ///
+ /// Underlying type stored in IEnumerable.
+ /// IEnumerable to apply operation to.
+ /// The action performed.
+ public static void ForEach(this IEnumerable list, Action action = default(Action)) {
+ foreach (var item in list)
+ {
+ action(item);
+ }
+ }
+
+ ///
+ /// Given a page we try to grab the first element we can find
+ ///
+ /// The value that is held within the page.
+ /// The page we wish to extract the object from
+ ///
+ public static T GetFirst(this IPage page) where T : class {
+ T result = null;
+ if (page != null)
+ {
+ foreach (var r in page)
+ {
+ result = r;
+ break;
+ }
+ }
+ return result;
+ }
+
+ ///
+ /// Convert pagination to a list
+ ///
+ /// Type contained in each Page
+ /// Starting page we want to covert from.
+ /// A function that returns the next page.
+ ///
+ public static IList PageToList(this IPage start, Func> getNext) {
+ List result = new List();
+ Commerce.Tests.Common.MapOverIPage(start, getNext, (page) => {
+ result.Add(page);
+ });
+ return result;
+ }
+
+}
\ No newline at end of file
diff --git a/src/AzureStack/CommerceAdmin/Commerce.Admin.Tests/src/Helpers/RecordedDelegatingHandler.cs b/src/AzureStack/CommerceAdmin/Commerce.Admin.Tests/src/Helpers/RecordedDelegatingHandler.cs
new file mode 100644
index 000000000000..1d3dc10a6831
--- /dev/null
+++ b/src/AzureStack/CommerceAdmin/Commerce.Admin.Tests/src/Helpers/RecordedDelegatingHandler.cs
@@ -0,0 +1,99 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+
+using System;
+using System.Net;
+using System.Net.Http;
+using System.Net.Http.Headers;
+using System.Threading.Tasks;
+
+namespace Commerce.Tests
+{
+
+ ///
+ /// Generic delegation handler.
+ ///
+ public class RecordedDelegatingHandler : DelegatingHandler
+ {
+ // Default response.
+ private HttpResponseMessage _response;
+
+ ///
+ /// Default RecordedDelegatingHandler.
+ ///
+ public RecordedDelegatingHandler() {
+ StatusCodeToReturn = HttpStatusCode.Created;
+ SubsequentStatusCodeToReturn = StatusCodeToReturn;
+ }
+
+ ///
+ /// Default RecordedDelegatingHandler which defaults to returning created.
+ ///
+ /// Response returned in all cases.
+ public RecordedDelegatingHandler(HttpResponseMessage response) {
+ StatusCodeToReturn = HttpStatusCode.Created;
+ SubsequentStatusCodeToReturn = StatusCodeToReturn;
+ _response = response;
+ }
+
+ public HttpStatusCode StatusCodeToReturn { get; set; }
+
+ public HttpStatusCode SubsequentStatusCodeToReturn { get; set; }
+
+ public string Request { get; private set; }
+
+ public HttpRequestHeaders RequestHeaders { get; private set; }
+
+ public HttpContentHeaders ContentHeaders { get; private set; }
+
+ public HttpMethod Method { get; private set; }
+
+ public Uri Uri { get; private set; }
+
+ public bool IsPassThrough { get; set; }
+
+ private int counter;
+
+ protected override async Task SendAsync(HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) {
+ counter++;
+ // Save request
+ if (request.Content == null)
+ {
+ Request = string.Empty;
+ }
+ else
+ {
+ Request = await request.Content.ReadAsStringAsync();
+ }
+ RequestHeaders = request.Headers;
+ if (request.Content != null)
+ {
+ ContentHeaders = request.Content.Headers;
+ }
+ Method = request.Method;
+ Uri = request.RequestUri;
+
+ // Prepare response
+ if (IsPassThrough)
+ {
+ return await base.SendAsync(request, cancellationToken);
+ }
+ else
+ {
+ if (_response != null && counter == 1)
+ {
+ return _response;
+ }
+ else
+ {
+ var statusCode = StatusCodeToReturn;
+ if (counter > 1)
+ statusCode = SubsequentStatusCodeToReturn;
+ HttpResponseMessage response = new HttpResponseMessage(statusCode);
+ response.Content = new StringContent("");
+ return response;
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/CommerceAdmin/Commerce.Admin.Tests/src/SubscriberUsageAggregateTests.cs b/src/AzureStack/CommerceAdmin/Commerce.Admin.Tests/src/SubscriberUsageAggregateTests.cs
new file mode 100644
index 000000000000..b84c2e079ded
--- /dev/null
+++ b/src/AzureStack/CommerceAdmin/Commerce.Admin.Tests/src/SubscriberUsageAggregateTests.cs
@@ -0,0 +1,60 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+
+using Microsoft.AzureStack.Management.Commerce.Admin;
+using Microsoft.AzureStack.Management.Commerce.Admin.Models;
+using System;
+using Xunit;
+
+namespace Commerce.Tests
+{
+ public class SubscriberUsageAggregateTests : CommerceTestBase
+ {
+
+ private void ValidateUsageAggregate(UsageAggregate ua) {
+ Assert.NotNull(ua);
+ Assert.NotNull(ua.Id);
+ Assert.NotNull(ua.InstanceData);
+ Assert.NotNull(ua.MeterId);
+ Assert.NotNull(ua.Name);
+ Assert.NotNull(ua.Quantity);
+ Assert.NotNull(ua.SubscriptionId);
+ Assert.NotNull(ua.Type);
+ Assert.NotNull(ua.UsageEndTime);
+ Assert.NotNull(ua.UsageStartTime);
+ }
+
+ private void AssertDateIsDayOnly(DateTime time, string msg = null) {
+ msg = $"{msg} : " ?? "";
+ Assert.Equal(0, time.Hour);
+ Assert.Equal(0, time.Minute);
+ Assert.Equal(0, time.Second);
+ Assert.Equal(0, time.Millisecond);
+
+ }
+
+ [Fact]
+ public void TestListSubscriberUsageAggregatesFromLastTwoDays() {
+ RunTest((client) => {
+ var testDate = new DateTime(2017,09,06);
+ testDate = DateTime.SpecifyKind(testDate, DateTimeKind.Utc);
+ var start = testDate.Floor();
+ var end = start.AddDays(1).Floor();
+
+ // You need to do this. ARM does this and you need to make
+ // sure you work with ARM.
+ AssertDateIsDayOnly(start, "start");
+ AssertDateIsDayOnly(end, "end");
+
+
+ var subscriberUsageAggregates = client.SubscriberUsageAggregates.List(start, end);
+ Assert.NotNull(subscriberUsageAggregates);
+ Assert.NotNull(subscriberUsageAggregates.Value);
+ subscriberUsageAggregates.Value.ForEach(ValidateUsageAggregate);
+ });
+ }
+
+ }
+}
diff --git a/src/AzureStack/CommerceAdmin/Commerce.Admin/Commerce/Commerce.Admin/Generated/CommerceAdminClient.cs b/src/AzureStack/CommerceAdmin/Commerce.Admin/Commerce/Commerce.Admin/Generated/CommerceAdminClient.cs
new file mode 100644
index 000000000000..c7d086315a70
--- /dev/null
+++ b/src/AzureStack/CommerceAdmin/Commerce.Admin/Commerce/Commerce.Admin/Generated/CommerceAdminClient.cs
@@ -0,0 +1,322 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+namespace Microsoft.AzureStack.Management.Commerce.Admin
+{
+ using Microsoft.AzureStack;
+ using Microsoft.AzureStack.Management;
+ using Microsoft.AzureStack.Management.Commerce;
+ using Microsoft.Rest;
+ using Microsoft.Rest.Azure;
+ using Microsoft.Rest.Serialization;
+ using Models;
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+ using System.Net;
+ using System.Net.Http;
+
+ ///
+ /// Commerce Admin Client
+ ///
+ public partial class CommerceAdminClient : ServiceClient, ICommerceAdminClient, IAzureClient
+ {
+ ///
+ /// The base URI of the service.
+ ///
+ public System.Uri BaseUri { get; set; }
+
+ ///
+ /// Gets or sets json serialization settings.
+ ///
+ public JsonSerializerSettings SerializationSettings { get; private set; }
+
+ ///
+ /// Gets or sets json deserialization settings.
+ ///
+ public JsonSerializerSettings DeserializationSettings { get; private set; }
+
+ ///
+ /// Credentials needed for the client to connect to Azure.
+ ///
+ public ServiceClientCredentials Credentials { get; private set; }
+
+ ///
+ /// Subscription credentials which uniquely identify Microsoft Azure
+ /// subscription.The subscription ID forms part of the URI for every service
+ /// call.
+ ///
+ public string SubscriptionId { get; set; }
+
+ ///
+ /// Client Api Version.
+ ///
+ public string ApiVersion { get; private set; }
+
+ ///
+ /// Gets or sets the preferred language for the response.
+ ///
+ public string AcceptLanguage { get; set; }
+
+ ///
+ /// Gets or sets the retry timeout in seconds for Long Running Operations.
+ /// Default value is 30.
+ ///
+ public int? LongRunningOperationRetryTimeout { get; set; }
+
+ ///
+ /// When set to true a unique x-ms-client-request-id value is generated and
+ /// included in each request. Default is true.
+ ///
+ public bool? GenerateClientRequestId { get; set; }
+
+ ///
+ /// Gets the ISubscriberUsageAggregatesOperations.
+ ///
+ public virtual ISubscriberUsageAggregatesOperations SubscriberUsageAggregates { get; private set; }
+
+ ///
+ /// Initializes a new instance of the CommerceAdminClient class.
+ ///
+ ///
+ /// Optional. The delegating handlers to add to the http client pipeline.
+ ///
+ protected CommerceAdminClient(params DelegatingHandler[] handlers) : base(handlers)
+ {
+ Initialize();
+ }
+
+ ///
+ /// Initializes a new instance of the CommerceAdminClient class.
+ ///
+ ///
+ /// Optional. The http client handler used to handle http transport.
+ ///
+ ///
+ /// Optional. The delegating handlers to add to the http client pipeline.
+ ///
+ protected CommerceAdminClient(HttpClientHandler rootHandler, params DelegatingHandler[] handlers) : base(rootHandler, handlers)
+ {
+ Initialize();
+ }
+
+ ///
+ /// Initializes a new instance of the CommerceAdminClient class.
+ ///
+ ///
+ /// Optional. The base URI of the service.
+ ///
+ ///
+ /// Optional. The delegating handlers to add to the http client pipeline.
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ protected CommerceAdminClient(System.Uri baseUri, params DelegatingHandler[] handlers) : this(handlers)
+ {
+ if (baseUri == null)
+ {
+ throw new System.ArgumentNullException("baseUri");
+ }
+ BaseUri = baseUri;
+ }
+
+ ///
+ /// Initializes a new instance of the CommerceAdminClient class.
+ ///
+ ///
+ /// Optional. The base URI of the service.
+ ///
+ ///
+ /// Optional. The http client handler used to handle http transport.
+ ///
+ ///
+ /// Optional. The delegating handlers to add to the http client pipeline.
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ protected CommerceAdminClient(System.Uri baseUri, HttpClientHandler rootHandler, params DelegatingHandler[] handlers) : this(rootHandler, handlers)
+ {
+ if (baseUri == null)
+ {
+ throw new System.ArgumentNullException("baseUri");
+ }
+ BaseUri = baseUri;
+ }
+
+ ///
+ /// Initializes a new instance of the CommerceAdminClient class.
+ ///
+ ///
+ /// Required. Credentials needed for the client to connect to Azure.
+ ///
+ ///
+ /// Optional. The delegating handlers to add to the http client pipeline.
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ public CommerceAdminClient(ServiceClientCredentials credentials, params DelegatingHandler[] handlers) : this(handlers)
+ {
+ if (credentials == null)
+ {
+ throw new System.ArgumentNullException("credentials");
+ }
+ Credentials = credentials;
+ if (Credentials != null)
+ {
+ Credentials.InitializeServiceClient(this);
+ }
+ }
+
+ ///
+ /// Initializes a new instance of the CommerceAdminClient class.
+ ///
+ ///
+ /// Required. Credentials needed for the client to connect to Azure.
+ ///
+ ///
+ /// Optional. The http client handler used to handle http transport.
+ ///
+ ///
+ /// Optional. The delegating handlers to add to the http client pipeline.
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ public CommerceAdminClient(ServiceClientCredentials credentials, HttpClientHandler rootHandler, params DelegatingHandler[] handlers) : this(rootHandler, handlers)
+ {
+ if (credentials == null)
+ {
+ throw new System.ArgumentNullException("credentials");
+ }
+ Credentials = credentials;
+ if (Credentials != null)
+ {
+ Credentials.InitializeServiceClient(this);
+ }
+ }
+
+ ///
+ /// Initializes a new instance of the CommerceAdminClient class.
+ ///
+ ///
+ /// Optional. The base URI of the service.
+ ///
+ ///
+ /// Required. Credentials needed for the client to connect to Azure.
+ ///
+ ///
+ /// Optional. The delegating handlers to add to the http client pipeline.
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ public CommerceAdminClient(System.Uri baseUri, ServiceClientCredentials credentials, params DelegatingHandler[] handlers) : this(handlers)
+ {
+ if (baseUri == null)
+ {
+ throw new System.ArgumentNullException("baseUri");
+ }
+ if (credentials == null)
+ {
+ throw new System.ArgumentNullException("credentials");
+ }
+ BaseUri = baseUri;
+ Credentials = credentials;
+ if (Credentials != null)
+ {
+ Credentials.InitializeServiceClient(this);
+ }
+ }
+
+ ///
+ /// Initializes a new instance of the CommerceAdminClient class.
+ ///
+ ///
+ /// Optional. The base URI of the service.
+ ///
+ ///
+ /// Required. Credentials needed for the client to connect to Azure.
+ ///
+ ///
+ /// Optional. The http client handler used to handle http transport.
+ ///
+ ///
+ /// Optional. The delegating handlers to add to the http client pipeline.
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ public CommerceAdminClient(System.Uri baseUri, ServiceClientCredentials credentials, HttpClientHandler rootHandler, params DelegatingHandler[] handlers) : this(rootHandler, handlers)
+ {
+ if (baseUri == null)
+ {
+ throw new System.ArgumentNullException("baseUri");
+ }
+ if (credentials == null)
+ {
+ throw new System.ArgumentNullException("credentials");
+ }
+ BaseUri = baseUri;
+ Credentials = credentials;
+ if (Credentials != null)
+ {
+ Credentials.InitializeServiceClient(this);
+ }
+ }
+
+ ///
+ /// An optional partial-method to perform custom initialization.
+ ///
+ partial void CustomInitialize();
+ ///
+ /// Initializes client properties.
+ ///
+ private void Initialize()
+ {
+ SubscriberUsageAggregates = new SubscriberUsageAggregatesOperations(this);
+ BaseUri = new System.Uri("https://management.local.azurestack.external");
+ ApiVersion = "2015-06-01-preview";
+ AcceptLanguage = "en-US";
+ LongRunningOperationRetryTimeout = 30;
+ GenerateClientRequestId = true;
+ SerializationSettings = new JsonSerializerSettings
+ {
+ Formatting = Newtonsoft.Json.Formatting.Indented,
+ DateFormatHandling = Newtonsoft.Json.DateFormatHandling.IsoDateFormat,
+ DateTimeZoneHandling = Newtonsoft.Json.DateTimeZoneHandling.Utc,
+ NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore,
+ ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Serialize,
+ ContractResolver = new ReadOnlyJsonContractResolver(),
+ Converters = new List
+ {
+ new Iso8601TimeSpanConverter()
+ }
+ };
+ SerializationSettings.Converters.Add(new TransformationJsonConverter());
+ DeserializationSettings = new JsonSerializerSettings
+ {
+ DateFormatHandling = Newtonsoft.Json.DateFormatHandling.IsoDateFormat,
+ DateTimeZoneHandling = Newtonsoft.Json.DateTimeZoneHandling.Utc,
+ NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore,
+ ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Serialize,
+ ContractResolver = new ReadOnlyJsonContractResolver(),
+ Converters = new List
+ {
+ new Iso8601TimeSpanConverter()
+ }
+ };
+ CustomInitialize();
+ DeserializationSettings.Converters.Add(new TransformationJsonConverter());
+ DeserializationSettings.Converters.Add(new CloudErrorJsonConverter());
+ }
+ }
+}
diff --git a/src/AzureStack/CommerceAdmin/Commerce.Admin/Commerce/Commerce.Admin/Generated/ICommerceAdminClient.cs b/src/AzureStack/CommerceAdmin/Commerce.Admin/Commerce/Commerce.Admin/Generated/ICommerceAdminClient.cs
new file mode 100644
index 000000000000..4028c95b0a1b
--- /dev/null
+++ b/src/AzureStack/CommerceAdmin/Commerce.Admin/Commerce/Commerce.Admin/Generated/ICommerceAdminClient.cs
@@ -0,0 +1,80 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+namespace Microsoft.AzureStack.Management.Commerce.Admin
+{
+ using Microsoft.AzureStack;
+ using Microsoft.AzureStack.Management;
+ using Microsoft.AzureStack.Management.Commerce;
+ using Microsoft.Rest;
+ using Microsoft.Rest.Azure;
+ using Models;
+ using Newtonsoft.Json;
+
+ ///
+ /// Commerce Admin Client
+ ///
+ public partial interface ICommerceAdminClient : System.IDisposable
+ {
+ ///
+ /// The base URI of the service.
+ ///
+ System.Uri BaseUri { get; set; }
+
+ ///
+ /// Gets or sets json serialization settings.
+ ///
+ JsonSerializerSettings SerializationSettings { get; }
+
+ ///
+ /// Gets or sets json deserialization settings.
+ ///
+ JsonSerializerSettings DeserializationSettings { get; }
+
+ ///
+ /// Credentials needed for the client to connect to Azure.
+ ///
+ ServiceClientCredentials Credentials { get; }
+
+ ///
+ /// Subscription credentials which uniquely identify Microsoft Azure
+ /// subscription.The subscription ID forms part of the URI for every
+ /// service call.
+ ///
+ string SubscriptionId { get; set; }
+
+ ///
+ /// Client Api Version.
+ ///
+ string ApiVersion { get; }
+
+ ///
+ /// Gets or sets the preferred language for the response.
+ ///
+ string AcceptLanguage { get; set; }
+
+ ///
+ /// Gets or sets the retry timeout in seconds for Long Running
+ /// Operations. Default value is 30.
+ ///
+ int? LongRunningOperationRetryTimeout { get; set; }
+
+ ///
+ /// When set to true a unique x-ms-client-request-id value is generated
+ /// and included in each request. Default is true.
+ ///
+ bool? GenerateClientRequestId { get; set; }
+
+
+ ///
+ /// Gets the ISubscriberUsageAggregatesOperations.
+ ///
+ ISubscriberUsageAggregatesOperations SubscriberUsageAggregates { get; }
+
+ }
+}
diff --git a/src/AzureStack/CommerceAdmin/Commerce.Admin/Commerce/Commerce.Admin/Generated/ISubscriberUsageAggregatesOperations.cs b/src/AzureStack/CommerceAdmin/Commerce.Admin/Commerce/Commerce.Admin/Generated/ISubscriberUsageAggregatesOperations.cs
new file mode 100644
index 000000000000..fa493b8f189c
--- /dev/null
+++ b/src/AzureStack/CommerceAdmin/Commerce.Admin/Commerce/Commerce.Admin/Generated/ISubscriberUsageAggregatesOperations.cs
@@ -0,0 +1,63 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+namespace Microsoft.AzureStack.Management.Commerce.Admin
+{
+ using Microsoft.AzureStack;
+ using Microsoft.AzureStack.Management;
+ using Microsoft.AzureStack.Management.Commerce;
+ using Microsoft.Rest;
+ using Microsoft.Rest.Azure;
+ using Models;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Threading;
+ using System.Threading.Tasks;
+
+ ///
+ /// SubscriberUsageAggregatesOperations operations.
+ ///
+ public partial interface ISubscriberUsageAggregatesOperations
+ {
+ ///
+ /// Gets a collection of SubscriberUsageAggregates, which are
+ /// UsageAggregates from direct tenants.
+ ///
+ ///
+ /// The reported start time (inclusive).
+ ///
+ ///
+ /// The reported end time (exclusive).
+ ///
+ ///
+ /// The aggregation granularity.
+ ///
+ ///
+ /// The tenant subscription identifier.
+ ///
+ ///
+ /// The continuation token.
+ ///
+ ///
+ /// The headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ Task> ListWithHttpMessagesAsync(System.DateTime reportedStartTime, System.DateTime reportedEndTime, string aggregationGranularity = default(string), string subscriberId = default(string), string continuationToken = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
+ }
+}
diff --git a/src/AzureStack/CommerceAdmin/Commerce.Admin/Commerce/Commerce.Admin/Generated/Models/Resource.cs b/src/AzureStack/CommerceAdmin/Commerce.Admin/Commerce/Commerce.Admin/Generated/Models/Resource.cs
new file mode 100644
index 000000000000..ea640d3b2a8c
--- /dev/null
+++ b/src/AzureStack/CommerceAdmin/Commerce.Admin/Commerce/Commerce.Admin/Generated/Models/Resource.cs
@@ -0,0 +1,89 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+namespace Microsoft.AzureStack.Management.Commerce.Admin.Models
+{
+ using Microsoft.AzureStack;
+ using Microsoft.AzureStack.Management;
+ using Microsoft.AzureStack.Management.Commerce;
+ using Microsoft.AzureStack.Management.Commerce.Admin;
+ using Microsoft.Rest;
+ using Microsoft.Rest.Azure;
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ ///
+ /// Base Resource Object
+ ///
+ public partial class Resource : IResource
+ {
+ ///
+ /// Initializes a new instance of the Resource class.
+ ///
+ public Resource()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the Resource class.
+ ///
+ /// URI of the resource.
+ /// Name of the resource.
+ /// Type of resource.
+ /// Location where resource is location.
+ /// List of key value pairs.
+ public Resource(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary))
+ {
+ Id = id;
+ Name = name;
+ Type = type;
+ Location = location;
+ Tags = tags;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets URI of the resource.
+ ///
+ [JsonProperty(PropertyName = "id")]
+ public string Id { get; private set; }
+
+ ///
+ /// Gets name of the resource.
+ ///
+ [JsonProperty(PropertyName = "name")]
+ public string Name { get; private set; }
+
+ ///
+ /// Gets type of resource.
+ ///
+ [JsonProperty(PropertyName = "type")]
+ public string Type { get; private set; }
+
+ ///
+ /// Gets location where resource is location.
+ ///
+ [JsonProperty(PropertyName = "location")]
+ public string Location { get; private set; }
+
+ ///
+ /// Gets list of key value pairs.
+ ///
+ [JsonProperty(PropertyName = "tags")]
+ public IDictionary Tags { get; private set; }
+
+ }
+}
diff --git a/src/AzureStack/CommerceAdmin/Commerce.Admin/Commerce/Commerce.Admin/Generated/Models/UsageAggregate.cs b/src/AzureStack/CommerceAdmin/Commerce.Admin/Commerce/Commerce.Admin/Generated/Models/UsageAggregate.cs
new file mode 100644
index 000000000000..4388255b794e
--- /dev/null
+++ b/src/AzureStack/CommerceAdmin/Commerce.Admin/Commerce/Commerce.Admin/Generated/Models/UsageAggregate.cs
@@ -0,0 +1,115 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+namespace Microsoft.AzureStack.Management.Commerce.Admin.Models
+{
+ using Microsoft.AzureStack;
+ using Microsoft.AzureStack.Management;
+ using Microsoft.AzureStack.Management.Commerce;
+ using Microsoft.AzureStack.Management.Commerce.Admin;
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ ///
+ /// Aggregate usage values for resource.
+ ///
+ [Rest.Serialization.JsonTransformation]
+ public partial class UsageAggregate : Resource
+ {
+ ///
+ /// Initializes a new instance of the UsageAggregate class.
+ ///
+ public UsageAggregate()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the UsageAggregate class.
+ ///
+ /// URI of the resource.
+ /// Name of the resource.
+ /// Type of resource.
+ /// Location where resource is location.
+ /// List of key value pairs.
+ /// Subscription id of tenant using
+ /// plan.
+ /// UTC start time for the usage bucket to
+ /// which this usage aggregate belongs.
+ /// UTC end time for the usage bucket to
+ /// which this usage aggregate belongs.
+ /// Key-value pairs of instance details
+ /// represented as a string.
+ /// The amount of the resource consumption that
+ /// occurred in this time frame.
+ /// Unique ID for the resource that was consumed
+ /// (aka ResourceID).
+ public UsageAggregate(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), string subscriptionId = default(string), System.DateTime? usageStartTime = default(System.DateTime?), System.DateTime? usageEndTime = default(System.DateTime?), string instanceData = default(string), string quantity = default(string), string meterId = default(string))
+ : base(id, name, type, location, tags)
+ {
+ SubscriptionId = subscriptionId;
+ UsageStartTime = usageStartTime;
+ UsageEndTime = usageEndTime;
+ InstanceData = instanceData;
+ Quantity = quantity;
+ MeterId = meterId;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets subscription id of tenant using plan.
+ ///
+ [JsonProperty(PropertyName = "properties.subscriptionId")]
+ public string SubscriptionId { get; set; }
+
+ ///
+ /// Gets or sets UTC start time for the usage bucket to which this
+ /// usage aggregate belongs.
+ ///
+ [JsonProperty(PropertyName = "properties.usageStartTime")]
+ public System.DateTime? UsageStartTime { get; set; }
+
+ ///
+ /// Gets or sets UTC end time for the usage bucket to which this usage
+ /// aggregate belongs.
+ ///
+ [JsonProperty(PropertyName = "properties.usageEndTime")]
+ public System.DateTime? UsageEndTime { get; set; }
+
+ ///
+ /// Gets or sets key-value pairs of instance details represented as a
+ /// string.
+ ///
+ [JsonProperty(PropertyName = "properties.instanceData")]
+ public string InstanceData { get; set; }
+
+ ///
+ /// Gets or sets the amount of the resource consumption that occurred
+ /// in this time frame.
+ ///
+ [JsonProperty(PropertyName = "properties.quantity")]
+ public string Quantity { get; set; }
+
+ ///
+ /// Gets or sets unique ID for the resource that was consumed (aka
+ /// ResourceID).
+ ///
+ [JsonProperty(PropertyName = "properties.meterId")]
+ public string MeterId { get; set; }
+
+ }
+}
diff --git a/src/AzureStack/CommerceAdmin/Commerce.Admin/Commerce/Commerce.Admin/Generated/Models/UsageAggregatePage.cs b/src/AzureStack/CommerceAdmin/Commerce.Admin/Commerce/Commerce.Admin/Generated/Models/UsageAggregatePage.cs
new file mode 100644
index 000000000000..86bffcc4e64d
--- /dev/null
+++ b/src/AzureStack/CommerceAdmin/Commerce.Admin/Commerce/Commerce.Admin/Generated/Models/UsageAggregatePage.cs
@@ -0,0 +1,63 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+namespace Microsoft.AzureStack.Management.Commerce.Admin.Models
+{
+ using Microsoft.AzureStack;
+ using Microsoft.AzureStack.Management;
+ using Microsoft.AzureStack.Management.Commerce;
+ using Microsoft.AzureStack.Management.Commerce.Admin;
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ ///
+ /// Holds an array of usage aggregates and the continuation token.
+ ///
+ public partial class UsageAggregatePage
+ {
+ ///
+ /// Initializes a new instance of the UsageAggregatePage class.
+ ///
+ public UsageAggregatePage()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the UsageAggregatePage class.
+ ///
+ /// Array of usage aggregates.
+ /// Continuation token
+ public UsageAggregatePage(IList value = default(IList), string nextLink = default(string))
+ {
+ Value = value;
+ NextLink = nextLink;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets array of usage aggregates.
+ ///
+ [JsonProperty(PropertyName = "value")]
+ public IList Value { get; set; }
+
+ ///
+ /// Gets or sets continuation token
+ ///
+ [JsonProperty(PropertyName = "nextLink")]
+ public string NextLink { get; set; }
+
+ }
+}
diff --git a/src/AzureStack/CommerceAdmin/Commerce.Admin/Commerce/Commerce.Admin/Generated/SubscriberUsageAggregatesOperations.cs b/src/AzureStack/CommerceAdmin/Commerce.Admin/Commerce/Commerce.Admin/Generated/SubscriberUsageAggregatesOperations.cs
new file mode 100644
index 000000000000..91f6f99f3b39
--- /dev/null
+++ b/src/AzureStack/CommerceAdmin/Commerce.Admin/Commerce/Commerce.Admin/Generated/SubscriberUsageAggregatesOperations.cs
@@ -0,0 +1,268 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+namespace Microsoft.AzureStack.Management.Commerce.Admin
+{
+ using Microsoft.AzureStack;
+ using Microsoft.AzureStack.Management;
+ using Microsoft.AzureStack.Management.Commerce;
+ using Microsoft.Rest;
+ using Microsoft.Rest.Azure;
+ using Models;
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+ using System.Net;
+ using System.Net.Http;
+ using System.Threading;
+ using System.Threading.Tasks;
+
+ ///
+ /// SubscriberUsageAggregatesOperations operations.
+ ///
+ internal partial class SubscriberUsageAggregatesOperations : IServiceOperations, ISubscriberUsageAggregatesOperations
+ {
+ ///
+ /// Initializes a new instance of the SubscriberUsageAggregatesOperations class.
+ ///
+ ///
+ /// Reference to the service client.
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ internal SubscriberUsageAggregatesOperations(CommerceAdminClient client)
+ {
+ if (client == null)
+ {
+ throw new System.ArgumentNullException("client");
+ }
+ Client = client;
+ }
+
+ ///
+ /// Gets a reference to the CommerceAdminClient
+ ///
+ public CommerceAdminClient Client { get; private set; }
+
+ ///
+ /// Gets a collection of SubscriberUsageAggregates, which are UsageAggregates
+ /// from direct tenants.
+ ///
+ ///
+ /// The reported start time (inclusive).
+ ///
+ ///
+ /// The reported end time (exclusive).
+ ///
+ ///
+ /// The aggregation granularity.
+ ///
+ ///
+ /// The tenant subscription identifier.
+ ///
+ ///
+ /// The continuation token.
+ ///
+ ///
+ /// Headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// A response object containing the response body and response headers.
+ ///
+ public async Task> ListWithHttpMessagesAsync(System.DateTime reportedStartTime, System.DateTime reportedEndTime, string aggregationGranularity = default(string), string subscriberId = default(string), string continuationToken = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ if (Client.SubscriptionId == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
+ }
+ if (Client.ApiVersion == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
+ }
+ // Tracing
+ bool _shouldTrace = ServiceClientTracing.IsEnabled;
+ string _invocationId = null;
+ if (_shouldTrace)
+ {
+ _invocationId = ServiceClientTracing.NextInvocationId.ToString();
+ Dictionary tracingParameters = new Dictionary();
+ tracingParameters.Add("reportedStartTime", reportedStartTime);
+ tracingParameters.Add("reportedEndTime", reportedEndTime);
+ tracingParameters.Add("aggregationGranularity", aggregationGranularity);
+ tracingParameters.Add("subscriberId", subscriberId);
+ tracingParameters.Add("continuationToken", continuationToken);
+ tracingParameters.Add("cancellationToken", cancellationToken);
+ ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters);
+ }
+ // Construct URL
+ var _baseUrl = Client.BaseUri.AbsoluteUri;
+ var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/providers/Microsoft.Commerce/subscriberUsageAggregates").ToString();
+ _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId));
+ List _queryParameters = new List();
+ if (Client.ApiVersion != null)
+ {
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
+ }
+ _queryParameters.Add(string.Format("reportedStartTime={0}", System.Uri.EscapeDataString(Rest.Serialization.SafeJsonConvert.SerializeObject(reportedStartTime, Client.SerializationSettings).Trim('"'))));
+ _queryParameters.Add(string.Format("reportedEndTime={0}", System.Uri.EscapeDataString(Rest.Serialization.SafeJsonConvert.SerializeObject(reportedEndTime, Client.SerializationSettings).Trim('"'))));
+ if (aggregationGranularity != null)
+ {
+ _queryParameters.Add(string.Format("aggregationGranularity={0}", System.Uri.EscapeDataString(aggregationGranularity)));
+ }
+ if (subscriberId != null)
+ {
+ _queryParameters.Add(string.Format("subscriberId={0}", System.Uri.EscapeDataString(subscriberId)));
+ }
+ if (continuationToken != null)
+ {
+ _queryParameters.Add(string.Format("continuationToken={0}", System.Uri.EscapeDataString(continuationToken)));
+ }
+ if (_queryParameters.Count > 0)
+ {
+ _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
+ }
+ // Create HTTP transport objects
+ var _httpRequest = new HttpRequestMessage();
+ HttpResponseMessage _httpResponse = null;
+ _httpRequest.Method = new HttpMethod("GET");
+ _httpRequest.RequestUri = new System.Uri(_url);
+ // Set Headers
+ if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value)
+ {
+ _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
+ }
+ if (Client.AcceptLanguage != null)
+ {
+ if (_httpRequest.Headers.Contains("accept-language"))
+ {
+ _httpRequest.Headers.Remove("accept-language");
+ }
+ _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
+ }
+
+
+ if (customHeaders != null)
+ {
+ foreach(var _header in customHeaders)
+ {
+ if (_httpRequest.Headers.Contains(_header.Key))
+ {
+ _httpRequest.Headers.Remove(_header.Key);
+ }
+ _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
+ }
+ }
+
+ // Serialize Request
+ string _requestContent = null;
+ // Set Credentials
+ if (Client.Credentials != null)
+ {
+ cancellationToken.ThrowIfCancellationRequested();
+ await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ }
+ // Send Request
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
+ }
+ cancellationToken.ThrowIfCancellationRequested();
+ _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
+ }
+ HttpStatusCode _statusCode = _httpResponse.StatusCode;
+ cancellationToken.ThrowIfCancellationRequested();
+ string _responseContent = null;
+ if ((int)_statusCode != 200)
+ {
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ try
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ if (_errorBody != null)
+ {
+ ex = new CloudException(_errorBody.Message);
+ ex.Body = _errorBody;
+ }
+ }
+ catch (JsonException)
+ {
+ // Ignore the exception
+ }
+ ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
+ ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Error(_invocationId, ex);
+ }
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw ex;
+ }
+ // Create Result
+ var _result = new AzureOperationResponse();
+ _result.Request = _httpRequest;
+ _result.Response = _httpResponse;
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ // Deserialize Response
+ if ((int)_statusCode == 200)
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ try
+ {
+ _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ }
+ catch (JsonException ex)
+ {
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw new SerializationException("Unable to deserialize the response.", _responseContent, ex);
+ }
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Exit(_invocationId, _result);
+ }
+ return _result;
+ }
+
+ }
+}
diff --git a/src/AzureStack/CommerceAdmin/Commerce.Admin/Commerce/Commerce.Admin/Generated/SubscriberUsageAggregatesOperationsExtensions.cs b/src/AzureStack/CommerceAdmin/Commerce.Admin/Commerce/Commerce.Admin/Generated/SubscriberUsageAggregatesOperationsExtensions.cs
new file mode 100644
index 000000000000..ca1460495b7c
--- /dev/null
+++ b/src/AzureStack/CommerceAdmin/Commerce.Admin/Commerce/Commerce.Admin/Generated/SubscriberUsageAggregatesOperationsExtensions.cs
@@ -0,0 +1,86 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+namespace Microsoft.AzureStack.Management.Commerce.Admin
+{
+ using Microsoft.AzureStack;
+ using Microsoft.AzureStack.Management;
+ using Microsoft.AzureStack.Management.Commerce;
+ using Microsoft.Rest;
+ using Microsoft.Rest.Azure;
+ using Models;
+ using System.Threading;
+ using System.Threading.Tasks;
+
+ ///
+ /// Extension methods for SubscriberUsageAggregatesOperations.
+ ///
+ public static partial class SubscriberUsageAggregatesOperationsExtensions
+ {
+ ///
+ /// Gets a collection of SubscriberUsageAggregates, which are UsageAggregates
+ /// from direct tenants.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The reported start time (inclusive).
+ ///
+ ///
+ /// The reported end time (exclusive).
+ ///
+ ///
+ /// The aggregation granularity.
+ ///
+ ///
+ /// The tenant subscription identifier.
+ ///
+ ///
+ /// The continuation token.
+ ///
+ public static UsageAggregatePage List(this ISubscriberUsageAggregatesOperations operations, System.DateTime reportedStartTime, System.DateTime reportedEndTime, string aggregationGranularity = default(string), string subscriberId = default(string), string continuationToken = default(string))
+ {
+ return operations.ListAsync(reportedStartTime, reportedEndTime, aggregationGranularity, subscriberId, continuationToken).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// Gets a collection of SubscriberUsageAggregates, which are UsageAggregates
+ /// from direct tenants.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The reported start time (inclusive).
+ ///
+ ///
+ /// The reported end time (exclusive).
+ ///
+ ///
+ /// The aggregation granularity.
+ ///
+ ///
+ /// The tenant subscription identifier.
+ ///
+ ///
+ /// The continuation token.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async Task ListAsync(this ISubscriberUsageAggregatesOperations operations, System.DateTime reportedStartTime, System.DateTime reportedEndTime, string aggregationGranularity = default(string), string subscriberId = default(string), string continuationToken = default(string), CancellationToken cancellationToken = default(CancellationToken))
+ {
+ using (var _result = await operations.ListWithHttpMessagesAsync(reportedStartTime, reportedEndTime, aggregationGranularity, subscriberId, continuationToken, null, cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+
+ }
+}
diff --git a/src/AzureStack/CommerceAdmin/Commerce.Admin/Microsoft.AzureStack.Management.Commerce.Admin.csproj b/src/AzureStack/CommerceAdmin/Commerce.Admin/Microsoft.AzureStack.Management.Commerce.Admin.csproj
new file mode 100644
index 000000000000..81d5766082a7
--- /dev/null
+++ b/src/AzureStack/CommerceAdmin/Commerce.Admin/Microsoft.AzureStack.Management.Commerce.Admin.csproj
@@ -0,0 +1,14 @@
+
+
+
+
+ Microsoft.AzureStack.Management.Admin.Commerce
+ Provides developers with libraries for the commerce admin under AzureStack to manage subscription usages.
+ 0.1.0-preview
+ Microsoft.AzureStack.Management.Admin.Commerce
+ Microsoft Azure Stack;Commerce;REST HTTP client;azureostackfficial;netcore451511
+
+
+ net452;netstandard1.4
+
+
diff --git a/src/AzureStack/CommerceAdmin/Commerce.Admin/Properties/AssemblyInfo.cs b/src/AzureStack/CommerceAdmin/Commerce.Admin/Properties/AssemblyInfo.cs
new file mode 100644
index 000000000000..4f9bf1d3af5a
--- /dev/null
+++ b/src/AzureStack/CommerceAdmin/Commerce.Admin/Properties/AssemblyInfo.cs
@@ -0,0 +1,28 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Resources;
+
+[assembly: AssemblyTitle("Microsoft Azure Stack Commerce Admin Management Library")]
+[assembly: AssemblyDescription("Provides management functionality for Microsoft Azure Stack Commerce Admin Resources.")]
+
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Microsoft")]
+[assembly: AssemblyProduct("Microsoft Azure .NET SDK")]
+[assembly: AssemblyCopyright("Copyright © Microsoft")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+[assembly: NeutralResourcesLanguage("en")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("0.1.0.0")]
+[assembly: AssemblyFileVersion("0.1.0.0")]
diff --git a/src/AzureStack/CommerceAdmin/Commerce.Admin/generate.cmd b/src/AzureStack/CommerceAdmin/Commerce.Admin/generate.cmd
new file mode 100644
index 000000000000..3f32d95e0827
--- /dev/null
+++ b/src/AzureStack/CommerceAdmin/Commerce.Admin/generate.cmd
@@ -0,0 +1,7 @@
+::
+:: Microsoft Azure SDK for Net - Generate library code
+:: Copyright (C) Microsoft Corporation. All Rights Reserved.
+::
+
+@echo off
+call %~dp0..\..\..\..\tools\generate.cmd azsadmin/resource-manager/commerce latest Azure current azure-rest-api-specs %CD%
diff --git a/src/AzureStack/CommerceAdmin/CommerceAdmin.sln b/src/AzureStack/CommerceAdmin/CommerceAdmin.sln
new file mode 100644
index 000000000000..8dcc2c310c9b
--- /dev/null
+++ b/src/AzureStack/CommerceAdmin/CommerceAdmin.sln
@@ -0,0 +1,34 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 15
+VisualStudioVersion = 15.0.26430.13
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{3A13F014-3E55-4ECA-98BA-55216B70A8D4}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commerce.Tests", "Commerce.Admin.Tests\Commerce.Tests.csproj", "{1B24BC4A-6E4D-4FEB-B5D5-C9684C60A308}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Commerce.Admin", "Commerce.Admin\Microsoft.AzureStack.Management.Commerce.Admin.csproj", "{5F30AD46-8F37-4416-8EAE-5B56A1471926}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {EAE2AE14-948D-4613-A4E8-14C50D8D0472}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {EAE2AE14-948D-4613-A4E8-14C50D8D0472}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {EAE2AE14-948D-4613-A4E8-14C50D8D0472}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {EAE2AE14-948D-4613-A4E8-14C50D8D0472}.Release|Any CPU.Build.0 = Release|Any CPU
+ {1B24BC4A-6E4D-4FEB-B5D5-C9684C60A308}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {1B24BC4A-6E4D-4FEB-B5D5-C9684C60A308}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {1B24BC4A-6E4D-4FEB-B5D5-C9684C60A308}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {1B24BC4A-6E4D-4FEB-B5D5-C9684C60A308}.Release|Any CPU.Build.0 = Release|Any CPU
+ {5F30AD46-8F37-4416-8EAE-5B56A1471926}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {5F30AD46-8F37-4416-8EAE-5B56A1471926}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {5F30AD46-8F37-4416-8EAE-5B56A1471926}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {5F30AD46-8F37-4416-8EAE-5B56A1471926}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/Fabric.Tests.csproj b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/Fabric.Tests.csproj
new file mode 100644
index 000000000000..0962b1936499
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/Fabric.Tests.csproj
@@ -0,0 +1,27 @@
+
+
+
+ Fabric.Admin.Tests
+ Fabric.Admin.Tests Class Library
+ Fabric.Admin.Tests
+ 1.0.0-preview
+
+
+ netcoreapp1.1
+
+
+
+
+
+
+
+
+ PreserveNewest
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/Properties/AssemblyInfo.cs b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/Properties/AssemblyInfo.cs
new file mode 100644
index 000000000000..df0e6615bfe6
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/Properties/AssemblyInfo.cs
@@ -0,0 +1,20 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+[assembly: AssemblyTitle("Fabric.Tests")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Microsoft")]
+[assembly: AssemblyProduct("Azure Stack Fabric Admin Tests")]
+[assembly: AssemblyCopyright("Copyright © Microsoft 2017")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+[assembly: ComVisible(false)]
+
+[assembly: Guid("1b24bc4a-6e4d-4feb-b5d5-c9684c60a308")]
+
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("0.1.0.0")]
+[assembly: AssemblyFileVersion("0.1.0.0")]
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllEdgeGatewayPools.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllEdgeGatewayPools.json
new file mode 100644
index 000000000000..3129b2ad331a
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllEdgeGatewayPools.json
@@ -0,0 +1,136 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/edgeGatewayPools?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvZWRnZUdhdGV3YXlQb29scz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "b83115de-7163-4008-b3b1-38d5ad8d69b3"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/edgeGatewayPools/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/edgeGatewayPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"gatewayType\": \"S2sIPsec\",\r\n \"numberOfGateways\": 1,\r\n \"redundantGatewayCount\": 0,\r\n \"gatewayCapacityKiloBitsPerSecond\": 100000000,\r\n \"publicIpAddress\": \"00000000-5555-0000-0001-000000000000\",\r\n \"edgeGateways\": [\r\n \"AzS-Gwy01\"\r\n ]\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "509"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:13:17 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvvVzj2kpJGOEpOr6lLSxodwSYIOHSvC9OAmOEKmDCuadYGQRUFMthHF7WtKfFfFFLMmdu2O/mBvjhu5emTRJym9m+v8HC9NhsKkvEhIKlsxSwaLduKHbSqMSFn+BqqNZ8WqxGICA4XLt5J5DCd5IR"
+ ],
+ "x-ms-correlation-request-id": [
+ "b16b4755-c7f6-42c6-b4bd-33a07bf8af4e"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14136"
+ ],
+ "x-ms-request-id": [
+ "b16b4755-c7f6-42c6-b4bd-33a07bf8af4e"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191317Z:b16b4755-c7f6-42c6-b4bd-33a07bf8af4e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/edgeGatewayPools/default?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvZWRnZUdhdGV3YXlQb29scy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "c0c80d0e-68a8-4510-85b6-f664251fbe3d"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/edgeGatewayPools/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/edgeGatewayPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"gatewayType\": \"S2sIPsec\",\r\n \"numberOfGateways\": 1,\r\n \"redundantGatewayCount\": 0,\r\n \"gatewayCapacityKiloBitsPerSecond\": 100000000,\r\n \"publicIpAddress\": \"00000000-5555-0000-0001-000000000000\",\r\n \"edgeGateways\": [\r\n \"AzS-Gwy01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "497"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:13:17 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv71qkByrpWoSAqOTi2btp3G/vwERNBjYVAfJmDDcwthdF0+XzTjvmn/V0n3r3VqLf51uQcPqIKz0xLl09jyloWXsuPJm3krDpQGF5EZIz/T/FRSaQ5yqOT8yMMcowyWPdlGHntwJV6eksgwCe/vVn"
+ ],
+ "x-ms-correlation-request-id": [
+ "0706ebf5-3ca1-4333-8432-ff5e48e31965"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14135"
+ ],
+ "x-ms-request-id": [
+ "0706ebf5-3ca1-4333-8432-ff5e48e31965"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191317Z:0706ebf5-3ca1-4333-8432-ff5e48e31965"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllEdgeGateways.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllEdgeGateways.json
new file mode 100644
index 000000000000..9a1b303cf6fc
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllEdgeGateways.json
@@ -0,0 +1,136 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/edgeGateways?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvZWRnZUdhdGV3YXlzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "3d9b2f10-bd7e-4047-9666-67cad8252988"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/edgeGateways/AzS-Gwy01\",\r\n \"name\": \"AzS-Gwy01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/edgeGateways\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"state\": \"Active\",\r\n \"totalCapacity\": 100000000,\r\n \"availableCapacity\": 100000000,\r\n \"numberOfConnections\": 0\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "399"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:22 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvpbGNW/0exz4X7mFSFMg35XqeraCKWXNEuDYQAk27xCRBjshp9h5r0gppto1g+n1m5Z4XLQEP7Lg0w38iSaIulXaiM1wst0b0BzU09j3je20l1yELDRKrxio+MZauyQGVeKJM2Yl6GtD/AFjjbdrc"
+ ],
+ "x-ms-correlation-request-id": [
+ "bc30c974-194c-4e1f-8212-cccced8b569d"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14092"
+ ],
+ "x-ms-request-id": [
+ "bc30c974-194c-4e1f-8212-cccced8b569d"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192222Z:bc30c974-194c-4e1f-8212-cccced8b569d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/edgeGateways/AzS-Gwy01?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvZWRnZUdhdGV3YXlzL0F6Uy1Hd3kwMT9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "6a008f94-8f0b-4f1d-88b9-d51aa45c0a92"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/edgeGateways/AzS-Gwy01\",\r\n \"name\": \"AzS-Gwy01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/edgeGateways\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"state\": \"Active\",\r\n \"totalCapacity\": 100000000,\r\n \"availableCapacity\": 100000000,\r\n \"numberOfConnections\": 0\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "387"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:22 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvfL+JtDOOWLMfI2uCPdZL7eT5k2Oc7davLjm7Kk0ImvCMJqakTlhGCuNwJT1NUcqy0WycDingsIj/sWyra5ygPjObWu76N/S4eVAJ4QBK/JtfhI2h4sk8pGbG69D9v7kFaM/o44uxbrtulXMhGEBK"
+ ],
+ "x-ms-correlation-request-id": [
+ "973acbd6-fe67-4c1d-a365-f6841dd9ab18"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14091"
+ ],
+ "x-ms-request-id": [
+ "973acbd6-fe67-4c1d-a365-f6841dd9ab18"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192222Z:973acbd6-fe67-4c1d-a365-f6841dd9ab18"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllFabricLocations.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllFabricLocations.json
new file mode 100644
index 000000000000..cd9ef9e16ef7
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllFabricLocations.json
@@ -0,0 +1,136 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "baf68fdc-26db-4ec7-90d5-b7a1b4be1661"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "263"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:21 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv/rnbpnMsNJGx0EX+2CO/ZneAKweKr9vm4EMGtM/LlG7fE4Txp6n5SqAOjcKXUq+xxYFwh3jpVuFaR0FUcKjO7+kzLALW9xjCnl5WwNe9tQwZpwgQiqEMvCuSYK+7gM6Ltp8VbFOjeaqZ2CTOseRe"
+ ],
+ "x-ms-correlation-request-id": [
+ "0a87a5f8-dad6-4515-ad2c-9bb13b12ca20"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14107"
+ ],
+ "x-ms-request-id": [
+ "0a87a5f8-dad6-4515-ad2c-9bb13b12ca20"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192221Z:0a87a5f8-dad6-4515-ad2c-9bb13b12ca20"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWw/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "ace28dfa-ae25-44cb-9238-61161094a755"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "251"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:21 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvZ/OMwThtlqnw4Woz01OG3eTn3dqTXPh5pMvUJwzNJJjfNfCyZoaCqaegr+fmM1TLkHcWRKTP0qSjsjZmLfxPJbBWy8qKS1CjnhUHwLMmmJTODX4IZG4NAajh5grOkoIvJQqXScKlyaJJNJchj38f"
+ ],
+ "x-ms-correlation-request-id": [
+ "693121a8-1624-4d9c-ba55-c451980d74bc"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14106"
+ ],
+ "x-ms-request-id": [
+ "693121a8-1624-4d9c-ba55-c451980d74bc"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192221Z:693121a8-1624-4d9c-ba55-c451980d74bc"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllFileShares.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllFileShares.json
new file mode 100644
index 000000000000..f602de12f962
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllFileShares.json
@@ -0,0 +1,456 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvZmlsZVNoYXJlcz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "efa2bf34-8c56-4f05-a03e-88d9396a85ce"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_Infrastructure_1\",\r\n \"name\": \"SU1_Infrastructure_1\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/fileShares\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"associatedVolume\": \"a42d219b\",\r\n \"uncPath\": \"\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_Infrastructure_1\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_Infrastructure_2\",\r\n \"name\": \"SU1_Infrastructure_2\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/fileShares\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"associatedVolume\": \"a42d219b\",\r\n \"uncPath\": \"\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_Infrastructure_2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_Infrastructure_3\",\r\n \"name\": \"SU1_Infrastructure_3\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/fileShares\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"associatedVolume\": \"a42d219b\",\r\n \"uncPath\": \"\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_Infrastructure_3\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_ObjStore\",\r\n \"name\": \"SU1_ObjStore\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/fileShares\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"associatedVolume\": \"a42d219b\",\r\n \"uncPath\": \"\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_ObjStore\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_Public\",\r\n \"name\": \"SU1_Public\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/fileShares\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"associatedVolume\": \"a42d219b\",\r\n \"uncPath\": \"\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_Public\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_VmTemp\",\r\n \"name\": \"SU1_VmTemp\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/fileShares\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"associatedVolume\": \"a42d219b\",\r\n \"uncPath\": \"\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_VmTemp\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "2375"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:19 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvQwmXTYzF2DQI5G3o6uRrpxJsYixQqmpmKewKgWWb6GfFqsvWbWjm0/13UyF5X1jBKLqVd1hDoAkBWllqQ6bmLi8zQjc7WXNYWDQ4qZNIqGyY/D8Qu/LOhHjxniDk+e4mc1cO2sWmFdFU24wmfUCJ"
+ ],
+ "x-ms-correlation-request-id": [
+ "92d20c00-aff9-44b7-8f15-dd24ddf9e141"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14127"
+ ],
+ "x-ms-request-id": [
+ "92d20c00-aff9-44b7-8f15-dd24ddf9e141"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192220Z:92d20c00-aff9-44b7-8f15-dd24ddf9e141"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_Infrastructure_1?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvZmlsZVNoYXJlcy9TVTFfSW5mcmFzdHJ1Y3R1cmVfMT9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "8b111794-b10c-47fe-a3c8-2bb2229b8a21"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_Infrastructure_1\",\r\n \"name\": \"SU1_Infrastructure_1\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/fileShares\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"associatedVolume\": \"a42d219b\",\r\n \"uncPath\": \"\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_Infrastructure_1\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "407"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:19 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvskXufchYjN3UK5prCjs0nCdIgOSGFRNG8oC1uryOFiKjcfk1WVXNCtetXYyJwFjvMzL4ReaMxBRw62rTJEFMDfpvsHzXkIoONaEpjPCniJ4zyELQ7ihFn+QYG8YrliqfiBkiqN9Pp0oDkvhK32BP"
+ ],
+ "x-ms-correlation-request-id": [
+ "573de3dd-1a53-499a-9e49-0ec9f35f17a8"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14126"
+ ],
+ "x-ms-request-id": [
+ "573de3dd-1a53-499a-9e49-0ec9f35f17a8"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192220Z:573de3dd-1a53-499a-9e49-0ec9f35f17a8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_Infrastructure_2?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvZmlsZVNoYXJlcy9TVTFfSW5mcmFzdHJ1Y3R1cmVfMj9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "3b5b14e9-8a17-42bd-8a60-b9e77aefa99d"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_Infrastructure_2\",\r\n \"name\": \"SU1_Infrastructure_2\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/fileShares\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"associatedVolume\": \"a42d219b\",\r\n \"uncPath\": \"\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_Infrastructure_2\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "407"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:19 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv3sAt4ky8TKmTNyzyjxW4AQ+96VdXRN4Q2vySxTb1ZC958Ze3YZDCozfCEgM6HG2v3+BLDQNi03yKkCmc82Adu1F8iix0u4CWYXs0Dwsbv8Hk5Xch4S8/U+e9+GQySsPwSScwNOUVgQSL5Yi+pdVF"
+ ],
+ "x-ms-correlation-request-id": [
+ "c99a99b1-3867-4df0-9f8b-84c137da3178"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14125"
+ ],
+ "x-ms-request-id": [
+ "c99a99b1-3867-4df0-9f8b-84c137da3178"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192220Z:c99a99b1-3867-4df0-9f8b-84c137da3178"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_Infrastructure_3?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvZmlsZVNoYXJlcy9TVTFfSW5mcmFzdHJ1Y3R1cmVfMz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "ecb6c4bb-95a9-4d75-871d-f1dd1004a914"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_Infrastructure_3\",\r\n \"name\": \"SU1_Infrastructure_3\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/fileShares\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"associatedVolume\": \"a42d219b\",\r\n \"uncPath\": \"\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_Infrastructure_3\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "407"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:19 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvfIkp7PWnZziY97pSgmsr080u8fjxT6GjSjaCcw5QuwiayepzVfpGO6zvWzWd9OBIJvHAMHpWE5mW4kGl/EeLCz2LbUs8ApHSM+2KKD35SwTH3ry656w+9SKOyuJkE/xAMA4W78s+iniE/ep9CVNd"
+ ],
+ "x-ms-correlation-request-id": [
+ "cf4d0029-769a-4ec8-a56f-3cf011de347e"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14124"
+ ],
+ "x-ms-request-id": [
+ "cf4d0029-769a-4ec8-a56f-3cf011de347e"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192220Z:cf4d0029-769a-4ec8-a56f-3cf011de347e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_ObjStore?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvZmlsZVNoYXJlcy9TVTFfT2JqU3RvcmU/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "e648fbfe-e6ca-461f-9e1c-4c7a0d7fbc3e"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_ObjStore\",\r\n \"name\": \"SU1_ObjStore\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/fileShares\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"associatedVolume\": \"a42d219b\",\r\n \"uncPath\": \"\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_ObjStore\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "383"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:20 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv/P9Fss26fAqzB/qAw3a9em/wPKIOQEGMWqTPuhrFElSs11MRQmieemExMhnTKyD/l7rcd5OPytt0wc5VKc8YIDHBMhKJdEw37nbNTPu4a9d4sGjpotnclIWK1E2Lxfvpqbtn8lbCcfM7A8k6Hh6u"
+ ],
+ "x-ms-correlation-request-id": [
+ "1de2edd6-bfbb-4b74-8a9a-0b9d98a098de"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14123"
+ ],
+ "x-ms-request-id": [
+ "1de2edd6-bfbb-4b74-8a9a-0b9d98a098de"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192220Z:1de2edd6-bfbb-4b74-8a9a-0b9d98a098de"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_Public?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvZmlsZVNoYXJlcy9TVTFfUHVibGljP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "888db46a-6bca-4b8a-88c6-086fd2003512"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_Public\",\r\n \"name\": \"SU1_Public\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/fileShares\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"associatedVolume\": \"a42d219b\",\r\n \"uncPath\": \"\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_Public\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "377"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:20 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvHbHMfqqGnkkBHexbO64hV8qXpaaAZ2MyHmXSpqUt2nPTm4X6HqA0pVrAVEmUPDcwZ7eQSRM7AkhjUmY6JtBKEazzIGSFov33FQhzGv+6ztnoop4TzR5MaeOTp2zfGeD1ZgFZ6f5emNLZQJRczsEj"
+ ],
+ "x-ms-correlation-request-id": [
+ "3527b089-76c5-438a-bfc0-c12c31ad36c7"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14122"
+ ],
+ "x-ms-request-id": [
+ "3527b089-76c5-438a-bfc0-c12c31ad36c7"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192220Z:3527b089-76c5-438a-bfc0-c12c31ad36c7"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_VmTemp?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvZmlsZVNoYXJlcy9TVTFfVm1UZW1wP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "25952cc5-7fa5-4cc7-8ab7-8c8cc1c2fb25"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_VmTemp\",\r\n \"name\": \"SU1_VmTemp\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/fileShares\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"associatedVolume\": \"a42d219b\",\r\n \"uncPath\": \"\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_VmTemp\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "377"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:20 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvrnDAMLsCmqFeHK1J8ffrw/hL4ja4gbs+BhDaIS69Pmt1rpX12ADv9VypxyJqoQ4da/Sir46IGFRLh0ulzWmeao4tsS9RLkmwrzMJL8e8oOlEVeZA3Kd2JdY/TOIhPueyFlXG2JC5WuOXdalFGNmU"
+ ],
+ "x-ms-correlation-request-id": [
+ "42988a62-125d-46d5-ae11-a3aaf41071cc"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14121"
+ ],
+ "x-ms-request-id": [
+ "42988a62-125d-46d5-ae11-a3aaf41071cc"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192220Z:42988a62-125d-46d5-ae11-a3aaf41071cc"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllInfraRoleInstances.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllInfraRoleInstances.json
new file mode 100644
index 000000000000..6bfe0c3ef04f
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllInfraRoleInstances.json
@@ -0,0 +1,776 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlSW5zdGFuY2VzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "2f1e0f04-9b0a-4010-8c20-38ca3237b1b5"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ACS01\",\r\n \"name\": \"AzS-ACS01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 8.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ADFS01\",\r\n \"name\": \"AzS-ADFS01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 2.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-BGPNAT01\",\r\n \"name\": \"AzS-BGPNAT01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 2.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-CA01\",\r\n \"name\": \"AzS-CA01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 1.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Gwy01\",\r\n \"name\": \"AzS-Gwy01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 2.0,\r\n \"cores\": 4\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-NC01\",\r\n \"name\": \"AzS-NC01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 4.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-SLB01\",\r\n \"name\": \"AzS-SLB01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 2.0,\r\n \"cores\": 4\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Sql01\",\r\n \"name\": \"AzS-Sql01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 4.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\",\r\n \"name\": \"AzS-WAS01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 4.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01\",\r\n \"name\": \"AzS-WASP01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 8.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\",\r\n \"name\": \"AzS-Xrp01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 8.0,\r\n \"cores\": 4\r\n },\r\n \"state\": \"Running\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "7772"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:15:12 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv0PDrapN2CHDgh1fhc4Lm/vFOoQv9+Le7e6dhQs9c88X8ayrM8/roXR7i+ZQ+TPMkDHUzvL3aFvgkErPqhIMitF7FpnRTeYY24UGmcv3Vdmbeh+YuEAbuzkMKGi1XWCPgtF90e1tHzLWfJMKuP0/d"
+ ],
+ "x-ms-correlation-request-id": [
+ "811c3585-5ff4-49c6-90dd-25974bc6f00c"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14100"
+ ],
+ "x-ms-request-id": [
+ "811c3585-5ff4-49c6-90dd-25974bc6f00c"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191512Z:811c3585-5ff4-49c6-90dd-25974bc6f00c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ACS01?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlSW5zdGFuY2VzL0F6Uy1BQ1MwMT9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "d2c881ac-4fb6-4da2-9d4e-55bc1ad6b3e2"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ACS01\",\r\n \"name\": \"AzS-ACS01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 8.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "704"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:15:12 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv1pmZ2jneSFtS4b96PedAEw4VFm5X0v4yQYY38LfJKpzs9JukOI3NPFpFOBk89PC+fBIgHrhga8c7lZVrmDejjuJqovDAeooyqF8HwmfJIZiexS1CKZWigKSTX2Xt9h1PkpksT9IcawAgzp96OCsm"
+ ],
+ "x-ms-correlation-request-id": [
+ "df854c39-ee9f-4d62-a10f-93288b2851c3"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14178"
+ ],
+ "x-ms-request-id": [
+ "df854c39-ee9f-4d62-a10f-93288b2851c3"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191512Z:df854c39-ee9f-4d62-a10f-93288b2851c3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ADFS01?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlSW5zdGFuY2VzL0F6Uy1BREZTMDE/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "40efde21-860c-4dde-9796-ad90d16ce3a1"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ADFS01\",\r\n \"name\": \"AzS-ADFS01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 2.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "706"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:15:12 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvP+QEjGbHrq8CJiibzxBiB8sqfJOdiHVv2DD5cbP6XEgIhenFmC4kXzuYTR7+J2IxZv5gJWDNrq/Dbbob9f5rCDlxXCSWqHD1kpJRGEtVNy+FL3XAlfs6ZtB6qT8ndT8sEpwgAYt3mUd0zZmsjFp3"
+ ],
+ "x-ms-correlation-request-id": [
+ "d9ed3189-24d5-4748-ab8e-72be29126167"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14177"
+ ],
+ "x-ms-request-id": [
+ "d9ed3189-24d5-4748-ab8e-72be29126167"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191512Z:d9ed3189-24d5-4748-ab8e-72be29126167"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-BGPNAT01?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlSW5zdGFuY2VzL0F6Uy1CR1BOQVQwMT9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "c440cd4b-25e0-476c-adc2-c9f8b01683ed"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-BGPNAT01\",\r\n \"name\": \"AzS-BGPNAT01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 2.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "710"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:15:12 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvW7I9oQc5b7WVqORJYW1RDFirOZP3tFUOx1wIX2Sw5BPIi0QvmleOCTNesZ4CpChpSCQ5jKvk9hcFX7L2DJCSfza/nL5TwzajG9yQorDxqN6YIBibf4buGkg57cEM/w7xkauOuTtIO8ngzVFMFYK4"
+ ],
+ "x-ms-correlation-request-id": [
+ "ba2887dc-7fa5-4c7b-ad27-31f306e8512b"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14176"
+ ],
+ "x-ms-request-id": [
+ "ba2887dc-7fa5-4c7b-ad27-31f306e8512b"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191512Z:ba2887dc-7fa5-4c7b-ad27-31f306e8512b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-CA01?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlSW5zdGFuY2VzL0F6Uy1DQTAxP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "17ccd237-9ebd-46a1-9aaf-411620d4ef42"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-CA01\",\r\n \"name\": \"AzS-CA01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 1.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "702"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:15:12 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv0yCrnfqOGCBZiN58tfeDRL1fJzqBaX+ZCWvF/P1T8/xvWfwpCnZWUPsysjpJIYkpJzc3ts6g7+n5HCn6EdSORB8cPJC3JUluylLxUHCjuNHErElOCmiKQvfmOl4V82V3URCXkog8f9u+QzOHEW0Q"
+ ],
+ "x-ms-correlation-request-id": [
+ "9d767171-c39a-42d2-a9f7-a7ea11136fbb"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14175"
+ ],
+ "x-ms-request-id": [
+ "9d767171-c39a-42d2-a9f7-a7ea11136fbb"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191512Z:9d767171-c39a-42d2-a9f7-a7ea11136fbb"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Gwy01?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlSW5zdGFuY2VzL0F6Uy1Hd3kwMT9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "04ac035d-5c30-4f21-998f-758569641346"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Gwy01\",\r\n \"name\": \"AzS-Gwy01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 2.0,\r\n \"cores\": 4\r\n },\r\n \"state\": \"Running\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "704"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:15:12 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvO2+s6MV/ZbSbBZVOWvaVxoTDx531Rvaj8g35l6JX0TdQBpwW5P2V7ImrgVyAHr9U2RHVBsoYWvCRyvbBlCT2bLNxTe6fiudXq6QDDfjvgyX7QwWM7hYvadgpeQjsQ0BhV++wkxO5QuEZH2BkZ9f3"
+ ],
+ "x-ms-correlation-request-id": [
+ "2ab01896-441b-4d4e-9731-0a995791c953"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14174"
+ ],
+ "x-ms-request-id": [
+ "2ab01896-441b-4d4e-9731-0a995791c953"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191512Z:2ab01896-441b-4d4e-9731-0a995791c953"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-NC01?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlSW5zdGFuY2VzL0F6Uy1OQzAxP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "c29f4239-8879-49b7-88ba-249a9f0797c7"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-NC01\",\r\n \"name\": \"AzS-NC01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 4.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "702"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:15:12 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvtdLdvoffpQLdTMN2UkRDqGGhCYW3s9Bbqkra2STTJS8qccf7N4Jk1lESDWQV6SX+0+hDv/abgqZQRQ4RShmSuib4Rz/KRn/dwWF+H2pDszVYmVPi6b/1TBlSmqMQGKk/Nl1/xmrYlo5L7NRKiDl2"
+ ],
+ "x-ms-correlation-request-id": [
+ "c0f7fbf2-9508-435d-a18f-eda33cbef998"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14173"
+ ],
+ "x-ms-request-id": [
+ "c0f7fbf2-9508-435d-a18f-eda33cbef998"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191512Z:c0f7fbf2-9508-435d-a18f-eda33cbef998"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-SLB01?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlSW5zdGFuY2VzL0F6Uy1TTEIwMT9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "a3a972f1-ff07-42a4-9904-17a55ee0b389"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-SLB01\",\r\n \"name\": \"AzS-SLB01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 2.0,\r\n \"cores\": 4\r\n },\r\n \"state\": \"Running\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "704"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:15:12 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvFQFIeSw33Aw/AuDWeZWHEWGtHRCpRz/mfIZ3onxloQGJqslfa92sLeZtUslrQa45P8tZj1UAc86I/TuIruIOWoWMgbzUmxlpRvwZhdY8/lHBdn9Yulhl69lLNJqhN4Uur2Ik9fmxpcioxIiUB+gT"
+ ],
+ "x-ms-correlation-request-id": [
+ "eb77d8d5-d44a-4136-a68e-10858c90cb2e"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14172"
+ ],
+ "x-ms-request-id": [
+ "eb77d8d5-d44a-4136-a68e-10858c90cb2e"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191512Z:eb77d8d5-d44a-4136-a68e-10858c90cb2e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Sql01?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlSW5zdGFuY2VzL0F6Uy1TcWwwMT9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "2860045d-91bb-47db-9f28-7255ac5da098"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Sql01\",\r\n \"name\": \"AzS-Sql01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 4.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "704"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:15:12 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv8D1eTzpK8G1AWnSlClOJP73NzutFJjrPkIC3IXf7O7U94Mrzxm/JJMbNXphG+SIy8CRQkEL/ke+IMhKdALlRpvwWQAtn6HHgCR7ZARv4Sf+uYVM+bfKypuT2FP++FumMIBUTlUNRqlaEWiTEABNU"
+ ],
+ "x-ms-correlation-request-id": [
+ "791fe722-8335-4fe1-b6b8-15250de3be1f"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14171"
+ ],
+ "x-ms-request-id": [
+ "791fe722-8335-4fe1-b6b8-15250de3be1f"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191512Z:791fe722-8335-4fe1-b6b8-15250de3be1f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlSW5zdGFuY2VzL0F6Uy1XQVMwMT9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "7f68dc84-0bd1-4bea-9fd3-21b74fe6065f"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\",\r\n \"name\": \"AzS-WAS01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 4.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "704"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:15:12 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvQeWHkpXAnlWsNQa1vpFHKBAhp8S820if3g/3VRI6T2FJf0hsVyWN36FKMNzH368fSKd69TRSI8n8Xs0kNlVy6JPxqll/lU00uQ68yxt/TkQ85zwKDBRMDaF8FUWrXkiYn1xDrGigSO6ZQUuOBOFX"
+ ],
+ "x-ms-correlation-request-id": [
+ "344614a1-d422-402d-82c5-b4ad49d3447b"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14170"
+ ],
+ "x-ms-request-id": [
+ "344614a1-d422-402d-82c5-b4ad49d3447b"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191512Z:344614a1-d422-402d-82c5-b4ad49d3447b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlSW5zdGFuY2VzL0F6Uy1XQVNQMDE/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "affa365f-9593-418e-b9ca-86b915451c68"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01\",\r\n \"name\": \"AzS-WASP01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 8.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "706"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:15:12 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvsI7qBxuqVQB+uxAp/922PdWtfAFznAqVh7APdm4sS1k5WdsJkt+WSv8OzUE5qRaIneJiqCcp7qU/Q1t9Pk1+vECNddddzF+4x5FhZ4Gw0eNN+XmS0TPibqzqXtSsNgxnrVtjb9WCIKyQzOoSMjgF"
+ ],
+ "x-ms-correlation-request-id": [
+ "16b5e40a-ffca-4fc4-ba46-03ef5a3aa617"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14169"
+ ],
+ "x-ms-request-id": [
+ "16b5e40a-ffca-4fc4-ba46-03ef5a3aa617"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191512Z:16b5e40a-ffca-4fc4-ba46-03ef5a3aa617"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlSW5zdGFuY2VzL0F6Uy1YcnAwMT9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "7a67ae23-05b6-45e8-8b59-453bedceaa22"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\",\r\n \"name\": \"AzS-Xrp01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 8.0,\r\n \"cores\": 4\r\n },\r\n \"state\": \"Running\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "704"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:15:12 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv0SrOjUydiDeecYvCeoqcxJsRFEjEqqFKWe51bUyh5GB6ycNiFkUII/ehNKj7aKge047DcG0qVx3IW7DPpOLFXGN4kvWqcv4f+OIN/lFihNHnil2c7vm0YcZbf3bV6nMqvQ0VhEdgnrDH5zjL7HAi"
+ ],
+ "x-ms-correlation-request-id": [
+ "1a78b239-ec84-4c33-ae5f-909cea524c45"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14168"
+ ],
+ "x-ms-request-id": [
+ "1a78b239-ec84-4c33-ae5f-909cea524c45"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191512Z:1a78b239-ec84-4c33-ae5f-909cea524c45"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllInfraRoles.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllInfraRoles.json
new file mode 100644
index 000000000000..a3f1d5251ef9
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllInfraRoles.json
@@ -0,0 +1,3016 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "545ac227-c7e3-4d98-9d5c-0b806fdfc287"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Active Directory Federation Services\",\r\n \"name\": \"Active Directory Federation Services\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ADFS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Authorization service (Administrator)\",\r\n \"name\": \"Authorization service (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Authorization service (User)\",\r\n \"name\": \"Authorization service (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Azure bridge\",\r\n \"name\": \"Azure bridge\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Azure Resource Manager (Administrator)\",\r\n \"name\": \"Azure Resource Manager (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Azure Resource Manager (User)\",\r\n \"name\": \"Azure Resource Manager (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Backup controller\",\r\n \"name\": \"Backup controller\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ERCS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Backup Restore Resource Provider\",\r\n \"name\": \"Backup Restore Resource Provider\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Capacity\",\r\n \"name\": \"Capacity\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Certificate management\",\r\n \"name\": \"Certificate management\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-CA01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Compute\",\r\n \"name\": \"Compute\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Compute controller\",\r\n \"name\": \"Compute controller\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Directory management\",\r\n \"name\": \"Directory management\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-DC01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Edge gateway\",\r\n \"name\": \"Edge gateway\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Gwy01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Gallery service (Administrator)\",\r\n \"name\": \"Gallery service (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Gallery service (User)\",\r\n \"name\": \"Gallery service (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Health controller\",\r\n \"name\": \"Health controller\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Infrastructure deployment\",\r\n \"name\": \"Infrastructure deployment\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ERCS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Infrastructure management controller\",\r\n \"name\": \"Infrastructure management controller\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Infrastructure role controller\",\r\n \"name\": \"Infrastructure role controller\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Insights service (Administrator)\",\r\n \"name\": \"Insights service (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Insights service (User)\",\r\n \"name\": \"Insights service (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Internal data store\",\r\n \"name\": \"Internal data store\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Sql01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key Vault\",\r\n \"name\": \"Key Vault\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key Vault controller (Administrator)\",\r\n \"name\": \"Key Vault controller (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key Vault controller (User)\",\r\n \"name\": \"Key Vault controller (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key Vault name manager\",\r\n \"name\": \"Key Vault name manager\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key Vault service (Administrator)\",\r\n \"name\": \"Key Vault service (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key Vault service (User)\",\r\n \"name\": \"Key Vault service (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Load balancer multiplexer\",\r\n \"name\": \"Load balancer multiplexer\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-SLB01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Network\",\r\n \"name\": \"Network\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Network controller\",\r\n \"name\": \"Network controller\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-NC01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Partition request broker (Administrator)\",\r\n \"name\": \"Partition request broker (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Partition request broker (User)\",\r\n \"name\": \"Partition request broker (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Portal (Administrator)\",\r\n \"name\": \"Portal (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Portal (User)\",\r\n \"name\": \"Portal (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Privileged endpoint\",\r\n \"name\": \"Privileged endpoint\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ERCS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Region Management\",\r\n \"name\": \"Region Management\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Storage\",\r\n \"name\": \"Storage\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Storage controller\",\r\n \"name\": \"Storage controller\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Storage services\",\r\n \"name\": \"Storage services\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ACS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Subscriptions service\",\r\n \"name\": \"Subscriptions service\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Updates\",\r\n \"name\": \"Updates\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Usage Bridge host\",\r\n \"name\": \"Usage Bridge host\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Usage service (Administrator)\",\r\n \"name\": \"Usage service (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Usage service (User)\",\r\n \"name\": \"Usage service (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01\"\r\n ]\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "22684"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:02 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv0sUfXTxxObxaSu8AcA8j/tMZiT1WLtNrOTl+oV0gHYpym6ZoIUIQfY67WCa43/5DNKABxnJCxHA4ZjTK0GntRbj3XFAumblx8TSeO38L7CUCpBeOHNmKZDJPSmdWbzvaPtfoBeREUSHDlwuyZxvo"
+ ],
+ "x-ms-correlation-request-id": [
+ "6b12322d-2099-414c-9b81-68d1d2762287"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14213"
+ ],
+ "x-ms-request-id": [
+ "6b12322d-2099-414c-9b81-68d1d2762287"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190902Z:6b12322d-2099-414c-9b81-68d1d2762287"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Active%20Directory%20Federation%20Services?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9BY3RpdmUlMjBEaXJlY3RvcnklMjBGZWRlcmF0aW9uJTIwU2VydmljZXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "f9ccf8ff-3d00-448f-9d31-859fc6a06719"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Active Directory Federation Services\",\r\n \"name\": \"Active Directory Federation Services\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ADFS01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "520"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:02 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvkpSRW6dWQKqCrimodrMfT7RvR6yhf7TRcablmGo7Hd0h4bRZi7UkIFQmAdf3R9lTerSntfxHRqM/URgGbD55j9xgAXSwybVC5FOsZtWxR/gbeQQEwq479uMJFkA0vqdosw/rH6/Ywc6Mck42rGn0"
+ ],
+ "x-ms-correlation-request-id": [
+ "1ff90e88-55fa-446a-8331-85664202b07c"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14212"
+ ],
+ "x-ms-request-id": [
+ "1ff90e88-55fa-446a-8331-85664202b07c"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190902Z:1ff90e88-55fa-446a-8331-85664202b07c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Authorization%20service%20(Administrator)?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9BdXRob3JpemF0aW9uJTIwc2VydmljZSUyMCUyOEFkbWluaXN0cmF0b3IlMjk/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "c69e1664-55ca-43ef-abae-47864fd6ddf9"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Authorization service (Administrator)\",\r\n \"name\": \"Authorization service (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "521"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:02 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvR0MTBAA24ppJ5l/2mg6jxBDkOpiUL27biqu5FXWKIWTafGN/mAtRySaLKpC4Onf3J67TE/Y58FMs/U0DrRUbFYBQGHXVb7xUwISfoCAeUJxKePQEW69pJ83TbZSswCUAVgP2+gpf/RVUB7qMgauL"
+ ],
+ "x-ms-correlation-request-id": [
+ "e9d07f7e-c61e-4f2f-8f12-9c1c47e1dbb7"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14211"
+ ],
+ "x-ms-request-id": [
+ "e9d07f7e-c61e-4f2f-8f12-9c1c47e1dbb7"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190902Z:e9d07f7e-c61e-4f2f-8f12-9c1c47e1dbb7"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Authorization%20service%20(User)?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9BdXRob3JpemF0aW9uJTIwc2VydmljZSUyMCUyOFVzZXIlMjk/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "367f776e-b0e9-4dbc-9591-546d0c6c93ab"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Authorization service (User)\",\r\n \"name\": \"Authorization service (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "504"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:02 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvYrvhdEOe0G0hbQ8rIeVDTOWAZlOatApFYx0VNzRuxujRl7LKAdW5O+pOkaYYyOf/q9SE7M6D1OZmplO2+T19zsiCKzirRpxXPFX96RKyW8bh2hfiTOu+y+EuzDdMTCMJE0RKbhzCGjOy7ycrGSNh"
+ ],
+ "x-ms-correlation-request-id": [
+ "9b391a10-9ddc-432c-a9f9-90d8658df328"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14210"
+ ],
+ "x-ms-request-id": [
+ "9b391a10-9ddc-432c-a9f9-90d8658df328"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190902Z:9b391a10-9ddc-432c-a9f9-90d8658df328"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Azure%20bridge?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9BenVyZSUyMGJyaWRnZT9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "8e58d157-64b6-4ffa-8e94-94222833acc9"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Azure bridge\",\r\n \"name\": \"Azure bridge\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "471"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:02 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvYxNWwgbYmiM0L9zhXiZXdPuZ2EvmaMnuzYEwAuQ7aZmfKb1evoo2zPEdkSBgzL9XWt2+Ob4G9l5mpYU4qViL4cOwp8SgRu1d8Z5sKkMGEoBEkrEgCXZ3n79iv7uAOyvtO5eNbKjfTwuJ+L89YAzz"
+ ],
+ "x-ms-correlation-request-id": [
+ "0c1ac775-745c-4942-b0cc-de8fc48894f1"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14209"
+ ],
+ "x-ms-request-id": [
+ "0c1ac775-745c-4942-b0cc-de8fc48894f1"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190902Z:0c1ac775-745c-4942-b0cc-de8fc48894f1"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Azure%20Resource%20Manager%20(Administrator)?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9BenVyZSUyMFJlc291cmNlJTIwTWFuYWdlciUyMCUyOEFkbWluaXN0cmF0b3IlMjk/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "67a244b7-4811-431c-b862-40ddaf0cdfd3"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Azure Resource Manager (Administrator)\",\r\n \"name\": \"Azure Resource Manager (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "523"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:02 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv/NiZT/w0JQRW469XPLvoy+XCRGOHkG19TBvejiwevc8yYSJJxnYE5mtVnAD7YwbQwccirI/tPtRfKvCctZtN1qVJDjnl8eUSJX5LwYCf2l8FOMt5wwHcS+J+O6cC3fJgtorMhmLNqq4NH1pgxaBN"
+ ],
+ "x-ms-correlation-request-id": [
+ "512aaf64-de08-473a-b404-6d066e3dc2d4"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14208"
+ ],
+ "x-ms-request-id": [
+ "512aaf64-de08-473a-b404-6d066e3dc2d4"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190902Z:512aaf64-de08-473a-b404-6d066e3dc2d4"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Azure%20Resource%20Manager%20(User)?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9BenVyZSUyMFJlc291cmNlJTIwTWFuYWdlciUyMCUyOFVzZXIlMjk/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "321a3cc2-8c59-4b2b-98d2-97e18f495ef8"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Azure Resource Manager (User)\",\r\n \"name\": \"Azure Resource Manager (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "506"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:02 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvW/7n2koqT41ZIYvM07GeBmlulPnBqmgK6XNLGZ9gYD89gO178FPdB/KvHgmrCLxjSik4T84sqozJvpwN/v++eVazpC2QEYaHm0ljO9IHKG/CQ/MFSljJUHjByVynIUA93I+WNgsOniQXZKVIMFce"
+ ],
+ "x-ms-correlation-request-id": [
+ "87a52666-b9ff-4a6a-a292-051068f8802b"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14207"
+ ],
+ "x-ms-request-id": [
+ "87a52666-b9ff-4a6a-a292-051068f8802b"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190902Z:87a52666-b9ff-4a6a-a292-051068f8802b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Backup%20controller?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9CYWNrdXAlMjBjb250cm9sbGVyP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "04d281ec-dbea-433f-aed1-41a311d1f457"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Backup controller\",\r\n \"name\": \"Backup controller\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ERCS01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "482"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:02 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv+e/yN4PSzaywBEH7E+eeV1tec/cA7BJ//ITd1uX4sQdzRiedpaIIo/VAXz6CWQ/jwVsHEJC1KxBZ08+40+QjaPPqUoUuSyxCel1Qb+ecGNSZH1pWX2+e8xTNog6amCedcVTyjd9IflIGBoRZxsB+"
+ ],
+ "x-ms-correlation-request-id": [
+ "b35476c1-404a-41d9-9db3-977e341ac73c"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14206"
+ ],
+ "x-ms-request-id": [
+ "b35476c1-404a-41d9-9db3-977e341ac73c"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190902Z:b35476c1-404a-41d9-9db3-977e341ac73c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Backup%20Restore%20Resource%20Provider?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9CYWNrdXAlMjBSZXN0b3JlJTIwUmVzb3VyY2UlMjBQcm92aWRlcj9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "51b5f41f-915b-4a84-8bed-e1cd5a2011a5"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Backup Restore Resource Provider\",\r\n \"name\": \"Backup Restore Resource Provider\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "511"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:02 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv9NRpbc57vw8+uu+GHlvuGcjRgBifqG5YMx13TGm4sStPTOjIwubC58NvW9IqrZ2J22VfFYL9QwDJ0MaJjeTfwirtIth6FZpdvJ6i+APHDIut/Mz/y0HVdgDO6Po8gI5AMbanA7rrKs3v6mkz+2LM"
+ ],
+ "x-ms-correlation-request-id": [
+ "6f88aab1-3cb8-4965-817d-ab0fa894ce7e"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14205"
+ ],
+ "x-ms-request-id": [
+ "6f88aab1-3cb8-4965-817d-ab0fa894ce7e"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190902Z:6f88aab1-3cb8-4965-817d-ab0fa894ce7e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Capacity?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9DYXBhY2l0eT9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "ecec4bde-45e9-469d-9bcd-90f0139a5316"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Capacity\",\r\n \"name\": \"Capacity\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "463"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:02 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvawvQS71NUpbETjRe05flb9ArB4OZ+xqxTEck/oOlJl6RVE8rKYQ1fwbimgxr/wOpnHq5P62YNOD316k7QoY0Jv21641s8+/1sIxQjRSp2C4bMwksuXyRRrrK4gNWDak5t/1oLj9Z3RJMZ/d7pW84"
+ ],
+ "x-ms-correlation-request-id": [
+ "337e68a7-d3bb-46e3-91cd-357cc35c6388"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14204"
+ ],
+ "x-ms-request-id": [
+ "337e68a7-d3bb-46e3-91cd-357cc35c6388"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190902Z:337e68a7-d3bb-46e3-91cd-357cc35c6388"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Certificate%20management?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9DZXJ0aWZpY2F0ZSUyMG1hbmFnZW1lbnQ/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "26ca5cf8-65ff-4ee7-9ec0-70b3e9c21cf5"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Certificate management\",\r\n \"name\": \"Certificate management\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-CA01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "490"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:02 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvxxXLQkxkP4qreDQIdHY1XKv1Xa5IdLZPMpdV9+5+w3UHEJ/ezYEK3pdofcefHlBVlLi12uf/YpqZ9idk1QCUPKWWSw4n8zu/ehg+tUHPIWy8B/Pker62sz705Mh18hMNn49jIW3RKXvqd8FO4i08"
+ ],
+ "x-ms-correlation-request-id": [
+ "c6ab66e4-d2a7-4aab-b1e8-79f25a9ef5ca"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14203"
+ ],
+ "x-ms-request-id": [
+ "c6ab66e4-d2a7-4aab-b1e8-79f25a9ef5ca"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190902Z:c6ab66e4-d2a7-4aab-b1e8-79f25a9ef5ca"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Compute?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9Db21wdXRlP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "607bd829-4217-4d42-ba3c-b8c706a4ebbd"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Compute\",\r\n \"name\": \"Compute\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "461"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:02 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRveQKUn35oKDdjymdcNhtYFLkpIPaGudjtpKiD5xUoH1ke+THU++L2U/JLQQUNInpFWleXrbUyCBk94QwLYFNI5qQki8AWh7755cPXleQrbP/PQxyVi4132sCCLHHbTqOOl6zvos4280EudtiJr00i"
+ ],
+ "x-ms-correlation-request-id": [
+ "8cfc98e6-54b1-4130-9324-bd4220f0373f"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14202"
+ ],
+ "x-ms-request-id": [
+ "8cfc98e6-54b1-4130-9324-bd4220f0373f"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190902Z:8cfc98e6-54b1-4130-9324-bd4220f0373f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Compute%20controller?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9Db21wdXRlJTIwY29udHJvbGxlcj9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "6dbd1183-f2eb-4645-8f67-d31703d2da2a"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Compute controller\",\r\n \"name\": \"Compute controller\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "483"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:02 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv1lYhG3jgw3iSteb+XIN8HCuRu721B3zN/iRxuPlKBfTZoMs4ch2z6mDgsyrcTx2JJ4lwVl3e9i/D16tW12jJmsrdA7DsrbZeuA1d2Dqo4lAA1Pj3V0IToCHn2xMX86RdmwODCa8gs0VtHPNKR5Ae"
+ ],
+ "x-ms-correlation-request-id": [
+ "eb711d2e-0cd3-4b55-a88d-63ed3d7a88d0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14201"
+ ],
+ "x-ms-request-id": [
+ "eb711d2e-0cd3-4b55-a88d-63ed3d7a88d0"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190902Z:eb711d2e-0cd3-4b55-a88d-63ed3d7a88d0"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Directory%20management?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9EaXJlY3RvcnklMjBtYW5hZ2VtZW50P2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "52dcce24-5c9a-4220-95d9-3f52539a433f"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Directory management\",\r\n \"name\": \"Directory management\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-DC01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "486"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:02 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvIw03OZbTJUbqC9X6SdumRWe5t7u4AHWK4H8/6KtQ/Mj+gZ38dmyQRUS9725c5z6+QKatpvw8lfhAyi5xGK3/6znzYUUaucHGndoj9QSXzk61we1e9nPz9XHBk0A9qoSBTGoIlo6RZiegWibDmcKo"
+ ],
+ "x-ms-correlation-request-id": [
+ "926cc01e-7053-415b-ba2f-3889d0901018"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14200"
+ ],
+ "x-ms-request-id": [
+ "926cc01e-7053-415b-ba2f-3889d0901018"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190902Z:926cc01e-7053-415b-ba2f-3889d0901018"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Edge%20gateway?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9FZGdlJTIwZ2F0ZXdheT9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "d4777490-1db0-4b90-8cea-79408374cb5b"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Edge gateway\",\r\n \"name\": \"Edge gateway\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Gwy01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "471"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:02 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv4F8zcBsN1mrL7LQppffhOjV/uZ3DLkxGJax2rKWgRtn5UqooGKNsi6H5mAzvl7zLP8qzhTEV4ompneV8feBPviq0LRgGGsohxqSc5JnGTdsgN93g5tVQ7zfVCQbXmG+gWFctAZdlIls9Heqhfav/"
+ ],
+ "x-ms-correlation-request-id": [
+ "ad1d59d7-1362-4c2b-8bc4-fd27b0fa99ba"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14199"
+ ],
+ "x-ms-request-id": [
+ "ad1d59d7-1362-4c2b-8bc4-fd27b0fa99ba"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190902Z:ad1d59d7-1362-4c2b-8bc4-fd27b0fa99ba"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Gallery%20service%20(Administrator)?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9HYWxsZXJ5JTIwc2VydmljZSUyMCUyOEFkbWluaXN0cmF0b3IlMjk/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "81e2ca49-3da9-439e-9e42-377eba26df6f"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Gallery service (Administrator)\",\r\n \"name\": \"Gallery service (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "509"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:02 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvaVWbsUOi+NlUEKpDZ+C/dDw4w4DiUAdX9chpQktQU9bbEO/btzZx13LRuz9KGbYCZrDizrGsIki9Hc7vDogYdU/9j3pJItT+2ySVlqsKn2uUTEyvfH5WNqJ/WE/NMDmnvEmzxgiUBsKn5yRXnXS6"
+ ],
+ "x-ms-correlation-request-id": [
+ "068494ae-c067-4458-8f7a-45adb80afe5b"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14198"
+ ],
+ "x-ms-request-id": [
+ "068494ae-c067-4458-8f7a-45adb80afe5b"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190903Z:068494ae-c067-4458-8f7a-45adb80afe5b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Gallery%20service%20(User)?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9HYWxsZXJ5JTIwc2VydmljZSUyMCUyOFVzZXIlMjk/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "557f3cac-556c-4591-acd1-d10e9155b25c"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Gallery service (User)\",\r\n \"name\": \"Gallery service (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "492"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:02 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvqYk2gnnmfeN9xp8c27tmA941ukF/sOvPfCW9bL8QJKsIS3Z8tpL1sS3vxVE4hTwT26WBS+PwhuDPPRX9PHMOMMrrlieQ3A5aGSHvv59h28SotO+hceWvV5ue0MDMbZB+cMzWkF54X8i3B7ZAQhjy"
+ ],
+ "x-ms-correlation-request-id": [
+ "5eb96419-68fa-4bf8-8418-3be2ffeba3a4"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14197"
+ ],
+ "x-ms-request-id": [
+ "5eb96419-68fa-4bf8-8418-3be2ffeba3a4"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190903Z:5eb96419-68fa-4bf8-8418-3be2ffeba3a4"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Health%20controller?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9IZWFsdGglMjBjb250cm9sbGVyP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "76617f4b-35c0-4beb-927e-6ef9c0915ada"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Health controller\",\r\n \"name\": \"Health controller\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "481"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:02 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvlBcUfGpNbGsSJMBrQ5/t6dHXOOMIEAgAYexZizeAQUpnxmXN4lctGGx5tbrPUmySy8JsPYvJwJKoR/KcaLILBjGKUp8GPvaUF4TFneztr8nwWQmk4ZorAtrsIHrKNFxSOiGvnymmg63N9s74t+gs"
+ ],
+ "x-ms-correlation-request-id": [
+ "3e8cc7b3-7a85-4453-804f-2407a6fc76a4"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14196"
+ ],
+ "x-ms-request-id": [
+ "3e8cc7b3-7a85-4453-804f-2407a6fc76a4"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190903Z:3e8cc7b3-7a85-4453-804f-2407a6fc76a4"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Infrastructure%20deployment?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9JbmZyYXN0cnVjdHVyZSUyMGRlcGxveW1lbnQ/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "875f8b4a-9995-47c7-92cf-ecea00b627fe"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Infrastructure deployment\",\r\n \"name\": \"Infrastructure deployment\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ERCS01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "498"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:02 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvWDPjW3/losV6KjAF1qFFSdfQ7VI5QToAu5Cn0QEXEcLzx22/o0WWDpQm3MkF0E4JstOjXQ1gV2TBns2ZLxTT8g9+FkceVVsCVQuwV65qtT9cFNEkjKy80/0jGJ9btV2FRfZ/sMuLO+VIEqhZlYNW"
+ ],
+ "x-ms-correlation-request-id": [
+ "3192c982-0b62-4174-8368-062ef6c34b6b"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14195"
+ ],
+ "x-ms-request-id": [
+ "3192c982-0b62-4174-8368-062ef6c34b6b"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190903Z:3192c982-0b62-4174-8368-062ef6c34b6b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Infrastructure%20management%20controller?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9JbmZyYXN0cnVjdHVyZSUyMG1hbmFnZW1lbnQlMjBjb250cm9sbGVyP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "3929f1c9-741e-4958-a741-db7d3b7f30d4"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Infrastructure management controller\",\r\n \"name\": \"Infrastructure management controller\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "519"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:02 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvVbumSp4iTPJQB4sQdMXrXDiRwGQMuflPysPAONnCuj1cuiYOnqiOUp4wjYYXRUGxqyjhhkWE4Th32pliy0O5Edt8nRgG/DbQ7jBfhd82MnOrcPe6eBAo3cD3FwXdvDeJwrbs1QDvHbbjQzzOkngG"
+ ],
+ "x-ms-correlation-request-id": [
+ "5c0c88da-6e65-4d47-977c-46d5df235f56"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14194"
+ ],
+ "x-ms-request-id": [
+ "5c0c88da-6e65-4d47-977c-46d5df235f56"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190903Z:5c0c88da-6e65-4d47-977c-46d5df235f56"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Infrastructure%20role%20controller?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9JbmZyYXN0cnVjdHVyZSUyMHJvbGUlMjBjb250cm9sbGVyP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "45a66a76-5548-4122-a121-26f0c73f029a"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Infrastructure role controller\",\r\n \"name\": \"Infrastructure role controller\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "507"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:02 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvvsF1MKOSf0BZW885W1M4S/mibnaojNgdWEmtg01DU0xXIE81Hv+Qkw1B4A8ZCTRerRaS3gGAvI17ZWOkcPfm7RhUGMzzRvc/t8amv64WlnPBzAIjxl1hRDpV4JQCJcY9cn5dalbqzlK2704lvEFs"
+ ],
+ "x-ms-correlation-request-id": [
+ "f39d62d4-f3a6-4cb1-a126-194ba1faac86"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14193"
+ ],
+ "x-ms-request-id": [
+ "f39d62d4-f3a6-4cb1-a126-194ba1faac86"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190903Z:f39d62d4-f3a6-4cb1-a126-194ba1faac86"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Insights%20service%20(Administrator)?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9JbnNpZ2h0cyUyMHNlcnZpY2UlMjAlMjhBZG1pbmlzdHJhdG9yJTI5P2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "fcf23f63-932a-430c-883f-386c6055a700"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Insights service (Administrator)\",\r\n \"name\": \"Insights service (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "511"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:02 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvwAOw7m0mfD2RAcGfwFcWDOnIvF8k3MnGl8dOsl+58D4E9RTfMT1DcG/1LEm7plAv7rjV4DPQiXPe2vK/MnS/mzvzMdN12qYNlWORVcrs3cd2w7YVAU0+Qwh7X1rWCGQ+fS5g8pEA3UbLoaILe1pU"
+ ],
+ "x-ms-correlation-request-id": [
+ "2a6d9b64-66be-47d1-bb83-ae53e6909ca3"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14192"
+ ],
+ "x-ms-request-id": [
+ "2a6d9b64-66be-47d1-bb83-ae53e6909ca3"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190903Z:2a6d9b64-66be-47d1-bb83-ae53e6909ca3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Insights%20service%20(User)?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9JbnNpZ2h0cyUyMHNlcnZpY2UlMjAlMjhVc2VyJTI5P2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "093469fa-c34d-4c47-94bb-50da86e62828"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Insights service (User)\",\r\n \"name\": \"Insights service (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "494"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:02 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvwcSUR1WUQTcuFBliT0mvd6IAHJadaccD9k0UyfZmrK3EPNlt04HZ/0yuk3RebS9OcPMpisvfyQO/LOIPl7bt+D7XyjJn1bRYWm5oEC4TP3H9822CSElXAmN249tXz8IB42jD6aPlO7XORG/Seb6k"
+ ],
+ "x-ms-correlation-request-id": [
+ "c84216db-65ea-4e9c-bfe2-8d8361e68905"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14191"
+ ],
+ "x-ms-request-id": [
+ "c84216db-65ea-4e9c-bfe2-8d8361e68905"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190903Z:c84216db-65ea-4e9c-bfe2-8d8361e68905"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Internal%20data%20store?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9JbnRlcm5hbCUyMGRhdGElMjBzdG9yZT9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "86bd37ea-a8df-47f1-ba96-e3b89f7a5cee"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Internal data store\",\r\n \"name\": \"Internal data store\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Sql01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "485"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:02 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvHy4KZ0ZkyfGUvY4CuMpH5CzG5Ifig2jqRjQvnvVtY3PAPjyZVqVcG9H+VS75l5j7Gd1FQZT+IdR1BGt+kFUSjR05iuBPVs03vNa/ZgzE/aVNvYjWlbqNoZQCaICEViFBMHMWH2LYfjWD9eHkFQ4o"
+ ],
+ "x-ms-correlation-request-id": [
+ "8e8d5042-8835-4201-bb31-b6a84df24a38"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14190"
+ ],
+ "x-ms-request-id": [
+ "8e8d5042-8835-4201-bb31-b6a84df24a38"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190903Z:8e8d5042-8835-4201-bb31-b6a84df24a38"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key%20Vault?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9LZXklMjBWYXVsdD9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "a6b83377-1f78-4b46-8201-007a4a36ef48"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key Vault\",\r\n \"name\": \"Key Vault\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "465"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:02 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvk6SgA3uqfq/k6J63jW2QiLs6xhEu499dH6+J85bc3J619ehhwMy4bhfGhu8J5wh18gdc+KB8B1r2WTcTNCRMoo6thlryuu/qqnCQxmU5bIg7n4XO4kFIHGK8FQPyYwaLo8/WK1Tt8qlI6BTYCVTH"
+ ],
+ "x-ms-correlation-request-id": [
+ "dd100bbe-edbf-42d8-a24a-bebcf8f5bc53"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14189"
+ ],
+ "x-ms-request-id": [
+ "dd100bbe-edbf-42d8-a24a-bebcf8f5bc53"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190903Z:dd100bbe-edbf-42d8-a24a-bebcf8f5bc53"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key%20Vault%20controller%20(Administrator)?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9LZXklMjBWYXVsdCUyMGNvbnRyb2xsZXIlMjAlMjhBZG1pbmlzdHJhdG9yJTI5P2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "5b1647fe-9907-42ab-87bd-e97681bdc451"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key Vault controller (Administrator)\",\r\n \"name\": \"Key Vault controller (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "519"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:03 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvIVDS6XWCr2L8mtBlSmOSLC7K7mTjonyO6RVCj7gMlae4BPDIoUCsr/0/yXEBrJy55YRBhmWTBd3q8NgY/cLF5sf3yPYvNkdTTlA0L6QZ5WJ44FbPe2zSLFcyEi5cyQi8zBADt+q85JkfNvwRgwBW"
+ ],
+ "x-ms-correlation-request-id": [
+ "5120d237-917b-4943-a3f5-1b21cc67793a"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14188"
+ ],
+ "x-ms-request-id": [
+ "5120d237-917b-4943-a3f5-1b21cc67793a"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190903Z:5120d237-917b-4943-a3f5-1b21cc67793a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key%20Vault%20controller%20(User)?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9LZXklMjBWYXVsdCUyMGNvbnRyb2xsZXIlMjAlMjhVc2VyJTI5P2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "610f8716-7593-4063-87cf-d2f28542fef6"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key Vault controller (User)\",\r\n \"name\": \"Key Vault controller (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "501"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:03 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvOqJqO52PC0wXPT6hQ5PNybLbvGZJ4a8Ek7JnOg33j+hQvAprShKSkJARi5sPlAiXy1oiHZCouHd06wanRFLU42VOgv43u6LKTyDsYBw7kQzKolkovIpAKutD++9g3X7o8B50qbUr5I0V7xnLnXA1"
+ ],
+ "x-ms-correlation-request-id": [
+ "7a145f66-82b1-4510-a33a-6d355167b6e1"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14187"
+ ],
+ "x-ms-request-id": [
+ "7a145f66-82b1-4510-a33a-6d355167b6e1"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190903Z:7a145f66-82b1-4510-a33a-6d355167b6e1"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key%20Vault%20name%20manager?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9LZXklMjBWYXVsdCUyMG5hbWUlMjBtYW5hZ2VyP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "eb28b838-fd9f-4c79-8be7-207da74c366a"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key Vault name manager\",\r\n \"name\": \"Key Vault name manager\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "491"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:03 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvxsZiDuoSYQoZ+1hTdI2KNd6hq2b4UzBwMVpaNDVQK/Dy1476u62X3bzK8UhcNVF23WCTU64TS6SxDGrr4Fwta+L4EL4N3B38yfT2RMGWGuy5TxG/SU9jV2gMrqPsXn6ZK9jFNz76Dl01CBPzYwfn"
+ ],
+ "x-ms-correlation-request-id": [
+ "badd5194-146e-4502-b899-66cbf2de8114"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14186"
+ ],
+ "x-ms-request-id": [
+ "badd5194-146e-4502-b899-66cbf2de8114"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190903Z:badd5194-146e-4502-b899-66cbf2de8114"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key%20Vault%20service%20(Administrator)?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9LZXklMjBWYXVsdCUyMHNlcnZpY2UlMjAlMjhBZG1pbmlzdHJhdG9yJTI5P2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "fb19f618-1d33-450b-a423-5120d9db3948"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key Vault service (Administrator)\",\r\n \"name\": \"Key Vault service (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "513"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:03 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvObr5JqNriIR79gsacmME3Q0+4A2afgscrcGkqQYBm4vC+iPw2WzrGlire7GULNH+SLxyp2wCVXsdY0ZdBnZN9PpAqIalSzLPw4BvSeCFGgdP13UMVjXzS9HLBiNdTc6h9UJqr21oBAFDZIBsw6TU"
+ ],
+ "x-ms-correlation-request-id": [
+ "8ad432db-d984-41f9-b7c4-ac09d7f20f8a"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14185"
+ ],
+ "x-ms-request-id": [
+ "8ad432db-d984-41f9-b7c4-ac09d7f20f8a"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190903Z:8ad432db-d984-41f9-b7c4-ac09d7f20f8a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key%20Vault%20service%20(User)?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9LZXklMjBWYXVsdCUyMHNlcnZpY2UlMjAlMjhVc2VyJTI5P2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "50fc0d18-f092-4539-9079-9a1d210a78a0"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key Vault service (User)\",\r\n \"name\": \"Key Vault service (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "495"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:03 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv1prFHQfXLCu/53KQFUDW3t9n7lKFwDYqfBhFGS0QcJa8QAFK0MK3jflBLKFH5Rk6fp03TaZ6P5Y2JBkAIdJ3UQZ5AJ/PDGAVhxKidEI6l5D2di/kXTXX1K+6wEJTaCKNSVShobjRYnl/KGBSkAdY"
+ ],
+ "x-ms-correlation-request-id": [
+ "cc7edef5-5fca-4ef8-89ed-ba200a7211e2"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14184"
+ ],
+ "x-ms-request-id": [
+ "cc7edef5-5fca-4ef8-89ed-ba200a7211e2"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190903Z:cc7edef5-5fca-4ef8-89ed-ba200a7211e2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Load%20balancer%20multiplexer?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9Mb2FkJTIwYmFsYW5jZXIlMjBtdWx0aXBsZXhlcj9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "7a9c33da-fe1d-42ce-9a55-3c59a72018c1"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Load balancer multiplexer\",\r\n \"name\": \"Load balancer multiplexer\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-SLB01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "497"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:03 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRviIwOZjZqn1F+fMvPR305ssJb8NTvrLZxWvAxh9TSMZTM5x+I6cXO4Qi1gMwglX9SKsAyVPmQko+OGs2mOm6BzGe3sRE9BZHEjlicS8vID+z5VBdMFbh3AS2eODbw7FdI6RAAUhfrQpcQQCDhUfWi"
+ ],
+ "x-ms-correlation-request-id": [
+ "b54d062b-aea5-46a0-aff6-6c8834cc2b10"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14183"
+ ],
+ "x-ms-request-id": [
+ "b54d062b-aea5-46a0-aff6-6c8834cc2b10"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190903Z:b54d062b-aea5-46a0-aff6-6c8834cc2b10"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Network?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9OZXR3b3JrP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "6c11b48d-2db7-4542-8e05-11e48991b52c"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Network\",\r\n \"name\": \"Network\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "461"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:03 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvwPNDZrbqXOq/srsvUaah8Vygy3CySetQ8Kq9omtouDZgfUZlYBZfoYO9gWq+qg2hNdokFS2a0t3vkaxTtebeb8RQEE5gHQ3Gr07dTW5lv9Ifd5iUHxWWZkPmfwAHqKZh9JZcXmXs8V/jPC7nr56n"
+ ],
+ "x-ms-correlation-request-id": [
+ "caefa043-2c33-4176-9feb-ca7da7a91470"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14182"
+ ],
+ "x-ms-request-id": [
+ "caefa043-2c33-4176-9feb-ca7da7a91470"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190903Z:caefa043-2c33-4176-9feb-ca7da7a91470"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Network%20controller?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9OZXR3b3JrJTIwY29udHJvbGxlcj9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "ed9e5771-cc05-4496-8eb5-958698e5c1ae"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Network controller\",\r\n \"name\": \"Network controller\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-NC01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "482"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:03 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvc+QkbF7YSAla+3q5JKSpRPxch7Pp6Db1Ao0BTn8DtGtGxWy87t/54mfbNbJxHjBa/f0VPLIxyrMWuIh4u6svFW4VREe7w7f9sZbmI0uZDUNVkK9Rk2iqMK1bApL1fJv4k8a3EY2glzxDaepMloc2"
+ ],
+ "x-ms-correlation-request-id": [
+ "db7b819a-7ccc-4a6d-a2ad-55ef4fc7ed4c"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14181"
+ ],
+ "x-ms-request-id": [
+ "db7b819a-7ccc-4a6d-a2ad-55ef4fc7ed4c"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190903Z:db7b819a-7ccc-4a6d-a2ad-55ef4fc7ed4c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Partition%20request%20broker%20(Administrator)?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9QYXJ0aXRpb24lMjByZXF1ZXN0JTIwYnJva2VyJTIwJTI4QWRtaW5pc3RyYXRvciUyOT9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "59c88bfb-7374-4229-8b65-129c51362435"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Partition request broker (Administrator)\",\r\n \"name\": \"Partition request broker (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "527"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:03 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvCDb9K+Pr01/Efj1dLGain0wUEr3XSKyVRxWdbQMP3o7Gryg0pb+87Ufyn6RaHLFUAjhzFtAZVk7wZvmC4HM1mZfWtBg4q9MjefQrOdd4FPASEAcR83hMRwwFK/4R7KnWy896A3AxyAFLIdsJB6XF"
+ ],
+ "x-ms-correlation-request-id": [
+ "e26ca0b4-1853-40d7-920c-66cc8a647e16"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14180"
+ ],
+ "x-ms-request-id": [
+ "e26ca0b4-1853-40d7-920c-66cc8a647e16"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190903Z:e26ca0b4-1853-40d7-920c-66cc8a647e16"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Partition%20request%20broker%20(User)?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9QYXJ0aXRpb24lMjByZXF1ZXN0JTIwYnJva2VyJTIwJTI4VXNlciUyOT9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "f7432dcc-d7a3-454e-a558-cc9ca5e0541c"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Partition request broker (User)\",\r\n \"name\": \"Partition request broker (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "509"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:03 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvJbgiI02xaNcdbIhl0PBzGtCuUj5Bk2It5u069KyJTEhpt0nYc/3yaohaJE3hItMTyojRAmIAMTp/5lmyAZ+iVGHkd1bZvNUtIioo61EfrjQi4gnCsSS9/7SgGYNdLZAyXnCXB1/jo1gRDcwq2jC6"
+ ],
+ "x-ms-correlation-request-id": [
+ "d61f2fc4-0b28-4c90-93c1-18264d0529fd"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14179"
+ ],
+ "x-ms-request-id": [
+ "d61f2fc4-0b28-4c90-93c1-18264d0529fd"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190903Z:d61f2fc4-0b28-4c90-93c1-18264d0529fd"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Portal%20(Administrator)?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9Qb3J0YWwlMjAlMjhBZG1pbmlzdHJhdG9yJTI5P2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "d872c7a4-e799-4d51-90f0-d8f21e07236a"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Portal (Administrator)\",\r\n \"name\": \"Portal (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "491"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:03 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvZsRIcmw9FsdWCWrplOxyUIquaUUvQQMBEQQkfVqwaWOGwO2ADRKvRlWySC68YUdXkI7Iy/cggKeTi2+4Si2XJKj6DpmiJFqjOw52KF+aEfa6JIAan8XW0Pq7kn8V6eoF1BIpW7Ux/BDWk1D8KE5N"
+ ],
+ "x-ms-correlation-request-id": [
+ "2467a391-6851-4ca7-9fe5-5198bcda6346"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14178"
+ ],
+ "x-ms-request-id": [
+ "2467a391-6851-4ca7-9fe5-5198bcda6346"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190903Z:2467a391-6851-4ca7-9fe5-5198bcda6346"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Portal%20(User)?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9Qb3J0YWwlMjAlMjhVc2VyJTI5P2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "763f026b-9aee-4f5d-97be-bd49994b5d34"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Portal (User)\",\r\n \"name\": \"Portal (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "474"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:03 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvAIczN54+arWygK5qscCZ5UNAlmuomb8RK5CXFF7y44FkoxktvyLhh7H8JToMNzyBcnbQQlg9Dc3uA9/BTMx/IA85xAirdVzxwMvOlvuLWLs0bwA9+uKi4UAOUU64qQ4XCnaWAjo8Tvr/kcOMvkSt"
+ ],
+ "x-ms-correlation-request-id": [
+ "8dcc62a9-144b-4ea4-9701-c99fb1b7ce27"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14177"
+ ],
+ "x-ms-request-id": [
+ "8dcc62a9-144b-4ea4-9701-c99fb1b7ce27"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190903Z:8dcc62a9-144b-4ea4-9701-c99fb1b7ce27"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Privileged%20endpoint?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9Qcml2aWxlZ2VkJTIwZW5kcG9pbnQ/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "9cca8699-f6cc-4787-8828-8ebdb497aedc"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Privileged endpoint\",\r\n \"name\": \"Privileged endpoint\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ERCS01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "486"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:03 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvUlwZm+UEbQMSpOu/RVYlmUPjr7uX6EPF3CnWvT0xjOqQPP+I0lJn7CWwTbuz+5yjNt+bmfTGTbIln6nE5lEYqzyB/OuOWVN3lj5osfJSuekbGhITA81ITnDt+mo4zsQIRvlCfJqcI3V1Ok1MGmp9"
+ ],
+ "x-ms-correlation-request-id": [
+ "aaa46377-bd0e-42ec-aee7-c8e0fe6f79b3"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14176"
+ ],
+ "x-ms-request-id": [
+ "aaa46377-bd0e-42ec-aee7-c8e0fe6f79b3"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190903Z:aaa46377-bd0e-42ec-aee7-c8e0fe6f79b3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Region%20Management?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9SZWdpb24lMjBNYW5hZ2VtZW50P2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "7e4283e1-0abb-42b6-9f63-663349bda7d2"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Region Management\",\r\n \"name\": \"Region Management\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "481"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:03 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvcuw/cfBhFJGJ9/l6USHB8og80okSD5mJfjHY9eY7DJL4Tvh4hO5VOOtpXsipwTpwIeOH8SyZyg/eTjxEhvEpzS1J63L9x4gjEVBWQejEtwdBoOnTR9NnsAGLtWrNijhNi3EdCZME2p6b/A/lZb0K"
+ ],
+ "x-ms-correlation-request-id": [
+ "e9115101-b702-4c95-8b31-6513b9334cad"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14175"
+ ],
+ "x-ms-request-id": [
+ "e9115101-b702-4c95-8b31-6513b9334cad"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190903Z:e9115101-b702-4c95-8b31-6513b9334cad"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Storage?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9TdG9yYWdlP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "a83883c5-469b-429d-b67b-a8242fbb3912"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Storage\",\r\n \"name\": \"Storage\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "461"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:03 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvZD1pzlYOsYE/DEyeMOdVKuQmSGSeXj7tfkSOQBHvLA9nMyAkKpZfjCWXB//mbGy1uFv82kh6TJdqRxOGrrTsMJUfK+y+Ii0Mebj15ASYzuQFOqAm+rIX+Fz7dGh6jpa9R34bXpBnN7LPqPSs7Ev+"
+ ],
+ "x-ms-correlation-request-id": [
+ "72c2ba96-a4b5-494c-92e7-c99411d2f93d"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14174"
+ ],
+ "x-ms-request-id": [
+ "72c2ba96-a4b5-494c-92e7-c99411d2f93d"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190903Z:72c2ba96-a4b5-494c-92e7-c99411d2f93d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Storage%20controller?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9TdG9yYWdlJTIwY29udHJvbGxlcj9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "0b518bbe-eb0e-44ef-b0e7-a57417c00127"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Storage controller\",\r\n \"name\": \"Storage controller\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "483"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:03 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvN/a2AsOiAHOleQrxKomLIpwYZpQ0NK+YNTP33KtGdYTG4ZbqQxuOOOLo5Rqs68O4GYfv5P6Y8ABdUoGYPvQpD//V4YEPJg5H+Btqega/J5zVc/oXC2RgXB+RbAm0nf958M8OhkYcgcwZxmq/0Uz+"
+ ],
+ "x-ms-correlation-request-id": [
+ "d569bc62-f92d-4c30-9806-c8e778db1c7d"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14173"
+ ],
+ "x-ms-request-id": [
+ "d569bc62-f92d-4c30-9806-c8e778db1c7d"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190903Z:d569bc62-f92d-4c30-9806-c8e778db1c7d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Storage%20services?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9TdG9yYWdlJTIwc2VydmljZXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "3bec8dcb-b189-4dc8-9d35-d88e6a87b47c"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Storage services\",\r\n \"name\": \"Storage services\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ACS01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "479"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:03 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvy3vkj1Fl3t1MxM+eAV+dJx5KIKDrLLU49bSofhHHAjAo/u4l+9tnstlZIP+iRlaZSFfjdIFkLeezZDnYAm+sSTZiNSKCftxrDW48opJ6zwq2M6gNJR5n/Na9+y4GhoKUOPlU6rTKcfu93KdyttZN"
+ ],
+ "x-ms-correlation-request-id": [
+ "93d061c7-6a6b-4a54-9110-0c4cbb5fca76"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14172"
+ ],
+ "x-ms-request-id": [
+ "93d061c7-6a6b-4a54-9110-0c4cbb5fca76"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190904Z:93d061c7-6a6b-4a54-9110-0c4cbb5fca76"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Subscriptions%20service?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9TdWJzY3JpcHRpb25zJTIwc2VydmljZT9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "d1c78d11-6091-4139-9e52-0854e0617007"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Subscriptions service\",\r\n \"name\": \"Subscriptions service\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "489"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:03 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvtRXGq7nrUTmyWOaGEwWqS7jvdjRduzLUMfHakDNFzzv0vNM1kdEtierNQqUauq90KELShNIUV451G1zGhH1zE4XUR+SvzlrNRxC80X4PBvgNhAFLewCuVBOxQndAxr4O/X2UuN6U72dcOFWjg0Zc"
+ ],
+ "x-ms-correlation-request-id": [
+ "71ccef36-94c6-405c-9f81-1ae98d880870"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14171"
+ ],
+ "x-ms-request-id": [
+ "71ccef36-94c6-405c-9f81-1ae98d880870"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190904Z:71ccef36-94c6-405c-9f81-1ae98d880870"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Updates?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9VcGRhdGVzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "38767a38-a83c-4de7-91ee-46d13f5aaf1a"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Updates\",\r\n \"name\": \"Updates\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "461"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:03 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvzNI8vXifmXWCakraP/asZ8kA9pfpJLMW9yQmEMKGD2GzzkJiTtZwkqGwyTquxUfZoga5QHlozHwAyB5VH9sfJGa439OiupJZEmF6yAsgeQ+TEqzDrnLJUObXu/cIbHkkK2tyyiYqs47yH72KJqj/"
+ ],
+ "x-ms-correlation-request-id": [
+ "c6917813-b2a8-4420-9152-2250d2ac2b2a"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14170"
+ ],
+ "x-ms-request-id": [
+ "c6917813-b2a8-4420-9152-2250d2ac2b2a"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190904Z:c6917813-b2a8-4420-9152-2250d2ac2b2a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Usage%20Bridge%20host?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9Vc2FnZSUyMEJyaWRnZSUyMGhvc3Q/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "3412aed3-c7c9-4b26-b892-c525f4720a10"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Usage Bridge host\",\r\n \"name\": \"Usage Bridge host\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "481"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:03 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv5EgUy7Sb1A9/KheqzQDn33+5Pd6N9UkwPa1beZ8PWRCGjzZS4s31LuH8w7ecDsjXsB7k2EXdfHAIZbD8wgq2Ca4aqbrk4z4zVDDesmkTtj/A7VsfxS7V/Lx2pR8WoBskj+f4c4GiQS/4MS1i/Sk5"
+ ],
+ "x-ms-correlation-request-id": [
+ "1fb72de2-c7bf-4d51-9116-d1605aee5034"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14169"
+ ],
+ "x-ms-request-id": [
+ "1fb72de2-c7bf-4d51-9116-d1605aee5034"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190904Z:1fb72de2-c7bf-4d51-9116-d1605aee5034"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Usage%20service%20(Administrator)?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9Vc2FnZSUyMHNlcnZpY2UlMjAlMjhBZG1pbmlzdHJhdG9yJTI5P2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "b7ffca52-e4ec-4574-94b8-155c78c76f8d"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Usage service (Administrator)\",\r\n \"name\": \"Usage service (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "505"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:03 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvaXjMNVToGi4z5rGfB09WjSHLRBnvgUgU5mEhlUeVtj6hg8fxSLCOfRtyAQvBNRKNekWLgLCEhnwavA2mumEvy3o3Qx53quZJRfpkvQ1z52U65Ie823ZwOx9PwZx8bk2vZDX02n+Luz2o1IiYh8uT"
+ ],
+ "x-ms-correlation-request-id": [
+ "cbb0a3fa-2b5a-4c42-89a9-cc257d5f3add"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14168"
+ ],
+ "x-ms-request-id": [
+ "cbb0a3fa-2b5a-4c42-89a9-cc257d5f3add"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190904Z:cbb0a3fa-2b5a-4c42-89a9-cc257d5f3add"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Usage%20service%20(User)?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9Vc2FnZSUyMHNlcnZpY2UlMjAlMjhVc2VyJTI5P2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "3e692953-a338-47a1-8237-93b8be842cf7"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Usage service (User)\",\r\n \"name\": \"Usage service (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "488"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:03 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvsbfIQSOj/9bMtmD+QT2DK2k4fireoQB7M54dgLuPx3LVAlBGAZcQAaBxXgSw2NPuVaRWai+BSRMR1W9y9/+gB/X+mubNBd5NIZWRS88XG1lf+uhWoLwGqY/mTw+rgW9ag6c7jzwO5Ia0sQb88yTh"
+ ],
+ "x-ms-correlation-request-id": [
+ "19a1d95c-892c-4c43-b14f-5e3be76f12bf"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14167"
+ ],
+ "x-ms-request-id": [
+ "19a1d95c-892c-4c43-b14f-5e3be76f12bf"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190904Z:19a1d95c-892c-4c43-b14f-5e3be76f12bf"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllIpPools.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllIpPools.json
new file mode 100644
index 000000000000..1332c67c726a
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllIpPools.json
@@ -0,0 +1,456 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaXBQb29scz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "8beef4f5-434f-4cae-aba0-c7b900376821"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/08786a0f-ad8c-43aa-a154-06083abfc1ac\",\r\n \"name\": \"08786a0f-ad8c-43aa-a154-06083abfc1ac\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/ipPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"startIpAddress\": \"192.168.105.1\",\r\n \"endIpAddress\": \"192.168.105.255\",\r\n \"numberOfIpAddresses\": 255,\r\n \"numberOfAllocatedIpAddresses\": 8,\r\n \"numberOfIpAddressesInTransition\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/75e93974-f451-468d-bbc2-8a388a938344\",\r\n \"name\": \"75e93974-f451-468d-bbc2-8a388a938344\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/ipPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"startIpAddress\": \"192.168.200.112\",\r\n \"endIpAddress\": \"192.168.200.127\",\r\n \"numberOfIpAddresses\": 16,\r\n \"numberOfAllocatedIpAddresses\": 1,\r\n \"numberOfIpAddressesInTransition\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/7c9d2d8a-e243-4d4d-b635-9545ba2bd8a8\",\r\n \"name\": \"7c9d2d8a-e243-4d4d-b635-9545ba2bd8a8\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/ipPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"startIpAddress\": \"192.168.200.65\",\r\n \"endIpAddress\": \"192.168.200.111\",\r\n \"numberOfIpAddresses\": 47,\r\n \"numberOfAllocatedIpAddresses\": 0,\r\n \"numberOfIpAddressesInTransition\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/a09498cb-d6b3-4d6e-9c3d-0caea30cfb58\",\r\n \"name\": \"a09498cb-d6b3-4d6e-9c3d-0caea30cfb58\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/ipPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"startIpAddress\": \"192.168.200.1\",\r\n \"endIpAddress\": \"192.168.200.62\",\r\n \"numberOfIpAddresses\": 62,\r\n \"numberOfAllocatedIpAddresses\": 1,\r\n \"numberOfIpAddressesInTransition\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/a8dee838-b2b7-4648-8a00-2c61ff8ffde6\",\r\n \"name\": \"a8dee838-b2b7-4648-8a00-2c61ff8ffde6\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/ipPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"startIpAddress\": \"192.168.102.1\",\r\n \"endIpAddress\": \"192.168.102.255\",\r\n \"numberOfIpAddresses\": 255,\r\n \"numberOfAllocatedIpAddresses\": 31,\r\n \"numberOfIpAddressesInTransition\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/c743f3e0-9fa4-4236-8c3d-a0f8ad945fb4\",\r\n \"name\": \"c743f3e0-9fa4-4236-8c3d-a0f8ad945fb4\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/ipPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"startIpAddress\": \"192.168.200.224\",\r\n \"endIpAddress\": \"192.168.200.254\",\r\n \"numberOfIpAddresses\": 31,\r\n \"numberOfAllocatedIpAddresses\": 1,\r\n \"numberOfIpAddressesInTransition\": 0\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "2988"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:20 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvQsaCKLcZpkJ0XIZS3fOahY8Du7ycaskPxa18lGUSxkBkgkZHcS/qkNYICaRZ1ZEQzSDN4l0E2dtOiITJH61EhVq1vnNGLQysYuBXPGtRxBKZf+EzzYHo+Xeg9DaBcbqJ9jcJtIy8HMre4CT9qOCb"
+ ],
+ "x-ms-correlation-request-id": [
+ "dbee3b8c-cff0-4406-9f80-e91d609abf43"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14120"
+ ],
+ "x-ms-request-id": [
+ "dbee3b8c-cff0-4406-9f80-e91d609abf43"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192221Z:dbee3b8c-cff0-4406-9f80-e91d609abf43"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/08786a0f-ad8c-43aa-a154-06083abfc1ac?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaXBQb29scy8wODc4NmEwZi1hZDhjLTQzYWEtYTE1NC0wNjA4M2FiZmMxYWM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "008df0dd-7393-4a5b-a071-191a5e6383d9"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/08786a0f-ad8c-43aa-a154-06083abfc1ac\",\r\n \"name\": \"08786a0f-ad8c-43aa-a154-06083abfc1ac\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/ipPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"startIpAddress\": \"192.168.105.1\",\r\n \"endIpAddress\": \"192.168.105.255\",\r\n \"numberOfIpAddresses\": 255,\r\n \"numberOfAllocatedIpAddresses\": 8,\r\n \"numberOfIpAddressesInTransition\": 0\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "495"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:20 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvqc+uF/4Sj5jl/cOfA7e4EG+zYf+Av5LYg+Y82cGXLD/RBFwHD1pkzlGAhafWlF6yRGYpbl6m0E6zlAXmfjeLWa16rSU0IY7wxRbroznBZqT1tDasheQ8aZoEpWVZp/lj3QjIvAKRL4EzxmGY5qBq"
+ ],
+ "x-ms-correlation-request-id": [
+ "2aecdda1-cd43-4ba2-8ee0-8475895950f1"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14119"
+ ],
+ "x-ms-request-id": [
+ "2aecdda1-cd43-4ba2-8ee0-8475895950f1"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192221Z:2aecdda1-cd43-4ba2-8ee0-8475895950f1"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/75e93974-f451-468d-bbc2-8a388a938344?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaXBQb29scy83NWU5Mzk3NC1mNDUxLTQ2OGQtYmJjMi04YTM4OGE5MzgzNDQ/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "2ad66306-6e66-4642-acf4-80ad06e183e6"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/75e93974-f451-468d-bbc2-8a388a938344\",\r\n \"name\": \"75e93974-f451-468d-bbc2-8a388a938344\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/ipPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"startIpAddress\": \"192.168.200.112\",\r\n \"endIpAddress\": \"192.168.200.127\",\r\n \"numberOfIpAddresses\": 16,\r\n \"numberOfAllocatedIpAddresses\": 1,\r\n \"numberOfIpAddressesInTransition\": 0\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "496"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:20 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvO5y+bAj//eWR7z2/rwpTXdyxGUw0/d5uZwA6Y3RvNPeWE+nd/08Sd1ygmyuaHGgUdKO7pb5H1iV4qTOeKaWiRQL7DLRxNjntYrwzNVf/zRv9tiCRKdvNyK1CwIMK5D0J/XdN1wF4n1c1CYidxwjb"
+ ],
+ "x-ms-correlation-request-id": [
+ "7c0384e7-ca10-450b-8372-87b5b537798b"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14118"
+ ],
+ "x-ms-request-id": [
+ "7c0384e7-ca10-450b-8372-87b5b537798b"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192221Z:7c0384e7-ca10-450b-8372-87b5b537798b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/7c9d2d8a-e243-4d4d-b635-9545ba2bd8a8?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaXBQb29scy83YzlkMmQ4YS1lMjQzLTRkNGQtYjYzNS05NTQ1YmEyYmQ4YTg/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "bef60c4e-d09e-4256-af56-a61f88cefba1"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/7c9d2d8a-e243-4d4d-b635-9545ba2bd8a8\",\r\n \"name\": \"7c9d2d8a-e243-4d4d-b635-9545ba2bd8a8\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/ipPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"startIpAddress\": \"192.168.200.65\",\r\n \"endIpAddress\": \"192.168.200.111\",\r\n \"numberOfIpAddresses\": 47,\r\n \"numberOfAllocatedIpAddresses\": 0,\r\n \"numberOfIpAddressesInTransition\": 0\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "495"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:20 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvGmiWMYosBvnROGS2fZ4Hr8CmhFjKWFe/HjJfGN8H92S8XnngZ5ImW2ABv4+eGdFHyaZJItJ8EGQuoD1dpDxB0CkTSmciIJUo9dVObwEbsF/Rtt+RrYmKd6SOWziJXo1qFmyedkA0dCRdRRxuoNRi"
+ ],
+ "x-ms-correlation-request-id": [
+ "7af9096b-a07d-4372-bd9b-66b3d3e276ba"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14117"
+ ],
+ "x-ms-request-id": [
+ "7af9096b-a07d-4372-bd9b-66b3d3e276ba"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192221Z:7af9096b-a07d-4372-bd9b-66b3d3e276ba"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/a09498cb-d6b3-4d6e-9c3d-0caea30cfb58?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaXBQb29scy9hMDk0OThjYi1kNmIzLTRkNmUtOWMzZC0wY2FlYTMwY2ZiNTg/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "7450c00f-8b52-4873-b392-437d73001f1f"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/a09498cb-d6b3-4d6e-9c3d-0caea30cfb58\",\r\n \"name\": \"a09498cb-d6b3-4d6e-9c3d-0caea30cfb58\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/ipPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"startIpAddress\": \"192.168.200.1\",\r\n \"endIpAddress\": \"192.168.200.62\",\r\n \"numberOfIpAddresses\": 62,\r\n \"numberOfAllocatedIpAddresses\": 1,\r\n \"numberOfIpAddressesInTransition\": 0\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "493"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:20 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv4otMXx7NjTrsCxnr3ReZ4QWab+j3pItuEcCZflJHcav5PIJSMOofr5zEJkHvSL0cWf/UTxUvOhQnW+Dtd6WkB5IhmaF4RiOoc61c74KBzWWugqBXyHMdeP++Lr5eWgF0Yb4l0wuaiEIBKiw2E3lx"
+ ],
+ "x-ms-correlation-request-id": [
+ "58b2f365-032a-49bf-8628-7cff339c5485"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14116"
+ ],
+ "x-ms-request-id": [
+ "58b2f365-032a-49bf-8628-7cff339c5485"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192221Z:58b2f365-032a-49bf-8628-7cff339c5485"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/a8dee838-b2b7-4648-8a00-2c61ff8ffde6?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaXBQb29scy9hOGRlZTgzOC1iMmI3LTQ2NDgtOGEwMC0yYzYxZmY4ZmZkZTY/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "678d9cac-cfdb-4281-8af5-84ebb660ace3"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/a8dee838-b2b7-4648-8a00-2c61ff8ffde6\",\r\n \"name\": \"a8dee838-b2b7-4648-8a00-2c61ff8ffde6\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/ipPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"startIpAddress\": \"192.168.102.1\",\r\n \"endIpAddress\": \"192.168.102.255\",\r\n \"numberOfIpAddresses\": 255,\r\n \"numberOfAllocatedIpAddresses\": 31,\r\n \"numberOfIpAddressesInTransition\": 0\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "496"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:20 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvJLA3nBnxqv48YecWRiGMf5DFV1nLSVZO9Tt7qsZPvV41xSETEREquFjOEXK8wSVYrtasdd/vzuSgH+zEN3dViUCWL5tbqBUVguWbZDRrCb/yqiTHXTO6FzRvMVRv2+Shp+5F9/vTj77Anlr48oLd"
+ ],
+ "x-ms-correlation-request-id": [
+ "0bfda0c1-70eb-4fff-a8bf-40fffd9b1611"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14115"
+ ],
+ "x-ms-request-id": [
+ "0bfda0c1-70eb-4fff-a8bf-40fffd9b1611"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192221Z:0bfda0c1-70eb-4fff-a8bf-40fffd9b1611"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/c743f3e0-9fa4-4236-8c3d-a0f8ad945fb4?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaXBQb29scy9jNzQzZjNlMC05ZmE0LTQyMzYtOGMzZC1hMGY4YWQ5NDVmYjQ/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "9d228c76-f82b-44e3-86f1-e2a9cc8b0841"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/c743f3e0-9fa4-4236-8c3d-a0f8ad945fb4\",\r\n \"name\": \"c743f3e0-9fa4-4236-8c3d-a0f8ad945fb4\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/ipPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"startIpAddress\": \"192.168.200.224\",\r\n \"endIpAddress\": \"192.168.200.254\",\r\n \"numberOfIpAddresses\": 31,\r\n \"numberOfAllocatedIpAddresses\": 1,\r\n \"numberOfIpAddressesInTransition\": 0\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "496"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:20 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv5MazQ1wvi2ns5Os9sN2A1PH2f00PWfkzrpd59b/ktx2t3YRaB9HUrc5aBeEk8hg/laU0BVpCUFqRwG7Pw2CV9C/LpSlYmwEOAy5mEjSxznUl20+3vEZE8lWkptvwui4itexS7o1SkgjccJPAsie0"
+ ],
+ "x-ms-correlation-request-id": [
+ "bb79e066-a0b0-4fd9-a65a-22fe30060b9f"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14114"
+ ],
+ "x-ms-request-id": [
+ "bb79e066-a0b0-4fd9-a65a-22fe30060b9f"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192221Z:bb79e066-a0b0-4fd9-a65a-22fe30060b9f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllLogicalNetworks.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllLogicalNetworks.json
new file mode 100644
index 000000000000..e23b7115c44e
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllLogicalNetworks.json
@@ -0,0 +1,456 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbG9naWNhbE5ldHdvcmtzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "f758d24a-6f5d-490f-a3fa-1e78336ef62e"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/00000000-2222-1111-9999-000000000001\",\r\n \"name\": \"00000000-2222-1111-9999-000000000001\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"d8cfef2d-c0c8-4cdb-b0a8-fb1bdf3f2ad7\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/47931036-2874-4d45-b1f1-b69666088968\",\r\n \"name\": \"47931036-2874-4d45-b1f1-b69666088968\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"64311075-3ae7-4327-bafa-2c58804addb7\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/B60B71AA-36BF-40AC-A9CE-A6915D1EAE1A\",\r\n \"name\": \"B60B71AA-36BF-40AC-A9CE-A6915D1EAE1A\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"1ee6e531-b000-412c-bba7-2d6d6f257ac4\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/bb6c6f28-bad9-441b-8e62-57d2be255904\",\r\n \"name\": \"bb6c6f28-bad9-441b-8e62-57d2be255904\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": true,\r\n \"subnets\": [\r\n \"be20afa7-2ada-4261-a12a-4e48498223cf\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/F207C184-367C-4BC7-8C74-03AA39D68C24\",\r\n \"name\": \"F207C184-367C-4BC7-8C74-03AA39D68C24\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"d43d2881-3aad-40c9-b207-4280a9b3b699\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/f8f67956-3906-4303-94c5-09cf91e7e311\",\r\n \"name\": \"f8f67956-3906-4303-94c5-09cf91e7e311\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"9ec2eb29-6d47-4e22-a322-eb575c16937a\"\r\n ]\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "2644"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:23 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvkMtPt5Jb0aSYGfplqW1Fyz2aQ1ytXOov9/KhtzhaRhY+dCEoOzG0DMdbbxV103plDktQGvOvxlzKoO5ykbW/ijCbsiUQw3QFlyNCOVb/GElLArK9e27NyxUGQqFlnXJSGbUQ04XrzIZ/JqKjOc+Y"
+ ],
+ "x-ms-correlation-request-id": [
+ "e83802ac-4532-4e9a-8700-7994cb34cf0e"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14081"
+ ],
+ "x-ms-request-id": [
+ "e83802ac-4532-4e9a-8700-7994cb34cf0e"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192223Z:e83802ac-4532-4e9a-8700-7994cb34cf0e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/00000000-2222-1111-9999-000000000001?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbG9naWNhbE5ldHdvcmtzLzAwMDAwMDAwLTIyMjItMTExMS05OTk5LTAwMDAwMDAwMDAwMT9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "1cfa72bc-6b6d-4ca5-9cfc-063594908108"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/00000000-2222-1111-9999-000000000001\",\r\n \"name\": \"00000000-2222-1111-9999-000000000001\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"d8cfef2d-c0c8-4cdb-b0a8-fb1bdf3f2ad7\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "438"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:23 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvR61kh00Hf3B9xqd57UOKHUS0AkMFc7KRzaoK3PVBGfN0OcUgs9pAro9PjfRiYQgjYRI+7TWJHp6l+crj+/jt5qDX3Pizf4zRr/A2rCA7B5A9cP8O91gb5AbA37cx8e7EsxE2sGlQ53QFMFRmYNzh"
+ ],
+ "x-ms-correlation-request-id": [
+ "61711cf7-0e25-458c-aead-77933dc41a1f"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14080"
+ ],
+ "x-ms-request-id": [
+ "61711cf7-0e25-458c-aead-77933dc41a1f"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192223Z:61711cf7-0e25-458c-aead-77933dc41a1f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/47931036-2874-4d45-b1f1-b69666088968?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbG9naWNhbE5ldHdvcmtzLzQ3OTMxMDM2LTI4NzQtNGQ0NS1iMWYxLWI2OTY2NjA4ODk2OD9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "8903d924-0948-4e13-bb5c-4fefa366343c"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/47931036-2874-4d45-b1f1-b69666088968\",\r\n \"name\": \"47931036-2874-4d45-b1f1-b69666088968\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"64311075-3ae7-4327-bafa-2c58804addb7\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "438"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:23 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvHrAxUMn8CZfKLN6Z2UV91XlAiPNb92qE3Uod15usdSr/y3uNDvbHqSwu+zwBVYUrjXMKf6lhKVeCv+mjVYH9ZuTmBCjxGjapaIF1/hXWLq9G548v986nGQEPNyyQdeoy/mYUscGEKXBEnQ4JnUyq"
+ ],
+ "x-ms-correlation-request-id": [
+ "a7ea8179-7414-448f-b388-1eddff8134f4"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14079"
+ ],
+ "x-ms-request-id": [
+ "a7ea8179-7414-448f-b388-1eddff8134f4"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192223Z:a7ea8179-7414-448f-b388-1eddff8134f4"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/B60B71AA-36BF-40AC-A9CE-A6915D1EAE1A?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbG9naWNhbE5ldHdvcmtzL0I2MEI3MUFBLTM2QkYtNDBBQy1BOUNFLUE2OTE1RDFFQUUxQT9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "daf72d0a-4e1e-4978-8bc0-6c78a627ef09"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/B60B71AA-36BF-40AC-A9CE-A6915D1EAE1A\",\r\n \"name\": \"B60B71AA-36BF-40AC-A9CE-A6915D1EAE1A\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"1ee6e531-b000-412c-bba7-2d6d6f257ac4\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "438"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:23 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv5j92nCalRXa4O5bpjBdoM0AziAGB0x7pUbO3sP0rHy8Wfzi8zmxr3IWpQsI01KmrtlFlujXGR0/Sa+fPaY9VDcCj/B2LLgo6GCV8tcGOlOqjZ3Xs+m+Uzy8Z/YBcL2CwaSpevoggsw82nWWfwI77"
+ ],
+ "x-ms-correlation-request-id": [
+ "03308c95-f353-40ae-aa1c-cef05d613ad6"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14078"
+ ],
+ "x-ms-request-id": [
+ "03308c95-f353-40ae-aa1c-cef05d613ad6"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192223Z:03308c95-f353-40ae-aa1c-cef05d613ad6"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/bb6c6f28-bad9-441b-8e62-57d2be255904?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbG9naWNhbE5ldHdvcmtzL2JiNmM2ZjI4LWJhZDktNDQxYi04ZTYyLTU3ZDJiZTI1NTkwND9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "7a2cf41d-8177-47b7-af30-22bd6e3f76ea"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/bb6c6f28-bad9-441b-8e62-57d2be255904\",\r\n \"name\": \"bb6c6f28-bad9-441b-8e62-57d2be255904\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": true,\r\n \"subnets\": [\r\n \"be20afa7-2ada-4261-a12a-4e48498223cf\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "437"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:23 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv3uqOZ4saTmRhLNuZOsTLGAKXJ7SvpOJ54WiaZ2/wb5+aV1f6haYGD0u7NTjdFWKjVxK93B0KCaRGKt8OA2kRjpP40SqzS3TzW5Sasf5S6zc9uEEkZVIw75ChLS6+T0LQpbEoivKrcrLbxVjfNbDP"
+ ],
+ "x-ms-correlation-request-id": [
+ "050e264c-4398-4b21-a880-443af9335a99"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14077"
+ ],
+ "x-ms-request-id": [
+ "050e264c-4398-4b21-a880-443af9335a99"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192223Z:050e264c-4398-4b21-a880-443af9335a99"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/F207C184-367C-4BC7-8C74-03AA39D68C24?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbG9naWNhbE5ldHdvcmtzL0YyMDdDMTg0LTM2N0MtNEJDNy04Qzc0LTAzQUEzOUQ2OEMyND9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "b4ce9d8b-e05d-4172-a0ec-92efcbbd7cf8"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/F207C184-367C-4BC7-8C74-03AA39D68C24\",\r\n \"name\": \"F207C184-367C-4BC7-8C74-03AA39D68C24\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"d43d2881-3aad-40c9-b207-4280a9b3b699\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "438"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:23 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvkfUXStb0bZtb+VnoT3u5G35j38F6csCjT704wj8ByHjTJj1DivFaroaEREJQW0S7TLuFK5XJV+57W8wm+bcMPsLdvvvFd90g1wF41XjLL+etTjdn/WgtFwVGA2qWvVUjgERHCU40QzJ/fCMqaT/X"
+ ],
+ "x-ms-correlation-request-id": [
+ "de2df2f0-aff5-4791-9cb7-72cc6495a1e9"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14076"
+ ],
+ "x-ms-request-id": [
+ "de2df2f0-aff5-4791-9cb7-72cc6495a1e9"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192223Z:de2df2f0-aff5-4791-9cb7-72cc6495a1e9"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/f8f67956-3906-4303-94c5-09cf91e7e311?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbG9naWNhbE5ldHdvcmtzL2Y4ZjY3OTU2LTM5MDYtNDMwMy05NGM1LTA5Y2Y5MWU3ZTMxMT9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "f144242f-578b-4fc6-a533-19297225bc8d"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/f8f67956-3906-4303-94c5-09cf91e7e311\",\r\n \"name\": \"f8f67956-3906-4303-94c5-09cf91e7e311\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"9ec2eb29-6d47-4e22-a322-eb575c16937a\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "438"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:23 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvdtBKSrUeSXZ7vA8aBI9Six+j75WNV0LZAuR5fik3xRWYl1N09Fu/NhwvWde22saMDbazZ9B9j+7eiZvwcujk7qRgjy3gXgySwCtJ+FKy6URROPCZf9vOW+xDXVM7HoprEQcDs5dr49Oxc/dJnJZt"
+ ],
+ "x-ms-correlation-request-id": [
+ "089aa397-3792-4350-9cc4-08477b725ab7"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14075"
+ ],
+ "x-ms-request-id": [
+ "089aa397-3792-4350-9cc4-08477b725ab7"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192223Z:089aa397-3792-4350-9cc4-08477b725ab7"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllLogicalSubnets.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllLogicalSubnets.json
new file mode 100644
index 000000000000..2f1d22e99bc8
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllLogicalSubnets.json
@@ -0,0 +1,840 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbG9naWNhbE5ldHdvcmtzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "09a7b807-4532-45cb-aefd-6247dc4f1110"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/00000000-2222-1111-9999-000000000001\",\r\n \"name\": \"00000000-2222-1111-9999-000000000001\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"d8cfef2d-c0c8-4cdb-b0a8-fb1bdf3f2ad7\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/47931036-2874-4d45-b1f1-b69666088968\",\r\n \"name\": \"47931036-2874-4d45-b1f1-b69666088968\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"64311075-3ae7-4327-bafa-2c58804addb7\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/B60B71AA-36BF-40AC-A9CE-A6915D1EAE1A\",\r\n \"name\": \"B60B71AA-36BF-40AC-A9CE-A6915D1EAE1A\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"1ee6e531-b000-412c-bba7-2d6d6f257ac4\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/bb6c6f28-bad9-441b-8e62-57d2be255904\",\r\n \"name\": \"bb6c6f28-bad9-441b-8e62-57d2be255904\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": true,\r\n \"subnets\": [\r\n \"be20afa7-2ada-4261-a12a-4e48498223cf\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/F207C184-367C-4BC7-8C74-03AA39D68C24\",\r\n \"name\": \"F207C184-367C-4BC7-8C74-03AA39D68C24\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"d43d2881-3aad-40c9-b207-4280a9b3b699\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/f8f67956-3906-4303-94c5-09cf91e7e311\",\r\n \"name\": \"f8f67956-3906-4303-94c5-09cf91e7e311\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"9ec2eb29-6d47-4e22-a322-eb575c16937a\"\r\n ]\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "2644"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvEcsfWdswQB/hr74XorrwIQTqtK1GlkSIngie0pP4wO0LSDP3pLEMaSC8/rsWKDp069gHBcb3CJeoweHqCV23n9vdLC1f104D2x+7SyrDkxZCx0d+Dkhr8DG2kah9DTUvaS89RXd2/lujl/wEWGxl"
+ ],
+ "x-ms-correlation-request-id": [
+ "f8df452b-08dc-4ddc-ba96-6416253adc38"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14151"
+ ],
+ "x-ms-request-id": [
+ "f8df452b-08dc-4ddc-ba96-6416253adc38"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192219Z:f8df452b-08dc-4ddc-ba96-6416253adc38"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/00000000-2222-1111-9999-000000000001/logicalSubnets?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbG9naWNhbE5ldHdvcmtzLzAwMDAwMDAwLTIyMjItMTExMS05OTk5LTAwMDAwMDAwMDAwMS9sb2dpY2FsU3VibmV0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "5bdabec6-9bda-451c-9512-56891934f636"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/00000000-2222-1111-9999-000000000001/logicalSubnets/d8cfef2d-c0c8-4cdb-b0a8-fb1bdf3f2ad7\",\r\n \"name\": \"d8cfef2d-c0c8-4cdb-b0a8-fb1bdf3f2ad7\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks/logicalSubnets\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"ipPools\": [\r\n \"2ce37b2a-3da0-493c-9eb5-b95054fc71f4\"\r\n ],\r\n \"isPublic\": false\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "497"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvwEIZEgJQSOuBChgPEnXebjM2BRVIFGJKh1CE8lC/c6/QxgTum9t5AEY4BiCKWcGYnCTBUKdPxRbNVLONDWet7LEg5AkHqKQK+KBUj7KkEv0H9qKBoTxnYfKvYBhKOqHR0KheHe5gp0Myvo8y6wh/"
+ ],
+ "x-ms-correlation-request-id": [
+ "c06a15df-f931-40f0-af92-92019b8aa2ce"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14150"
+ ],
+ "x-ms-request-id": [
+ "c06a15df-f931-40f0-af92-92019b8aa2ce"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192219Z:c06a15df-f931-40f0-af92-92019b8aa2ce"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/00000000-2222-1111-9999-000000000001/logicalSubnets/d8cfef2d-c0c8-4cdb-b0a8-fb1bdf3f2ad7?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbG9naWNhbE5ldHdvcmtzLzAwMDAwMDAwLTIyMjItMTExMS05OTk5LTAwMDAwMDAwMDAwMS9sb2dpY2FsU3VibmV0cy9kOGNmZWYyZC1jMGM4LTRjZGItYjBhOC1mYjFiZGYzZjJhZDc/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "372099b4-2fc5-49ed-89ed-a5186883e310"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/00000000-2222-1111-9999-000000000001/logicalSubnets/d8cfef2d-c0c8-4cdb-b0a8-fb1bdf3f2ad7\",\r\n \"name\": \"d8cfef2d-c0c8-4cdb-b0a8-fb1bdf3f2ad7\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks/logicalSubnets\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"ipPools\": [\r\n \"2ce37b2a-3da0-493c-9eb5-b95054fc71f4\"\r\n ],\r\n \"isPublic\": false\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "485"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvJA0FUdyeNdPutIX7MYxJ52nJVE0IFRx9PpivB6ikSZ+ssfB5Qqp4634syI/MlWdVf2s6vRc0XQH1doEvw86IRH0x8REYy29bKvAJZzlLEJwg9Ae906LAkZVHdl+v60HA+Bt7ASjzb1+lpQJ4upHC"
+ ],
+ "x-ms-correlation-request-id": [
+ "6d5d8b2e-1be7-4538-892d-558f4bba5e57"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14149"
+ ],
+ "x-ms-request-id": [
+ "6d5d8b2e-1be7-4538-892d-558f4bba5e57"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192219Z:6d5d8b2e-1be7-4538-892d-558f4bba5e57"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/47931036-2874-4d45-b1f1-b69666088968/logicalSubnets?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbG9naWNhbE5ldHdvcmtzLzQ3OTMxMDM2LTI4NzQtNGQ0NS1iMWYxLWI2OTY2NjA4ODk2OC9sb2dpY2FsU3VibmV0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "ea072f3f-d559-4acf-bbc0-1b08cab625f3"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/47931036-2874-4d45-b1f1-b69666088968/logicalSubnets/64311075-3ae7-4327-bafa-2c58804addb7\",\r\n \"name\": \"64311075-3ae7-4327-bafa-2c58804addb7\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks/logicalSubnets\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"ipPools\": [\r\n \"f1be0e18-b532-44e7-acc0-fbf4eab527de\",\r\n \"9b53eaf9-d03d-41ed-a9e4-d75e0d79373a\",\r\n \"4c4d948f-1f77-4536-8160-83b859c21961\",\r\n \"d7a27cd0-fe49-420c-93a9-f589f7a07cf7\",\r\n \"90d3b095-998c-484e-946a-52350d5b5758\",\r\n \"67cf8315-07d7-4a24-9681-10b3a3666f7e\",\r\n \"5770d013-e458-46f4-8a11-06ba9e90ee9c\"\r\n ],\r\n \"isPublic\": false\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "731"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvinzBEeXCWVA41oZESBWhVgkp56AfUA85tpMHyQ/4HLe8ShZtioVLqe+h1rK8VLLfRpcp66hfAauaJxj6T7Bybj7SivP/sApl1MkjQEk6PBE8omBYCRqLnyTtMgNEEO8lT6nBeFRQtVMoT9HkoTge"
+ ],
+ "x-ms-correlation-request-id": [
+ "1eb10577-afeb-4b71-a327-5b8e53d1154d"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14148"
+ ],
+ "x-ms-request-id": [
+ "1eb10577-afeb-4b71-a327-5b8e53d1154d"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192219Z:1eb10577-afeb-4b71-a327-5b8e53d1154d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/47931036-2874-4d45-b1f1-b69666088968/logicalSubnets/64311075-3ae7-4327-bafa-2c58804addb7?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbG9naWNhbE5ldHdvcmtzLzQ3OTMxMDM2LTI4NzQtNGQ0NS1iMWYxLWI2OTY2NjA4ODk2OC9sb2dpY2FsU3VibmV0cy82NDMxMTA3NS0zYWU3LTQzMjctYmFmYS0yYzU4ODA0YWRkYjc/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "911d15df-a6d0-480a-b63e-49a3c232c9e6"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/47931036-2874-4d45-b1f1-b69666088968/logicalSubnets/64311075-3ae7-4327-bafa-2c58804addb7\",\r\n \"name\": \"64311075-3ae7-4327-bafa-2c58804addb7\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks/logicalSubnets\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"ipPools\": [\r\n \"f1be0e18-b532-44e7-acc0-fbf4eab527de\",\r\n \"9b53eaf9-d03d-41ed-a9e4-d75e0d79373a\",\r\n \"4c4d948f-1f77-4536-8160-83b859c21961\",\r\n \"d7a27cd0-fe49-420c-93a9-f589f7a07cf7\",\r\n \"90d3b095-998c-484e-946a-52350d5b5758\",\r\n \"67cf8315-07d7-4a24-9681-10b3a3666f7e\",\r\n \"5770d013-e458-46f4-8a11-06ba9e90ee9c\"\r\n ],\r\n \"isPublic\": false\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "719"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv+iMylsxscCHKRfZjo2ryWpFQ6lrIwFWcuQPdwi8ge/hOzyAMFNtmz9ckKekbI5nJ/4UICM4/S5B47I3ReALhJwER4cIS7PVNaDWkkrN51Oy0zNP0DFmZvAS0DNI7sCEiM/GC34Ar4okN6tkvL4aE"
+ ],
+ "x-ms-correlation-request-id": [
+ "b5eae6b3-55a4-423d-b98c-d38e429c4a9c"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14147"
+ ],
+ "x-ms-request-id": [
+ "b5eae6b3-55a4-423d-b98c-d38e429c4a9c"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192219Z:b5eae6b3-55a4-423d-b98c-d38e429c4a9c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/B60B71AA-36BF-40AC-A9CE-A6915D1EAE1A/logicalSubnets?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbG9naWNhbE5ldHdvcmtzL0I2MEI3MUFBLTM2QkYtNDBBQy1BOUNFLUE2OTE1RDFFQUUxQS9sb2dpY2FsU3VibmV0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "de306bda-b4be-4ce4-8c90-725b5ee23150"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/B60B71AA-36BF-40AC-A9CE-A6915D1EAE1A/logicalSubnets/1ee6e531-b000-412c-bba7-2d6d6f257ac4\",\r\n \"name\": \"1ee6e531-b000-412c-bba7-2d6d6f257ac4\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks/logicalSubnets\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"ipPools\": [\r\n \"7fad6f9f-b3de-4336-922d-febe4b1743d1\",\r\n \"98fc9878-4a0b-4ffb-b82a-56b0b548fa75\",\r\n \"8fb5a173-8197-4b10-bf02-0ba006863c90\",\r\n \"b4a6c6b8-5680-4ccb-ae64-35211f235363\",\r\n \"9432d3dd-203a-4792-b65c-d3a1bad48cad\",\r\n \"bb4c5c7a-47d8-4f35-9ee4-2eea26fd4536\",\r\n \"31866284-e6f7-41c7-a9b7-787ef7b645f6\"\r\n ],\r\n \"isPublic\": false\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "731"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv+vpLfRb5bGVkJx674XR6OVisLr64Vmov0EhQ5utzFqR61Mi5jxv9FvLEJ4ItKwE0h7cIHhkOZUMSNTmRuXSk5GIunqqcf5A6xznK2PNrgDJb7GhUsdnHe6sgCNvtTcgV3p8VSHpUy3moWBX0y8LY"
+ ],
+ "x-ms-correlation-request-id": [
+ "b3a2e0d7-ec89-499e-9831-8d9a596fe424"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14146"
+ ],
+ "x-ms-request-id": [
+ "b3a2e0d7-ec89-499e-9831-8d9a596fe424"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192219Z:b3a2e0d7-ec89-499e-9831-8d9a596fe424"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/B60B71AA-36BF-40AC-A9CE-A6915D1EAE1A/logicalSubnets/1ee6e531-b000-412c-bba7-2d6d6f257ac4?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbG9naWNhbE5ldHdvcmtzL0I2MEI3MUFBLTM2QkYtNDBBQy1BOUNFLUE2OTE1RDFFQUUxQS9sb2dpY2FsU3VibmV0cy8xZWU2ZTUzMS1iMDAwLTQxMmMtYmJhNy0yZDZkNmYyNTdhYzQ/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "f559daca-acc3-4c84-a3ea-0bfe60248057"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/B60B71AA-36BF-40AC-A9CE-A6915D1EAE1A/logicalSubnets/1ee6e531-b000-412c-bba7-2d6d6f257ac4\",\r\n \"name\": \"1ee6e531-b000-412c-bba7-2d6d6f257ac4\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks/logicalSubnets\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"ipPools\": [\r\n \"7fad6f9f-b3de-4336-922d-febe4b1743d1\",\r\n \"98fc9878-4a0b-4ffb-b82a-56b0b548fa75\",\r\n \"8fb5a173-8197-4b10-bf02-0ba006863c90\",\r\n \"b4a6c6b8-5680-4ccb-ae64-35211f235363\",\r\n \"9432d3dd-203a-4792-b65c-d3a1bad48cad\",\r\n \"bb4c5c7a-47d8-4f35-9ee4-2eea26fd4536\",\r\n \"31866284-e6f7-41c7-a9b7-787ef7b645f6\"\r\n ],\r\n \"isPublic\": false\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "719"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvVt6SKMFZWXqUmQZ10YYU0ZeGNXOnqGk5Ig+UJElNbqxJtJEfPaj7/D6Soxh6CVXgroRGBBHk+sLnytMZw3hSmk9Qk+T4vH3w2Qt1oJWSxGnt/dzAfyo+LteQYzmGzAcOh0OiTy2wanzOaMvD8DA7"
+ ],
+ "x-ms-correlation-request-id": [
+ "ffe917bc-7e0b-454c-85df-26838b1573ce"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14145"
+ ],
+ "x-ms-request-id": [
+ "ffe917bc-7e0b-454c-85df-26838b1573ce"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192219Z:ffe917bc-7e0b-454c-85df-26838b1573ce"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/bb6c6f28-bad9-441b-8e62-57d2be255904/logicalSubnets?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbG9naWNhbE5ldHdvcmtzL2JiNmM2ZjI4LWJhZDktNDQxYi04ZTYyLTU3ZDJiZTI1NTkwNC9sb2dpY2FsU3VibmV0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "141a8122-c501-45ac-b6d6-972f378a41a3"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/bb6c6f28-bad9-441b-8e62-57d2be255904/logicalSubnets/be20afa7-2ada-4261-a12a-4e48498223cf\",\r\n \"name\": \"be20afa7-2ada-4261-a12a-4e48498223cf\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks/logicalSubnets\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"ipPools\": [],\r\n \"isPublic\": false\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "459"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvuZ7H2sXbYXuV2vz7PfeZgL3oQnnyCtR3EqiwZdSuGgMUsDwCRm+qRlghZPlvc8OIA2GsgYvmHsJ665dKhZcE2q0A3PaHcYUbPI968s8F+8DQ+tmBzvBkvyGgZ+GooI8FyiQRg8e7d9kOcz3i7mwk"
+ ],
+ "x-ms-correlation-request-id": [
+ "7bc8e23b-9fad-455f-924b-876232c19c14"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14144"
+ ],
+ "x-ms-request-id": [
+ "7bc8e23b-9fad-455f-924b-876232c19c14"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192219Z:7bc8e23b-9fad-455f-924b-876232c19c14"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/bb6c6f28-bad9-441b-8e62-57d2be255904/logicalSubnets/be20afa7-2ada-4261-a12a-4e48498223cf?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbG9naWNhbE5ldHdvcmtzL2JiNmM2ZjI4LWJhZDktNDQxYi04ZTYyLTU3ZDJiZTI1NTkwNC9sb2dpY2FsU3VibmV0cy9iZTIwYWZhNy0yYWRhLTQyNjEtYTEyYS00ZTQ4NDk4MjIzY2Y/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "669af1ab-89fc-4f97-886f-17d134ac95aa"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/bb6c6f28-bad9-441b-8e62-57d2be255904/logicalSubnets/be20afa7-2ada-4261-a12a-4e48498223cf\",\r\n \"name\": \"be20afa7-2ada-4261-a12a-4e48498223cf\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks/logicalSubnets\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"ipPools\": [],\r\n \"isPublic\": false\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "447"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv+z9XVY1n5Xyr+FJTOdjFl2i8NOVEy2+ctoOaP527kBMlkqeL4Y8tf/HCJCrOlL8Ka++rdO1SMyutdGbPiEVG6RTGzMvAheVGr3m1GVe1SfZy5CN9cGyQlrlk3dWAoQrX8sr0GijgvdDB8StcBclV"
+ ],
+ "x-ms-correlation-request-id": [
+ "3b0ce701-27a1-4f9b-89fb-06e272c7e9ef"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14143"
+ ],
+ "x-ms-request-id": [
+ "3b0ce701-27a1-4f9b-89fb-06e272c7e9ef"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192219Z:3b0ce701-27a1-4f9b-89fb-06e272c7e9ef"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/F207C184-367C-4BC7-8C74-03AA39D68C24/logicalSubnets?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbG9naWNhbE5ldHdvcmtzL0YyMDdDMTg0LTM2N0MtNEJDNy04Qzc0LTAzQUEzOUQ2OEMyNC9sb2dpY2FsU3VibmV0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "3cb47a4d-91c0-40df-9933-a06298cee9f0"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/F207C184-367C-4BC7-8C74-03AA39D68C24/logicalSubnets/d43d2881-3aad-40c9-b207-4280a9b3b699\",\r\n \"name\": \"d43d2881-3aad-40c9-b207-4280a9b3b699\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks/logicalSubnets\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"ipPools\": [\r\n \"57018ee5-6818-4c55-828e-d99f7cb5d8a3\"\r\n ],\r\n \"isPublic\": false\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "497"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvPiE/pLi4mTz1/FiRn7znCBOIIhH+JSUB0IV1DRxwBfMlzV07jLmd8du40WDDoIBlCXKjbqJD0flCMawO+TlogokYHSwfM7uX7kaIvP75g18Zv4McuZSMKLxmjBBbXW926+/f4QEmnW8IU6sTvK6j"
+ ],
+ "x-ms-correlation-request-id": [
+ "47e9b6a0-f5e1-432c-a1d9-919d00cd7b1f"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14142"
+ ],
+ "x-ms-request-id": [
+ "47e9b6a0-f5e1-432c-a1d9-919d00cd7b1f"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192219Z:47e9b6a0-f5e1-432c-a1d9-919d00cd7b1f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/F207C184-367C-4BC7-8C74-03AA39D68C24/logicalSubnets/d43d2881-3aad-40c9-b207-4280a9b3b699?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbG9naWNhbE5ldHdvcmtzL0YyMDdDMTg0LTM2N0MtNEJDNy04Qzc0LTAzQUEzOUQ2OEMyNC9sb2dpY2FsU3VibmV0cy9kNDNkMjg4MS0zYWFkLTQwYzktYjIwNy00MjgwYTliM2I2OTk/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "1853c1c5-8af8-4072-8c2d-c29782e4dc99"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/F207C184-367C-4BC7-8C74-03AA39D68C24/logicalSubnets/d43d2881-3aad-40c9-b207-4280a9b3b699\",\r\n \"name\": \"d43d2881-3aad-40c9-b207-4280a9b3b699\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks/logicalSubnets\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"ipPools\": [\r\n \"57018ee5-6818-4c55-828e-d99f7cb5d8a3\"\r\n ],\r\n \"isPublic\": false\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "485"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvBP8VX2Y/9+0qDRyWol1M3xIOGUvKMxYh+1mlZ9lMBs7jhslkje1LAdLfPOMR82411zu2HWZOiK+ccw48G1FN1lqSfBp9xJxBKLtdA9mK+zjr1FviI7DowURR4VIHoMj+CqzhZae3ZwS+f/8VvKnd"
+ ],
+ "x-ms-correlation-request-id": [
+ "99a4f05d-2a11-4729-ae90-1dbfb31caa1b"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14141"
+ ],
+ "x-ms-request-id": [
+ "99a4f05d-2a11-4729-ae90-1dbfb31caa1b"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192219Z:99a4f05d-2a11-4729-ae90-1dbfb31caa1b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/f8f67956-3906-4303-94c5-09cf91e7e311/logicalSubnets?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbG9naWNhbE5ldHdvcmtzL2Y4ZjY3OTU2LTM5MDYtNDMwMy05NGM1LTA5Y2Y5MWU3ZTMxMS9sb2dpY2FsU3VibmV0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "9622c1bd-22a7-47f4-b3b9-8dad531e97ba"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/f8f67956-3906-4303-94c5-09cf91e7e311/logicalSubnets/9ec2eb29-6d47-4e22-a322-eb575c16937a\",\r\n \"name\": \"9ec2eb29-6d47-4e22-a322-eb575c16937a\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks/logicalSubnets\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"ipPools\": [\r\n \"d7e4fca0-8c09-4ef9-8305-47f050fc79c6\",\r\n \"184ec1e4-5ba7-4440-bbec-572d69db9b2b\",\r\n \"0a6dc307-9e6d-466f-8c3c-3efea7190a78\",\r\n \"e3a512fc-797b-454e-91ff-6486ca8d597c\",\r\n \"919be20b-a450-4a2f-a4a8-2da22b2a8945\",\r\n \"a927bec5-158a-4590-a04d-73573d923a16\",\r\n \"0a61f171-94ca-4e09-bff6-a4db34c023da\",\r\n \"0c22b5a9-997c-48fb-af48-a7a6a2998aaa\",\r\n \"52a75d52-64d0-47dc-a7b4-4f650a714175\",\r\n \"87620c7b-d6bb-459f-9c90-4ce81547d921\",\r\n \"b9e4cb86-0bb9-49a3-9451-639dcc3b3de8\",\r\n \"8a4493f8-0945-4583-8658-9aef9704db3d\"\r\n ],\r\n \"isPublic\": true\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "925"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvQne5WU9ekpSmE3KHwxj30C4msZ315LwYjcFYZC3zWaLWVqnThgNpcQdu+wAvqjghqnm/rzjL89C1tnSQKp/5nn9ZFTNqpO5oEQMX3NWWeYJWu5AoTy7TOqg2ZAgH3iaGYUaUYhKzkmuyf9FAQANF"
+ ],
+ "x-ms-correlation-request-id": [
+ "c93ce828-36d8-41d6-a021-1f0da545051b"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14140"
+ ],
+ "x-ms-request-id": [
+ "c93ce828-36d8-41d6-a021-1f0da545051b"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192219Z:c93ce828-36d8-41d6-a021-1f0da545051b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/f8f67956-3906-4303-94c5-09cf91e7e311/logicalSubnets/9ec2eb29-6d47-4e22-a322-eb575c16937a?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbG9naWNhbE5ldHdvcmtzL2Y4ZjY3OTU2LTM5MDYtNDMwMy05NGM1LTA5Y2Y5MWU3ZTMxMS9sb2dpY2FsU3VibmV0cy85ZWMyZWIyOS02ZDQ3LTRlMjItYTMyMi1lYjU3NWMxNjkzN2E/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "be654c08-9455-4580-a058-9334d5ef7c23"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/f8f67956-3906-4303-94c5-09cf91e7e311/logicalSubnets/9ec2eb29-6d47-4e22-a322-eb575c16937a\",\r\n \"name\": \"9ec2eb29-6d47-4e22-a322-eb575c16937a\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks/logicalSubnets\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"ipPools\": [\r\n \"d7e4fca0-8c09-4ef9-8305-47f050fc79c6\",\r\n \"184ec1e4-5ba7-4440-bbec-572d69db9b2b\",\r\n \"0a6dc307-9e6d-466f-8c3c-3efea7190a78\",\r\n \"e3a512fc-797b-454e-91ff-6486ca8d597c\",\r\n \"919be20b-a450-4a2f-a4a8-2da22b2a8945\",\r\n \"a927bec5-158a-4590-a04d-73573d923a16\",\r\n \"0a61f171-94ca-4e09-bff6-a4db34c023da\",\r\n \"0c22b5a9-997c-48fb-af48-a7a6a2998aaa\",\r\n \"52a75d52-64d0-47dc-a7b4-4f650a714175\",\r\n \"87620c7b-d6bb-459f-9c90-4ce81547d921\",\r\n \"b9e4cb86-0bb9-49a3-9451-639dcc3b3de8\",\r\n \"8a4493f8-0945-4583-8658-9aef9704db3d\"\r\n ],\r\n \"isPublic\": true\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "913"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv438wOClSZXxL7oUidFOCRqBlTUl9FbTkQKvohijFW3NTf8G8fM/vyWYbfnWQSF/DAGFA27xXY5HdXV5L/+eIMdUeKAaA0O79OZlIm1Emi+82kaowHFs8QhhQQfPcR4t76t6Fk2voylllg3LU5LR3"
+ ],
+ "x-ms-correlation-request-id": [
+ "c5e12a2e-d6b5-4ea8-8664-9916df234b96"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14139"
+ ],
+ "x-ms-request-id": [
+ "c5e12a2e-d6b5-4ea8-8664-9916df234b96"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192219Z:c5e12a2e-d6b5-4ea8-8664-9916df234b96"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllMacAddressPools.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllMacAddressPools.json
new file mode 100644
index 000000000000..17848c66441c
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllMacAddressPools.json
@@ -0,0 +1,136 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/macAddressPools?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbWFjQWRkcmVzc1Bvb2xzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "f28d6cc3-70b1-4bc5-af09-421c1f222b36"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/macAddressPools/8197fd09-8a69-417e-a55c-10c2c61f5ee7\",\r\n \"name\": \"8197fd09-8a69-417e-a55c-10c2c61f5ee7\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/macAddressPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"startMacAddress\": \"00-1D-D8-B7-1C-00\",\r\n \"endMacAddress\": \"00-1D-D8-F4-1F-FF\",\r\n \"numberOfAllocatedMacAddresses\": 2,\r\n \"numberOfAvailableMacAddresses\": 3998718\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "510"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:19 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv+VUOYemtVho/Fqbr3wYjqCDBfsLASaAxuoJpUz0+HHYctgr5ueFzAa87Aj974MYLbfPfWv+ee/dPPUqUXm2t2QLPurOCe+QCX3p3vVVaemdqNhhNvxJovIv44g2TN83uerfiHNccL10qwTo7eOSD"
+ ],
+ "x-ms-correlation-request-id": [
+ "e7a0b854-c182-4905-b86d-75cb4a537f58"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14132"
+ ],
+ "x-ms-request-id": [
+ "e7a0b854-c182-4905-b86d-75cb4a537f58"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192220Z:e7a0b854-c182-4905-b86d-75cb4a537f58"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/macAddressPools/8197fd09-8a69-417e-a55c-10c2c61f5ee7?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbWFjQWRkcmVzc1Bvb2xzLzgxOTdmZDA5LThhNjktNDE3ZS1hNTVjLTEwYzJjNjFmNWVlNz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "27dfec25-85e4-476e-afbe-2a967aa7f7b4"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/macAddressPools/8197fd09-8a69-417e-a55c-10c2c61f5ee7\",\r\n \"name\": \"8197fd09-8a69-417e-a55c-10c2c61f5ee7\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/macAddressPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"startMacAddress\": \"00-1D-D8-B7-1C-00\",\r\n \"endMacAddress\": \"00-1D-D8-F4-1F-FF\",\r\n \"numberOfAllocatedMacAddresses\": 2,\r\n \"numberOfAvailableMacAddresses\": 3998718\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "498"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:19 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRve+mtUP9RmTKstNJ1RlHtIzayj6vu4m/YTeSfZUYGbyhE0hSLVYHCqBF4za2pgNVDI7fEfwy3lrfQoSHya6jv92qdWO/YJtFquwlyCvp6k4Rf/R9bwbhxq8SJBjndvPP0eO8xYaE5ST9HAv/nqlfk"
+ ],
+ "x-ms-correlation-request-id": [
+ "9c540bc2-43cd-4e27-b339-5b1bdfb6e35d"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14131"
+ ],
+ "x-ms-request-id": [
+ "9c540bc2-43cd-4e27-b339-5b1bdfb6e35d"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192220Z:9c540bc2-43cd-4e27-b339-5b1bdfb6e35d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllScaleUnitNodes.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllScaleUnitNodes.json
new file mode 100644
index 000000000000..e7af73ddcd48
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllScaleUnitNodes.json
@@ -0,0 +1,136 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "c881fbd3-74fb-49ab-8e52-aa9def0c7ba1"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"name\": \"HC1n25r2236\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnitNodes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitNodeStatus\": \"Running\",\r\n \"powerState\": \"Running\",\r\n \"scaleUnitName\": \"S-Cluster\",\r\n \"scaleUnitUri\": \"/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"canPowerOff\": false,\r\n \"macAddress\": \"24-8A-07-89-15-62\",\r\n \"capacity\": {\r\n \"memoryGB\": 255.875,\r\n \"cores\": 56\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "550"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:10:07 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvaPvIDARgXdWs9i3KbT1tTnzL/mFFqJ3x3EStf6CRn6Y7JXXQJwMTO9T/Vl5ZY7+5E8P9FuzmPWCFgCG9ghuom+TpQo8USDdyJwhFF36w6aozFC/teQuQw8ASwghojSu1kpCOWnuDTbSrSx2ooW4N"
+ ],
+ "x-ms-correlation-request-id": [
+ "141b50e7-0793-4fc9-b431-cdcee99e23fa"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14154"
+ ],
+ "x-ms-request-id": [
+ "141b50e7-0793-4fc9-b431-cdcee99e23fa"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191007Z:141b50e7-0793-4fc9-b431-cdcee99e23fa"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXMvSEMxbjI1cjIyMzY/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "e1e28bdd-c1c4-4d8e-958b-3d294b7be381"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"name\": \"HC1n25r2236\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnitNodes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitNodeStatus\": \"Running\",\r\n \"powerState\": \"Running\",\r\n \"scaleUnitName\": \"S-Cluster\",\r\n \"scaleUnitUri\": \"/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"canPowerOff\": false,\r\n \"macAddress\": \"24-8A-07-89-15-62\",\r\n \"capacity\": {\r\n \"memoryGB\": 255.875,\r\n \"cores\": 56\r\n }\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "538"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:10:07 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv/Enc9dTy5nCCZw2SGTvtok4de29ozNJIimkSj9eEFfip2l8fghabMZsF3ucMtiZ5ZvvsDDo9LYz7tVk02s+RL5eNOp9elWHuE1BkqQmbGAhML6hSOy4et4qeCu4NIwVBiRkrWtt+KKB3x4SHclgq"
+ ],
+ "x-ms-correlation-request-id": [
+ "0026bc19-dc93-4c4f-a12d-82ba34fe3235"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14176"
+ ],
+ "x-ms-request-id": [
+ "0026bc19-dc93-4c4f-a12d-82ba34fe3235"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191007Z:0026bc19-dc93-4c4f-a12d-82ba34fe3235"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllScaleUnits.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllScaleUnits.json
new file mode 100644
index 000000000000..68cd698edeaf
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllScaleUnits.json
@@ -0,0 +1,136 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "9d7387ab-aa58-42d5-825b-73bd812dcb8e"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"name\": \"S-Cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 255.875,\r\n \"cores\": 56\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "594"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:22 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvskjsi3LnP/WMPlbyTvvKCaAWrIBoWAfPqx81mx1seuZJgK8QgAjMyUcMvtEsTmlC/YFPoHDhykJbjUrtfxYy4YqgjoE84Q0yKQIe9G3cJ40rytWA7Q03Vv5C40evk2tCIwM6Gz0YmbRTYl9tn2+g"
+ ],
+ "x-ms-correlation-request-id": [
+ "b631d2eb-013f-478a-bd53-a558d517c290"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14089"
+ ],
+ "x-ms-request-id": [
+ "b631d2eb-013f-478a-bd53-a558d517c290"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192223Z:b631d2eb-013f-478a-bd53-a558d517c290"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9TLUNsdXN0ZXI/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "c2fa8b2a-1883-489e-9dd7-83389dcff11b"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"name\": \"S-Cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 255.875,\r\n \"cores\": 56\r\n }\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "582"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:22 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv86/adNeAk0f7R72LPQCudHeFS161sz2hXvZRXVJrN9fAddoHCaMd8b2UvFJCMMSQRyK1atd0AjENfLkkUiE4UNIe9jXHXSFASzyTJWZSLpSw0r9DF3XTa7ac4fVA8uJ7dUz183yF9RUUJ2ulfvcB"
+ ],
+ "x-ms-correlation-request-id": [
+ "2208249e-f2e7-49d9-9460-139e7443e3da"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14088"
+ ],
+ "x-ms-request-id": [
+ "2208249e-f2e7-49d9-9460-139e7443e3da"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192223Z:2208249e-f2e7-49d9-9460-139e7443e3da"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllSlbMuxInstances.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllSlbMuxInstances.json
new file mode 100644
index 000000000000..d6c47b0b15eb
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllSlbMuxInstances.json
@@ -0,0 +1,136 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/slbMuxInstances?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2xiTXV4SW5zdGFuY2VzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "b8cce2a6-181d-48fc-b491-845a40334f7a"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/slbMuxInstances/AzS-SLB01\",\r\n \"name\": \"AzS-SLB01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/slbMuxInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"configurationState\": \"Success\",\r\n \"virtualServer\": \"AzS-SLB01\",\r\n \"bgpPeers\": [\r\n \"BGPGateway-64000-64001\"\r\n ]\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "405"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:13:17 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvbdDUIhpTo4RHMcnqaK6TqzY6OC15OD60bDPPfsBYn1yNcsvd4wDgWZ/jL7WRPgqr4Uva24UDxJS1l3WWhwmkR8Uoe5V8JNNh2gS0M7jkMuPKvD4JSNIoCqU7ZeKQoGgdhkNMAiSZIH6NDgUOI1nf"
+ ],
+ "x-ms-correlation-request-id": [
+ "ad6e17a7-9813-4073-ac89-802cf42475f4"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14123"
+ ],
+ "x-ms-request-id": [
+ "ad6e17a7-9813-4073-ac89-802cf42475f4"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191318Z:ad6e17a7-9813-4073-ac89-802cf42475f4"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/slbMuxInstances/AzS-SLB01?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2xiTXV4SW5zdGFuY2VzL0F6Uy1TTEIwMT9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "f6146f5c-5c64-4f8a-bfee-2f630c9cf0e6"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/slbMuxInstances/AzS-SLB01\",\r\n \"name\": \"AzS-SLB01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/slbMuxInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"configurationState\": \"Success\",\r\n \"virtualServer\": \"AzS-SLB01\",\r\n \"bgpPeers\": [\r\n \"BGPGateway-64000-64001\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "393"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:13:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvUtvhUX5XGsVyy4hb0INLHjMcRsg4kAcR5YKGB987A4V66t5oD5bMJk84G4GoKUPV8Mmiwc2Gj5PabbzfoIjTBp+A+GMNhj9tvz/+TSksuL8Mbyqyc0YeEX5U88joKWsAdw2SRXx5jWF0hpPRyziU"
+ ],
+ "x-ms-correlation-request-id": [
+ "1913011a-56b5-4adf-865e-3f0917608e4b"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14122"
+ ],
+ "x-ms-request-id": [
+ "1913011a-56b5-4adf-865e-3f0917608e4b"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191318Z:1913011a-56b5-4adf-865e-3f0917608e4b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllStoragePools.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllStoragePools.json
new file mode 100644
index 000000000000..d221808af986
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllStoragePools.json
@@ -0,0 +1,200 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "3e6b2938-1992-440e-8a9d-36b3ce7e1d28"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local\",\r\n \"name\": \"S-Cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 2525\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "369"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:13:17 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvrJm9UlO6/E6YCVFDMnMyyvk4f32rG1YG8JsRmeI2RACh5g+nWkvgAC/ZK4V++r6G11HVQZNYU1MI4w1sbq/ERx4uET+y2tFMWoEnPQXHeWlRYuIQxtAqYU4rSQw/r9uiF1+Sng1TNWd7l0jqijjR"
+ ],
+ "x-ms-correlation-request-id": [
+ "784f5e5c-718e-40c1-9a26-c3fa63c1ecf9"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14129"
+ ],
+ "x-ms-request-id": [
+ "784f5e5c-718e-40c1-9a26-c3fa63c1ecf9"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191317Z:784f5e5c-718e-40c1-9a26-c3fa63c1ecf9"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local/storagePools?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXMvUy1DbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvc3RvcmFnZVBvb2xzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "f88a3019-6189-40ea-8d37-f49e0eff2043"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local/storagePools/SU1_Pool\",\r\n \"name\": \"SU1_Pool\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems/storagePools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"sizeGB\": 5614\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "377"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:13:17 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvetfkNMRrwOlGf/s/OMTIS05L9LelzjEwDTKsZEqsn9zAtrx8sTt4C5La/LCsQJkzudplZGw/ImbZpnK8uvoX+ch+z8XvxVARXlCpRmyLWyGdos3FgpWZpgWrenqaQEVkP8CqP2NvCYwRp+BnTtR5"
+ ],
+ "x-ms-correlation-request-id": [
+ "92c220af-3532-459b-a036-ae039f0510e0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14128"
+ ],
+ "x-ms-request-id": [
+ "92c220af-3532-459b-a036-ae039f0510e0"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191317Z:92c220af-3532-459b-a036-ae039f0510e0"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local/storagePools/SU1_Pool?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXMvUy1DbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvc3RvcmFnZVBvb2xzL1NVMV9Qb29sP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "40f29f8a-853c-4baf-9e03-05be25c178fb"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local/storagePools/SU1_Pool\",\r\n \"name\": \"SU1_Pool\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems/storagePools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"sizeGB\": 5614\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "365"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:13:17 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv4iNK6s1ZdLBQ08v0ZPt7+9Ib/ZRtWrpxRV+sZI89OLnudsyZjyTFrBsq6Gt1wraakpPFJNTRePgJQV17iDgBBjqW/BF9iXT3QptsDg7fvjoK/gUIISAAIeHSG2SMLeDxAJgKVYELnKi1GfzFXvQA"
+ ],
+ "x-ms-correlation-request-id": [
+ "903db29d-ba29-4fb6-8c15-b021656719b7"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14127"
+ ],
+ "x-ms-request-id": [
+ "903db29d-ba29-4fb6-8c15-b021656719b7"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191317Z:903db29d-ba29-4fb6-8c15-b021656719b7"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllStorageSystems.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllStorageSystems.json
new file mode 100644
index 000000000000..4b7b0d5cdd50
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllStorageSystems.json
@@ -0,0 +1,136 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "9693b052-6a46-4f6d-b9f1-092d973c5385"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local\",\r\n \"name\": \"S-Cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 2525\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "369"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:13:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv2N8QugbgUv4ugr9Nr4wTdasI65AalXro1EKiJQQVFxEMKs8cUVskHi+aATPZEp60SPylpk22dFYuXyLQfJibqpe9N/G6nyepKHNJ+3SCIbFyeN1+S17Y/2GVGDzP74geaaq896+Cd4VkcjTP64V8"
+ ],
+ "x-ms-correlation-request-id": [
+ "a00a7f32-44ce-439d-acca-8b4a1065310f"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14121"
+ ],
+ "x-ms-request-id": [
+ "a00a7f32-44ce-439d-acca-8b4a1065310f"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191318Z:a00a7f32-44ce-439d-acca-8b4a1065310f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXMvUy1DbHVzdGVyLmF6dXJlc3RhY2subG9jYWw/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "0697a693-0275-43e2-ac55-80149bf1cdf8"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local\",\r\n \"name\": \"S-Cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 2525\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "357"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:13:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv2CqjnfeOj4XBkrEpQpCM8uAFx0DhSqVliVXwRqgH9Lza0Op1YTC4Fql7Rs6sQC6oVgDIpPlXdaTzs5j8Jlzsxfnza4y1WiBT9GTdBoUTQ6n69TDiflZ6/cZ/rHInJzKRawvWCcj2nQ9+fTTjlCN9"
+ ],
+ "x-ms-correlation-request-id": [
+ "f16ab998-c605-4531-a7ee-99afc2a3c393"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14120"
+ ],
+ "x-ms-request-id": [
+ "f16ab998-c605-4531-a7ee-99afc2a3c393"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191318Z:f16ab998-c605-4531-a7ee-99afc2a3c393"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllVolumes.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllVolumes.json
new file mode 100644
index 000000000000..5854e4792c63
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetAllVolumes.json
@@ -0,0 +1,264 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "226e25a8-6609-476f-aa43-0bb610e64273"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local\",\r\n \"name\": \"S-Cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 2525\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "369"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:21 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv1xgU+yHSiEnM6RJPNo3+jRvVMFsmanh2rOU7pgQTzmqwc6Uwq7ejM0EqwbCHz5NNd3ZqQQNCfASDNpQ/r6l1bxiwi3BAM5MVPHdTP0JBI9Xbco+VbsM/gbzYSLM9tm1ej2SJpteir8Txjx5409ck"
+ ],
+ "x-ms-correlation-request-id": [
+ "3dbecc01-4840-4750-8f4d-8419a3d5145c"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14098"
+ ],
+ "x-ms-request-id": [
+ "3dbecc01-4840-4750-8f4d-8419a3d5145c"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192222Z:3dbecc01-4840-4750-8f4d-8419a3d5145c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local/storagePools?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXMvUy1DbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvc3RvcmFnZVBvb2xzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "6ec7aae5-d11a-46f5-8f04-a696a3c34b1a"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local/storagePools/SU1_Pool\",\r\n \"name\": \"SU1_Pool\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems/storagePools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"sizeGB\": 5614\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "377"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:21 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvGvSNCpy6tk2YCQS77fJUAeKUsT5s5n6SZhNkrEyqlk/lJwFqKDrWasW/6N1XLjM9b7L3wEWaNbt1AphUlb3Fjjt0iri/gPkQMQw3ITSpij7iKJlVMdZNj2eUTazYlaptoAcWzoYps2a2/5zNUcJl"
+ ],
+ "x-ms-correlation-request-id": [
+ "534bdf50-c73d-4e24-a871-4e496ce5328b"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14097"
+ ],
+ "x-ms-request-id": [
+ "534bdf50-c73d-4e24-a871-4e496ce5328b"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192222Z:534bdf50-c73d-4e24-a871-4e496ce5328b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local/storagePools/SU1_Pool/volumes?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXMvUy1DbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvc3RvcmFnZVBvb2xzL1NVMV9Qb29sL3ZvbHVtZXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "950d31c5-5f62-4e5c-8afb-7e121d5957ce"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local/storagePools/SU1_Pool/volumes/a42d219b\",\r\n \"name\": \"a42d219b\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems/storagePools/volumes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"fileSystem\": \"CSVFS_ReFS\",\r\n \"remainingSizeGB\": 2201,\r\n \"sizeGB\": 2525,\r\n \"volumeLabel\": \"SU1_Volume\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "478"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:21 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvyUh3PlDCMG9Pmnq/LmLJ4VXwgoB3VFj8DQG46JOIh1cAcm6FPBBb7HsjipxscASdFHjkq3jlA702dyhn45qh/mbAVBrg38UbMpY7R3OfEU4h3Odct6mE6nWFIn38huhLtIxJMCPKzC8VMBGIS40B"
+ ],
+ "x-ms-correlation-request-id": [
+ "cca94a8d-f3ce-492d-8c99-c55ed0892049"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14096"
+ ],
+ "x-ms-request-id": [
+ "cca94a8d-f3ce-492d-8c99-c55ed0892049"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192222Z:cca94a8d-f3ce-492d-8c99-c55ed0892049"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local/storagePools/SU1_Pool/volumes/a42d219b?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXMvUy1DbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvc3RvcmFnZVBvb2xzL1NVMV9Qb29sL3ZvbHVtZXMvYTQyZDIxOWI/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "d9a502d9-4cfb-4a0f-82d3-b1f8509173b0"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local/storagePools/SU1_Pool/volumes/a42d219b\",\r\n \"name\": \"a42d219b\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems/storagePools/volumes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"fileSystem\": \"CSVFS_ReFS\",\r\n \"remainingSizeGB\": 2201,\r\n \"sizeGB\": 2525,\r\n \"volumeLabel\": \"SU1_Volume\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "466"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:21 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvCQushyou8bxgRVVh5sZFiTZyAL660/Yzn/n7J1gviAgOSR4H/s26eZCSKBvrt4Dr4EjOqJ8OhSqcj0X81llGJFUGC6xsUARy0/5h/gqFiZwsTDnDjy4erGc3jXHW7cHsS0+xtbBrSzEPtILxlAE3"
+ ],
+ "x-ms-correlation-request-id": [
+ "25a8f9dc-11d2-4b41-a884-320bd1128c6a"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14095"
+ ],
+ "x-ms-request-id": [
+ "25a8f9dc-11d2-4b41-a884-320bd1128c6a"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192222Z:25a8f9dc-11d2-4b41-a884-320bd1128c6a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetEdgeGateway.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetEdgeGateway.json
new file mode 100644
index 000000000000..72ec144b1ecd
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetEdgeGateway.json
@@ -0,0 +1,136 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/edgeGateways?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvZWRnZUdhdGV3YXlzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "875b4d46-83a4-4ba0-9dff-a3ee9794bce4"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/edgeGateways/AzS-Gwy01\",\r\n \"name\": \"AzS-Gwy01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/edgeGateways\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"state\": \"Active\",\r\n \"totalCapacity\": 100000000,\r\n \"availableCapacity\": 100000000,\r\n \"numberOfConnections\": 0\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "399"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:22 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvcJqWNEg+WmaMUQYgCJ1EA7sf+BzAzxz5qqE/GRX/flDFQl8Xre1R1wJBlrQvxScIHaJAaR3vZjwz+kManrRE6RziUWoFtd7BO7haM65y6dglSGcMSfSR8scST7pLyT9EzgsvNgtZsowCoe8/rTEl"
+ ],
+ "x-ms-correlation-request-id": [
+ "7cbdbbe2-ba72-4b8d-b721-3cc021d85bc0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14094"
+ ],
+ "x-ms-request-id": [
+ "7cbdbbe2-ba72-4b8d-b721-3cc021d85bc0"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192222Z:7cbdbbe2-ba72-4b8d-b721-3cc021d85bc0"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/edgeGateways/AzS-Gwy01?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvZWRnZUdhdGV3YXlzL0F6Uy1Hd3kwMT9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "d8aca33d-daed-41a4-943d-889042e1c56b"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/edgeGateways/AzS-Gwy01\",\r\n \"name\": \"AzS-Gwy01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/edgeGateways\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"state\": \"Active\",\r\n \"totalCapacity\": 100000000,\r\n \"availableCapacity\": 100000000,\r\n \"numberOfConnections\": 0\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "387"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:22 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv054nRCYnh2Q9NoyK8MvyNHxNum90KdCLFMSm2tYV5ypA+/TVkBZvuOcYu9NLI048nvwx0qW5hA0jO+2N+B42FGgpEz309Oj6AZ86sQqd9DTqNxCJ/i0uqqqjEMjDBZcBXZRQMDuxNjTdVz//MmLj"
+ ],
+ "x-ms-correlation-request-id": [
+ "473cd8b7-8ec6-4a45-9e9e-d78895ce4cde"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14093"
+ ],
+ "x-ms-request-id": [
+ "473cd8b7-8ec6-4a45-9e9e-d78895ce4cde"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192222Z:473cd8b7-8ec6-4a45-9e9e-d78895ce4cde"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetEdgeGatewayPool.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetEdgeGatewayPool.json
new file mode 100644
index 000000000000..1c4bbfb77176
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetEdgeGatewayPool.json
@@ -0,0 +1,136 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/edgeGatewayPools?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvZWRnZUdhdGV3YXlQb29scz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "3821cb49-ed9b-4831-a0aa-83c4bffacebf"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/edgeGatewayPools/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/edgeGatewayPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"gatewayType\": \"S2sIPsec\",\r\n \"numberOfGateways\": 1,\r\n \"redundantGatewayCount\": 0,\r\n \"gatewayCapacityKiloBitsPerSecond\": 100000000,\r\n \"publicIpAddress\": \"00000000-5555-0000-0001-000000000000\",\r\n \"edgeGateways\": [\r\n \"AzS-Gwy01\"\r\n ]\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "509"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:13:16 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRveqMEX3N++Tz6nwLTt/3YLtWovjvEV4p3L1bBU4NzkjsHxldtul3ZFOA5FWSNuxUhuySijcljglG7ZMEmq/v/xAUmBMQscrPXkWIC5JuKxJhJxdgaVx3fQRXl+xI0OMGXloyVzeYnC1s02XpCYxTE"
+ ],
+ "x-ms-correlation-request-id": [
+ "4a45a2d2-6dbc-4624-85cb-554651797bd1"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14139"
+ ],
+ "x-ms-request-id": [
+ "4a45a2d2-6dbc-4624-85cb-554651797bd1"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191317Z:4a45a2d2-6dbc-4624-85cb-554651797bd1"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/edgeGatewayPools/default?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvZWRnZUdhdGV3YXlQb29scy9kZWZhdWx0P2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "a6c48419-aab5-4e9a-9ed0-236da7b57269"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/edgeGatewayPools/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/edgeGatewayPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"gatewayType\": \"S2sIPsec\",\r\n \"numberOfGateways\": 1,\r\n \"redundantGatewayCount\": 0,\r\n \"gatewayCapacityKiloBitsPerSecond\": 100000000,\r\n \"publicIpAddress\": \"00000000-5555-0000-0001-000000000000\",\r\n \"edgeGateways\": [\r\n \"AzS-Gwy01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "497"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:13:16 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv2h7U//mFMmCyMTdDIRLfHidUe6HkXXrniRCCYIwRWVi80rps1gGcWwLzkUQm6X62K/eI2AvSMlKn83Iyzp9T5cIBhRSgswlxzz4xKoPgWbb6K+5LuZSNMnziO5NE8cz+3lgFjQ48CfVuJiPbopP3"
+ ],
+ "x-ms-correlation-request-id": [
+ "17164796-bc40-4908-873c-c26647202951"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14138"
+ ],
+ "x-ms-request-id": [
+ "17164796-bc40-4908-873c-c26647202951"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191317Z:17164796-bc40-4908-873c-c26647202951"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetFabricLocation.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetFabricLocation.json
new file mode 100644
index 000000000000..c04e780960c6
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetFabricLocation.json
@@ -0,0 +1,136 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "269dbfe4-3e71-43d1-b8c5-da9fbd14fa15"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "263"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:20 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv00HUK3NXAjQmJp6UxzeKswKDg8CYaC1SVFvRhZsaO8XpveKV1Azs8JkMRRF4MvWRwBDZA6Lg1/1QY6mZKa5EzenwCLhtddVKrqqaq56lDc/bzxXX0OjOmD3Lg5tZy6ldJqWB3ZWXcyFamRBp6Pji"
+ ],
+ "x-ms-correlation-request-id": [
+ "9b1d35eb-612f-4f8f-9151-2a100e0db703"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14110"
+ ],
+ "x-ms-request-id": [
+ "9b1d35eb-612f-4f8f-9151-2a100e0db703"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192221Z:9b1d35eb-612f-4f8f-9151-2a100e0db703"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWw/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "6d5cb29b-869a-4ddc-a0af-4955ae28328e"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "251"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:21 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRviuzCTLWnOSFjMTDlZr2naeL9ZK6oWcJJXQjU9Rqi15j3/YbDPJpcWTGORZm1HDH7LqN6+KAk18kAZdT+uOw+EQhT/exYKmACtT5Blfy5ys9QU1QYwov0KBXn8VtSR8DVwInZ7+IW1AmehjPiDqcN"
+ ],
+ "x-ms-correlation-request-id": [
+ "c65e0354-2353-468a-9112-bf4bc451657c"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14109"
+ ],
+ "x-ms-request-id": [
+ "c65e0354-2353-468a-9112-bf4bc451657c"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192221Z:c65e0354-2353-468a-9112-bf4bc451657c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetFileShare.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetFileShare.json
new file mode 100644
index 000000000000..11d98d2b7794
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetFileShare.json
@@ -0,0 +1,136 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvZmlsZVNoYXJlcz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "4f66999d-1042-44cf-8086-41af0c517a32"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_Infrastructure_1\",\r\n \"name\": \"SU1_Infrastructure_1\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/fileShares\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"associatedVolume\": \"a42d219b\",\r\n \"uncPath\": \"\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_Infrastructure_1\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_Infrastructure_2\",\r\n \"name\": \"SU1_Infrastructure_2\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/fileShares\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"associatedVolume\": \"a42d219b\",\r\n \"uncPath\": \"\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_Infrastructure_2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_Infrastructure_3\",\r\n \"name\": \"SU1_Infrastructure_3\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/fileShares\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"associatedVolume\": \"a42d219b\",\r\n \"uncPath\": \"\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_Infrastructure_3\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_ObjStore\",\r\n \"name\": \"SU1_ObjStore\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/fileShares\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"associatedVolume\": \"a42d219b\",\r\n \"uncPath\": \"\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_ObjStore\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_Public\",\r\n \"name\": \"SU1_Public\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/fileShares\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"associatedVolume\": \"a42d219b\",\r\n \"uncPath\": \"\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_Public\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_VmTemp\",\r\n \"name\": \"SU1_VmTemp\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/fileShares\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"associatedVolume\": \"a42d219b\",\r\n \"uncPath\": \"\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_VmTemp\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "2375"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:19 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvg1ztU0HzFd4sBS9uyIi1SGioElG/kFPxA1XURX/8TwUd9ldukuamOlTJzuzNq7FrbsbF0jTngSpxuLC7YClQAmeZ1JlZuL2TsAALZp0HX9t3lYnRxy2b/2SHSEsU+BR4dMVFYG7qkzNh+ZoDRqnu"
+ ],
+ "x-ms-correlation-request-id": [
+ "85ff6899-1957-456d-a17a-d592d89d1df0"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14130"
+ ],
+ "x-ms-request-id": [
+ "85ff6899-1957-456d-a17a-d592d89d1df0"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192220Z:85ff6899-1957-456d-a17a-d592d89d1df0"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_Infrastructure_1?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvZmlsZVNoYXJlcy9TVTFfSW5mcmFzdHJ1Y3R1cmVfMT9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "451dff70-1b43-4f77-ad59-d76e80ae8754"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_Infrastructure_1\",\r\n \"name\": \"SU1_Infrastructure_1\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/fileShares\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"associatedVolume\": \"a42d219b\",\r\n \"uncPath\": \"\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_Infrastructure_1\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "407"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:19 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvJiJeRI/N9WrbayBAsCKnw8qDeXH25l8zBeswIYVI6bCO+xeZExMWUF4L6WjaDR83cnSdZLKJurWQHHynmdxLI2oGeDFhocPlsQFgxmOUrGcXWltmqJ3o3pkTbz0NBs1/QXQyKWUGeb8q+NHhotj8"
+ ],
+ "x-ms-correlation-request-id": [
+ "4dce5a1f-7684-49fd-8be1-496fae3cb621"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14129"
+ ],
+ "x-ms-request-id": [
+ "4dce5a1f-7684-49fd-8be1-496fae3cb621"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192220Z:4dce5a1f-7684-49fd-8be1-496fae3cb621"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetInfraRole.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetInfraRole.json
new file mode 100644
index 000000000000..51ccf4a2362b
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetInfraRole.json
@@ -0,0 +1,136 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "bad3bae7-810b-4d91-9608-b6f9a550459e"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Active Directory Federation Services\",\r\n \"name\": \"Active Directory Federation Services\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ADFS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Authorization service (Administrator)\",\r\n \"name\": \"Authorization service (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Authorization service (User)\",\r\n \"name\": \"Authorization service (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Azure bridge\",\r\n \"name\": \"Azure bridge\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Azure Resource Manager (Administrator)\",\r\n \"name\": \"Azure Resource Manager (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Azure Resource Manager (User)\",\r\n \"name\": \"Azure Resource Manager (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Backup controller\",\r\n \"name\": \"Backup controller\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ERCS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Backup Restore Resource Provider\",\r\n \"name\": \"Backup Restore Resource Provider\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Capacity\",\r\n \"name\": \"Capacity\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Certificate management\",\r\n \"name\": \"Certificate management\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-CA01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Compute\",\r\n \"name\": \"Compute\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Compute controller\",\r\n \"name\": \"Compute controller\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Directory management\",\r\n \"name\": \"Directory management\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-DC01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Edge gateway\",\r\n \"name\": \"Edge gateway\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Gwy01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Gallery service (Administrator)\",\r\n \"name\": \"Gallery service (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Gallery service (User)\",\r\n \"name\": \"Gallery service (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Health controller\",\r\n \"name\": \"Health controller\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Infrastructure deployment\",\r\n \"name\": \"Infrastructure deployment\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ERCS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Infrastructure management controller\",\r\n \"name\": \"Infrastructure management controller\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Infrastructure role controller\",\r\n \"name\": \"Infrastructure role controller\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Insights service (Administrator)\",\r\n \"name\": \"Insights service (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Insights service (User)\",\r\n \"name\": \"Insights service (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Internal data store\",\r\n \"name\": \"Internal data store\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Sql01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key Vault\",\r\n \"name\": \"Key Vault\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key Vault controller (Administrator)\",\r\n \"name\": \"Key Vault controller (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key Vault controller (User)\",\r\n \"name\": \"Key Vault controller (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key Vault name manager\",\r\n \"name\": \"Key Vault name manager\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key Vault service (Administrator)\",\r\n \"name\": \"Key Vault service (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key Vault service (User)\",\r\n \"name\": \"Key Vault service (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Load balancer multiplexer\",\r\n \"name\": \"Load balancer multiplexer\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-SLB01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Network\",\r\n \"name\": \"Network\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Network controller\",\r\n \"name\": \"Network controller\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-NC01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Partition request broker (Administrator)\",\r\n \"name\": \"Partition request broker (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Partition request broker (User)\",\r\n \"name\": \"Partition request broker (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Portal (Administrator)\",\r\n \"name\": \"Portal (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Portal (User)\",\r\n \"name\": \"Portal (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Privileged endpoint\",\r\n \"name\": \"Privileged endpoint\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ERCS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Region Management\",\r\n \"name\": \"Region Management\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Storage\",\r\n \"name\": \"Storage\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Storage controller\",\r\n \"name\": \"Storage controller\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Storage services\",\r\n \"name\": \"Storage services\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ACS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Subscriptions service\",\r\n \"name\": \"Subscriptions service\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Updates\",\r\n \"name\": \"Updates\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Usage Bridge host\",\r\n \"name\": \"Usage Bridge host\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Usage service (Administrator)\",\r\n \"name\": \"Usage service (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Usage service (User)\",\r\n \"name\": \"Usage service (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01\"\r\n ]\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "22684"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:04 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv2siJYmQ4ce9lE4qhQ+bn9jRbaZZENcAgYKRI0XnXvd6NiG831rL7CdAFCOay+S5Swb+fyvETc7tXhRd1L27mP6tVreUSzKH7aGeRMBObIDj6Z5Xix/zor9r/D+uj4ymYTOpbW/+PQdv6wMCfVn6I"
+ ],
+ "x-ms-correlation-request-id": [
+ "477557c4-4698-4602-a971-c6422be37f4b"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14165"
+ ],
+ "x-ms-request-id": [
+ "477557c4-4698-4602-a971-c6422be37f4b"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190904Z:477557c4-4698-4602-a971-c6422be37f4b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Active%20Directory%20Federation%20Services?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcy9BY3RpdmUlMjBEaXJlY3RvcnklMjBGZWRlcmF0aW9uJTIwU2VydmljZXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "c08c0457-4c2f-46dc-b481-191d39a5d1f3"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Active Directory Federation Services\",\r\n \"name\": \"Active Directory Federation Services\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ADFS01\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "520"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:04 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvEJEODYRp/04W79hprgExKsAiwjcQFN6kXonWEN/vvzqMMKjITDFBS5apjkNTZzgAb3BdkX49XI025mwpV9Imf3kafIxM6sGdXEkIG9zeYU/SBEFb3PE3GJq+EvoQbdQab/tXDMgjC6yBOqn+gG9I"
+ ],
+ "x-ms-correlation-request-id": [
+ "439b1278-7b66-49f0-865a-86b07908bcfa"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14164"
+ ],
+ "x-ms-request-id": [
+ "439b1278-7b66-49f0-865a-86b07908bcfa"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190904Z:439b1278-7b66-49f0-865a-86b07908bcfa"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetInfraRoleInstance.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetInfraRoleInstance.json
new file mode 100644
index 000000000000..03b2f87e0489
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetInfraRoleInstance.json
@@ -0,0 +1,136 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlSW5zdGFuY2VzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "53fb5cf4-28aa-4ec5-8a00-8789ba6ee7d4"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ACS01\",\r\n \"name\": \"AzS-ACS01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 8.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ADFS01\",\r\n \"name\": \"AzS-ADFS01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 2.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-BGPNAT01\",\r\n \"name\": \"AzS-BGPNAT01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 2.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-CA01\",\r\n \"name\": \"AzS-CA01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 1.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Gwy01\",\r\n \"name\": \"AzS-Gwy01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 2.0,\r\n \"cores\": 4\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-NC01\",\r\n \"name\": \"AzS-NC01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 4.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-SLB01\",\r\n \"name\": \"AzS-SLB01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 2.0,\r\n \"cores\": 4\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Sql01\",\r\n \"name\": \"AzS-Sql01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 4.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\",\r\n \"name\": \"AzS-WAS01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 4.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01\",\r\n \"name\": \"AzS-WASP01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 8.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\",\r\n \"name\": \"AzS-Xrp01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 8.0,\r\n \"cores\": 4\r\n },\r\n \"state\": \"Running\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "7772"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:15:12 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvRBnd03uc4LjR37PCc8MYL6dP2ZOvzgIlLuU5Z1uipoES6xEAeLIxtklpHIML8yrTa5ZA2Yy0FjcYroPZ04j0CUXKfyr5c2Ntlmq+6j75gykyzVHnSJp/UP2sA4FHQ1bDKlFIN5cTLGaw8GzY7Zbl"
+ ],
+ "x-ms-correlation-request-id": [
+ "cb49dc8f-76ea-449e-9c0c-8d6383498d44"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14166"
+ ],
+ "x-ms-request-id": [
+ "cb49dc8f-76ea-449e-9c0c-8d6383498d44"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191513Z:cb49dc8f-76ea-449e-9c0c-8d6383498d44"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ACS01?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlSW5zdGFuY2VzL0F6Uy1BQ1MwMT9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "3b93e53a-174e-440c-972e-85a006eb2ed4"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ACS01\",\r\n \"name\": \"AzS-ACS01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 8.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "704"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:15:12 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvJdW59WMtADldiRfHO30Ih2z4NvmidsJJpp0EIdEjAMNxNj0KIf348IBdefp6v1on0skG6FxskdS5IFNTiyYZ/GnKuH5Q0BvIyQKu4H7/B2xTT280x2txwiokJO/jZ8aAIB0uYatJzXoPPGHcHDbm"
+ ],
+ "x-ms-correlation-request-id": [
+ "77337bb7-d0dd-4333-ba9d-48c90f0a3e4c"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14165"
+ ],
+ "x-ms-request-id": [
+ "77337bb7-d0dd-4333-ba9d-48c90f0a3e4c"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191513Z:77337bb7-d0dd-4333-ba9d-48c90f0a3e4c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetInfraRoleInstanceOnTenantVM.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetInfraRoleInstanceOnTenantVM.json
new file mode 100644
index 000000000000..e7f5b3f2402e
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetInfraRoleInstanceOnTenantVM.json
@@ -0,0 +1,69 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/502828aa-de3a-4ba9-a66c-5ae6d49589d7?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlSW5zdGFuY2VzLzUwMjgyOGFhLWRlM2EtNGJhOS1hNjZjLTVhZTZkNDk1ODlkNz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "78a37028-16f1-4abd-8d1e-48e7bc38bfc9"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:15:12 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv2dPb79vb9H1lo6La1scrnFn1f+qa/297KFW4BqZ8zaRfZITvqkc4GKPo1PIy2NUQ5SVNc6wuVw6faqL4weUpBqZnogwJrNWnbC3SU9+UV2tC2tyHLEu1BakJihB7ywzIiEKxreXJZnDDDVnX5yPA"
+ ],
+ "x-ms-correlation-request-id": [
+ "86c8af0e-20b8-44cb-a497-d4caba162172"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14167"
+ ],
+ "x-ms-request-id": [
+ "86c8af0e-20b8-44cb-a497-d4caba162172"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191513Z:86c8af0e-20b8-44cb-a497-d4caba162172"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 404
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetIpPool.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetIpPool.json
new file mode 100644
index 000000000000..d6524f9c1a27
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetIpPool.json
@@ -0,0 +1,136 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaXBQb29scz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "aa35d31c-91ba-4b49-a788-2e244c59430f"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/08786a0f-ad8c-43aa-a154-06083abfc1ac\",\r\n \"name\": \"08786a0f-ad8c-43aa-a154-06083abfc1ac\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/ipPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"startIpAddress\": \"192.168.105.1\",\r\n \"endIpAddress\": \"192.168.105.255\",\r\n \"numberOfIpAddresses\": 255,\r\n \"numberOfAllocatedIpAddresses\": 8,\r\n \"numberOfIpAddressesInTransition\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/75e93974-f451-468d-bbc2-8a388a938344\",\r\n \"name\": \"75e93974-f451-468d-bbc2-8a388a938344\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/ipPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"startIpAddress\": \"192.168.200.112\",\r\n \"endIpAddress\": \"192.168.200.127\",\r\n \"numberOfIpAddresses\": 16,\r\n \"numberOfAllocatedIpAddresses\": 1,\r\n \"numberOfIpAddressesInTransition\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/7c9d2d8a-e243-4d4d-b635-9545ba2bd8a8\",\r\n \"name\": \"7c9d2d8a-e243-4d4d-b635-9545ba2bd8a8\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/ipPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"startIpAddress\": \"192.168.200.65\",\r\n \"endIpAddress\": \"192.168.200.111\",\r\n \"numberOfIpAddresses\": 47,\r\n \"numberOfAllocatedIpAddresses\": 0,\r\n \"numberOfIpAddressesInTransition\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/a09498cb-d6b3-4d6e-9c3d-0caea30cfb58\",\r\n \"name\": \"a09498cb-d6b3-4d6e-9c3d-0caea30cfb58\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/ipPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"startIpAddress\": \"192.168.200.1\",\r\n \"endIpAddress\": \"192.168.200.62\",\r\n \"numberOfIpAddresses\": 62,\r\n \"numberOfAllocatedIpAddresses\": 1,\r\n \"numberOfIpAddressesInTransition\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/a8dee838-b2b7-4648-8a00-2c61ff8ffde6\",\r\n \"name\": \"a8dee838-b2b7-4648-8a00-2c61ff8ffde6\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/ipPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"startIpAddress\": \"192.168.102.1\",\r\n \"endIpAddress\": \"192.168.102.255\",\r\n \"numberOfIpAddresses\": 255,\r\n \"numberOfAllocatedIpAddresses\": 31,\r\n \"numberOfIpAddressesInTransition\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/c743f3e0-9fa4-4236-8c3d-a0f8ad945fb4\",\r\n \"name\": \"c743f3e0-9fa4-4236-8c3d-a0f8ad945fb4\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/ipPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"startIpAddress\": \"192.168.200.224\",\r\n \"endIpAddress\": \"192.168.200.254\",\r\n \"numberOfIpAddresses\": 31,\r\n \"numberOfAllocatedIpAddresses\": 1,\r\n \"numberOfIpAddressesInTransition\": 0\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "2988"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:20 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvjZJDhIHzGnGsjVz6hCGabI7vC4z9jx2P3LkiX83+wnBYX3QR3dYEwfYqu1EG6sVoht8/3Najk7UoPD3JOYKlEXCHJLbpR+dk3MdfIyOEi6D4PvRtDQUhqXmd76NJJ9c8Uq2OL1g/evm1Uta+4zfA"
+ ],
+ "x-ms-correlation-request-id": [
+ "3b65032f-62a9-4e42-a9cd-b8efadc18f80"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14112"
+ ],
+ "x-ms-request-id": [
+ "3b65032f-62a9-4e42-a9cd-b8efadc18f80"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192221Z:3b65032f-62a9-4e42-a9cd-b8efadc18f80"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/08786a0f-ad8c-43aa-a154-06083abfc1ac?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaXBQb29scy8wODc4NmEwZi1hZDhjLTQzYWEtYTE1NC0wNjA4M2FiZmMxYWM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "01095d00-1dfd-4b16-8254-936898769e2a"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/08786a0f-ad8c-43aa-a154-06083abfc1ac\",\r\n \"name\": \"08786a0f-ad8c-43aa-a154-06083abfc1ac\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/ipPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"startIpAddress\": \"192.168.105.1\",\r\n \"endIpAddress\": \"192.168.105.255\",\r\n \"numberOfIpAddresses\": 255,\r\n \"numberOfAllocatedIpAddresses\": 8,\r\n \"numberOfIpAddressesInTransition\": 0\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "495"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:20 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvSHIMq7krt0Rq2tObyydV9ivN9kaadsf7Qp+sHGMjswmdS8b4yQjvs4TsjGfXRyFdO77bOGsK5lZqmzyzmhmw6/wG0KQflXzMcQuOfZ/zOp4oH86ML5Y+rna7OmDshDs1EQWncfPpFUSOpZY2bxE9"
+ ],
+ "x-ms-correlation-request-id": [
+ "af6d3abf-b69e-4e72-821c-8d7089d2d903"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14111"
+ ],
+ "x-ms-request-id": [
+ "af6d3abf-b69e-4e72-821c-8d7089d2d903"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192221Z:af6d3abf-b69e-4e72-821c-8d7089d2d903"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetLogicalNetwork.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetLogicalNetwork.json
new file mode 100644
index 000000000000..067583449a02
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetLogicalNetwork.json
@@ -0,0 +1,136 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbG9naWNhbE5ldHdvcmtzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "b9f0fc52-c1c4-40fa-af87-bf14a78817b0"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/00000000-2222-1111-9999-000000000001\",\r\n \"name\": \"00000000-2222-1111-9999-000000000001\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"d8cfef2d-c0c8-4cdb-b0a8-fb1bdf3f2ad7\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/47931036-2874-4d45-b1f1-b69666088968\",\r\n \"name\": \"47931036-2874-4d45-b1f1-b69666088968\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"64311075-3ae7-4327-bafa-2c58804addb7\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/B60B71AA-36BF-40AC-A9CE-A6915D1EAE1A\",\r\n \"name\": \"B60B71AA-36BF-40AC-A9CE-A6915D1EAE1A\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"1ee6e531-b000-412c-bba7-2d6d6f257ac4\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/bb6c6f28-bad9-441b-8e62-57d2be255904\",\r\n \"name\": \"bb6c6f28-bad9-441b-8e62-57d2be255904\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": true,\r\n \"subnets\": [\r\n \"be20afa7-2ada-4261-a12a-4e48498223cf\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/F207C184-367C-4BC7-8C74-03AA39D68C24\",\r\n \"name\": \"F207C184-367C-4BC7-8C74-03AA39D68C24\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"d43d2881-3aad-40c9-b207-4280a9b3b699\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/f8f67956-3906-4303-94c5-09cf91e7e311\",\r\n \"name\": \"f8f67956-3906-4303-94c5-09cf91e7e311\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"9ec2eb29-6d47-4e22-a322-eb575c16937a\"\r\n ]\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "2644"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:22 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv7AXGCfcNPK3gnizsPy9rCEaA0m8el/X1nZ5K1/7UaltT4yp0zSVdkneC9JRdtG1hM3A4CCbCmjHXqcyFBeNgeu65oyjodwrclubymtaBzetI8LzbBneyItainAHL2u8yivBc2iEVHFnQzOoSADZE"
+ ],
+ "x-ms-correlation-request-id": [
+ "0b0e4e32-8380-47d3-9aeb-8684c2a3cb96"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14084"
+ ],
+ "x-ms-request-id": [
+ "0b0e4e32-8380-47d3-9aeb-8684c2a3cb96"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192223Z:0b0e4e32-8380-47d3-9aeb-8684c2a3cb96"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/00000000-2222-1111-9999-000000000001?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbG9naWNhbE5ldHdvcmtzLzAwMDAwMDAwLTIyMjItMTExMS05OTk5LTAwMDAwMDAwMDAwMT9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "e4a0ca5f-69d3-479b-9686-5b1d198341d6"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/00000000-2222-1111-9999-000000000001\",\r\n \"name\": \"00000000-2222-1111-9999-000000000001\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"d8cfef2d-c0c8-4cdb-b0a8-fb1bdf3f2ad7\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "438"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:22 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv8xHLyUjL2+jj3nJ3hIBjx+xP7v1Q/TLGQG73RKs1DmZo5QALAm3YUZRU4Tj5xk9yOQ1ZpvMb00aB13SBjTjGj/iI+FzCjbE/xSawR01SS1KAE5qrlFcdbzG6B+EQgKmZYCW8TAAZhI/g1hbuom78"
+ ],
+ "x-ms-correlation-request-id": [
+ "4854eb93-a5a3-43a7-8bde-8623a10ee892"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14083"
+ ],
+ "x-ms-request-id": [
+ "4854eb93-a5a3-43a7-8bde-8623a10ee892"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192223Z:4854eb93-a5a3-43a7-8bde-8623a10ee892"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetLogicalSubnet.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetLogicalSubnet.json
new file mode 100644
index 000000000000..2773257318fe
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetLogicalSubnet.json
@@ -0,0 +1,200 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbG9naWNhbE5ldHdvcmtzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "519db9bd-418d-492d-b9fd-a889c7e2f4dc"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/00000000-2222-1111-9999-000000000001\",\r\n \"name\": \"00000000-2222-1111-9999-000000000001\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"d8cfef2d-c0c8-4cdb-b0a8-fb1bdf3f2ad7\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/47931036-2874-4d45-b1f1-b69666088968\",\r\n \"name\": \"47931036-2874-4d45-b1f1-b69666088968\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"64311075-3ae7-4327-bafa-2c58804addb7\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/B60B71AA-36BF-40AC-A9CE-A6915D1EAE1A\",\r\n \"name\": \"B60B71AA-36BF-40AC-A9CE-A6915D1EAE1A\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"1ee6e531-b000-412c-bba7-2d6d6f257ac4\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/bb6c6f28-bad9-441b-8e62-57d2be255904\",\r\n \"name\": \"bb6c6f28-bad9-441b-8e62-57d2be255904\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": true,\r\n \"subnets\": [\r\n \"be20afa7-2ada-4261-a12a-4e48498223cf\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/F207C184-367C-4BC7-8C74-03AA39D68C24\",\r\n \"name\": \"F207C184-367C-4BC7-8C74-03AA39D68C24\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"d43d2881-3aad-40c9-b207-4280a9b3b699\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/f8f67956-3906-4303-94c5-09cf91e7e311\",\r\n \"name\": \"f8f67956-3906-4303-94c5-09cf91e7e311\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"9ec2eb29-6d47-4e22-a322-eb575c16937a\"\r\n ]\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "2644"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:19 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvbygF7GVQmvGQ1ckXiDTzrry2OF5wNdErj3MQCdKjodxZb1m2CHyh0ow8vJDwRzjsnUgNXvEIBgpgmZ9Mjy3xMUKBOWjMjWFsFCCXCi0inMdxSQMO3UlYVcu7YTpMtQRUVzf4emLbDnfLL6jntfFM"
+ ],
+ "x-ms-correlation-request-id": [
+ "94cddc28-6158-4859-baba-b944f66b4813"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14138"
+ ],
+ "x-ms-request-id": [
+ "94cddc28-6158-4859-baba-b944f66b4813"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192219Z:94cddc28-6158-4859-baba-b944f66b4813"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/00000000-2222-1111-9999-000000000001/logicalSubnets?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbG9naWNhbE5ldHdvcmtzLzAwMDAwMDAwLTIyMjItMTExMS05OTk5LTAwMDAwMDAwMDAwMS9sb2dpY2FsU3VibmV0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "7847375b-7313-4bb6-ad81-875409b55704"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/00000000-2222-1111-9999-000000000001/logicalSubnets/d8cfef2d-c0c8-4cdb-b0a8-fb1bdf3f2ad7\",\r\n \"name\": \"d8cfef2d-c0c8-4cdb-b0a8-fb1bdf3f2ad7\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks/logicalSubnets\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"ipPools\": [\r\n \"2ce37b2a-3da0-493c-9eb5-b95054fc71f4\"\r\n ],\r\n \"isPublic\": false\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "497"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:19 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvOwrRhfBivlMcQk6jrphquOWXrMP/ZKBFmJglOq5Kz0vthE5/gQGVPzXt0EZy5vJdMxSujDsTJCr25rH/PeChbkafJ6QiAX2T8f6B1pAbeI/UYWxBv9AZq99iHpcT5CiVfxRNyHFXKCMgV/EnQhG0"
+ ],
+ "x-ms-correlation-request-id": [
+ "12d89ebb-c7c0-4cd7-a675-f9c77f66a05c"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14137"
+ ],
+ "x-ms-request-id": [
+ "12d89ebb-c7c0-4cd7-a675-f9c77f66a05c"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192219Z:12d89ebb-c7c0-4cd7-a675-f9c77f66a05c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/00000000-2222-1111-9999-000000000001/logicalSubnets/d8cfef2d-c0c8-4cdb-b0a8-fb1bdf3f2ad7?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbG9naWNhbE5ldHdvcmtzLzAwMDAwMDAwLTIyMjItMTExMS05OTk5LTAwMDAwMDAwMDAwMS9sb2dpY2FsU3VibmV0cy9kOGNmZWYyZC1jMGM4LTRjZGItYjBhOC1mYjFiZGYzZjJhZDc/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "ee82d2e0-5f4b-4343-8768-cd46acf0d12a"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/00000000-2222-1111-9999-000000000001/logicalSubnets/d8cfef2d-c0c8-4cdb-b0a8-fb1bdf3f2ad7\",\r\n \"name\": \"d8cfef2d-c0c8-4cdb-b0a8-fb1bdf3f2ad7\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks/logicalSubnets\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"ipPools\": [\r\n \"2ce37b2a-3da0-493c-9eb5-b95054fc71f4\"\r\n ],\r\n \"isPublic\": false\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "485"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:19 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv9ofwYj4NPzc3hsNouKv11JjdfnDRHi4xhKzIdJ+vSALekz/OfKpSKgvjUs09GdFCoyn5zcBdcz4c+tnhfltBmEQE+YV3mpM4MKGfnTguhO2QLX4I+FJ+NnnXyUfi8eYCOdsWZlJzIW46/wrM3SkA"
+ ],
+ "x-ms-correlation-request-id": [
+ "b4d105f5-f783-4729-85ee-3d3cc05342b5"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14136"
+ ],
+ "x-ms-request-id": [
+ "b4d105f5-f783-4729-85ee-3d3cc05342b5"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192219Z:b4d105f5-f783-4729-85ee-3d3cc05342b5"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetMacAddressPool.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetMacAddressPool.json
new file mode 100644
index 000000000000..f14c4bebf038
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetMacAddressPool.json
@@ -0,0 +1,136 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/macAddressPools?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbWFjQWRkcmVzc1Bvb2xzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "538e5d3b-8e30-4862-abe5-c05ac956c9d1"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/macAddressPools/8197fd09-8a69-417e-a55c-10c2c61f5ee7\",\r\n \"name\": \"8197fd09-8a69-417e-a55c-10c2c61f5ee7\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/macAddressPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"startMacAddress\": \"00-1D-D8-B7-1C-00\",\r\n \"endMacAddress\": \"00-1D-D8-F4-1F-FF\",\r\n \"numberOfAllocatedMacAddresses\": 2,\r\n \"numberOfAvailableMacAddresses\": 3998718\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "510"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:19 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvDwFQ4xwppm8jLyGbjazO2vjaFGsuqSKiWu1C18RyXrhQt6dZmKraoIwfcoprpJnYGcq/0k5AHYwEnWDsS4n9Adut1D8b+MVsgvYpJ8Ql4Oq7Lqi9KfT88KubAWjGyCU5Ml9kyNtuA2x2qP9KFBR7"
+ ],
+ "x-ms-correlation-request-id": [
+ "ae3cc461-a2a1-4cc4-bf73-c9b7365299e7"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14134"
+ ],
+ "x-ms-request-id": [
+ "ae3cc461-a2a1-4cc4-bf73-c9b7365299e7"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192219Z:ae3cc461-a2a1-4cc4-bf73-c9b7365299e7"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/macAddressPools/8197fd09-8a69-417e-a55c-10c2c61f5ee7?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbWFjQWRkcmVzc1Bvb2xzLzgxOTdmZDA5LThhNjktNDE3ZS1hNTVjLTEwYzJjNjFmNWVlNz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "e68addd2-3990-4d2b-ae14-381779bdde49"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/macAddressPools/8197fd09-8a69-417e-a55c-10c2c61f5ee7\",\r\n \"name\": \"8197fd09-8a69-417e-a55c-10c2c61f5ee7\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/macAddressPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"startMacAddress\": \"00-1D-D8-B7-1C-00\",\r\n \"endMacAddress\": \"00-1D-D8-F4-1F-FF\",\r\n \"numberOfAllocatedMacAddresses\": 2,\r\n \"numberOfAvailableMacAddresses\": 3998718\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "498"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:19 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvypA5pPVrtO7BDMN6h59r6vQlQrWnmI1Ek5ORc1liuwQYyk8QN6OAK8lu+eI+lD96gJhU/QEUYxMgGcSJSReC1yfjiqnKWlis9YLdYf61aPX1271fhG84o58dLTQ+w3d/1/jUqfJCeEpGqeeQ+RTm"
+ ],
+ "x-ms-correlation-request-id": [
+ "22fbd18e-9771-4b00-aad7-982fa2475d67"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14133"
+ ],
+ "x-ms-request-id": [
+ "22fbd18e-9771-4b00-aad7-982fa2475d67"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192220Z:22fbd18e-9771-4b00-aad7-982fa2475d67"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetScaleUnit.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetScaleUnit.json
new file mode 100644
index 000000000000..0ab4ae62c22c
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetScaleUnit.json
@@ -0,0 +1,136 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "0ac4e741-89a4-4305-92c7-30e96d0cb6cd"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"name\": \"S-Cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 255.875,\r\n \"cores\": 56\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "594"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:22 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv7z63i6RXRmczqw5fZCu93YO/jEsAa0XW/pRFymW7FcMx0iSl0ekwKpLcUGcC0KdsqZWvXZi4mNVWtEV7HrR/edII2lMUqMXDz+itQg9sGh3vPGjx6YUJxBHIHQkmAC5RhShfRqk0u1H8mxil2Zyq"
+ ],
+ "x-ms-correlation-request-id": [
+ "c9891ac0-b1aa-475e-8466-7eb4fc87c69d"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14086"
+ ],
+ "x-ms-request-id": [
+ "c9891ac0-b1aa-475e-8466-7eb4fc87c69d"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192223Z:c9891ac0-b1aa-475e-8466-7eb4fc87c69d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cy9TLUNsdXN0ZXI/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "4cb91a97-41db-4a01-aed4-72a122bbcd32"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"name\": \"S-Cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 255.875,\r\n \"cores\": 56\r\n }\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "582"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:22 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvxJ66qBn6glp0hMrIeiwANnBMEt005mnuHzmYY5/ppMexYpWgtckgup3ciRCYSKS/kDh+ZcoB5uGag3YZ/ALfe+6mFJW5PvYoO56nd2kUT63x1ZyEe6GP1Yp4wfsVgc3ZoT55DRxR77/b5rFI17Li"
+ ],
+ "x-ms-correlation-request-id": [
+ "b151a83a-471f-4ed1-9375-b1d1ef228ece"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14085"
+ ],
+ "x-ms-request-id": [
+ "b151a83a-471f-4ed1-9375-b1d1ef228ece"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192223Z:b151a83a-471f-4ed1-9375-b1d1ef228ece"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetScaleUnitNode.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetScaleUnitNode.json
new file mode 100644
index 000000000000..c1230a6560b4
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetScaleUnitNode.json
@@ -0,0 +1,136 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "925a6e7e-7b81-4014-a5b3-4ba25d3a2dc7"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"name\": \"HC1n25r2236\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnitNodes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitNodeStatus\": \"Running\",\r\n \"powerState\": \"Running\",\r\n \"scaleUnitName\": \"S-Cluster\",\r\n \"scaleUnitUri\": \"/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"canPowerOff\": false,\r\n \"macAddress\": \"24-8A-07-89-15-62\",\r\n \"capacity\": {\r\n \"memoryGB\": 255.875,\r\n \"cores\": 56\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "550"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:12:39 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvkeDq6MWoSoUi8aO2ejVC1f8aFPC9o74cSayujvHJ4nOxfnHrZiRK7KL4elFTNYWdy0KVGI5/UEey2zwYAjsPunMUaxL6Q9EU42cDh/SWaDfmK8EGWwo6LqcGo8BSavBP6f1ymDfs49qpTLE0Zb5M"
+ ],
+ "x-ms-correlation-request-id": [
+ "6ebdbfd8-edc7-485d-b953-2ce82e3fb9e9"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14147"
+ ],
+ "x-ms-request-id": [
+ "6ebdbfd8-edc7-485d-b953-2ce82e3fb9e9"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191239Z:6ebdbfd8-edc7-485d-b953-2ce82e3fb9e9"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXMvSEMxbjI1cjIyMzY/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "34259a9c-4cfe-42e7-9c00-524486022f13"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"name\": \"HC1n25r2236\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnitNodes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitNodeStatus\": \"Running\",\r\n \"powerState\": \"Running\",\r\n \"scaleUnitName\": \"S-Cluster\",\r\n \"scaleUnitUri\": \"/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"canPowerOff\": false,\r\n \"macAddress\": \"24-8A-07-89-15-62\",\r\n \"capacity\": {\r\n \"memoryGB\": 255.875,\r\n \"cores\": 56\r\n }\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "538"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:12:39 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvsSrzTCTKaskYrfT5XzcnjUR9DTxxuXMu0EgpffqCEeEuJwTZd+HAweW0F++ev/RljHTOgkKmOGpb8q7UUCxr6D6WIgqHTUokWR6GGZaLWLLR3w+VN3OimK8plD1as06N08mAObHhTTrg4+rTUc0E"
+ ],
+ "x-ms-correlation-request-id": [
+ "2c5ac625-8905-4336-bdad-a94a3ed37b49"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14146"
+ ],
+ "x-ms-request-id": [
+ "2c5ac625-8905-4336-bdad-a94a3ed37b49"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191239Z:2c5ac625-8905-4336-bdad-a94a3ed37b49"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetScaleUnitNodeOnTenantVM.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetScaleUnitNodeOnTenantVM.json
new file mode 100644
index 000000000000..22264954c33e
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetScaleUnitNodeOnTenantVM.json
@@ -0,0 +1,69 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/502828aa-de3a-4ba9-a66c-5ae6d49589d7?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXMvNTAyODI4YWEtZGUzYS00YmE5LWE2NmMtNWFlNmQ0OTU4OWQ3P2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "8b2dfbca-0703-46d2-892d-d6844a0b6145"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:10:58 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvYUxSldl95oWb/DHw4idZXGNLT10ycRvOiMed916CEawW8k/HBweXBytQUY+xHcgT4sYaEAsI84ka1KDrjJSRQ1Nc958miiXEpAmbN4pizo91PzXNDqMsZ6Ga/0xC/TrllHq0Un7cGGYGYeQ6HZcE"
+ ],
+ "x-ms-correlation-request-id": [
+ "0a33926b-b899-40ee-87a7-3837dbdf85eb"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14162"
+ ],
+ "x-ms-request-id": [
+ "0a33926b-b899-40ee-87a7-3837dbdf85eb"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191058Z:0a33926b-b899-40ee-87a7-3837dbdf85eb"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 404
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetSlbMuxInstance.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetSlbMuxInstance.json
new file mode 100644
index 000000000000..b302980133c7
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetSlbMuxInstance.json
@@ -0,0 +1,136 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/slbMuxInstances?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2xiTXV4SW5zdGFuY2VzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "8c21542e-6056-4849-9651-7ddd487e2e4c"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/slbMuxInstances/AzS-SLB01\",\r\n \"name\": \"AzS-SLB01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/slbMuxInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"configurationState\": \"Success\",\r\n \"virtualServer\": \"AzS-SLB01\",\r\n \"bgpPeers\": [\r\n \"BGPGateway-64000-64001\"\r\n ]\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "405"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:13:17 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvf+Kx0fjtaTE7FIi3L7jdXGXvvhS/tdhTTxJalmFr6U0hckaBUnaBAkiG3Aahr0pIH5ob9VJ7sQLNba6RUe48EiiMX79Q7ovBWKTBuQqONcDYWWr7N7eh9NFTPCrjr+nR4HrAnVUEfVzuO6II0Fse"
+ ],
+ "x-ms-correlation-request-id": [
+ "5604f8ff-9e89-497a-8f4a-75e2e8bb0d94"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14126"
+ ],
+ "x-ms-request-id": [
+ "5604f8ff-9e89-497a-8f4a-75e2e8bb0d94"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191317Z:5604f8ff-9e89-497a-8f4a-75e2e8bb0d94"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/slbMuxInstances/AzS-SLB01?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2xiTXV4SW5zdGFuY2VzL0F6Uy1TTEIwMT9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "eea9f1bb-b0b1-44f5-9627-02166028a7fc"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/slbMuxInstances/AzS-SLB01\",\r\n \"name\": \"AzS-SLB01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/slbMuxInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"configurationState\": \"Success\",\r\n \"virtualServer\": \"AzS-SLB01\",\r\n \"bgpPeers\": [\r\n \"BGPGateway-64000-64001\"\r\n ]\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "393"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:13:17 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvcg2twOnkaBnJQqZqIKYzV5gLXMQX40AfnlKNJmbLrPeeXuoUCrCpxovhVbdqg6iTW68MSXN3vPG0jgVvuZjkt/cAPJAaAiMSiX8ZkkmpgIJqpk6oaLExRREq6G/cPS+TOylNCU48lTeGNdSj60MB"
+ ],
+ "x-ms-correlation-request-id": [
+ "e6a97ab4-8feb-4ee7-9070-7eda329de31c"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14125"
+ ],
+ "x-ms-request-id": [
+ "e6a97ab4-8feb-4ee7-9070-7eda329de31c"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191317Z:e6a97ab4-8feb-4ee7-9070-7eda329de31c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetStoragePool.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetStoragePool.json
new file mode 100644
index 000000000000..0b46365908f1
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetStoragePool.json
@@ -0,0 +1,200 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "c22d4f74-a973-4ca5-a068-4f2b160e6bc8"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local\",\r\n \"name\": \"S-Cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 2525\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "369"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:13:17 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvX82I2L01xm02XaSOhYwQ2uX0vbsxJg/7dPDuwWMpCFEvt8j964QWLzeRM/faJRSeNNoM+x5uHEx8+k7znu917BFSapuzf+7UclnPjTps78q8FiUB95GrgVjgrPfJJKXEyQtAVWzINTBMyUb9g6cg"
+ ],
+ "x-ms-correlation-request-id": [
+ "689f08e8-1859-42cb-aced-52e56c7a2841"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14134"
+ ],
+ "x-ms-request-id": [
+ "689f08e8-1859-42cb-aced-52e56c7a2841"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191317Z:689f08e8-1859-42cb-aced-52e56c7a2841"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local/storagePools?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXMvUy1DbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvc3RvcmFnZVBvb2xzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "b540d94a-938e-49d3-bcc4-30bed6569f04"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local/storagePools/SU1_Pool\",\r\n \"name\": \"SU1_Pool\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems/storagePools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"sizeGB\": 5614\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "377"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:13:17 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv5hGwvc03cnhYeu8lnOsgBc4NaYcm5jLYq98IWPOQuOID7wVgAe0xXdWKaHeWt7UwKy4qBPqCpQ28z2ZsjLq+ta3d/B+7x+ICikidrxWMPxgA/+EKDz+/EpJ6U8ud5dnWDNjR+JD4PlXob4GXNCNb"
+ ],
+ "x-ms-correlation-request-id": [
+ "4fc67dea-cd81-4b86-bed7-255be3c1612d"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14133"
+ ],
+ "x-ms-request-id": [
+ "4fc67dea-cd81-4b86-bed7-255be3c1612d"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191317Z:4fc67dea-cd81-4b86-bed7-255be3c1612d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local/storagePools/SU1_Pool?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXMvUy1DbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvc3RvcmFnZVBvb2xzL1NVMV9Qb29sP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "fda72077-6512-45e5-9b60-c5167dfbf61e"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local/storagePools/SU1_Pool\",\r\n \"name\": \"SU1_Pool\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems/storagePools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"sizeGB\": 5614\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "365"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:13:17 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvdAEem/gjmVVpVA8eTyQM9tFtCi90nughKr/LtXB06Lw6kPteCepMX+b1OtAptZsaTZawdMnyh+5M13C7vflLs++G+g9Hszar+FTNq8KkrwfDkxxbMxTCXesoLwiN1BG/Xap69GadjLy4fCydNGv3"
+ ],
+ "x-ms-correlation-request-id": [
+ "32e3190a-5a95-430f-9df3-dd54c7c94ca3"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14132"
+ ],
+ "x-ms-request-id": [
+ "32e3190a-5a95-430f-9df3-dd54c7c94ca3"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191317Z:32e3190a-5a95-430f-9df3-dd54c7c94ca3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetStorageSystem.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetStorageSystem.json
new file mode 100644
index 000000000000..bf0164d401af
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetStorageSystem.json
@@ -0,0 +1,136 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "3a6b5523-c9d0-4bda-8f6f-ab2ed76976dd"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local\",\r\n \"name\": \"S-Cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 2525\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "369"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:13:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv6QIM3xQSBvqEQi2pJMRS6WFJ9ZeFG8QEI6U38g7TU/eEJApwCa9kQb97pO/WyN8/nOd8zQCs/Oad9RJfEwlUY9DFxr8LeUD+SXCQo3QjcsZ6yl1fLeKGct2Nb1duouBFIBPiwmlf7mMi9NoDaPPj"
+ ],
+ "x-ms-correlation-request-id": [
+ "6a3e4076-06a6-4e66-8b70-f15161a896b8"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14118"
+ ],
+ "x-ms-request-id": [
+ "6a3e4076-06a6-4e66-8b70-f15161a896b8"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191318Z:6a3e4076-06a6-4e66-8b70-f15161a896b8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXMvUy1DbHVzdGVyLmF6dXJlc3RhY2subG9jYWw/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "c4ce3520-1aa5-472c-9056-2a2555f93ea7"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local\",\r\n \"name\": \"S-Cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 2525\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "357"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:13:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvkK5nq0EY2wy5Y48dLZyZWYRyBB543QgOHBO/V30fKp3GkNM4X1pMPMuhC0LSH5GrZUNLFW52OYcuqbgn9/koVAYm/LSI/u1kcK+AIBEc0a0bqccrP9bresHN7G8LICt9wAYJyw0z2EYF+rYz6WiU"
+ ],
+ "x-ms-correlation-request-id": [
+ "ce4d714d-1831-4e51-a292-0d3373f70aa3"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14117"
+ ],
+ "x-ms-request-id": [
+ "ce4d714d-1831-4e51-a292-0d3373f70aa3"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191318Z:ce4d714d-1831-4e51-a292-0d3373f70aa3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetVolume.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetVolume.json
new file mode 100644
index 000000000000..14319a6e347d
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestGetVolume.json
@@ -0,0 +1,264 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "c4f01cc5-57fa-4998-aa4b-4b60562cbe4c"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local\",\r\n \"name\": \"S-Cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 2525\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "369"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:21 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvjyzutKJMuS+gfMPAcYUugNbhBFl7nNat66IqoG2fhlCv9ZRlofWEeY/ONGki/7/XF8Ids43R2ZV8h9G12CWi5AbxMo6xzWGSyqHR9seaEDPn2fGtKNLxjEMn5Au122HH/0y6oSbjMlxCMkQkoBdT"
+ ],
+ "x-ms-correlation-request-id": [
+ "5c1d8ede-fc17-4620-91aa-499f07f66074"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14102"
+ ],
+ "x-ms-request-id": [
+ "5c1d8ede-fc17-4620-91aa-499f07f66074"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192222Z:5c1d8ede-fc17-4620-91aa-499f07f66074"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local/storagePools?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXMvUy1DbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvc3RvcmFnZVBvb2xzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "f74cbcfb-64ff-4fda-8618-05b6f3b55f49"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local/storagePools/SU1_Pool\",\r\n \"name\": \"SU1_Pool\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems/storagePools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"sizeGB\": 5614\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "377"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:21 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv3U2aAtbQy0Rizz0c6XVbdAvJF6qcSKQoI0oHC42Od8u0D64DBpj2PUy+7LuH8Uv84L9cMcua8BxYQ1UpfNo/ew2519JMEDPCG+C3vllKbHtb0TusfzsQT5Zd7b+970sdmrM9U8mQBKehSkpX9yLL"
+ ],
+ "x-ms-correlation-request-id": [
+ "c8a36a39-7456-4acc-8e68-d042646d6216"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14101"
+ ],
+ "x-ms-request-id": [
+ "c8a36a39-7456-4acc-8e68-d042646d6216"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192222Z:c8a36a39-7456-4acc-8e68-d042646d6216"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local/storagePools/SU1_Pool/volumes?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXMvUy1DbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvc3RvcmFnZVBvb2xzL1NVMV9Qb29sL3ZvbHVtZXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "bec4dfe9-76bf-49a8-9ded-b863830077ea"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local/storagePools/SU1_Pool/volumes/a42d219b\",\r\n \"name\": \"a42d219b\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems/storagePools/volumes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"fileSystem\": \"CSVFS_ReFS\",\r\n \"remainingSizeGB\": 2201,\r\n \"sizeGB\": 2525,\r\n \"volumeLabel\": \"SU1_Volume\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "478"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:21 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvOEJFc/28x6nLtVcgp3GWnCEvc6P+9ACENvQ+CVxbH+i/T0YLRxd2iyAbTySUtbvNcqOzVSBPE/v4YZ1Kh2XoGxvdaZAXsoqU9ToPaAlUnt2r3KNQA+F5pSey45fqLfFrUcpma16UU0holzfHJ1Kb"
+ ],
+ "x-ms-correlation-request-id": [
+ "7e293db9-98d8-4a58-82a6-04777b5cbe7f"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14100"
+ ],
+ "x-ms-request-id": [
+ "7e293db9-98d8-4a58-82a6-04777b5cbe7f"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192222Z:7e293db9-98d8-4a58-82a6-04777b5cbe7f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local/storagePools/SU1_Pool/volumes/a42d219b?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXMvUy1DbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvc3RvcmFnZVBvb2xzL1NVMV9Qb29sL3ZvbHVtZXMvYTQyZDIxOWI/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "c7710bb7-6ccc-49ce-826e-6f6843020bc5"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local/storagePools/SU1_Pool/volumes/a42d219b\",\r\n \"name\": \"a42d219b\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems/storagePools/volumes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"fileSystem\": \"CSVFS_ReFS\",\r\n \"remainingSizeGB\": 2201,\r\n \"sizeGB\": 2525,\r\n \"volumeLabel\": \"SU1_Volume\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "466"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:21 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvUQYiigGL3uZkWKA4w4OZ0Dwybl+kfhTS1IUVIf4rSB3+Ixy/+jRrCqKdMD9uY7oHi6Ej6+3a24PnlOu592Il/RMkyg/8/QgWoKrwZ4Ez3dqa544d8VhS3SQ/D439PaHxemHn17E9cm0sdYu+8t/8"
+ ],
+ "x-ms-correlation-request-id": [
+ "0dd04724-8d83-4d74-acb5-ac981afb75d9"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14099"
+ ],
+ "x-ms-request-id": [
+ "0dd04724-8d83-4d74-acb5-ac981afb75d9"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192222Z:0dd04724-8d83-4d74-acb5-ac981afb75d9"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestInfraRoleInstancePowerOffOnTenantVM.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestInfraRoleInstancePowerOffOnTenantVM.json
new file mode 100644
index 000000000000..bd77028e41ab
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestInfraRoleInstancePowerOffOnTenantVM.json
@@ -0,0 +1,139 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/502828aa-de3a-4ba9-a66c-5ae6d49589d7/PowerOff?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlSW5zdGFuY2VzLzUwMjgyOGFhLWRlM2EtNGJhOS1hNjZjLTVhZTZkNDk1ODlkNy9Qb3dlck9mZj9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "0f20f7a4-f713-4ccd-b012-52318f8ac9af"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:14:08 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://adminmanagement.local.azurestack.external/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/0f20f7a4-f713-4ccd-b012-52318f8ac9af?api-version=2016-05-01"
+ ],
+ "Retry-After": [
+ "60"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvdtbUCRSxQ9eRlSulOMujnmFZzco5LEJU/eIyz+YRAczYJowqtI/X0TPmznjG41qK899xG9BU+uzRSqWGiDnTqk00PXhzzmYKLwCGR6PfY6NHLqKHnt5D04iWNQ1V9QPAGzWyoE2tRNWcJ6wXHaTt"
+ ],
+ "x-ms-correlation-request-id": [
+ "1c2ba674-5770-407e-89ba-18204d0c264e"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1144"
+ ],
+ "x-ms-request-id": [
+ "1c2ba674-5770-407e-89ba-18204d0c264e"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191409Z:1c2ba674-5770-407e-89ba-18204d0c264e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/0f20f7a4-f713-4ccd-b012-52318f8ac9af?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvY29tcHV0ZU9wZXJhdGlvblJlc3VsdHMvMGYyMGY3YTQtZjcxMy00Y2NkLWIwMTItNTIzMThmOGFjOWFmP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"AggregateException\",\r\n \"message\": \"One or more errors occurred.\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Failed\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "124"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Connection": [
+ "close"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:14:59 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv8pFuwekFyXPqIBb0Xqm/TjRfLd0lEi0j7QzLCv4OzPon6OTgpKyX5TtWkoMFnaI1A4N5ew+joOBJhoRmKsvTubWEqXkoDz5NdxCLd3r0d1ZqH7TIuJrATmcRyRR/n0lO+Yg8Ki3PviIGh0U7ud0R"
+ ],
+ "x-ms-correlation-request-id": [
+ "6847136c-068e-4807-82e1-6d2b50f156c2"
+ ],
+ "x-ms-failure-cause": [
+ "service"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14101"
+ ],
+ "x-ms-request-id": [
+ "6847136c-068e-4807-82e1-6d2b50f156c2"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191459Z:6847136c-068e-4807-82e1-6d2b50f156c2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 500
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestInfraRoleInstancePowerOn.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestInfraRoleInstancePowerOn.json
new file mode 100644
index 000000000000..308fdbfad640
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestInfraRoleInstancePowerOn.json
@@ -0,0 +1,197 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlSW5zdGFuY2VzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "e874ff60-a254-4ad3-ad8f-9d32f5296463"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ACS01\",\r\n \"name\": \"AzS-ACS01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 8.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ADFS01\",\r\n \"name\": \"AzS-ADFS01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 2.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-BGPNAT01\",\r\n \"name\": \"AzS-BGPNAT01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 2.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-CA01\",\r\n \"name\": \"AzS-CA01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 1.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Gwy01\",\r\n \"name\": \"AzS-Gwy01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 2.0,\r\n \"cores\": 4\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-NC01\",\r\n \"name\": \"AzS-NC01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 4.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-SLB01\",\r\n \"name\": \"AzS-SLB01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 2.0,\r\n \"cores\": 4\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Sql01\",\r\n \"name\": \"AzS-Sql01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 4.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\",\r\n \"name\": \"AzS-WAS01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 4.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01\",\r\n \"name\": \"AzS-WASP01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 8.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\",\r\n \"name\": \"AzS-Xrp01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 8.0,\r\n \"cores\": 4\r\n },\r\n \"state\": \"Running\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "7772"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:15:12 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvlEWdGxH6cCAc0Yvd5GCwXcQapSzS+/grhm86Ym840rnmj0OXYw+YD+c7cRb2HjMJ3/pqJcEiUyjkmov/YbTYMA8rGD6eJX9YMHvQQw6fDAM+DfLx17u0nELqRiBphb07pUqQRTQOm7fXKacOw+Jz"
+ ],
+ "x-ms-correlation-request-id": [
+ "c021a742-c6f9-4a32-a95c-1fc96c22bca3"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14164"
+ ],
+ "x-ms-request-id": [
+ "c021a742-c6f9-4a32-a95c-1fc96c22bca3"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191513Z:c021a742-c6f9-4a32-a95c-1fc96c22bca3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ACS01/PowerOn?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlSW5zdGFuY2VzL0F6Uy1BQ1MwMS9Qb3dlck9uP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "70056737-bd09-4f45-a81c-46e9cc7bef83"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:15:12 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://adminmanagement.local.azurestack.external/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/70056737-bd09-4f45-a81c-46e9cc7bef83?api-version=2016-05-01"
+ ],
+ "Retry-After": [
+ "60"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvkmg5RvaCYbF+4Q5DCLLL1SGWXg8wq+Yhmx9PfPR+EmMpQB+2cOlXnvUa3CCp7PWYL3yBMIhzeC54ovOWp02W/2hwbEhw9M5W+tGqu6EbaBdtL8TfvQBvpc+n35ogAHCiTeoQcpvJKGetVyjFWGHH"
+ ],
+ "x-ms-correlation-request-id": [
+ "3e100228-aa1a-4ad1-8d0a-ea94ebfb797a"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1147"
+ ],
+ "x-ms-request-id": [
+ "3e100228-aa1a-4ad1-8d0a-ea94ebfb797a"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191513Z:3e100228-aa1a-4ad1-8d0a-ea94ebfb797a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/70056737-bd09-4f45-a81c-46e9cc7bef83?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvY29tcHV0ZU9wZXJhdGlvblJlc3VsdHMvNzAwNTY3MzctYmQwOS00ZjQ1LWE4MWMtNDZlOWNjN2JlZjgzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "48"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:15:43 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv2b6Jimd4pwi2vAFBzUc6aKntOeBjPRy7z4axau8TZ3k1p6leHInPJM/to084gcSFMMYSe3t5XFehw2Y0UDPdRawTDt3OAiCgaJPmzKYw0oz+79j/OINkLC1UVpz7TyyONhU4ZkA3QAKZWtXSAy2j"
+ ],
+ "x-ms-correlation-request-id": [
+ "c1f6346d-ba85-4147-b692-08a3a60ae700"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14162"
+ ],
+ "x-ms-request-id": [
+ "c1f6346d-ba85-4147-b692-08a3a60ae700"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191543Z:c1f6346d-ba85-4147-b692-08a3a60ae700"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestInfraRoleInstancePowerOnAll.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestInfraRoleInstancePowerOnAll.json
new file mode 100644
index 000000000000..3c91d7343c75
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestInfraRoleInstancePowerOnAll.json
@@ -0,0 +1,1447 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlSW5zdGFuY2VzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "3303afb2-9e7d-492d-bf66-acbe2bd86f8c"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ACS01\",\r\n \"name\": \"AzS-ACS01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 8.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ADFS01\",\r\n \"name\": \"AzS-ADFS01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 2.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-BGPNAT01\",\r\n \"name\": \"AzS-BGPNAT01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 2.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-CA01\",\r\n \"name\": \"AzS-CA01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 1.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Gwy01\",\r\n \"name\": \"AzS-Gwy01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 2.0,\r\n \"cores\": 4\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-NC01\",\r\n \"name\": \"AzS-NC01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 4.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-SLB01\",\r\n \"name\": \"AzS-SLB01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 2.0,\r\n \"cores\": 4\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Sql01\",\r\n \"name\": \"AzS-Sql01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 4.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\",\r\n \"name\": \"AzS-WAS01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 4.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01\",\r\n \"name\": \"AzS-WASP01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 8.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\",\r\n \"name\": \"AzS-Xrp01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 8.0,\r\n \"cores\": 4\r\n },\r\n \"state\": \"Running\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "7772"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:16:47 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvBqGQzte3SZSXBTyyxV5boYRmlOjJarUb8wVn60VletDrmpAWRe5FOsPsdjln9pjJxHhmLXOG/D/6z4WZz5rj0ymGJbr/CLnO/z5Ar+Yx6C7lF+DkqL+tEnbj2sk+bxpuxxXWlKoX7XnDElLlUr5m"
+ ],
+ "x-ms-correlation-request-id": [
+ "9d6b1648-5074-49aa-9cbb-dbde106215f3"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14151"
+ ],
+ "x-ms-request-id": [
+ "9d6b1648-5074-49aa-9cbb-dbde106215f3"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191647Z:9d6b1648-5074-49aa-9cbb-dbde106215f3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ACS01/PowerOn?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlSW5zdGFuY2VzL0F6Uy1BQ1MwMS9Qb3dlck9uP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "0326dd8e-bb3b-428d-9b2a-8fd17e4eee1e"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:16:47 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://adminmanagement.local.azurestack.external/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/0326dd8e-bb3b-428d-9b2a-8fd17e4eee1e?api-version=2016-05-01"
+ ],
+ "Retry-After": [
+ "60"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvqXjZ/P/vD8uZhQqtHJnwrexSrIqepMOlAYZNYv+g/sCbRZLadwlupHAYDmFKF13WMzXbxcBy6XtiW5V5DmOMD7EaE4BPx5p5tIKOW477tt20LF/9K4vmPon0CqIYj6zUYadjVvqbWfeqV53YxswP"
+ ],
+ "x-ms-correlation-request-id": [
+ "95149f1c-28e3-4790-8652-4f8269feb360"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1145"
+ ],
+ "x-ms-request-id": [
+ "95149f1c-28e3-4790-8652-4f8269feb360"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191647Z:95149f1c-28e3-4790-8652-4f8269feb360"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/0326dd8e-bb3b-428d-9b2a-8fd17e4eee1e?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvY29tcHV0ZU9wZXJhdGlvblJlc3VsdHMvMDMyNmRkOGUtYmIzYi00MjhkLTliMmEtOGZkMTdlNGVlZTFlP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "48"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:17:17 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvx7FsitSr9oeYgVMrcPh92TNNgM+Xof+euYDAzV60TIoA8VJxMNzHFCh6W2aK5KG0WFY05zQDbpmOosb/KnVygWb5uHxWlwN4/OOEBSuS8vtG4M+rgdwWAhl74PLUpbIhLw7rCzECb1zU7/pWIP7M"
+ ],
+ "x-ms-correlation-request-id": [
+ "ec286e7c-f6a2-48b0-8a03-b01715535c4e"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14146"
+ ],
+ "x-ms-request-id": [
+ "ec286e7c-f6a2-48b0-8a03-b01715535c4e"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191717Z:ec286e7c-f6a2-48b0-8a03-b01715535c4e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ADFS01/PowerOn?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlSW5zdGFuY2VzL0F6Uy1BREZTMDEvUG93ZXJPbj9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "a73efb88-4ee0-4602-b027-42d534d845b6"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:17:17 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://adminmanagement.local.azurestack.external/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/a73efb88-4ee0-4602-b027-42d534d845b6?api-version=2016-05-01"
+ ],
+ "Retry-After": [
+ "60"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvkk0S33i8QRBfFgn7QuXjj1QOLF7asyf500PYU3K9H7308229IlJ6W6/T0yKPuXmsxC3q1KBmJUQ5bdrvMjvgf4l8buyk+9NEEr2gycmCV36cxPwqTPQyE2akZaUqVUrOwudM4rhUtsO5mzixX5ui"
+ ],
+ "x-ms-correlation-request-id": [
+ "95fee961-e564-4fa9-8bd7-f8d67f0e9633"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1144"
+ ],
+ "x-ms-request-id": [
+ "95fee961-e564-4fa9-8bd7-f8d67f0e9633"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191717Z:95fee961-e564-4fa9-8bd7-f8d67f0e9633"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/a73efb88-4ee0-4602-b027-42d534d845b6?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvY29tcHV0ZU9wZXJhdGlvblJlc3VsdHMvYTczZWZiODgtNGVlMC00NjAyLWIwMjctNDJkNTM0ZDg0NWI2P2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "48"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:17:47 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvbjz6fJj9U+Q+OKQxu5YCsObsKgQY8isKg6PtxvXMR8cAZcnXgCCr4M6msUOJHpkl56WPD+hyAGJHT6MPUfP7GJDQEEM5kvrqIS+LVjx2Sv/M2r4MzIgyxeECWY9/C3JQxzVOfwHo3zZEg+Qb7J07"
+ ],
+ "x-ms-correlation-request-id": [
+ "3e91761c-c21f-4569-b24b-315fd38d6caf"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14143"
+ ],
+ "x-ms-request-id": [
+ "3e91761c-c21f-4569-b24b-315fd38d6caf"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191747Z:3e91761c-c21f-4569-b24b-315fd38d6caf"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-BGPNAT01/PowerOn?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlSW5zdGFuY2VzL0F6Uy1CR1BOQVQwMS9Qb3dlck9uP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "4f86c40a-2614-46f6-adc4-fc4bc7c2655d"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:17:47 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://adminmanagement.local.azurestack.external/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/4f86c40a-2614-46f6-adc4-fc4bc7c2655d?api-version=2016-05-01"
+ ],
+ "Retry-After": [
+ "60"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv2noenwIusvSrI3doxwRGv4zI7ZNa5MYF+Duvf2HWr2RzQ/GV/5rWODJ6p9/ahtpfPqqX2Af4mRfCF8kyFCR9DH3DmU8l0S5yJF7G8btHPXRJlnrM0S2ozr2AZb2WIRWxCVGX6qPO2ZpzNqmOD/a7"
+ ],
+ "x-ms-correlation-request-id": [
+ "23e315e0-17be-4881-8e70-84849bd906a5"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1143"
+ ],
+ "x-ms-request-id": [
+ "23e315e0-17be-4881-8e70-84849bd906a5"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191747Z:23e315e0-17be-4881-8e70-84849bd906a5"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/4f86c40a-2614-46f6-adc4-fc4bc7c2655d?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvY29tcHV0ZU9wZXJhdGlvblJlc3VsdHMvNGY4NmM0MGEtMjYxNC00NmY2LWFkYzQtZmM0YmM3YzI2NTVkP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "48"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:18:17 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvnuNziH9bkzjnpMiSjT70bzBB3oeivxZlpf0y1PGD+sfA/muWxEto2nK5wC61tsKOZNGgEQ+Bo76bcT/TIxRsDqLR0eZps/kMlcBMYbsP9RPn2xv567ZMDyPXGAs44G6VnzeaHP7l6cTGHk7GchpC"
+ ],
+ "x-ms-correlation-request-id": [
+ "5f9f2424-ea64-4f79-890d-09a8c58f0ad2"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14140"
+ ],
+ "x-ms-request-id": [
+ "5f9f2424-ea64-4f79-890d-09a8c58f0ad2"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191817Z:5f9f2424-ea64-4f79-890d-09a8c58f0ad2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-CA01/PowerOn?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlSW5zdGFuY2VzL0F6Uy1DQTAxL1Bvd2VyT24/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "4cd68220-0303-47b7-9ccd-268016f12b34"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:18:17 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://adminmanagement.local.azurestack.external/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/4cd68220-0303-47b7-9ccd-268016f12b34?api-version=2016-05-01"
+ ],
+ "Retry-After": [
+ "60"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvyvbxxUxl43XlzA5uU95A6ppycZ0uAXiLR77PYbR67gy0rM1lNpopLa6UdMYUBNi81LJwEnSilAC3yUw6hbrnIQ7gG9qY1el1115B2EN9JZEb6wBTppxZXQXmZetvmDkI6Wp/ejtYgmZTDVfrWtNJ"
+ ],
+ "x-ms-correlation-request-id": [
+ "25b50571-df21-4753-8981-3c7f2b932482"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1142"
+ ],
+ "x-ms-request-id": [
+ "25b50571-df21-4753-8981-3c7f2b932482"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191817Z:25b50571-df21-4753-8981-3c7f2b932482"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/4cd68220-0303-47b7-9ccd-268016f12b34?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvY29tcHV0ZU9wZXJhdGlvblJlc3VsdHMvNGNkNjgyMjAtMDMwMy00N2I3LTljY2QtMjY4MDE2ZjEyYjM0P2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "48"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:18:47 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvDSzGnTMt+VrCd8poYN6mnftjJ2eaH8iCzj0ILIshj3M7LY7UX6W1Hja3fXyeGTNHDkxNEGxWpGTD67L7j12Zr9Fd/L8bWeYHp2/MSbBw/RyeILu1rpPsPilOBpuNIPpXpjPG/GOhi0p6EwxaYrYT"
+ ],
+ "x-ms-correlation-request-id": [
+ "f47afb33-de3b-4ca9-9d58-5bb5876db27c"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14138"
+ ],
+ "x-ms-request-id": [
+ "f47afb33-de3b-4ca9-9d58-5bb5876db27c"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191847Z:f47afb33-de3b-4ca9-9d58-5bb5876db27c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Gwy01/PowerOn?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlSW5zdGFuY2VzL0F6Uy1Hd3kwMS9Qb3dlck9uP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "6db7fa20-7ed5-431c-bb61-f52f28fd1d22"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:18:47 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://adminmanagement.local.azurestack.external/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/6db7fa20-7ed5-431c-bb61-f52f28fd1d22?api-version=2016-05-01"
+ ],
+ "Retry-After": [
+ "60"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvnoj4HB+oOlZkSKDyVjJlx9a7yC+AWowC4lio0K5RtlfSBDEbPkkUl3kBJtyGcdVPN9Pw61b8enxNF8Zq974zvH37gY6/abVdVcQN5CX27uCSa309BqbkEUxdEypRkQlhiNnlQFNBo7dp0NVNJaot"
+ ],
+ "x-ms-correlation-request-id": [
+ "08e2f233-d840-4f35-ab06-03a8f9e59fcf"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1141"
+ ],
+ "x-ms-request-id": [
+ "08e2f233-d840-4f35-ab06-03a8f9e59fcf"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191847Z:08e2f233-d840-4f35-ab06-03a8f9e59fcf"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/6db7fa20-7ed5-431c-bb61-f52f28fd1d22?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvY29tcHV0ZU9wZXJhdGlvblJlc3VsdHMvNmRiN2ZhMjAtN2VkNS00MzFjLWJiNjEtZjUyZjI4ZmQxZDIyP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "48"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:19:17 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvXI49VoxsL+beT/kBLAaFzodlNI7G4OtsaI4WxSIdXkWVMCyDueeeqntc/6J0xUmLc9VneAWBotV8NbylkWKTIB/Hpiv9LNx6NAdFZ93apopQ/9C15D5B//LxTmqw+NroHkMAoBP7JtvbQrNjM5JB"
+ ],
+ "x-ms-correlation-request-id": [
+ "6d098e05-afa1-4556-a0bf-373137a73bdd"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14134"
+ ],
+ "x-ms-request-id": [
+ "6d098e05-afa1-4556-a0bf-373137a73bdd"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191917Z:6d098e05-afa1-4556-a0bf-373137a73bdd"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-NC01/PowerOn?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlSW5zdGFuY2VzL0F6Uy1OQzAxL1Bvd2VyT24/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "c9fe151f-9979-4610-96ce-31fdf97142c4"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:19:17 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://adminmanagement.local.azurestack.external/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/c9fe151f-9979-4610-96ce-31fdf97142c4?api-version=2016-05-01"
+ ],
+ "Retry-After": [
+ "60"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvBQcx/Rpkfql9P0LGvJiapxQyiBBWK4RrAgJlzetYb+xpYdGMdbdmKs3nOnhgHUBDapzSYwL51jBPEbzQG9reI4vXLAUkjn6A0MUEH9wddxtlKAtO5BbVhI72AZvuTPMdrks5Qr2HmVg2qt3F83x7"
+ ],
+ "x-ms-correlation-request-id": [
+ "d34afbf7-6dbc-428b-a682-cb9843592b3f"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1140"
+ ],
+ "x-ms-request-id": [
+ "d34afbf7-6dbc-428b-a682-cb9843592b3f"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191917Z:d34afbf7-6dbc-428b-a682-cb9843592b3f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/c9fe151f-9979-4610-96ce-31fdf97142c4?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvY29tcHV0ZU9wZXJhdGlvblJlc3VsdHMvYzlmZTE1MWYtOTk3OS00NjEwLTk2Y2UtMzFmZGY5NzE0MmM0P2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "48"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:19:48 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv2ISKw5qvCn6B5qjwa4KdpFqJfXshsJvfke4Kga/cUrlMTg2mxYEgcSik8qDhi0NYUKBvZLiwFdKz5RadAfYPuceaeTIabe3WviagRJfjdeTFLsigIX4DMttONa3ZNJBtx9b4NISF2gBvOYPbA5GF"
+ ],
+ "x-ms-correlation-request-id": [
+ "ee49b669-ce1e-4582-90c5-ad8d641a4c2a"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14131"
+ ],
+ "x-ms-request-id": [
+ "ee49b669-ce1e-4582-90c5-ad8d641a4c2a"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191948Z:ee49b669-ce1e-4582-90c5-ad8d641a4c2a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-SLB01/PowerOn?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlSW5zdGFuY2VzL0F6Uy1TTEIwMS9Qb3dlck9uP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "49edbbcb-19f0-48d1-aa30-9dd341a3088f"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:19:48 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://adminmanagement.local.azurestack.external/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/49edbbcb-19f0-48d1-aa30-9dd341a3088f?api-version=2016-05-01"
+ ],
+ "Retry-After": [
+ "60"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvN6HyGR2d5S8QZ1AEZmLvnMfqixx514YTAhJeTX/xFDvLP7Cd5zxA0NFuVbRqmmkS4t1J7KWn1fKrzEdQ3BsS4BlkGQucdZg4+oQwuxK4iLhGYi4OskHPaOj93Joy/j0hGiaRKlJc+s6lYMoLe11z"
+ ],
+ "x-ms-correlation-request-id": [
+ "3e55405c-9662-4d9d-81a5-a6a1d206809a"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1139"
+ ],
+ "x-ms-request-id": [
+ "3e55405c-9662-4d9d-81a5-a6a1d206809a"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191948Z:3e55405c-9662-4d9d-81a5-a6a1d206809a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/49edbbcb-19f0-48d1-aa30-9dd341a3088f?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvY29tcHV0ZU9wZXJhdGlvblJlc3VsdHMvNDllZGJiY2ItMTlmMC00OGQxLWFhMzAtOWRkMzQxYTMwODhmP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "48"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:20:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRveUqyKzVvDv4NyjiMS3PsFywOmbgzuEct4KyCkhWkLICYsLJsMAfGaKSYYI8+fZFJndkOIBI3EpJdF7Ri7vussrFWfg/5yV/CkZX4X1yMW5yt3ZcnRgEhwftd0fvqCNhHStWQh8CinJgtO68iDp2B"
+ ],
+ "x-ms-correlation-request-id": [
+ "6daa773d-af58-46ee-aeee-752bcedd1a04"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14175"
+ ],
+ "x-ms-request-id": [
+ "6daa773d-af58-46ee-aeee-752bcedd1a04"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192018Z:6daa773d-af58-46ee-aeee-752bcedd1a04"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Sql01/PowerOn?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlSW5zdGFuY2VzL0F6Uy1TcWwwMS9Qb3dlck9uP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "d273cb11-a579-400d-8d81-aabc0f24ac75"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:20:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://adminmanagement.local.azurestack.external/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/d273cb11-a579-400d-8d81-aabc0f24ac75?api-version=2016-05-01"
+ ],
+ "Retry-After": [
+ "60"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvdg8DvI1yLtMnlnLKoB7WAidHA7Uo6g+4yX4gGbRfN1jFrVc3sShpdqA1qvacHud5z0YGkApdzG3HNNWfW8+CjYD8VxHMqUMTnoQHwb1QNmvZFMpheMp3lMWpnEGKU5aHDWbpLdOcW/fmNU7He2Gu"
+ ],
+ "x-ms-correlation-request-id": [
+ "b51bbe6e-7288-4d6d-81fc-5aeca147f0fb"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1145"
+ ],
+ "x-ms-request-id": [
+ "b51bbe6e-7288-4d6d-81fc-5aeca147f0fb"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192018Z:b51bbe6e-7288-4d6d-81fc-5aeca147f0fb"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/d273cb11-a579-400d-8d81-aabc0f24ac75?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvY29tcHV0ZU9wZXJhdGlvblJlc3VsdHMvZDI3M2NiMTEtYTU3OS00MDBkLThkODEtYWFiYzBmMjRhYzc1P2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "48"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:20:48 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvqTgQ9blMmhz2mQ0kHp0ewBhBtR0lOunS4tZA5P5Ah64IIjdKoHQGfQDc+0GYjVl5z8NC5VjJNqprc9UxvSAuzEMO4t5xIfLPo/Y7iMpPysvtWSj1VHKiJvoLDCZtTF+ia1E8exv7XHdxBqKVXW1I"
+ ],
+ "x-ms-correlation-request-id": [
+ "b80d6c7f-03c2-48b6-9f4d-409a8a728ba4"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14172"
+ ],
+ "x-ms-request-id": [
+ "b80d6c7f-03c2-48b6-9f4d-409a8a728ba4"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192048Z:b80d6c7f-03c2-48b6-9f4d-409a8a728ba4"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01/PowerOn?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlSW5zdGFuY2VzL0F6Uy1XQVMwMS9Qb3dlck9uP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "d866a336-e5e5-465d-86eb-9e8f47673988"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:20:48 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://adminmanagement.local.azurestack.external/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/d866a336-e5e5-465d-86eb-9e8f47673988?api-version=2016-05-01"
+ ],
+ "Retry-After": [
+ "60"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvcXynrtXGXkdfoVzrbNQ5/Y97LHi+72ybMQcQQYz6uO4PlccntwP7atezhzuJ8kEIoXIRc4tlaYOVvtg19supEEcUgByuJBp6807Z4AXAuIldpLy7Nl41zu25vGv2pn2+Nm/64K7i93YwD6jX8iNg"
+ ],
+ "x-ms-correlation-request-id": [
+ "57595ded-5cce-49c9-be0d-bf77ab186fbc"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1144"
+ ],
+ "x-ms-request-id": [
+ "57595ded-5cce-49c9-be0d-bf77ab186fbc"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192048Z:57595ded-5cce-49c9-be0d-bf77ab186fbc"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/d866a336-e5e5-465d-86eb-9e8f47673988?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvY29tcHV0ZU9wZXJhdGlvblJlc3VsdHMvZDg2NmEzMzYtZTVlNS00NjVkLTg2ZWItOWU4ZjQ3NjczOTg4P2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "48"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:21:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvCsyKTi0cqgwQEx83nlQhtlxCgXplmTqJDKBUvlGGPD3iB6oJqInY9MoIHF/x00ADwzG1eoynxcyJNCmLNot0+LSpPAwPamyXdmeFoiLmGFQlV7Cn5eFhxChQBcxmEa6sjt29U6ZgKTGF9ZtQ9Qid"
+ ],
+ "x-ms-correlation-request-id": [
+ "a7107467-9e05-4133-a558-049081477230"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14166"
+ ],
+ "x-ms-request-id": [
+ "a7107467-9e05-4133-a558-049081477230"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192118Z:a7107467-9e05-4133-a558-049081477230"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01/PowerOn?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlSW5zdGFuY2VzL0F6Uy1XQVNQMDEvUG93ZXJPbj9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "a7197943-f647-415a-9ad1-66e4fd441a5e"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:21:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://adminmanagement.local.azurestack.external/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/a7197943-f647-415a-9ad1-66e4fd441a5e?api-version=2016-05-01"
+ ],
+ "Retry-After": [
+ "60"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvAc2/pUFTbiH/wTWbMsZDqOR4Cua30sAhTe9KVburJy6lEzziBNYv+OB6+Ros2ZS5ZXb9PZHouVFmV4+BbNd7qbMDm/T/Yn3qeRTWIyoTSsXcMTfHDNsqElF+U41WYiASdZNhPUkc6WGpbEk52zVL"
+ ],
+ "x-ms-correlation-request-id": [
+ "d433318f-ed63-4663-82ca-3f0a85708ba5"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1143"
+ ],
+ "x-ms-request-id": [
+ "d433318f-ed63-4663-82ca-3f0a85708ba5"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192118Z:d433318f-ed63-4663-82ca-3f0a85708ba5"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/a7197943-f647-415a-9ad1-66e4fd441a5e?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvY29tcHV0ZU9wZXJhdGlvblJlc3VsdHMvYTcxOTc5NDMtZjY0Ny00MTVhLTlhZDEtNjZlNGZkNDQxYTVlP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "48"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:21:48 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvDhOR+B77Dr0CZjNbMAlSV86FA0rHbndVGhdJ3VssgeQYFNRc4CFpxyhf6vmRZLyUEl7IatHO1ZeTvckRHa9n28BwdoxJt9WWGh6p3VyPREw1sdifAvlBfmpPBobiLcxWUFugYBv3jHQ0N3ZG2U2Z"
+ ],
+ "x-ms-correlation-request-id": [
+ "26561b88-a0e3-4dbf-b25d-11e1e0ebddb7"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14162"
+ ],
+ "x-ms-request-id": [
+ "26561b88-a0e3-4dbf-b25d-11e1e0ebddb7"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192148Z:26561b88-a0e3-4dbf-b25d-11e1e0ebddb7"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01/PowerOn?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlSW5zdGFuY2VzL0F6Uy1YcnAwMS9Qb3dlck9uP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "96b20385-b33f-4227-922e-1174321b53ac"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:21:48 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://adminmanagement.local.azurestack.external/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/96b20385-b33f-4227-922e-1174321b53ac?api-version=2016-05-01"
+ ],
+ "Retry-After": [
+ "60"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv9WIFuQN4mICeKu+V4QfhUNjVD3dtbssgmsKwiSYRbT8OxtdxDmdQ21YLb+OnSSQitU0rmhpnX5Vv90PD58hhUOxb/1SwlbFMCm9ihPNBuPNE6oeJO7yVnHPrqMCYEy/O0RWkpORR9YFgryMAoNNY"
+ ],
+ "x-ms-correlation-request-id": [
+ "ed022eb7-ed2b-4f65-9601-845dd0ed62f8"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1142"
+ ],
+ "x-ms-request-id": [
+ "ed022eb7-ed2b-4f65-9601-845dd0ed62f8"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192148Z:ed022eb7-ed2b-4f65-9601-845dd0ed62f8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/96b20385-b33f-4227-922e-1174321b53ac?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvY29tcHV0ZU9wZXJhdGlvblJlc3VsdHMvOTZiMjAzODUtYjMzZi00MjI3LTkyMmUtMTE3NDMyMWI1M2FjP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "48"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvzAzsF1jJr9dcj2MsXHSjKBbJ+ztUOkVpis2h3Rujamx6XmeqR4PDmF4zVSPpgHDBSEMa8w3gfZMRPMl4qQDJeI+qyaWTRnQG2BoUpdTPvHNGYYk3Q/XmlyRH9TKKs5Nkhh2mu/sImtx+UiSF1nxU"
+ ],
+ "x-ms-correlation-request-id": [
+ "6250c8dd-99bd-493b-93c7-9ed8a89c0ae5"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14159"
+ ],
+ "x-ms-request-id": [
+ "6250c8dd-99bd-493b-93c7-9ed8a89c0ae5"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192218Z:6250c8dd-99bd-493b-93c7-9ed8a89c0ae5"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestInfraRoleInstanceRebootOnTenantVM.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestInfraRoleInstanceRebootOnTenantVM.json
new file mode 100644
index 000000000000..406b32669aff
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestInfraRoleInstanceRebootOnTenantVM.json
@@ -0,0 +1,139 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/502828aa-de3a-4ba9-a66c-5ae6d49589d7/Reboot?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlSW5zdGFuY2VzLzUwMjgyOGFhLWRlM2EtNGJhOS1hNjZjLTVhZTZkNDk1ODlkNy9SZWJvb3Q/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "40c22b8f-0121-4458-94e4-2b4bd11bea07"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:13:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://adminmanagement.local.azurestack.external/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/40c22b8f-0121-4458-94e4-2b4bd11bea07?api-version=2016-05-01"
+ ],
+ "Retry-After": [
+ "60"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv0BNHuMZVj+43NP4RHueqBMsZ1m7M8VL+g0OJml2KIncNrrRTE/YrPxxKvDZw445+FZ/lx+s5DI3DP1qpMcBlJKO5sdt1zDmyyR3clhFJKAf3O8yKPWGV6zH65wckjT/ATMkmvzSRqrG8LVGqvle9"
+ ],
+ "x-ms-correlation-request-id": [
+ "b5c317ba-9a27-47c7-8902-c2821e40f161"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1145"
+ ],
+ "x-ms-request-id": [
+ "b5c317ba-9a27-47c7-8902-c2821e40f161"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191318Z:b5c317ba-9a27-47c7-8902-c2821e40f161"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/40c22b8f-0121-4458-94e4-2b4bd11bea07?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvY29tcHV0ZU9wZXJhdGlvblJlc3VsdHMvNDBjMjJiOGYtMDEyMS00NDU4LTk0ZTQtMmI0YmQxMWJlYTA3P2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"AggregateException\",\r\n \"message\": \"One or more errors occurred.\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Failed\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "124"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Connection": [
+ "close"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:14:08 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvuiDYIT5eoh9mQqVujBoevJwQVyBTVBxK3mSUDtZMdMdkSBynaSI6vczPaHcAMXnrRu85RBLvjQStqCXEXiUuwSI8CxVHMACb08No1u7a/zYbJEvYCqgWM+4BmFrqHkteutJZccbwtUKXOKgwfFAV"
+ ],
+ "x-ms-correlation-request-id": [
+ "9a298fb1-3c52-42d1-ac99-29cc596576a5"
+ ],
+ "x-ms-failure-cause": [
+ "service"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14109"
+ ],
+ "x-ms-request-id": [
+ "9a298fb1-3c52-42d1-ac99-29cc596576a5"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191408Z:9a298fb1-3c52-42d1-ac99-29cc596576a5"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 500
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestInfraRoleInstanceShutdownOnTenantVM.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestInfraRoleInstanceShutdownOnTenantVM.json
new file mode 100644
index 000000000000..5f120766cfe1
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestInfraRoleInstanceShutdownOnTenantVM.json
@@ -0,0 +1,139 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/502828aa-de3a-4ba9-a66c-5ae6d49589d7/Shutdown?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlSW5zdGFuY2VzLzUwMjgyOGFhLWRlM2EtNGJhOS1hNjZjLTVhZTZkNDk1ODlkNy9TaHV0ZG93bj9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "5b63de92-2c52-4005-b8e4-49f4db25f023"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:15:43 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://adminmanagement.local.azurestack.external/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/5b63de92-2c52-4005-b8e4-49f4db25f023?api-version=2016-05-01"
+ ],
+ "Retry-After": [
+ "60"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvUitpKYWDYtFIcj33Ufilt9D+pVf9kC8dW13nKeiiq93jvPJ1ESmrYkQ+iwr/Z7bqpPunI5UJIBAMnG/eAjyYFf5JGXEQjAWYtx8H61Wzhl6+IAcT9u9FIu8xvju42J7XFbxwsLiNG40oInWIkyvg"
+ ],
+ "x-ms-correlation-request-id": [
+ "191984b2-494b-4400-b7e6-50e4090352e6"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1146"
+ ],
+ "x-ms-request-id": [
+ "191984b2-494b-4400-b7e6-50e4090352e6"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191543Z:191984b2-494b-4400-b7e6-50e4090352e6"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/5b63de92-2c52-4005-b8e4-49f4db25f023?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvY29tcHV0ZU9wZXJhdGlvblJlc3VsdHMvNWI2M2RlOTItMmM1Mi00MDA1LWI4ZTQtNDlmNGRiMjVmMDIzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"AggregateException\",\r\n \"message\": \"One or more errors occurred.\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Failed\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "124"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Connection": [
+ "close"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:16:33 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvXhvERgzrUZMNzJRbzXcQZCzadHMmZXtDw69oJSg2YVhv4Itdr3VAE6GY6j/gzGCK53S/5xJXaQImszID+/htqgEbqBFHvX3U5f9Ll6tMKsLJBIXOqXDVaShGLpCfX1FYZLcR8Rg/yJOLneyVjqLZ"
+ ],
+ "x-ms-correlation-request-id": [
+ "ae460616-e00a-4797-b994-7f1038b959e2"
+ ],
+ "x-ms-failure-cause": [
+ "service"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14152"
+ ],
+ "x-ms-request-id": [
+ "ae460616-e00a-4797-b994-7f1038b959e2"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191633Z:ae460616-e00a-4797-b994-7f1038b959e2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 500
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListEdgeGatewayPools.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListEdgeGatewayPools.json
new file mode 100644
index 000000000000..ed48a90512f7
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListEdgeGatewayPools.json
@@ -0,0 +1,72 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/edgeGatewayPools?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvZWRnZUdhdGV3YXlQb29scz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "e6008eb7-5b22-41d4-95c2-ac6879ff2537"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/edgeGatewayPools/default\",\r\n \"name\": \"default\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/edgeGatewayPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"gatewayType\": \"S2sIPsec\",\r\n \"numberOfGateways\": 1,\r\n \"redundantGatewayCount\": 0,\r\n \"gatewayCapacityKiloBitsPerSecond\": 100000000,\r\n \"publicIpAddress\": \"00000000-5555-0000-0001-000000000000\",\r\n \"edgeGateways\": [\r\n \"AzS-Gwy01\"\r\n ]\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "509"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:13:17 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRviSdSY/lLp4v+yquP3EPr4PwzZDIy6Td/rGFuFUHGefTED0RY3m3DBqG0VikKzkuPNCvGy3nQN1Fmie7uObJp6sKfULbebuKgsVJHK+nn3Noqtk9Rd77akSq/x2gqlvAEO0SZVf/fVzO78Fn9LMZX"
+ ],
+ "x-ms-correlation-request-id": [
+ "886c2165-2793-4102-9839-1bb0a4cf8814"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14137"
+ ],
+ "x-ms-request-id": [
+ "886c2165-2793-4102-9839-1bb0a4cf8814"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191317Z:886c2165-2793-4102-9839-1bb0a4cf8814"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListEdgeGateways.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListEdgeGateways.json
new file mode 100644
index 000000000000..4ed21c0b4a21
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListEdgeGateways.json
@@ -0,0 +1,72 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/edgeGateways?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvZWRnZUdhdGV3YXlzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "e1fd95a2-3a04-43e5-8845-a9803468e1d4"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/edgeGateways/AzS-Gwy01\",\r\n \"name\": \"AzS-Gwy01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/edgeGateways\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"state\": \"Active\",\r\n \"totalCapacity\": 100000000,\r\n \"availableCapacity\": 100000000,\r\n \"numberOfConnections\": 0\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "399"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:22 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvtSd4qWECh1iW/gLjPJa0lUcIXX4CCpxbnln2RJcI3yfQTKhKfcl9TnJi9NueCl3hSXXoiL/RZNT+9Hwn4SDXxo/Ea5WELAsncFNktXRVd78arHHbXCMFBRaDl3rSfnItLcJiEBDDTOu/kvOF5ibo"
+ ],
+ "x-ms-correlation-request-id": [
+ "15544d1a-7434-4518-ad3e-9864493646c6"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14090"
+ ],
+ "x-ms-request-id": [
+ "15544d1a-7434-4518-ad3e-9864493646c6"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192222Z:15544d1a-7434-4518-ad3e-9864493646c6"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListFabricLocations.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListFabricLocations.json
new file mode 100644
index 000000000000..8e6e04f8875c
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListFabricLocations.json
@@ -0,0 +1,72 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "e38f4663-ec59-4596-b0bb-33e0b1a17524"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {}\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "263"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:21 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv09dg3jxe6YFjzeW2p3C+66UW6S9dqYBvixiYj+xyFn1VR5OCERHfrHViQIsDNdONHeVwc6cTfNYA7wxs2R2t96j6Erm90huL3i5eUnQHa0tSkxuxvWiX5nrJMngB1NuMXNOI02VBM2iWY+47HaAV"
+ ],
+ "x-ms-correlation-request-id": [
+ "5f9b42a8-fa43-4712-aab8-22e91c59d5aa"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14108"
+ ],
+ "x-ms-request-id": [
+ "5f9b42a8-fa43-4712-aab8-22e91c59d5aa"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192221Z:5f9b42a8-fa43-4712-aab8-22e91c59d5aa"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListFileShares.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListFileShares.json
new file mode 100644
index 000000000000..a50868046f26
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListFileShares.json
@@ -0,0 +1,72 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvZmlsZVNoYXJlcz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "ce4128eb-889a-4c2b-b55a-51c45e8fc67f"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_Infrastructure_1\",\r\n \"name\": \"SU1_Infrastructure_1\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/fileShares\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"associatedVolume\": \"a42d219b\",\r\n \"uncPath\": \"\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_Infrastructure_1\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_Infrastructure_2\",\r\n \"name\": \"SU1_Infrastructure_2\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/fileShares\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"associatedVolume\": \"a42d219b\",\r\n \"uncPath\": \"\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_Infrastructure_2\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_Infrastructure_3\",\r\n \"name\": \"SU1_Infrastructure_3\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/fileShares\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"associatedVolume\": \"a42d219b\",\r\n \"uncPath\": \"\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_Infrastructure_3\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_ObjStore\",\r\n \"name\": \"SU1_ObjStore\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/fileShares\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"associatedVolume\": \"a42d219b\",\r\n \"uncPath\": \"\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_ObjStore\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_Public\",\r\n \"name\": \"SU1_Public\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/fileShares\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"associatedVolume\": \"a42d219b\",\r\n \"uncPath\": \"\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_Public\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_VmTemp\",\r\n \"name\": \"SU1_VmTemp\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/fileShares\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"associatedVolume\": \"a42d219b\",\r\n \"uncPath\": \"\\\\\\\\SU1FileServer.azurestack.local\\\\SU1_VmTemp\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "2375"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:19 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvHHZ9G/J7SMNQ5HPA5YH5zilw1Rx+rIKYm9VhfdMCNMR/2a276zEY0DDmdFEX7kQl7Aqh9E7VlVXhFf4RgGpCVukg2gwPyi0sSTTUme21iBcP2694eH7Qe5kEPgnDN9jfnoqV3UUC1gtXF+W2ZSQL"
+ ],
+ "x-ms-correlation-request-id": [
+ "c3b319fd-eb99-4650-b2f6-237bd2648877"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14128"
+ ],
+ "x-ms-request-id": [
+ "c3b319fd-eb99-4650-b2f6-237bd2648877"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192220Z:c3b319fd-eb99-4650-b2f6-237bd2648877"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListInfraRoleInstances.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListInfraRoleInstances.json
new file mode 100644
index 000000000000..7179f57ce28e
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListInfraRoleInstances.json
@@ -0,0 +1,72 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlSW5zdGFuY2VzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "49623e58-ab37-440a-850e-a8bc04def71b"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ACS01\",\r\n \"name\": \"AzS-ACS01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 8.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ADFS01\",\r\n \"name\": \"AzS-ADFS01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 2.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-BGPNAT01\",\r\n \"name\": \"AzS-BGPNAT01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 2.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-CA01\",\r\n \"name\": \"AzS-CA01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 1.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Gwy01\",\r\n \"name\": \"AzS-Gwy01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 2.0,\r\n \"cores\": 4\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-NC01\",\r\n \"name\": \"AzS-NC01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 4.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-SLB01\",\r\n \"name\": \"AzS-SLB01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 2.0,\r\n \"cores\": 4\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Sql01\",\r\n \"name\": \"AzS-Sql01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 4.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\",\r\n \"name\": \"AzS-WAS01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 4.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01\",\r\n \"name\": \"AzS-WASP01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 8.0,\r\n \"cores\": 2\r\n },\r\n \"state\": \"Running\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\",\r\n \"name\": \"AzS-Xrp01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnit\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"scaleUnitNode\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"size\": {\r\n \"memoryGb\": 8.0,\r\n \"cores\": 4\r\n },\r\n \"state\": \"Running\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "7772"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:13:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvh6tYYPtRSBkSjuA8fTIzAZG3V7oo4frGh1qvu2SnmyoBrBVx6LuVzkuw14d+jyEvn3ngORBjUU6ciQH4eYxz8MTEmkfdXGBMYoffjug4ct5MuWAzKCULp+GzS/rcHqCWaIG9hFM3UT0i0Cx4pDRk"
+ ],
+ "x-ms-correlation-request-id": [
+ "c4d0ce19-9404-4809-a00c-32bba8d63a1e"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14116"
+ ],
+ "x-ms-request-id": [
+ "c4d0ce19-9404-4809-a00c-32bba8d63a1e"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191318Z:c4d0ce19-9404-4809-a00c-32bba8d63a1e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListInfraRoles.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListInfraRoles.json
new file mode 100644
index 000000000000..2499dc1ef1e4
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListInfraRoles.json
@@ -0,0 +1,72 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaW5mcmFSb2xlcz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "507056bc-3d52-4d4f-abdf-397fc7c92aa0"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Active Directory Federation Services\",\r\n \"name\": \"Active Directory Federation Services\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ADFS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Authorization service (Administrator)\",\r\n \"name\": \"Authorization service (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Authorization service (User)\",\r\n \"name\": \"Authorization service (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Azure bridge\",\r\n \"name\": \"Azure bridge\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Azure Resource Manager (Administrator)\",\r\n \"name\": \"Azure Resource Manager (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Azure Resource Manager (User)\",\r\n \"name\": \"Azure Resource Manager (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Backup controller\",\r\n \"name\": \"Backup controller\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ERCS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Backup Restore Resource Provider\",\r\n \"name\": \"Backup Restore Resource Provider\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Capacity\",\r\n \"name\": \"Capacity\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Certificate management\",\r\n \"name\": \"Certificate management\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-CA01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Compute\",\r\n \"name\": \"Compute\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Compute controller\",\r\n \"name\": \"Compute controller\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Directory management\",\r\n \"name\": \"Directory management\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-DC01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Edge gateway\",\r\n \"name\": \"Edge gateway\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Gwy01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Gallery service (Administrator)\",\r\n \"name\": \"Gallery service (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Gallery service (User)\",\r\n \"name\": \"Gallery service (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Health controller\",\r\n \"name\": \"Health controller\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Infrastructure deployment\",\r\n \"name\": \"Infrastructure deployment\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ERCS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Infrastructure management controller\",\r\n \"name\": \"Infrastructure management controller\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Infrastructure role controller\",\r\n \"name\": \"Infrastructure role controller\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Insights service (Administrator)\",\r\n \"name\": \"Insights service (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Insights service (User)\",\r\n \"name\": \"Insights service (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Internal data store\",\r\n \"name\": \"Internal data store\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Sql01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key Vault\",\r\n \"name\": \"Key Vault\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key Vault controller (Administrator)\",\r\n \"name\": \"Key Vault controller (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key Vault controller (User)\",\r\n \"name\": \"Key Vault controller (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key Vault name manager\",\r\n \"name\": \"Key Vault name manager\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key Vault service (Administrator)\",\r\n \"name\": \"Key Vault service (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key Vault service (User)\",\r\n \"name\": \"Key Vault service (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Load balancer multiplexer\",\r\n \"name\": \"Load balancer multiplexer\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-SLB01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Network\",\r\n \"name\": \"Network\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Network controller\",\r\n \"name\": \"Network controller\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-NC01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Partition request broker (Administrator)\",\r\n \"name\": \"Partition request broker (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Partition request broker (User)\",\r\n \"name\": \"Partition request broker (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Portal (Administrator)\",\r\n \"name\": \"Portal (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Portal (User)\",\r\n \"name\": \"Portal (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Privileged endpoint\",\r\n \"name\": \"Privileged endpoint\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ERCS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Region Management\",\r\n \"name\": \"Region Management\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Storage\",\r\n \"name\": \"Storage\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Storage controller\",\r\n \"name\": \"Storage controller\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Storage services\",\r\n \"name\": \"Storage services\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ACS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Subscriptions service\",\r\n \"name\": \"Subscriptions service\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Updates\",\r\n \"name\": \"Updates\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Usage Bridge host\",\r\n \"name\": \"Usage Bridge host\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Usage service (Administrator)\",\r\n \"name\": \"Usage service (Administrator)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Usage service (User)\",\r\n \"name\": \"Usage service (User)\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/infraRoles\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"instances\": [\r\n \"subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01\"\r\n ]\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "22684"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:03 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvLrlVcYhEWddCY1ctd/A5VI51sTcRUsWnbfTGxvKCqTfmz+SE1kTAuO5TH/Q4ABeFvErygmO0F9D+T5B4YkRhw6GG7cySOO7TsJ74S6Rp72XvrDX9YP8G1aJwtGP/bjTXvxKonEBPINi7UxLCnOR1"
+ ],
+ "x-ms-correlation-request-id": [
+ "29875e7f-ba17-4e36-99ed-a8271493049f"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14166"
+ ],
+ "x-ms-request-id": [
+ "29875e7f-ba17-4e36-99ed-a8271493049f"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190904Z:29875e7f-ba17-4e36-99ed-a8271493049f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListIpPools.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListIpPools.json
new file mode 100644
index 000000000000..8ca227b2d20f
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListIpPools.json
@@ -0,0 +1,72 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvaXBQb29scz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "84ff9043-ff97-4b57-bb38-44bc63f58be7"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/08786a0f-ad8c-43aa-a154-06083abfc1ac\",\r\n \"name\": \"08786a0f-ad8c-43aa-a154-06083abfc1ac\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/ipPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"startIpAddress\": \"192.168.105.1\",\r\n \"endIpAddress\": \"192.168.105.255\",\r\n \"numberOfIpAddresses\": 255,\r\n \"numberOfAllocatedIpAddresses\": 8,\r\n \"numberOfIpAddressesInTransition\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/75e93974-f451-468d-bbc2-8a388a938344\",\r\n \"name\": \"75e93974-f451-468d-bbc2-8a388a938344\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/ipPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"startIpAddress\": \"192.168.200.112\",\r\n \"endIpAddress\": \"192.168.200.127\",\r\n \"numberOfIpAddresses\": 16,\r\n \"numberOfAllocatedIpAddresses\": 1,\r\n \"numberOfIpAddressesInTransition\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/7c9d2d8a-e243-4d4d-b635-9545ba2bd8a8\",\r\n \"name\": \"7c9d2d8a-e243-4d4d-b635-9545ba2bd8a8\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/ipPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"startIpAddress\": \"192.168.200.65\",\r\n \"endIpAddress\": \"192.168.200.111\",\r\n \"numberOfIpAddresses\": 47,\r\n \"numberOfAllocatedIpAddresses\": 0,\r\n \"numberOfIpAddressesInTransition\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/a09498cb-d6b3-4d6e-9c3d-0caea30cfb58\",\r\n \"name\": \"a09498cb-d6b3-4d6e-9c3d-0caea30cfb58\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/ipPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"startIpAddress\": \"192.168.200.1\",\r\n \"endIpAddress\": \"192.168.200.62\",\r\n \"numberOfIpAddresses\": 62,\r\n \"numberOfAllocatedIpAddresses\": 1,\r\n \"numberOfIpAddressesInTransition\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/a8dee838-b2b7-4648-8a00-2c61ff8ffde6\",\r\n \"name\": \"a8dee838-b2b7-4648-8a00-2c61ff8ffde6\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/ipPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"startIpAddress\": \"192.168.102.1\",\r\n \"endIpAddress\": \"192.168.102.255\",\r\n \"numberOfIpAddresses\": 255,\r\n \"numberOfAllocatedIpAddresses\": 31,\r\n \"numberOfIpAddressesInTransition\": 0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/c743f3e0-9fa4-4236-8c3d-a0f8ad945fb4\",\r\n \"name\": \"c743f3e0-9fa4-4236-8c3d-a0f8ad945fb4\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/ipPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"startIpAddress\": \"192.168.200.224\",\r\n \"endIpAddress\": \"192.168.200.254\",\r\n \"numberOfIpAddresses\": 31,\r\n \"numberOfAllocatedIpAddresses\": 1,\r\n \"numberOfIpAddressesInTransition\": 0\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "2988"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:20 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv6HdLAOhlKHp2f0nYnlUQVK8Zf0HqSvx9I+7ZS05l69RJEZk1BQbYZ7et7y6Z1h/VmQa2It70WyyqCVN46XvMCQ7VNbPGJNuKvkvR55sQvwvVFSuZ3dHXLroXZR/bZ9pS6MxIX470Gt6vfsoRlxNT"
+ ],
+ "x-ms-correlation-request-id": [
+ "83ab6425-9100-4337-ab9b-f2978b4f42a1"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14113"
+ ],
+ "x-ms-request-id": [
+ "83ab6425-9100-4337-ab9b-f2978b4f42a1"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192221Z:83ab6425-9100-4337-ab9b-f2978b4f42a1"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListLogicalNetworks.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListLogicalNetworks.json
new file mode 100644
index 000000000000..5c47e50991d9
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListLogicalNetworks.json
@@ -0,0 +1,72 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbG9naWNhbE5ldHdvcmtzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "52ca4c61-d4e9-44c7-8308-9799eac4f3da"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/00000000-2222-1111-9999-000000000001\",\r\n \"name\": \"00000000-2222-1111-9999-000000000001\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"d8cfef2d-c0c8-4cdb-b0a8-fb1bdf3f2ad7\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/47931036-2874-4d45-b1f1-b69666088968\",\r\n \"name\": \"47931036-2874-4d45-b1f1-b69666088968\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"64311075-3ae7-4327-bafa-2c58804addb7\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/B60B71AA-36BF-40AC-A9CE-A6915D1EAE1A\",\r\n \"name\": \"B60B71AA-36BF-40AC-A9CE-A6915D1EAE1A\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"1ee6e531-b000-412c-bba7-2d6d6f257ac4\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/bb6c6f28-bad9-441b-8e62-57d2be255904\",\r\n \"name\": \"bb6c6f28-bad9-441b-8e62-57d2be255904\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": true,\r\n \"subnets\": [\r\n \"be20afa7-2ada-4261-a12a-4e48498223cf\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/F207C184-367C-4BC7-8C74-03AA39D68C24\",\r\n \"name\": \"F207C184-367C-4BC7-8C74-03AA39D68C24\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"d43d2881-3aad-40c9-b207-4280a9b3b699\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/f8f67956-3906-4303-94c5-09cf91e7e311\",\r\n \"name\": \"f8f67956-3906-4303-94c5-09cf91e7e311\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"9ec2eb29-6d47-4e22-a322-eb575c16937a\"\r\n ]\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "2644"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:22 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvzfPg1EQTrlc7LrgjcmUYley4J3d5DcuVGE0la6p90bgxQWq0txPPqaYqG6PwXx3KajudMSGzs7iOaWtjD0ZhD3WFra9i/6AbJa5tqjMKkkzKPClyJIeyiMjy5kDDo4p8kPGsFuDG7LQrGKlO0boa"
+ ],
+ "x-ms-correlation-request-id": [
+ "0d365853-7c3a-4d2b-a073-89b84bc66234"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14082"
+ ],
+ "x-ms-request-id": [
+ "0d365853-7c3a-4d2b-a073-89b84bc66234"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192223Z:0d365853-7c3a-4d2b-a073-89b84bc66234"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListLogicalSubnets.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListLogicalSubnets.json
new file mode 100644
index 000000000000..4a2623a0977d
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListLogicalSubnets.json
@@ -0,0 +1,456 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbG9naWNhbE5ldHdvcmtzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "bf8ae79e-7fde-41b7-ad54-02f636595589"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/00000000-2222-1111-9999-000000000001\",\r\n \"name\": \"00000000-2222-1111-9999-000000000001\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"d8cfef2d-c0c8-4cdb-b0a8-fb1bdf3f2ad7\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/47931036-2874-4d45-b1f1-b69666088968\",\r\n \"name\": \"47931036-2874-4d45-b1f1-b69666088968\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"64311075-3ae7-4327-bafa-2c58804addb7\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/B60B71AA-36BF-40AC-A9CE-A6915D1EAE1A\",\r\n \"name\": \"B60B71AA-36BF-40AC-A9CE-A6915D1EAE1A\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"1ee6e531-b000-412c-bba7-2d6d6f257ac4\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/bb6c6f28-bad9-441b-8e62-57d2be255904\",\r\n \"name\": \"bb6c6f28-bad9-441b-8e62-57d2be255904\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": true,\r\n \"subnets\": [\r\n \"be20afa7-2ada-4261-a12a-4e48498223cf\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/F207C184-367C-4BC7-8C74-03AA39D68C24\",\r\n \"name\": \"F207C184-367C-4BC7-8C74-03AA39D68C24\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"d43d2881-3aad-40c9-b207-4280a9b3b699\"\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/f8f67956-3906-4303-94c5-09cf91e7e311\",\r\n \"name\": \"f8f67956-3906-4303-94c5-09cf91e7e311\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"networkVirtualizationEnabled\": false,\r\n \"subnets\": [\r\n \"9ec2eb29-6d47-4e22-a322-eb575c16937a\"\r\n ]\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "2644"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvEVAWrz7bbBdQ8C+L68W8pfl6JQhlXYs7EpUfKoGh+UZvyF2PKtINtJHVdj5VFfktDaQYYNpXuI+0Hn5OVNvAd47H/PGiSuXdeqIpARLVNdyV6Ln4LDd/Udwl2tJKlAdjYx+pCVI+BnSUZeZ7fQoD"
+ ],
+ "x-ms-correlation-request-id": [
+ "764fd0cf-bdc7-4c97-8921-bfc8afca87ba"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14158"
+ ],
+ "x-ms-request-id": [
+ "764fd0cf-bdc7-4c97-8921-bfc8afca87ba"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192218Z:764fd0cf-bdc7-4c97-8921-bfc8afca87ba"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/00000000-2222-1111-9999-000000000001/logicalSubnets?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbG9naWNhbE5ldHdvcmtzLzAwMDAwMDAwLTIyMjItMTExMS05OTk5LTAwMDAwMDAwMDAwMS9sb2dpY2FsU3VibmV0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "4d6a8df1-c9e0-42ce-8010-462d03962b84"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/00000000-2222-1111-9999-000000000001/logicalSubnets/d8cfef2d-c0c8-4cdb-b0a8-fb1bdf3f2ad7\",\r\n \"name\": \"d8cfef2d-c0c8-4cdb-b0a8-fb1bdf3f2ad7\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks/logicalSubnets\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"ipPools\": [\r\n \"2ce37b2a-3da0-493c-9eb5-b95054fc71f4\"\r\n ],\r\n \"isPublic\": false\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "497"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv1zfqJEKILc5JiB7PtmTjZr2PaXhH0ZEHwjwG5pmHiNRaOqCHj2D6AYmWJ6lhAcY/HALE+kMG9XzONhWlJF2PFjtoXIwUQC+YJwgsmi5PylDPRnlPLGKj/9093NXTpoTzxDIP4hgVL5d8N6dlmS9I"
+ ],
+ "x-ms-correlation-request-id": [
+ "84a015b3-576b-4855-bf11-85bd0e55d3c2"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14157"
+ ],
+ "x-ms-request-id": [
+ "84a015b3-576b-4855-bf11-85bd0e55d3c2"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192218Z:84a015b3-576b-4855-bf11-85bd0e55d3c2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/47931036-2874-4d45-b1f1-b69666088968/logicalSubnets?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbG9naWNhbE5ldHdvcmtzLzQ3OTMxMDM2LTI4NzQtNGQ0NS1iMWYxLWI2OTY2NjA4ODk2OC9sb2dpY2FsU3VibmV0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "1c0db41f-32d4-41c4-af79-d214b883786c"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/47931036-2874-4d45-b1f1-b69666088968/logicalSubnets/64311075-3ae7-4327-bafa-2c58804addb7\",\r\n \"name\": \"64311075-3ae7-4327-bafa-2c58804addb7\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks/logicalSubnets\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"ipPools\": [\r\n \"f1be0e18-b532-44e7-acc0-fbf4eab527de\",\r\n \"9b53eaf9-d03d-41ed-a9e4-d75e0d79373a\",\r\n \"4c4d948f-1f77-4536-8160-83b859c21961\",\r\n \"d7a27cd0-fe49-420c-93a9-f589f7a07cf7\",\r\n \"90d3b095-998c-484e-946a-52350d5b5758\",\r\n \"67cf8315-07d7-4a24-9681-10b3a3666f7e\",\r\n \"5770d013-e458-46f4-8a11-06ba9e90ee9c\"\r\n ],\r\n \"isPublic\": false\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "731"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv6aGt3kiJzf99SZ5LJiL7Mg3ty+SmWOMCcgGX1i7PMyGxOJM8b3NyjbsgIsaHgtmMWN7HDOr1cDvYmD1KPD5XYYP6IvjYn+h6BKBteEJAl81haJhhPHBuLwBVuaGkxY0Az90OD3Bz5iDN1Mxwo8xc"
+ ],
+ "x-ms-correlation-request-id": [
+ "34462cab-342d-45cb-8f1d-80fc41ee320e"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14156"
+ ],
+ "x-ms-request-id": [
+ "34462cab-342d-45cb-8f1d-80fc41ee320e"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192218Z:34462cab-342d-45cb-8f1d-80fc41ee320e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/B60B71AA-36BF-40AC-A9CE-A6915D1EAE1A/logicalSubnets?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbG9naWNhbE5ldHdvcmtzL0I2MEI3MUFBLTM2QkYtNDBBQy1BOUNFLUE2OTE1RDFFQUUxQS9sb2dpY2FsU3VibmV0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "5d93c0ae-8959-4c69-a784-6ab581bf65f9"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/B60B71AA-36BF-40AC-A9CE-A6915D1EAE1A/logicalSubnets/1ee6e531-b000-412c-bba7-2d6d6f257ac4\",\r\n \"name\": \"1ee6e531-b000-412c-bba7-2d6d6f257ac4\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks/logicalSubnets\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"ipPools\": [\r\n \"7fad6f9f-b3de-4336-922d-febe4b1743d1\",\r\n \"98fc9878-4a0b-4ffb-b82a-56b0b548fa75\",\r\n \"8fb5a173-8197-4b10-bf02-0ba006863c90\",\r\n \"b4a6c6b8-5680-4ccb-ae64-35211f235363\",\r\n \"9432d3dd-203a-4792-b65c-d3a1bad48cad\",\r\n \"bb4c5c7a-47d8-4f35-9ee4-2eea26fd4536\",\r\n \"31866284-e6f7-41c7-a9b7-787ef7b645f6\"\r\n ],\r\n \"isPublic\": false\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "731"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv6DNnIPxBEZu/2KZiZsvHGp9mRYg9KpL5pAcQs8a6q7Kg0JTwY0OEh0mx1atDwmps0Ougldp8uBJ/uqmwwjHLn5rgp93R96ovYQJ3l95Zuv2KyA5RzwEQYfyFWix0/ObaTj4UVrGajkeBZHpLZLVs"
+ ],
+ "x-ms-correlation-request-id": [
+ "d5aceb74-3536-4b31-9b7f-5e4770ba653f"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14155"
+ ],
+ "x-ms-request-id": [
+ "d5aceb74-3536-4b31-9b7f-5e4770ba653f"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192218Z:d5aceb74-3536-4b31-9b7f-5e4770ba653f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/bb6c6f28-bad9-441b-8e62-57d2be255904/logicalSubnets?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbG9naWNhbE5ldHdvcmtzL2JiNmM2ZjI4LWJhZDktNDQxYi04ZTYyLTU3ZDJiZTI1NTkwNC9sb2dpY2FsU3VibmV0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "d84c469f-e4d9-450a-8c65-fdc2ec718c93"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/bb6c6f28-bad9-441b-8e62-57d2be255904/logicalSubnets/be20afa7-2ada-4261-a12a-4e48498223cf\",\r\n \"name\": \"be20afa7-2ada-4261-a12a-4e48498223cf\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks/logicalSubnets\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"ipPools\": [],\r\n \"isPublic\": false\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "459"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvPLfdfQxYBQPCC6W2eFykSAnun4k0/lzoYgg2xrcXttLBYDd1tO4FaxZOopJKMkJxP33C5tufLrM20vimo2T4kqGZce8wE7SM7CIJ06/3mOq+1tOiskZWeo4L2TWKnWCv4TOvvX/yaiubG7P/EkiJ"
+ ],
+ "x-ms-correlation-request-id": [
+ "32f0f77c-70aa-428b-b59f-90f17f00eb89"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14154"
+ ],
+ "x-ms-request-id": [
+ "32f0f77c-70aa-428b-b59f-90f17f00eb89"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192218Z:32f0f77c-70aa-428b-b59f-90f17f00eb89"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/F207C184-367C-4BC7-8C74-03AA39D68C24/logicalSubnets?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbG9naWNhbE5ldHdvcmtzL0YyMDdDMTg0LTM2N0MtNEJDNy04Qzc0LTAzQUEzOUQ2OEMyNC9sb2dpY2FsU3VibmV0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "bf67f036-e603-4933-a7f9-f1d5e4fe4a15"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/F207C184-367C-4BC7-8C74-03AA39D68C24/logicalSubnets/d43d2881-3aad-40c9-b207-4280a9b3b699\",\r\n \"name\": \"d43d2881-3aad-40c9-b207-4280a9b3b699\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks/logicalSubnets\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"ipPools\": [\r\n \"57018ee5-6818-4c55-828e-d99f7cb5d8a3\"\r\n ],\r\n \"isPublic\": false\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "497"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvYLQSS2iRlYUg6OFZSoKapR+Lh85Td0e1tYMvTdI/olf70FKeVWt/r0fc7N+mJSflSpbME0p9p6op6Qf+EMnNDnn7yPRX/u2QtDi+ZEj1cHa5d/gKvVN/63Z/GxcjrIPg6la2HdgO5YdUqjUGPsCG"
+ ],
+ "x-ms-correlation-request-id": [
+ "59fd2ed3-f0b2-4213-bc38-1332e4980e55"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14153"
+ ],
+ "x-ms-request-id": [
+ "59fd2ed3-f0b2-4213-bc38-1332e4980e55"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192218Z:59fd2ed3-f0b2-4213-bc38-1332e4980e55"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/f8f67956-3906-4303-94c5-09cf91e7e311/logicalSubnets?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbG9naWNhbE5ldHdvcmtzL2Y4ZjY3OTU2LTM5MDYtNDMwMy05NGM1LTA5Y2Y5MWU3ZTMxMS9sb2dpY2FsU3VibmV0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "a2bec009-a538-4c05-8887-1e98c46eb810"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/f8f67956-3906-4303-94c5-09cf91e7e311/logicalSubnets/9ec2eb29-6d47-4e22-a322-eb575c16937a\",\r\n \"name\": \"9ec2eb29-6d47-4e22-a322-eb575c16937a\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/logicalNetworks/logicalSubnets\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"ipPools\": [\r\n \"d7e4fca0-8c09-4ef9-8305-47f050fc79c6\",\r\n \"184ec1e4-5ba7-4440-bbec-572d69db9b2b\",\r\n \"0a6dc307-9e6d-466f-8c3c-3efea7190a78\",\r\n \"e3a512fc-797b-454e-91ff-6486ca8d597c\",\r\n \"919be20b-a450-4a2f-a4a8-2da22b2a8945\",\r\n \"a927bec5-158a-4590-a04d-73573d923a16\",\r\n \"0a61f171-94ca-4e09-bff6-a4db34c023da\",\r\n \"0c22b5a9-997c-48fb-af48-a7a6a2998aaa\",\r\n \"52a75d52-64d0-47dc-a7b4-4f650a714175\",\r\n \"87620c7b-d6bb-459f-9c90-4ce81547d921\",\r\n \"b9e4cb86-0bb9-49a3-9451-639dcc3b3de8\",\r\n \"8a4493f8-0945-4583-8658-9aef9704db3d\"\r\n ],\r\n \"isPublic\": true\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "925"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvetLSdpi+tjdaKRYDzCJt2iXdnO1txCLAQn9RCx6F0aGYdb0N5rgIbgHw+cZ5s2pQ87KRDqle7YcPqQJlYY70n3DzvYaaAO/Qt/DMysty+ypmNvU9hBJBIAMp1GhJD2QTyRRWzQVWsI2YoCSIVS+r"
+ ],
+ "x-ms-correlation-request-id": [
+ "ddd296f0-c9be-486a-9c0e-adbf9e78c218"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14152"
+ ],
+ "x-ms-request-id": [
+ "ddd296f0-c9be-486a-9c0e-adbf9e78c218"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192218Z:ddd296f0-c9be-486a-9c0e-adbf9e78c218"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListMacAddressPools.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListMacAddressPools.json
new file mode 100644
index 000000000000..dfc398c887eb
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListMacAddressPools.json
@@ -0,0 +1,72 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/macAddressPools?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvbWFjQWRkcmVzc1Bvb2xzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "3bd4c0f0-472b-449a-abf4-932eccb88a3d"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/macAddressPools/8197fd09-8a69-417e-a55c-10c2c61f5ee7\",\r\n \"name\": \"8197fd09-8a69-417e-a55c-10c2c61f5ee7\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/macAddressPools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"startMacAddress\": \"00-1D-D8-B7-1C-00\",\r\n \"endMacAddress\": \"00-1D-D8-F4-1F-FF\",\r\n \"numberOfAllocatedMacAddresses\": 2,\r\n \"numberOfAvailableMacAddresses\": 3998718\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "510"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:19 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvDTxe83wN1QrBA+TDh6pyVaI5irLjy27Ta9+LnMFjhed/3/aa1gtNavHdPVMlCfVsrfQy2lAsTVR/sDtKZ2akHmsc5eQR1C7a5enoKRIvC1Qn8GJBU1tIo2sPVBOdl1cO60y0aa5bWCxcdgSHjOFk"
+ ],
+ "x-ms-correlation-request-id": [
+ "2ba3e656-8c68-4a70-b8ec-ba10b88dd497"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14135"
+ ],
+ "x-ms-request-id": [
+ "2ba3e656-8c68-4a70-b8ec-ba10b88dd497"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192219Z:2ba3e656-8c68-4a70-b8ec-ba10b88dd497"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListScaleUnitNodes.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListScaleUnitNodes.json
new file mode 100644
index 000000000000..cc478e5762cc
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListScaleUnitNodes.json
@@ -0,0 +1,72 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "7a365648-37d1-4796-88ca-91e36b6a95ab"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"name\": \"HC1n25r2236\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnitNodes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitNodeStatus\": \"Running\",\r\n \"powerState\": \"Running\",\r\n \"scaleUnitName\": \"S-Cluster\",\r\n \"scaleUnitUri\": \"/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"canPowerOff\": false,\r\n \"macAddress\": \"24-8A-07-89-15-62\",\r\n \"capacity\": {\r\n \"memoryGB\": 255.875,\r\n \"cores\": 56\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "550"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:10:58 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv6bj9nFerYpqCuejRh68/62e2Pj3dnh5ldLaE3SYohF/ulxp8huarKcLDQeWJlP8L1zMkN3dffBh1ksRNJO7p8RrprKZfrF71PxfFjWiuEPMgHQvSu/ar/lsdSFu289RS0qB8qhjz0NqcP175WqDj"
+ ],
+ "x-ms-correlation-request-id": [
+ "03cbe130-3653-4a61-b892-06f47dbe9f78"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14163"
+ ],
+ "x-ms-request-id": [
+ "03cbe130-3653-4a61-b892-06f47dbe9f78"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191058Z:03cbe130-3653-4a61-b892-06f47dbe9f78"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListScaleUnits.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListScaleUnits.json
new file mode 100644
index 000000000000..642e6ea3e196
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListScaleUnits.json
@@ -0,0 +1,72 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "f24bd74d-6975-44fe-865b-757f3be4e46f"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"name\": \"S-Cluster\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnits\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitType\": \"HyperConverged\",\r\n \"logicalFaultDomain\": 0,\r\n \"nodes\": [\r\n \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\"\r\n ],\r\n \"state\": \"Running\",\r\n \"totalCapacity\": {\r\n \"memoryGB\": 255.875,\r\n \"cores\": 56\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "594"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:22 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvSjTfF+mWxV8HCBZ/GeLm08NboG+uwL6USxyjTkvhi/63vpvsL63xAHuq5IoSIkOnac40aYF+XN2Lrn/nd6+egiAyrjliyyS1tjwDcE4oEfjmdupuo0a1T20qL0oM/n4Jxt+oAeBg+ohipTvOYiRu"
+ ],
+ "x-ms-correlation-request-id": [
+ "3dd016fa-a792-4667-9ceb-587ca37bb553"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14087"
+ ],
+ "x-ms-request-id": [
+ "3dd016fa-a792-4667-9ceb-587ca37bb553"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192223Z:3dd016fa-a792-4667-9ceb-587ca37bb553"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListSlbMuxInstances.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListSlbMuxInstances.json
new file mode 100644
index 000000000000..58c95272de84
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListSlbMuxInstances.json
@@ -0,0 +1,72 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/slbMuxInstances?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2xiTXV4SW5zdGFuY2VzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "ac957724-03ad-43a4-9fd9-8fde3d0fc16d"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/slbMuxInstances/AzS-SLB01\",\r\n \"name\": \"AzS-SLB01\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/slbMuxInstances\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"configurationState\": \"Success\",\r\n \"virtualServer\": \"AzS-SLB01\",\r\n \"bgpPeers\": [\r\n \"BGPGateway-64000-64001\"\r\n ]\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "405"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:13:17 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvkPwLskAARdGwqRzhu/YH/zROpnxbyteprHAj/4q8I+kydt9T+sMlP2FoHClfaYzB+ibLDrp7WLRGZup3sYBfZ5D5I75FHUrgWLfAvgVF9PYHlEZ/Fnolq39RcxFxhW+NWhISjjK1ioXOmSgZWVAG"
+ ],
+ "x-ms-correlation-request-id": [
+ "e2c97ef4-8053-4885-83d1-d3bab9a9a5c2"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14124"
+ ],
+ "x-ms-request-id": [
+ "e2c97ef4-8053-4885-83d1-d3bab9a9a5c2"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191318Z:e2c97ef4-8053-4885-83d1-d3bab9a9a5c2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListStoragePools.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListStoragePools.json
new file mode 100644
index 000000000000..de0907e065e1
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListStoragePools.json
@@ -0,0 +1,136 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "a127cf6d-a057-421e-9975-4cdab3f3a25c"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local\",\r\n \"name\": \"S-Cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 2525\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "369"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:13:17 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvZhhfFOX1zy/18eYugLHbzmNRpDJ947BAkui8oyfeLAGDfpjzu6xSq09Vjwf/OfWRyX0XARBNVrTG/gMKEfAOifINUMJIt/D+X44abe7wO3IF9XskMAkjDSHSlG8utNotYMOSneW3glB0cPYIW6He"
+ ],
+ "x-ms-correlation-request-id": [
+ "36d3c960-890d-4a97-a736-d0c7fd7e959a"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14131"
+ ],
+ "x-ms-request-id": [
+ "36d3c960-890d-4a97-a736-d0c7fd7e959a"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191317Z:36d3c960-890d-4a97-a736-d0c7fd7e959a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local/storagePools?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXMvUy1DbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvc3RvcmFnZVBvb2xzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "3dd200f4-0d7e-464c-a366-35272fa5e8e7"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local/storagePools/SU1_Pool\",\r\n \"name\": \"SU1_Pool\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems/storagePools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"sizeGB\": 5614\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "377"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:13:17 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvS4Bpr/al3Ad8p2sTkBXdTOAADuDsbd46Prr9y/3frcYC7lVpPBhuiq0mSqhic2n7uLT6PDAqAoqh1qPU0X2VnZ80v4ecLqB3GPtiABYr/8hllX3H/2EHKqtGcdzHhgKMUp38zG/9JXWzurUD/8EX"
+ ],
+ "x-ms-correlation-request-id": [
+ "2a01fd73-7a66-4ae6-8e25-7bcb946089cc"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14130"
+ ],
+ "x-ms-request-id": [
+ "2a01fd73-7a66-4ae6-8e25-7bcb946089cc"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191317Z:2a01fd73-7a66-4ae6-8e25-7bcb946089cc"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListStorageSystems.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListStorageSystems.json
new file mode 100644
index 000000000000..edc064f8a602
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListStorageSystems.json
@@ -0,0 +1,72 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "f06c3994-b366-4e2b-8fb8-deaff8e2d79e"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local\",\r\n \"name\": \"S-Cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 2525\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "369"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:13:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv5OMhclseBKcLzJX+/ecSusyg1mE4M4NuLdL2B0rArHkzDDVqU/EkZziidbaw8Zh5OlL7nqgLcxfPzqc9QLGZq5smvgEGaLXOFzfIILOz7aidQS81s/eGM1PQcdV5wvPKMKo42limogC2nEabySbQ"
+ ],
+ "x-ms-correlation-request-id": [
+ "92446849-b162-4cce-b511-9dc0c57a1f93"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14119"
+ ],
+ "x-ms-request-id": [
+ "92446849-b162-4cce-b511-9dc0c57a1f93"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191318Z:92446849-b162-4cce-b511-9dc0c57a1f93"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListVolumes.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListVolumes.json
new file mode 100644
index 000000000000..ad6b8d98c5f1
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestListVolumes.json
@@ -0,0 +1,200 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "900786c7-ce14-46ed-b9b0-a2f0b2969a22"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local\",\r\n \"name\": \"S-Cluster.azurestack.local\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"totalCapacityGB\": 2525\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "369"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:21 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvQfVMpU+Nhlzfn/8GvCS9Z3ZooJgokB2BgNOrgzmZn6co/3qtFK7Ub+xgCWzqfYxAbasoFMUSa8MuMCxyZ/3Vi/wMmr95JMB7hZf+W6+q23o198CtPDkOfP63rBu0+7IWCSkbZNNQGJKgq8lf/rsV"
+ ],
+ "x-ms-correlation-request-id": [
+ "c20a58b9-dfa2-4c92-8230-7299a2781fb6"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14105"
+ ],
+ "x-ms-request-id": [
+ "c20a58b9-dfa2-4c92-8230-7299a2781fb6"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192221Z:c20a58b9-dfa2-4c92-8230-7299a2781fb6"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local/storagePools?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXMvUy1DbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvc3RvcmFnZVBvb2xzP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "de5fcecf-f832-4e74-897e-318733f4b6c0"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local/storagePools/SU1_Pool\",\r\n \"name\": \"SU1_Pool\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems/storagePools\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"sizeGB\": 5614\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "377"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:21 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv5HKoEPVfXiD+KRcQy6xk2agHpUGyPYrl7stTmNDCACKPHjWg+JqVnLeraPlLzQe4uM9/7wxCC+NERH80jCq27h+bj6RliBsrlZrMRx+paWIgYDMITJeCl2h1gNYp3srJn+JlwwxinewmcYMeBLj/"
+ ],
+ "x-ms-correlation-request-id": [
+ "a0d47e5e-edbd-4eec-8102-96a4c131b571"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14104"
+ ],
+ "x-ms-request-id": [
+ "a0d47e5e-edbd-4eec-8102-96a4c131b571"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192222Z:a0d47e5e-edbd-4eec-8102-96a4c131b571"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local/storagePools/SU1_Pool/volumes?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc3RvcmFnZVN1YlN5c3RlbXMvUy1DbHVzdGVyLmF6dXJlc3RhY2subG9jYWwvc3RvcmFnZVBvb2xzL1NVMV9Qb29sL3ZvbHVtZXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "a4d5ea9c-5807-492e-ab13-a2fd25bf8745"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local/storagePools/SU1_Pool/volumes/a42d219b\",\r\n \"name\": \"a42d219b\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/storageSubSystems/storagePools/volumes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"fileSystem\": \"CSVFS_ReFS\",\r\n \"remainingSizeGB\": 2201,\r\n \"sizeGB\": 2525,\r\n \"volumeLabel\": \"SU1_Volume\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "478"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:22:21 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv6HQN/+QPapBq0x/uDlGLiCU917ir3qaSA9uFau6PjOtdYv7YcQ/ZIWpcx800u5Vg872yDN4RKO/xrgPkRdE/dv0gDqpaAZ/4c14TMy3bRWDDw0XpUcryG3akCfRuN9cNImEe0slTE4uWX1bVpagp"
+ ],
+ "x-ms-correlation-request-id": [
+ "58b95af5-788e-48b0-b30c-f03e892ec1e7"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14103"
+ ],
+ "x-ms-request-id": [
+ "58b95af5-788e-48b0-b30c-f03e892ec1e7"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T192222Z:58b95af5-788e-48b0-b30c-f03e892ec1e7"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestPowerOffOnTenantVM.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestPowerOffOnTenantVM.json
new file mode 100644
index 000000000000..423024d78c30
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestPowerOffOnTenantVM.json
@@ -0,0 +1,139 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/502828aa-de3a-4ba9-a66c-5ae6d49589d7/PowerOff?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXMvNTAyODI4YWEtZGUzYS00YmE5LWE2NmMtNWFlNmQ0OTU4OWQ3L1Bvd2VyT2ZmP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "95ef3210-1855-4497-95b4-438178680f2a"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:10:58 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://adminmanagement.local.azurestack.external/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/95ef3210-1855-4497-95b4-438178680f2a?api-version=2016-05-01"
+ ],
+ "Retry-After": [
+ "60"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvsmTMMrUjEHI2pNIq+lM3VwnU4EyoivthWKfBz6+ccVy179ki3xUiZmuLbqxnwNgcqyioJ9XTLLROLDRzE8+5coyn9Rfpq71fTbvm8uFCSY7/N11P24xeL8L9DxZwg4OUQ4FwNSPeqoi0qM3I4uiB"
+ ],
+ "x-ms-correlation-request-id": [
+ "901ef0a7-8ea2-4cb0-9351-ea7d7213406d"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1148"
+ ],
+ "x-ms-request-id": [
+ "901ef0a7-8ea2-4cb0-9351-ea7d7213406d"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191058Z:901ef0a7-8ea2-4cb0-9351-ea7d7213406d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/95ef3210-1855-4497-95b4-438178680f2a?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvY29tcHV0ZU9wZXJhdGlvblJlc3VsdHMvOTVlZjMyMTAtMTg1NS00NDk3LTk1YjQtNDM4MTc4NjgwZjJhP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"AggregateException\",\r\n \"message\": \"One or more errors occurred.\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Failed\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "124"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Connection": [
+ "close"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:11:48 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvGdFvAs7Rp2deib69yT9+HgyJ4Iyul0hAid5rC9ka0mCGkYLonIYM8ZuWktRpjLkhFX6U6d3g92Qph/ppXO+z+aUMr7ycCgpXwZqwMw5EyWUlH0CHx9MUJ6PB9AhjMx79MxqjFnwZzn/2AQPUnSBC"
+ ],
+ "x-ms-correlation-request-id": [
+ "79de14ab-8a25-4513-8096-9546bf3483bf"
+ ],
+ "x-ms-failure-cause": [
+ "service"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14154"
+ ],
+ "x-ms-request-id": [
+ "79de14ab-8a25-4513-8096-9546bf3483bf"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191148Z:79de14ab-8a25-4513-8096-9546bf3483bf"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 500
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestPowerOnOnTenantVM.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestPowerOnOnTenantVM.json
new file mode 100644
index 000000000000..ad2c8374e07d
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestPowerOnOnTenantVM.json
@@ -0,0 +1,139 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/502828aa-de3a-4ba9-a66c-5ae6d49589d7/PowerOn?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXMvNTAyODI4YWEtZGUzYS00YmE5LWE2NmMtNWFlNmQ0OTU4OWQ3L1Bvd2VyT24/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "0dd0b5f6-9099-4183-8911-70fa8801d89e"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:04 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://adminmanagement.local.azurestack.external/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/0dd0b5f6-9099-4183-8911-70fa8801d89e?api-version=2016-05-01"
+ ],
+ "Retry-After": [
+ "60"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvrvHVF5DLlBG9VTiS6kZsfdJXoSERwMhftlQ/j3Bl1y4mF+xCGFg3VVZmertuiscAjMhFNbO64cpVKDXVj3J0dMNRxjSELDSzUrUMk/gFTLmXBJnTakUCWT2WT44Jv6neR/ODJnZu3st7Yov6mA7V"
+ ],
+ "x-ms-correlation-request-id": [
+ "e381d464-0999-4f5c-b293-e46d4356f6eb"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1150"
+ ],
+ "x-ms-request-id": [
+ "e381d464-0999-4f5c-b293-e46d4356f6eb"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190904Z:e381d464-0999-4f5c-b293-e46d4356f6eb"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/0dd0b5f6-9099-4183-8911-70fa8801d89e?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvY29tcHV0ZU9wZXJhdGlvblJlc3VsdHMvMGRkMGI1ZjYtOTA5OS00MTgzLTg5MTEtNzBmYTg4MDFkODllP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"AggregateException\",\r\n \"message\": \"One or more errors occurred.\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Failed\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "124"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Connection": [
+ "close"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:09:54 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv+mU0FZdulJSL+25dHBqJus8X1d8KPfbyTPcp2rRTWhJkVoKLZJX6E504iUiClNo0Oyg6OQICu4G6XLA3miwVRvvAz38Uh+vw1gqoetkUmeEO+M4ojwBGwbXowTeawl8KWt4Fz547wo9+OWz1mElq"
+ ],
+ "x-ms-correlation-request-id": [
+ "b13b8c9b-0633-46d4-bf5b-9524e1c456d0"
+ ],
+ "x-ms-failure-cause": [
+ "service"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14155"
+ ],
+ "x-ms-request-id": [
+ "b13b8c9b-0633-46d4-bf5b-9524e1c456d0"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T190954Z:b13b8c9b-0633-46d4-bf5b-9524e1c456d0"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 500
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestPowerOnScaleUnitNode.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestPowerOnScaleUnitNode.json
new file mode 100644
index 000000000000..885adf8ae10e
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestPowerOnScaleUnitNode.json
@@ -0,0 +1,261 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "0d2ad8b5-2198-4265-b8d8-55ce45d6adb4"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"name\": \"HC1n25r2236\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnitNodes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitNodeStatus\": \"Running\",\r\n \"powerState\": \"Running\",\r\n \"scaleUnitName\": \"S-Cluster\",\r\n \"scaleUnitUri\": \"/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"canPowerOff\": false,\r\n \"macAddress\": \"24-8A-07-89-15-62\",\r\n \"capacity\": {\r\n \"memoryGB\": 255.875,\r\n \"cores\": 56\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "550"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:12:39 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvuU4hSu/23yL9sUuN1zkU/6TM5Ar4amQi2nDlHA8+JGZU4YyGC3HYZaypHb9EXsYUFthu0ilPhd5XKL62szLmx6QETOmfAhKN3J/6WlABmzOv9UVEiMgwbDDybg76xg8cZhT0KaN+ewc1KBqkD+L0"
+ ],
+ "x-ms-correlation-request-id": [
+ "87d84f34-59df-4a8a-8fef-df80a075e22a"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14145"
+ ],
+ "x-ms-request-id": [
+ "87d84f34-59df-4a8a-8fef-df80a075e22a"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191239Z:87d84f34-59df-4a8a-8fef-df80a075e22a"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236/PowerOn?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXMvSEMxbjI1cjIyMzYvUG93ZXJPbj9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "5c6c409f-16fb-4cff-bf28-ba02884a76c9"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:12:39 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://adminmanagement.local.azurestack.external/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/5c6c409f-16fb-4cff-bf28-ba02884a76c9?api-version=2016-05-01"
+ ],
+ "Retry-After": [
+ "60"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvwMs0FvisQ7rJrPVr/KcQu3bV9gJwZ/M1PHbg2DsKpTiFNHiV/j7cIPqtJcKNirM5c7FEf1o7TNu4bCREd6BH+0ZibGJSLluk5rl4Cre8U3F3VsbYqAwbSCENcx9pjMX8aTnfvfrxz6/E8sqxbiT0"
+ ],
+ "x-ms-correlation-request-id": [
+ "70b52f43-5724-4e14-a8e4-b9cdb0eabaa7"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1146"
+ ],
+ "x-ms-request-id": [
+ "70b52f43-5724-4e14-a8e4-b9cdb0eabaa7"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191239Z:70b52f43-5724-4e14-a8e4-b9cdb0eabaa7"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/5c6c409f-16fb-4cff-bf28-ba02884a76c9?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvY29tcHV0ZU9wZXJhdGlvblJlc3VsdHMvNWM2YzQwOWYtMTZmYi00Y2ZmLWJmMjgtYmEwMjg4NGE3NmM5P2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "48"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:13:09 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvgzzp9/5DkG9UesdiB7jtMF8QttjVbnwsIe4BCPV5uzwj1PiURcI/x0m0LWph/6w0CMKCI5bJ40bW+qKmT5HDLfoIlQokBPZCQgkS2mdSLVXNLfx1BzNl956Kz9oCbIjOz4zZp6avGm7TY/L5F4vO"
+ ],
+ "x-ms-correlation-request-id": [
+ "1a885ccf-eb85-45b1-9837-047ae03e82d1"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14142"
+ ],
+ "x-ms-request-id": [
+ "1a885ccf-eb85-45b1-9837-047ae03e82d1"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191309Z:1a885ccf-eb85-45b1-9837-047ae03e82d1"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXMvSEMxbjI1cjIyMzY/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "05c2c85c-a47e-40ab-af58-e54784e8d52c"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"name\": \"HC1n25r2236\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnitNodes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitNodeStatus\": \"Running\",\r\n \"powerState\": \"Running\",\r\n \"scaleUnitName\": \"S-Cluster\",\r\n \"scaleUnitUri\": \"/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"canPowerOff\": false,\r\n \"macAddress\": \"24-8A-07-89-15-62\",\r\n \"capacity\": {\r\n \"memoryGB\": 255.875,\r\n \"cores\": 56\r\n }\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "538"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:13:16 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv60r9BSJh0w25JJqr+kqDOgxcJ/iLLex8Y8aLMpH5rqwDLd8ofgOQ2iiv1XlFzwjXwTOrlG/S1D6bxAn90iYOLhy+yS+YmuBPdUEw0gYTWgeGw9067ANWEQs2Y1Py72CIwTUw4YvXdG1W7PqPfOSN"
+ ],
+ "x-ms-correlation-request-id": [
+ "d8d8c188-0a31-4e2b-beff-eadc57e3bcc7"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14141"
+ ],
+ "x-ms-request-id": [
+ "d8d8c188-0a31-4e2b-beff-eadc57e3bcc7"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191316Z:d8d8c188-0a31-4e2b-beff-eadc57e3bcc7"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestStartMaintenanceModeOnTenantVM.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestStartMaintenanceModeOnTenantVM.json
new file mode 100644
index 000000000000..8031f09e90bd
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestStartMaintenanceModeOnTenantVM.json
@@ -0,0 +1,139 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/502828aa-de3a-4ba9-a66c-5ae6d49589d7/StartMaintenanceMode?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXMvNTAyODI4YWEtZGUzYS00YmE5LWE2NmMtNWFlNmQ0OTU4OWQ3L1N0YXJ0TWFpbnRlbmFuY2VNb2RlP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "c2101013-8566-4cbd-873c-149aff2df1c9"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:11:48 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://adminmanagement.local.azurestack.external/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/c2101013-8566-4cbd-873c-149aff2df1c9?api-version=2016-05-01"
+ ],
+ "Retry-After": [
+ "60"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv6Xf1Jbco9gAndtg/jKl98ygaWFNLMXHf31MqPj7nr1j/z76Smi6WuddIptPFqF704s9PWbsfBYCeLhBjGYvJU0Bbh7nNhv6Fv7EFILg2u9JYXi2Eps2KM4TVCIl9Iw/TADo5Pytyv7e+vGvw2UKA"
+ ],
+ "x-ms-correlation-request-id": [
+ "0187da0d-5703-4d97-a768-52931f9185d9"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1147"
+ ],
+ "x-ms-request-id": [
+ "0187da0d-5703-4d97-a768-52931f9185d9"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191148Z:0187da0d-5703-4d97-a768-52931f9185d9"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/c2101013-8566-4cbd-873c-149aff2df1c9?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvY29tcHV0ZU9wZXJhdGlvblJlc3VsdHMvYzIxMDEwMTMtODU2Ni00Y2JkLTg3M2MtMTQ5YWZmMmRmMWM5P2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"AggregateException\",\r\n \"message\": \"One or more errors occurred.\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Failed\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "124"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Connection": [
+ "close"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:12:39 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvsvcWzudQROISaKa0NaeoAVohISKwayJxAK/WLs2NZR5yYn0LhUR7o2d28Mcu3r77yMRil8JffqSRugUkRcC9wQliEkRm6EdV7EVds5BlRH0QlCUzH/IBnxZNf0Pd3Gh/9WPHvo/eZuPpk/VanPQq"
+ ],
+ "x-ms-correlation-request-id": [
+ "4bceb997-58ee-4300-b909-ad7ac31e7341"
+ ],
+ "x-ms-failure-cause": [
+ "service"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14148"
+ ],
+ "x-ms-request-id": [
+ "4bceb997-58ee-4300-b909-ad7ac31e7341"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191239Z:4bceb997-58ee-4300-b909-ad7ac31e7341"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 500
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestStartStopMaintenanceModeUnitNode.json b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestStartStopMaintenanceModeUnitNode.json
new file mode 100644
index 000000000000..02ffcd846e50
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/SessionRecords/FabricAdminClient/TestStartStopMaintenanceModeUnitNode.json
@@ -0,0 +1,203 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "14309ab1-e263-4538-a319-785cc522c07d"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236\",\r\n \"name\": \"HC1n25r2236\",\r\n \"type\": \"Microsoft.Fabric.Admin/fabricLocations/scaleUnitNodes\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"scaleUnitNodeStatus\": \"Running\",\r\n \"powerState\": \"Running\",\r\n \"scaleUnitName\": \"S-Cluster\",\r\n \"scaleUnitUri\": \"/fabricLocations/local/scaleUnits/S-Cluster\",\r\n \"canPowerOff\": false,\r\n \"macAddress\": \"24-8A-07-89-15-62\",\r\n \"capacity\": {\r\n \"memoryGB\": 255.875,\r\n \"cores\": 56\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "550"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:10:07 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvkuaPwUbvH/3Mcp4h79paGLvmBP4LOBjoDBG5+m0SEPBmF1z1U7QYR0ajfyTvTBQ4Mk3oq9zZJdXB91U57J+wCJ83CY5EM7nBtODhTGfMnnn6UDa4usOJ9GvWknfBE1iXNijSQZLcl2GLuErYXPxh"
+ ],
+ "x-ms-correlation-request-id": [
+ "db9e8130-cb7b-4fa2-87db-f6f7607ea91d"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14175"
+ ],
+ "x-ms-request-id": [
+ "db9e8130-cb7b-4fa2-87db-f6f7607ea91d"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191008Z:db9e8130-cb7b-4fa2-87db-f6f7607ea91d"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236/StartMaintenanceMode?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvc2NhbGVVbml0Tm9kZXMvSEMxbjI1cjIyMzYvU3RhcnRNYWludGVuYW5jZU1vZGU/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "ac82caaa-c837-4ee3-bdfb-aa463dbd8d91"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:10:07 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://adminmanagement.local.azurestack.external/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/ac82caaa-c837-4ee3-bdfb-aa463dbd8d91?api-version=2016-05-01"
+ ],
+ "Retry-After": [
+ "60"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvVxQfW1IagyS/nF1syFlNLiuAq9jiPAJbb8MZ8KTOfAul/4wJPkuuElpX/KVgz/8SgpWs9Uku3AqhWXBEhfbLAjEx1IKdizgZ4n7BKCGH735a7LLse+wugmocB0t50Rw38JeGEqIRh6j2yijOR2zy"
+ ],
+ "x-ms-correlation-request-id": [
+ "fd3fb2f7-3b91-4344-bb5c-c350ebb621be"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1149"
+ ],
+ "x-ms-request-id": [
+ "fd3fb2f7-3b91-4344-bb5c-c350ebb621be"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191008Z:fd3fb2f7-3b91-4344-bb5c-c350ebb621be"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/1c0daa04-01ae-4df9-a5d8-491b755f5288/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/computeOperationResults/ac82caaa-c837-4ee3-bdfb-aa463dbd8d91?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWMwZGFhMDQtMDFhZS00ZGY5LWE1ZDgtNDkxYjc1NWY1Mjg4L3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkZhYnJpYy5BZG1pbi9mYWJyaWNMb2NhdGlvbnMvbG9jYWwvY29tcHV0ZU9wZXJhdGlvblJlc3VsdHMvYWM4MmNhYWEtYzgzNy00ZWUzLWJkZmItYWE0NjNkYmQ4ZDkxP2FwaS12ZXJzaW9uPTIwMTYtMDUtMDE=",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.25211.01",
+ "Microsoft.AzureStack.Management.Admin.Fabric.FabricAdminClient/0.1.0.0"
+ ]
+ },
+ "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"AggregateException\",\r\n \"message\": \"One or more errors occurred.\"\r\n },\r\n \"properties\": {\r\n \"provisioningState\": \"Failed\"\r\n }\r\n}",
+ "ResponseHeaders": {
+ "Content-Length": [
+ "124"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ],
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Connection": [
+ "close"
+ ],
+ "Date": [
+ "Wed, 30 Aug 2017 19:10:58 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvK/wX9AsKouEY14rRyO49/OOVmX4HSfmtgDek2cc8PvqQltTKe+yR6kmZP0I2lBJ9TwvC3JEW7VxyV6VybpY5ZEmHiZqh2iG8z5kFLaUhA+BsIB0ZgjeCNq7D8htw1/OU/kfnyOQtrku6wd0PkRxj"
+ ],
+ "x-ms-correlation-request-id": [
+ "41c9c7be-41f4-48ba-8892-770917673454"
+ ],
+ "x-ms-failure-cause": [
+ "service"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14164"
+ ],
+ "x-ms-request-id": [
+ "41c9c7be-41f4-48ba-8892-770917673454"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20170830T191058Z:41c9c7be-41f4-48ba-8892-770917673454"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ]
+ },
+ "StatusCode": 500
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "1c0daa04-01ae-4df9-a5d8-491b755f5288"
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/EdgeGatewayPoolTests.cs b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/EdgeGatewayPoolTests.cs
new file mode 100644
index 000000000000..b599d67c08bc
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/EdgeGatewayPoolTests.cs
@@ -0,0 +1,71 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+
+using Microsoft.AzureStack.Management.Fabric.Admin;
+using Microsoft.AzureStack.Management.Fabric.Admin.Models;
+using Xunit;
+
+namespace Fabric.Tests {
+ public class EdgeGatewayPoolTests : FabricTestBase {
+
+ private void AssertEdgeGatewayPoolAreSame(EdgeGatewayPool expected, EdgeGatewayPool found) {
+ if (expected == null) {
+ Assert.Null(found);
+ } else {
+ Assert.True(FabricCommon.ResourceAreSame(expected, found));
+
+ Assert.Equal(expected.Name, found.Name);
+ Assert.Equal(expected.Id, found.Id);
+ Assert.Equal(expected.Location, found.Location);
+ Assert.Equal(expected.GatewayType, found.GatewayType);
+ Assert.Equal(expected.PublicIpAddress, found.PublicIpAddress);
+ Assert.Equal(expected.NumberOfGateways, found.NumberOfGateways);
+ }
+ }
+
+ private void ValidateEdgeGatewayPool(EdgeGatewayPool pool) {
+ FabricCommon.ValidateResource(pool);
+ Assert.NotNull(pool.Id);
+ Assert.NotNull(pool.Location);
+ Assert.NotNull(pool.Name);
+ Assert.NotNull(pool.Type);
+ Assert.NotNull(pool.GatewayType);
+ Assert.NotNull(pool.PublicIpAddress);
+ }
+
+ [Fact]
+ public void TestListEdgeGatewayPools() {
+ RunTest((client) => {
+ var pools = client.EdgeGatewayPools.List(Location);
+ Common.MapOverIPage(pools, client.EdgeGatewayPools.ListNext, ValidateEdgeGatewayPool);
+ Common.WriteIPagesToFile(pools, client.EdgeGatewayPools.ListNext, "ListEdgeGatewayPools.txt", (pool) => pool.Name);
+
+ });
+ }
+
+ [Fact]
+ public void TestGetEdgeGatewayPool() {
+ RunTest((client) => {
+ var pool = client.EdgeGatewayPools.List(Location).GetFirst();
+ if (pool != null) {
+ var retrieved = client.EdgeGatewayPools.Get(Location, pool.Name);
+ AssertEdgeGatewayPoolAreSame(pool, retrieved);
+ }
+ });
+ }
+
+ [Fact]
+ public void TestGetAllEdgeGatewayPools() {
+ RunTest((client) => {
+ var pools = client.EdgeGatewayPools.List(Location);
+ Common.MapOverIPage(pools, client.EdgeGatewayPools.ListNext, (EdgeGatewayPool pool) => {
+ var retrieved = client.EdgeGatewayPools.Get(Location, pool.Name);
+ AssertEdgeGatewayPoolAreSame(pool, retrieved);
+ });
+ });
+ }
+
+ }
+}
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/EdgeGatewayTests.cs b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/EdgeGatewayTests.cs
new file mode 100644
index 000000000000..a840f00e684b
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/EdgeGatewayTests.cs
@@ -0,0 +1,66 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+
+using Microsoft.AzureStack.Management.Fabric.Admin;
+using Microsoft.AzureStack.Management.Fabric.Admin.Models;
+using Xunit;
+
+namespace Fabric.Tests {
+ public class EdgeGatewayTests : FabricTestBase {
+
+ private void AssertSameEdgeGateway(EdgeGateway expected, EdgeGateway found) {
+ if (expected == null) {
+ Assert.Null(found);
+ } else {
+ Assert.True(FabricCommon.ResourceAreSame(expected, found));
+
+ Assert.Equal(expected.AvailableCapacity, found.AvailableCapacity);
+ Assert.Equal(expected.NumberOfConnections, found.NumberOfConnections);
+ Assert.Equal(expected.State, found.State);
+ Assert.Equal(expected.TotalCapacity, found.TotalCapacity);
+ }
+ }
+
+ private void ValidateEdgeGateway(EdgeGateway gateway) {
+ FabricCommon.ValidateResource(gateway);
+ Assert.NotNull(gateway.AvailableCapacity);
+ Assert.NotNull(gateway.NumberOfConnections);
+ Assert.NotNull(gateway.State);
+ Assert.NotNull(gateway.TotalCapacity);
+ }
+
+ [Fact]
+ public void TestListEdgeGateways() {
+ RunTest((client) => {
+ var gateways = client.EdgeGateways.List(Location);
+ Common.MapOverIPage(gateways, client.EdgeGateways.ListNext, ValidateEdgeGateway);
+ Common.WriteIPagesToFile(gateways, client.EdgeGateways.ListNext, "ListEdgeGateways.txt", (gateway) => gateway.Name);
+ });
+ }
+
+ [Fact]
+ public void TestGetEdgeGateway() {
+ RunTest((client) => {
+ var gateway = client.EdgeGateways.List(Location).GetFirst();
+ if (gateway != null) {
+ var retrieved = client.EdgeGateways.Get(Location, gateway.Name);
+ AssertSameEdgeGateway(gateway, retrieved);
+ }
+ });
+ }
+
+ [Fact]
+ public void TestGetAllEdgeGateways() {
+ RunTest((client) => {
+ var gateways = client.EdgeGateways.List(Location);
+ Common.MapOverIPage(gateways, client.EdgeGateways.ListNext, (EdgeGateway gateway) => {
+ var retrieved = client.EdgeGateways.Get(Location, gateway.Name);
+ AssertSameEdgeGateway(gateway, retrieved);
+ });
+ });
+ }
+
+ }
+}
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/FabricLocationTests.cs b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/FabricLocationTests.cs
new file mode 100644
index 000000000000..0f1df1c21f82
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/FabricLocationTests.cs
@@ -0,0 +1,63 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+
+using Microsoft.AzureStack.Management.Fabric.Admin;
+using Microsoft.AzureStack.Management.Fabric.Admin.Models;
+using Xunit;
+
+namespace Fabric.Tests {
+
+ public class FabricLocationTests : FabricTestBase {
+
+ private void AssertFabricLocationEqual(FabricLocation expected, FabricLocation found) {
+ if (expected == null) {
+ Assert.Null(found);
+ } else {
+ Assert.True(FabricCommon.ResourceAreSame(expected, found));
+
+ Assert.Equal(expected.Id, found.Id);
+ Assert.Equal(expected.Location, found.Location);
+ Assert.Equal(expected.Name, found.Name);
+ Assert.Equal(expected.Type, found.Type);
+ }
+ }
+
+ private void ValidateFabricLocation(FabricLocation location) {
+ FabricCommon.ValidateResource(location);
+ }
+
+ [Fact]
+ public void TestListFabricLocations() {
+ RunTest((client) => {
+ var locations = client.FabricLocations.List(Location);
+ Common.MapOverIPage(locations, client.FabricLocations.ListNext, ValidateFabricLocation);
+ Common.WriteIPagesToFile(locations, client.FabricLocations.ListNext, "ListFabricLocations.txt", (location) => location.Name);
+ });
+ }
+
+ [Fact]
+ public void TestGetFabricLocation() {
+ RunTest((client) => {
+ var location = client.FabricLocations.List(Location).GetFirst();
+ if (location != null) {
+ var retrieved = client.FabricLocations.Get(Location, location.Name);
+ AssertFabricLocationEqual(location, retrieved);
+ }
+ });
+ }
+
+ [Fact]
+ public void TestGetAllFabricLocations() {
+ RunTest((client) => {
+ var locations = client.FabricLocations.List(Location);
+ Common.MapOverIPage(locations, client.FabricLocations.ListNext, (location) => {
+ var retrieved = client.FabricLocations.Get(Location, location.Name);
+ AssertFabricLocationEqual(location, retrieved);
+ });
+ });
+ }
+
+ }
+}
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/FileShareTests.cs b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/FileShareTests.cs
new file mode 100644
index 000000000000..0011251860ad
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/FileShareTests.cs
@@ -0,0 +1,67 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+
+using Microsoft.AzureStack.Management.Fabric.Admin;
+using Microsoft.AzureStack.Management.Fabric.Admin.Models;
+using System;
+using System.Linq;
+using Xunit;
+
+namespace Fabric.Tests {
+
+ public class FileShareTests : FabricTestBase {
+ private void AssertFileSharesEqual(FileShare expected, FileShare found) {
+ if (expected == null) {
+ Assert.Null(found);
+ } else {
+ Assert.True(FabricCommon.ResourceAreSame(expected, found));
+
+ Assert.Equal(expected.AssociatedVolume, found.AssociatedVolume);
+ Assert.Equal(expected.UncPath, found.UncPath);
+ }
+ }
+
+ private void ValidateFileShare(FileShare share) {
+ FabricCommon.ValidateResource(share);
+ Assert.NotNull(share.AssociatedVolume);
+ Assert.NotNull(share.UncPath);
+ }
+ [Fact]
+ public void TestListFileShares() {
+ RunTest((client) => {
+ var fileShares = client.FileShares.List(Location);
+
+ Assert.NotNull(fileShares);
+ Assert.True(fileShares.Count() > 0);
+ fileShares.ForEach(ValidateFileShare);
+ Common.WriteIEnumerableToFile(fileShares, "ListFileShares.txt", (fileShare) => fileShare.Name);
+ });
+ }
+
+ [Fact]
+ public void TestGetFileShare() {
+ RunTest((client) => {
+ var share = client.FileShares.List(Location).First();
+ if (share != null) {
+ var retrieved = client.FileShares.Get(Location, share.Name);
+ AssertFileSharesEqual(share, retrieved);
+ }
+ });
+ }
+
+ [Fact]
+ public void TestGetAllFileShares() {
+ RunTest((client) => {
+ var fileShares = client.FileShares.List(Location);
+ Assert.NotNull(fileShares);
+ fileShares.ForEach(((share) => {
+ var retrieved = client.FileShares.Get(Location, share.Name);
+ AssertFileSharesEqual(share, retrieved);
+ }));
+ });
+ }
+
+ }
+}
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/Helpers/AzureStackTestBase.cs b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/Helpers/AzureStackTestBase.cs
new file mode 100644
index 000000000000..881914074b66
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/Helpers/AzureStackTestBase.cs
@@ -0,0 +1,87 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+
+
+using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
+using System;
+using System.Net;
+
+namespace Fabric.Tests
+{
+ ///
+ /// Base class for all AzureStack tests. This class should not be modified but extended through a child class.
+ ///
+ ///
+ public abstract class AzureStackTestBase where T : class
+ {
+
+ ///
+ /// Reference to service client.
+ ///
+ protected T client;
+
+ ///
+ /// Validate the client.
+ ///
+ /// The instantiated client we want to validate.
+ protected abstract void ValidateClient(T client);
+
+ ///
+ /// The default location for all admin actions. Override in derived class as needed.
+ ///
+ protected string Location = "local";
+
+ ///
+ /// Run a test that accepts no arguments. An exception can be
+ ///
+ /// The test we wish to run.
+ /// Function to execute before your test has completed.
+ /// Function to execute after your test has completed.
+ /// Expected returned HttpStatusCode.
+ /// Thrown when an unexpected exception occurs.
+ ///
+ protected void RunTest(Action test,
+ Action before = null,
+ Action after = null,
+ HttpStatusCode status = HttpStatusCode.OK,
+ [System.Runtime.CompilerServices.CallerMemberName]
+ string methodName= "testframework_failed") {
+
+ Exception caught = null;
+
+ try
+ {
+ var handler = new RecordedDelegatingHandler { StatusCodeToReturn = status };
+ handler.IsPassThrough = true;
+
+ using (MockContext context = MockContext.Start(typeof(T).Name, methodName))
+ {
+ var client = context.GetServiceClient(handlers: handler);
+ ValidateClient(client);
+
+ before?.Invoke();
+ test(client);
+ after?.Invoke();
+ }
+ }
+ catch (Exception ex)
+ {
+ caught = ex;
+ }
+ finally
+ {
+ if (caught != null)
+ {
+ throw new Exception("Test failed", caught);
+ }
+ }
+ }
+
+ public void IgnoreExceptions(Action action) {
+ try { action(); }
+ catch (Exception) { }
+ }
+
+ }
+}
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/Helpers/Common.cs b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/Helpers/Common.cs
new file mode 100644
index 000000000000..bfdc45223bc6
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/Helpers/Common.cs
@@ -0,0 +1,276 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+
+using Microsoft.Rest;
+using Microsoft.Rest.Azure;
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net.Http;
+using System.Text;
+
+namespace Fabric.Tests
+{
+
+ ///
+ /// A collection of common values and functions
+ ///
+ public class Common
+ {
+
+ public const string AcceptableCharactersForResourceName = "abcdefghijklmnopqrstuvwxyz0123456789";
+ public const int MaxResourceNameLength = 24;
+
+ // This is just for code readability
+ public const int Milliseconds = 1;
+ public const int Seconds = 1000 * Milliseconds;
+ public const int Minutes = 60 * Seconds;
+ public const int Hours = 60 * Minutes;
+
+ ///
+ /// Allows tests to retrieve content from Azure Stack directly.
+ ///
+ /// The client used to connect.
+ /// Credentials used to connect.
+ /// The location of the object.
+ /// Body of the request.
+ ///
+ public static string RetrieveObject(HttpClient client, ServiceClientCredentials creds, string uri) {
+ return RetrieveObject(client, creds, new Uri(uri));
+ }
+
+
+ ///
+ /// Allows tests to retrieve content from Azure Stack directly.
+ ///
+ /// The client used to connect.
+ /// Credentials used to connect.
+ /// The location of the object.
+ /// Body of the request.
+ public static string RetrieveObject(HttpClient client, ServiceClientCredentials creds, Uri uri) {
+ var message = new HttpRequestMessage(HttpMethod.Get, uri);
+ creds.ProcessHttpRequestAsync(message, System.Threading.CancellationToken.None);
+ var result = client.SendAsync(message).Result;
+ return result.Content.ToString();
+ }
+
+ ///
+ /// Generate a random name that can be ingested by Azure or AzureStack.
+ ///
+ /// The prefix added to the string. The default is okaytodelete.
+ /// The generated string.
+ public static string GenerateRandomName(string prefix = "okaytodelete", bool useGuid = true) {
+ StringBuilder sb = new StringBuilder(prefix);
+ if (useGuid)
+ {
+ sb.Append(Guid.NewGuid());
+ }
+ else
+ {
+ Random rand = new Random();
+ for (int i = 0; sb.Length < MaxResourceNameLength; ++i)
+ {
+ sb.Append(AcceptableCharactersForResourceName[rand.Next(AcceptableCharactersForResourceName.Length)]);
+ }
+ }
+ return sb.ToString();
+ }
+
+ ///
+ /// Given an operation retry it either some given number of times or until it succeeds
+ ///
+ /// Function which returns true if it succeeds, false otherwise
+ /// Maximum number of retries
+ /// Delay between retries
+ public static bool RetryOperation(Func func, uint retries = 10, int delay = 250 * Common.Milliseconds) {
+ while (retries > 0)
+ {
+ if (func())
+ {
+ break;
+ }
+ --retries;
+ System.Threading.Thread.Sleep(delay);
+ }
+ return retries >= 0;
+ }
+
+ ///
+ /// Given an operation retry it either some given number of times or until an exception is thrown.
+ ///
+ /// The action we want to perform.
+ /// Maximum number of retries
+ /// Delay between retries
+ /// True if an exception is thrown, false if we reach our retry limit.
+ public static bool RetryExceptionExpected(Action act, uint retries = 10, int delay = 250 * Common.Milliseconds) {
+ Func func = () => { try { act() ; return false; } catch {} return true;};
+ return RetryOperation( func, retries, delay);
+ }
+
+ ///
+ /// Go over each page and perform some action on it.
+ ///
+ /// Type of object held within the pages.
+ /// Page we start from.
+ /// Function will return the next page.
+ /// What action to perform on each object.
+ public static void MapOverIPage(IPage start, Func> getNext, Action action = default(Action)) {
+ var curr = start;
+ for (;;)
+ {
+ curr.ForEach(action);
+
+ if (string.IsNullOrEmpty(curr.NextPageLink))
+ {
+ break;
+ }
+
+ curr = getNext(curr.NextPageLink);
+ }
+ }
+
+ ///
+ /// Write IPages to a given file from a starting IPage.
+ ///
+ /// The type of object each IPage holds.
+ /// The starting IPage.
+ /// Given a valid URI returns the next IPage.
+ /// The name of the file.
+ /// Returns a string representation of object of type T.
+ ///
+ public static void WriteIPagesToFile(IPage start, Func> getNext, System.String filename, Func toString = null) {
+ using(System.IO.FileStream stream = System.IO.File.Create(filename)) {
+ WriteIPagesToStream( start, getNext, stream, toString);
+ }
+ }
+
+ ///
+ /// Write all element in an enumerable to a file on their own line.
+ ///
+ /// Type held in Enumerable.
+ /// Input IEnumerable.
+ /// The name of the file.
+ /// Returns a string representation of object of type T. Default action is to call ToString.
+ public static void WriteIEnumerableToFile(IEnumerable iter, System.String filename, Func toString = null) {
+ using(System.IO.FileStream stream = System.IO.File.Create(filename)) {
+ WriteIEnumerableToStream( iter, stream, toString);
+ }
+ }
+
+ ///
+ /// Write all IPage
+ ///
+ /// Type held in each page.
+ /// Starting page.
+ /// Given a valid URI returns the next IPage.
+ /// The stream written to.
+ /// Returns a string representation of object of type T. Default action is to call ToString.
+ public static void WriteIPagesToStream(IPage start, Func> getNext, System.IO.Stream stream, Func toString = null) {
+ toString = toString ?? delegate(T t) {return t.ToString();};
+ StringBuilder sb = new StringBuilder();
+ Action action = (obj) => { sb.Append(toString(obj)); sb.AppendLine(); };
+ MapOverIPage(start, getNext, action);
+ var str = sb.ToString();
+ var bytes = Encoding.ASCII.GetBytes(sb.ToString());
+ stream.Write(bytes, 0, bytes.Length);
+ }
+
+ ///
+ /// Iterate through each item in the pages and write its string representation to a file.
+ /// The default action to get a string representation is to call toString on each object.
+ ///
+ /// Type held in Enumerable.
+ /// Input IEnumerable.
+ /// The stream written to.
+ /// Returns a string representation of object of type T. Default action is to call ToString.
+ public static void WriteIEnumerableToStream(IEnumerable iter, System.IO.Stream stream, Func toString = null) {
+ toString = toString ?? delegate(T t) {return t.ToString();};
+ StringBuilder sb = new StringBuilder();
+ Action action = (obj) => { sb.Append(toString(obj)); sb.AppendLine(); };
+ iter.ForEach(action);
+ var bytes = Encoding.ASCII.GetBytes(sb.ToString());
+ stream.Write(bytes, 0, bytes.Length);
+ }
+
+ }
+}
+
+public static class Extensions
+{
+
+ ///
+ /// Round down the dateTimeOffset to interval.
+ ///
+ /// The date time offset.
+ /// The interval.
+ public static DateTimeOffset Floor(this DateTimeOffset dateTimeOffset, TimeSpan interval) {
+ return new DateTimeOffset(dateTimeOffset.UtcTicks - (dateTimeOffset.UtcTicks % interval.Ticks), TimeSpan.Zero);
+ }
+
+ ///
+ /// Round down to the day.
+ ///
+ /// The date time.
+ public static DateTime Floor(this DateTime dateTime) {
+ return dateTime.Floor(TimeSpan.FromDays(1));
+ }
+
+ ///
+ /// Round down the DateTime to interval.
+ ///
+ /// The date.
+ /// The interval.
+ public static DateTime Floor(this DateTime dateTime, TimeSpan interval) {
+ return new DateTimeOffset(dateTime).Floor(interval).DateTime;
+ }
+
+
+ ///
+ /// Apply an operation over an IList object
+ ///
+ /// Underlying type stored in IEnumerable.
+ /// IEnumerable to apply operation to.
+ /// The action performed.
+ public static void ForEach(this IEnumerable list, Action action = default(Action)) {
+ foreach (var item in list)
+ {
+ action(item);
+ }
+ }
+
+ ///
+ /// Given a page we try to grab the first element we can find
+ ///
+ /// The value that is held within the page.
+ /// The page we wish to extract the object from
+ ///
+ public static T GetFirst(this IPage page) where T : class {
+ T result = null;
+ if (page != null)
+ {
+ foreach(var r in page) {
+ result = r;
+ break;
+ }
+ }
+ return result;
+ }
+
+ ///
+ /// Convert pagination to a list
+ ///
+ /// Type contained in each Page
+ /// Starting page we want to covert from.
+ /// A function that returns the next page.
+ ///
+ public static IList PageToList(this IPage start, Func> getNext) {
+ List result = new List();
+ Fabric.Tests.Common.MapOverIPage(start, getNext, (page) => {
+ result.Add(page);
+ });
+ return result;
+ }
+
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/Helpers/FabricCommon.cs b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/Helpers/FabricCommon.cs
new file mode 100644
index 000000000000..074dd521811b
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/Helpers/FabricCommon.cs
@@ -0,0 +1,30 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+using Microsoft.AzureStack.Management.Fabric.Admin.Models;
+
+namespace Fabric.Tests {
+
+ class FabricCommon {
+
+ // TODO: Compare tags
+ public static bool ResourceAreSame(Resource expected, Resource found) {
+ if (expected == null) return found == null;
+ return expected.Id == found.Id &&
+ expected.Location == found.Location &&
+ expected.Name == found.Name &&
+ expected.Type == found.Type;
+ }
+
+ public static bool ValidateResource(Resource resource) {
+ return resource != null &&
+ resource.Id != null &&
+ resource.Location != null &&
+ resource.Name != null &&
+ resource.Type != null;
+ }
+ }
+}
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/Helpers/FabricTestBase.cs b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/Helpers/FabricTestBase.cs
new file mode 100644
index 000000000000..c15fd8e9aeaa
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/Helpers/FabricTestBase.cs
@@ -0,0 +1,53 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+
+using Microsoft.AzureStack.Management.Fabric.Admin;
+using Microsoft.AzureStack.Management.Fabric.Admin.Models;
+using System;
+using Xunit;
+
+namespace Fabric.Tests {
+
+ public class FabricTestBase : AzureStackTestBase {
+
+ // Helpful funcs
+ protected static Func ResourceName = (resource) => resource.Name;
+ protected static Func ResourceId = (resource) => resource.Id;
+ protected static Func ResourceLocation = (resource) => resource.Location;
+ protected static Func ResourceType = (resource) => resource.Type;
+
+ public FabricTestBase() {
+ }
+
+ protected override void ValidateClient(FabricAdminClient client) {
+ // validate creation
+ Assert.NotNull(client);
+
+ // validate objects
+ Assert.NotNull(client.ComputeFabricOperations);
+ Assert.NotNull(client.EdgeGateways);
+ Assert.NotNull(client.EdgeGatewayPools);
+ Assert.NotNull(client.FabricLocations);
+ Assert.NotNull(client.FileShares);
+ Assert.NotNull(client.InfraRoles);
+ Assert.NotNull(client.InfraRoleInstances);
+ Assert.NotNull(client.IpPools);
+ Assert.NotNull(client.LogicalNetworks);
+ Assert.NotNull(client.LogicalSubnets);
+ Assert.NotNull(client.MacAddressPools);
+ Assert.NotNull(client.NetworkFabricOperations);
+ Assert.NotNull(client.ScaleUnits);
+ Assert.NotNull(client.ScaleUnitNodes);
+ Assert.NotNull(client.SlbMuxInstances);
+
+ Assert.NotNull(client.StoragePools);
+ Assert.NotNull(client.StorageSystems);
+ Assert.NotNull(client.Volumes);
+
+ // validate properties
+ Assert.NotNull(client.SubscriptionId);
+ }
+ }
+}
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/Helpers/RecordedDelegatingHandler.cs b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/Helpers/RecordedDelegatingHandler.cs
new file mode 100644
index 000000000000..6f17f730802e
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/Helpers/RecordedDelegatingHandler.cs
@@ -0,0 +1,100 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+
+using System;
+using System.Net;
+using System.Net.Http;
+using System.Net.Http.Headers;
+using System.Threading.Tasks;
+
+namespace Fabric.Tests
+{
+
+ ///
+ /// Generic delegation handler.
+ ///
+ public class RecordedDelegatingHandler : DelegatingHandler
+ {
+ // Default response.
+ private HttpResponseMessage _response;
+
+ ///
+ /// Default RecordedDelegatingHandler.
+ ///
+ public RecordedDelegatingHandler() {
+ StatusCodeToReturn = HttpStatusCode.Created;
+ SubsequentStatusCodeToReturn = StatusCodeToReturn;
+ }
+
+ ///
+ /// Default RecordedDelegatingHandler which defaults to returning created.
+ ///
+ /// Response returned in all cases.
+ public RecordedDelegatingHandler(HttpResponseMessage response) {
+ StatusCodeToReturn = HttpStatusCode.Created;
+ SubsequentStatusCodeToReturn = StatusCodeToReturn;
+ _response = response;
+ }
+
+ public HttpStatusCode StatusCodeToReturn { get; set; }
+
+ public HttpStatusCode SubsequentStatusCodeToReturn { get; set; }
+
+ public string Request { get; private set; }
+
+ public HttpRequestHeaders RequestHeaders { get; private set; }
+
+ public HttpContentHeaders ContentHeaders { get; private set; }
+
+ public HttpMethod Method { get; private set; }
+
+ public Uri Uri { get; private set; }
+
+ public bool IsPassThrough { get; set; }
+
+ private int counter;
+
+ protected override async Task SendAsync(HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) {
+ counter++;
+ // Save request
+ if (request.Content == null)
+ {
+ Request = string.Empty;
+ }
+ else
+ {
+ Request = await request.Content.ReadAsStringAsync();
+ }
+ RequestHeaders = request.Headers;
+ if (request.Content != null)
+ {
+ ContentHeaders = request.Content.Headers;
+ }
+ Method = request.Method;
+ Uri = request.RequestUri;
+
+ // Prepare response
+ if (IsPassThrough)
+ {
+ return await base.SendAsync(request, cancellationToken);
+ }
+ else
+ {
+ if (_response != null && counter == 1)
+ {
+ return _response;
+ }
+ else
+ {
+ var statusCode = StatusCodeToReturn;
+ if (counter > 1)
+ statusCode = SubsequentStatusCodeToReturn;
+ HttpResponseMessage response = new HttpResponseMessage(statusCode);
+ response.Content = new StringContent("");
+ return response;
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/InfraRoleInstanceTests.cs b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/InfraRoleInstanceTests.cs
new file mode 100644
index 000000000000..e89a0175ba6b
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/InfraRoleInstanceTests.cs
@@ -0,0 +1,179 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+
+using Microsoft.AzureStack.Management.Fabric.Admin;
+using Microsoft.AzureStack.Management.Fabric.Admin.Models;
+using Microsoft.Rest.Azure;
+using Xunit;
+
+namespace Fabric.Tests
+{
+
+ ///
+ /// Summary description for FabricTest
+ ///
+ public class InfraRoleInstanceTests : FabricTestBase
+ {
+ private string RoleInstance = "AzS-ACS01";
+
+ private void AssertInfraRoleInstancesEqual(InfraRoleInstance expected, InfraRoleInstance found) {
+ if (expected == null)
+ {
+ Assert.Null(found);
+ }
+ else
+ {
+ Assert.True(FabricCommon.ResourceAreSame(expected, found));
+
+ Assert.Equal(expected.Name, found.Name);
+ Assert.Equal(expected.Id, found.Id);
+ Assert.Equal(expected.Location, found.Location);
+
+ // Infra Role Instance
+ Assert.Equal(expected.ScaleUnit, found.ScaleUnit);
+ Assert.Equal(expected.ScaleUnitNode, found.ScaleUnitNode);
+ Assert.Equal(expected.Size.Cores, found.Size.Cores);
+ Assert.Equal(expected.Size.MemoryGb, found.Size.MemoryGb);
+ Assert.Equal(expected.State, found.State);
+ Assert.Equal(expected.Type, found.Type);
+ }
+ }
+
+ private void ValiateInfraRoleInstance(InfraRoleInstance instance) {
+ FabricCommon.ValidateResource(instance);
+ Assert.NotNull(instance.ScaleUnit);
+ Assert.NotNull(instance.ScaleUnitNode);
+ Assert.NotNull(instance.Size);
+ Assert.NotNull(instance.State);
+ }
+
+ [Fact]
+ public void TestListInfraRoleInstances() {
+ RunTest((client) => {
+ var instances = client.InfraRoleInstances.List(Location);
+ Common.MapOverIPage(instances, client.InfraRoleInstances.ListNext, ValiateInfraRoleInstance);
+ Common.WriteIPagesToFile(instances, client.InfraRoleInstances.ListNext, "ListInfraRoleInstances.txt", (instance) => instance.Name);
+ });
+ }
+
+ [Fact]
+ public void TestGetInfraRoleInstance() {
+ RunTest((client) => {
+ var instance = client.InfraRoleInstances.List(Location).GetFirst();
+ var retrieved = client.InfraRoleInstances.Get(Location, instance.Name);
+ ValiateInfraRoleInstance(retrieved);
+ AssertInfraRoleInstancesEqual(instance, retrieved);
+ });
+ }
+
+ [Fact]
+ public void TestGetAllInfraRoleInstances() {
+ RunTest((client) => {
+ var instances = client.InfraRoleInstances.List(Location);
+ Common.MapOverIPage(instances, client.InfraRoleInstances.ListNext, (instance) => {
+ var retrieved = client.InfraRoleInstances.Get(Location, instance.Name);
+ ValiateInfraRoleInstance(retrieved);
+ AssertInfraRoleInstancesEqual(instance, retrieved);
+ });
+ });
+ }
+
+ // This should do nothing
+ [Fact]
+ public void TestInfraRoleInstancePowerOn() {
+ RunTest((client) => {
+ var instance = client.InfraRoleInstances.List(Location).GetFirst();
+ client.InfraRoleInstances.PowerOn(Location, instance.Name);
+ });
+ }
+
+ // This should do nothing
+ [Fact]
+ public void TestInfraRoleInstancePowerOnAll() {
+ RunTest((client) => {
+ var instances = client.InfraRoleInstances.List(Location);
+ Common.MapOverIPage(instances, client.InfraRoleInstances.ListNext, (instance) => {
+ client.InfraRoleInstances.PowerOn(Location, instance.Name);
+ });
+ });
+ }
+
+ // This needs to be setup before the run.
+ private string TenantVMName = "502828aa-de3a-4ba9-a66c-5ae6d49589d7";
+
+ // Make sure we cannot touch tenant VMs
+
+ [Fact]
+ public void TestGetInfraRoleInstanceOnTenantVM() {
+ RunTest((client) => {
+ Assert.Throws(() => client.InfraRoleInstances.Get(Location, TenantVMName));
+ });
+ }
+
+ [Fact]
+ public void TestInfraRoleInstanceShutdownOnTenantVM() {
+ RunTest((client) => {
+ Assert.Throws(() => {
+ var provisioningState = client.InfraRoleInstances.Shutdown(Location, TenantVMName);
+ Assert.NotEqual(provisioningState.ProvisioningStateProperty, "Success");
+ });
+ });
+ }
+
+ [Fact]
+ public void TestInfraRoleInstancePowerOffOnTenantVM() {
+ RunTest((client) => {
+ Assert.Throws(() => {
+ var provisioningState = client.InfraRoleInstances.PowerOff(Location, TenantVMName);
+ Assert.NotEqual(provisioningState.ProvisioningStateProperty, "Success");
+ });
+ });
+ }
+
+ [Fact]
+ public void TestInfraRoleInstanceRebootOnTenantVM() {
+ RunTest((client) => {
+ Assert.Throws(() => {
+ var provisioningState = client.InfraRoleInstances.Reboot(Location, TenantVMName);
+ Assert.NotEqual(provisioningState.ProvisioningStateProperty, "Success");
+ });
+ });
+ }
+
+
+ // Disabled Tests
+
+ // TODO: Not sure how safe this is, also not sure of return type or value.
+ [Fact(Skip = "No hardware")]
+ public void TestInfraRoleInstanceShutdown() {
+ RunTest((client) => {
+ var provisioningState = client.InfraRoleInstances.Shutdown(Location, RoleInstance);
+ Assert.NotEqual(provisioningState.ProvisioningStateProperty, "Success");
+
+ var instance = client.InfraRoleInstances.Get(Location, RoleInstance);
+ ValiateInfraRoleInstance(instance);
+ });
+ }
+
+ // TODO: Not sure how safe this is, also not sure of return type or value.
+ [Fact(Skip = "No hardware")]
+ public void TestInfraRoleInstancePowerOff() {
+ RunTest((client) => {
+ var provisioningState = client.InfraRoleInstances.PowerOff(Location, "502828aa-de3a-4ba9-a66c-5ae6d49589d7");
+ Assert.NotEqual(provisioningState.ProvisioningStateProperty, "Success");
+ });
+ }
+
+ [Fact(Skip = "No hardware")]
+ public void TestInfraRoleInstanceReboot() {
+ RunTest((client) => {
+ client.InfraRoleInstances.Reboot(Location, RoleInstance);
+ var instance = client.InfraRoleInstances.Get(Location, RoleInstance);
+ ValiateInfraRoleInstance(instance);
+ // TODO: What are the assertions?
+ });
+ }
+ }
+}
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/InfraRoleTests.cs b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/InfraRoleTests.cs
new file mode 100644
index 000000000000..af80c698006a
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/InfraRoleTests.cs
@@ -0,0 +1,82 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+
+using Microsoft.AzureStack.Management.Fabric.Admin;
+using Microsoft.AzureStack.Management.Fabric.Admin.Models;
+using Xunit;
+
+namespace Fabric.Tests {
+
+ ///
+ /// Summary description for FabricTest
+ ///
+ public class InfraRoleTests : FabricTestBase {
+ private string InfraRoleName = "Backup controller";
+
+ private void ValidateInfraRole(InfraRole role) {
+ Assert.True(FabricCommon.ValidateResource(role));
+ Assert.NotNull(role.Instances);
+ }
+
+ private void AssertInfraRolesAreSame(InfraRole expected, InfraRole found) {
+ if (expected == null) {
+ Assert.Null(found);
+ } else {
+ Assert.True(FabricCommon.ResourceAreSame(expected, found));
+
+ Assert.Equal(expected.Name, found.Name);
+ Assert.Equal(expected.Id, found.Id);
+ Assert.Equal(expected.Location, found.Location);
+ Assert.Equal(expected.Type, found.Type);
+ Assert.Equal(expected.Instances.Count, found.Instances.Count);
+ }
+ }
+
+ [Fact]
+ public void TestListInfraRoles() {
+ RunTest((client) => {
+ var roles = client.InfraRoles.List(Location);
+ Assert.NotNull(roles);
+
+ Common.MapOverIPage(roles, client.InfraRoles.ListNext, (role) => {
+ ValidateInfraRole(role);
+ });
+
+ Common.WriteIPagesToFile(roles, client.InfraRoles.ListNext, "ListInfraRoles.txt", (role) => role.Name);
+ });
+ }
+
+ [Fact]
+ public void TestGetInfraRole() {
+ RunTest((client) => {
+ var role = client.InfraRoles.List(Location).GetFirst();
+ var retrieved = client.InfraRoles.Get(Location, role.Name);
+ ValidateInfraRole(retrieved);
+ AssertInfraRolesAreSame(role, retrieved);
+ });
+ }
+
+ [Fact]
+ public void TestGetAllInfraRoles() {
+ RunTest((client) => {
+ var roles = client.InfraRoles.List(Location);
+ Assert.NotNull(roles);
+ Common.MapOverIPage(roles, client.InfraRoles.ListNext, (role) => {
+ var retrieved = client.InfraRoles.Get(Location, role.Name);
+ AssertInfraRolesAreSame(role, retrieved);
+ });
+ });
+ }
+
+ // TODO: Figure out what this does before we call it and then break something
+ [Fact(Skip ="No hardware")]
+ public void TestScaleUpInfraRole() {
+ RunTest((client) => {
+ var role = client.InfraRoles.ScaleUp(Location, InfraRoleName);
+ Assert.Null(role); // ???
+ });
+ }
+ }
+}
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/IpPoolTests.cs b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/IpPoolTests.cs
new file mode 100644
index 000000000000..8761aae7499f
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/IpPoolTests.cs
@@ -0,0 +1,113 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+
+using Microsoft.AzureStack.Management.Fabric.Admin;
+using Microsoft.AzureStack.Management.Fabric.Admin.Models;
+using Xunit;
+
+namespace Fabric.Tests
+{
+
+ public class IpPoolTests : FabricTestBase
+ {
+
+ private void AssertIpPoolsAreSame(IpPool expected, IpPool found) {
+ if (expected == null)
+ {
+ Assert.Null(found);
+ }
+ else
+ {
+ Assert.True(FabricCommon.ResourceAreSame(expected, found));
+
+ Assert.Equal(expected.AddressPrefix, found.AddressPrefix);
+ Assert.Equal(expected.EndIpAddress, found.EndIpAddress);
+ Assert.Equal(expected.NumberOfAllocatedIpAddresses, found.NumberOfAllocatedIpAddresses);
+ Assert.Equal(expected.NumberOfIpAddresses, found.NumberOfIpAddresses);
+ Assert.Equal(expected.NumberOfIpAddressesInTransition, found.NumberOfIpAddressesInTransition);
+ Assert.Equal(expected.StartIpAddress, found.StartIpAddress);
+ }
+ }
+
+ private void ValidateIpPool(IpPool pool) {
+ FabricCommon.ValidateResource(pool);
+
+ // TODO: Can we test on when this is not supposed to be null?
+ // This is allowed to be null
+ //Assert.Null(pool.AddressPrefix, "AddressPrefix is null");
+
+ Assert.NotNull(pool.EndIpAddress);
+ Assert.NotNull(pool.NumberOfAllocatedIpAddresses);
+ Assert.NotNull(pool.NumberOfIpAddresses);
+ Assert.NotNull(pool.NumberOfIpAddressesInTransition);
+ Assert.NotNull(pool.StartIpAddress);
+ }
+
+ [Fact]
+ public void TestListIpPools() {
+ RunTest((client) => {
+ var ipPools = client.IpPools.List(Location);
+ Common.MapOverIPage(ipPools, client.IpPools.ListNext, ValidateIpPool);
+ Common.WriteIPagesToFile(ipPools, client.IpPools.ListNext, "ListIpPools.txt", (pool) => pool.Name);
+ });
+ }
+
+ [Fact]
+ public void TestGetIpPool() {
+ RunTest((client) => {
+ var ipPool = client.IpPools.List(Location).GetFirst();
+ if (ipPool != null)
+ {
+ var retrieved = client.IpPools.Get(Location, ipPool.Name);
+ AssertIpPoolsAreSame(ipPool, retrieved);
+ }
+ });
+ }
+ [Fact]
+ public void TestGetAllIpPools() {
+ RunTest((client) => {
+ var ipPools = client.IpPools.List(Location);
+ Common.MapOverIPage(ipPools, client.IpPools.ListNext, (pool) => {
+ var retrieved = client.IpPools.Get(Location, pool.Name);
+ AssertIpPoolsAreSame(pool, retrieved);
+ });
+ });
+ }
+
+
+ private IpPool CreateNewIpPool(string ipPoolName) {
+ var ipPool = new IpPool()
+ {
+ StartIpAddress = "9.9.9.1",
+ EndIpAddress = "9.9.9.254",
+ AddressPrefix = "9.9.9.0/24"
+ };
+ return ipPool;
+ }
+
+ // [BUG:13271901] : [FRP] Attempting to create an IP Pool Results in Service Offline error
+ [Fact(Skip ="RP throws exception")]
+ public void TestCreateIpPool() {
+ RunTest((client) => {
+
+ var ipPoolName = "myippoolwhichcanneverbedeleted";
+ var ipPool = CreateNewIpPool(ipPoolName);
+
+ var retrieved = client.IpPools.Create(Location, ipPoolName, ipPool);
+ var test = client.IpPools.Get(Location, ipPoolName);
+
+ Assert.False(test != null && retrieved == null);
+ Assert.False(retrieved != null && test == null);
+
+ Assert.Null(retrieved);
+ Assert.Equal(ipPool.NumberOfIpAddresses, retrieved.NumberOfIpAddresses);
+ Assert.Equal(ipPool.StartIpAddress, retrieved.StartIpAddress);
+ Assert.Equal(ipPool.EndIpAddress, retrieved.EndIpAddress);
+
+
+ });
+ }
+ }
+}
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/LogicalNetworkTest.cs b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/LogicalNetworkTest.cs
new file mode 100644
index 000000000000..108fb922b2e5
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/LogicalNetworkTest.cs
@@ -0,0 +1,76 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+
+using Microsoft.AzureStack.Management.Fabric.Admin;
+using Microsoft.AzureStack.Management.Fabric.Admin.Models;
+using Xunit;
+
+namespace Fabric.Tests {
+
+ public class LogicalNetworkTest : FabricTestBase {
+
+ private void AssertLogicalNetworksAreSame(LogicalNetwork expected, LogicalNetwork found) {
+ if (expected == null) {
+ Assert.Null(found);
+ } else {
+ Assert.True(FabricCommon.ResourceAreSame(expected, found));
+
+ Assert.Equal(expected.NetworkVirtualizationEnabled, found.NetworkVirtualizationEnabled);
+ if (expected.Subnets != null) {
+ Assert.Equal(expected.Subnets.Count, found.Subnets.Count);
+ } else {
+ Assert.Null(found.Subnets);
+ }
+
+ if (expected.Metadata != null) {
+ Assert.Equal(expected.Metadata.Count, found.Metadata.Count);
+ } else {
+ Assert.Null(found.Metadata);
+ }
+
+ }
+ }
+
+ private void ValidateLogicalNetwork(LogicalNetwork logicalNetwork) {
+ FabricCommon.ValidateResource(logicalNetwork);
+
+ Assert.NotNull(logicalNetwork.NetworkVirtualizationEnabled);
+ Assert.NotNull(logicalNetwork.Subnets);
+ }
+
+ [Fact]
+ public void TestListLogicalNetworks() {
+ RunTest((client) => {
+ var logicalNetworks = client.LogicalNetworks.List(Location);
+ Common.MapOverIPage(logicalNetworks, client.LogicalNetworks.ListNext, ValidateLogicalNetwork);
+ Common.WriteIPagesToFile(logicalNetworks, client.LogicalNetworks.ListNext, "ListLogicalNetworks.txt", (logicalNetwork) => logicalNetwork.Name);
+ });
+ }
+
+ [Fact]
+ public void TestGetLogicalNetwork() {
+ RunTest((client) => {
+ foreach(var logicalNetwork in client.LogicalNetworks.List(Location) ) {
+ var retrieved = client.LogicalNetworks.Get(Location, logicalNetwork.Name);
+ AssertLogicalNetworksAreSame(logicalNetwork, retrieved);
+ break;
+ }
+ });
+ }
+
+ [Fact]
+ public void TestGetAllLogicalNetworks() {
+ RunTest((client) => {
+ var logicalNetworks = client.LogicalNetworks.List(Location);
+ Common.MapOverIPage(logicalNetworks, client.LogicalNetworks.ListNext, (logicalNetwork) => {
+ var retrieved = client.LogicalNetworks.Get(Location, logicalNetwork.Name);
+ AssertLogicalNetworksAreSame(logicalNetwork, retrieved);
+ });
+
+ });
+ }
+
+ }
+}
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/LogicalSubnetTests.cs b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/LogicalSubnetTests.cs
new file mode 100644
index 000000000000..1f9a55f3bb32
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/LogicalSubnetTests.cs
@@ -0,0 +1,82 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+
+using Microsoft.AzureStack.Management.Fabric.Admin;
+using Microsoft.AzureStack.Management.Fabric.Admin.Models;
+using Xunit;
+
+namespace Fabric.Tests {
+
+ public class LogicalSubnetTests : FabricTestBase {
+ private void AssertLogicalSubnetsAreSame(LogicalSubnet expected, LogicalSubnet found) {
+ if (expected == null) {
+ Assert.Null(found);
+ } else {
+ Assert.True(FabricCommon.ResourceAreSame(expected, found));
+
+ Assert.Equal(expected.IsPublic, found.IsPublic);
+ if (expected.IpPools != null) {
+ Assert.Equal(expected.IpPools.Count, found.IpPools.Count);
+ } else {
+ Assert.Null(found.IpPools);
+ }
+
+ if (expected.Metadata != null) {
+ Assert.Equal(expected.Metadata.Count, found.Metadata.Count);
+ } else {
+ Assert.Null(found.Metadata);
+ }
+
+ }
+ }
+
+ private void ValidateLogicalSubnet(LogicalSubnet logicalSubnet) {
+ FabricCommon.ValidateResource(logicalSubnet);
+
+ Assert.NotNull(logicalSubnet.IpPools);
+ Assert.NotNull(logicalSubnet.IsPublic);
+ }
+
+ [Fact]
+ public void TestListLogicalSubnets() {
+ RunTest((client) => {
+ var logicalNetworks = client.LogicalNetworks.List(Location);
+ Common.MapOverIPage(logicalNetworks, client.LogicalNetworks.ListNext, (logicalNetwork) => {
+ var logicalSubnets = client.LogicalSubnets.List(Location, logicalNetwork.Name);
+ Common.MapOverIPage(logicalSubnets, client.LogicalSubnets.ListNext, ValidateLogicalSubnet);
+ Common.WriteIPagesToFile(logicalSubnets, client.LogicalSubnets.ListNext, "ListLogicalSubnets.txt", (logicalSubnet) => logicalSubnet.Name);
+ });
+ });
+ }
+
+ [Fact]
+ public void TestGetLogicalSubnet() {
+ RunTest((client) => {
+ var logicalNetwork = client.LogicalNetworks.List(Location).GetFirst();
+ var logicalSubnet = client.LogicalSubnets.List(Location, logicalNetwork.Name).GetFirst();
+ if (logicalSubnet != null) {
+ var retrieved = client.LogicalSubnets.Get(Location, logicalNetwork.Name, logicalSubnet.Name);
+ AssertLogicalSubnetsAreSame(logicalSubnet, retrieved);
+ }
+ });
+ }
+
+ [Fact]
+ public void TestGetAllLogicalSubnets() {
+ RunTest((client) => {
+ var logicalNetworks = client.LogicalNetworks.List(Location);
+ Common.MapOverIPage(logicalNetworks, client.LogicalNetworks.ListNext, (logicalNetwork) => {
+ var logicalSubnets = client.LogicalSubnets.List(Location, logicalNetwork.Name);
+ Common.MapOverIPage(logicalSubnets, client.LogicalSubnets.ListNext, (logicalSubnet) => {
+ var retrieved = client.LogicalSubnets.Get(Location, logicalNetwork.Name, logicalSubnet.Name);
+ AssertLogicalSubnetsAreSame(logicalSubnet, retrieved);
+ });
+ });
+
+ });
+ }
+
+ }
+}
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/MacAddressPoolTests.cs b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/MacAddressPoolTests.cs
new file mode 100644
index 000000000000..9d79d85ba2d2
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/MacAddressPoolTests.cs
@@ -0,0 +1,81 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+
+using Microsoft.AzureStack.Management.Fabric.Admin;
+using Microsoft.AzureStack.Management.Fabric.Admin.Models;
+using Xunit;
+
+namespace Fabric.Tests
+{
+ public class MacAddressPoolTests : FabricTestBase
+ {
+ private void AssertMacAddressPoolsAreSame(MacAddressPool expected, MacAddressPool found) {
+ if (expected == null)
+ {
+ Assert.Null(found);
+ }
+ else
+ {
+ Assert.True(FabricCommon.ResourceAreSame(expected, found));
+
+ Assert.Equal(expected.NumberOfAllocatedMacAddresses, found.NumberOfAllocatedMacAddresses);
+ Assert.Equal(expected.NumberOfAvailableMacAddresses, found.NumberOfAvailableMacAddresses);
+ Assert.Equal(expected.StartMacAddress, found.StartMacAddress);
+ Assert.Equal(expected.EndMacAddress, found.EndMacAddress);
+
+ if (expected.Metadata != null)
+ {
+ Assert.Equal(expected.Metadata.Count, found.Metadata.Count);
+ }
+ else
+ {
+ Assert.Null(found.Metadata);
+ }
+ }
+ }
+
+ private void ValidateMacAddressPool(MacAddressPool macAddressPool) {
+ FabricCommon.ValidateResource(macAddressPool);
+
+ Assert.NotNull(macAddressPool.NumberOfAllocatedMacAddresses);
+ Assert.NotNull(macAddressPool.NumberOfAvailableMacAddresses);
+ Assert.NotNull(macAddressPool.StartMacAddress);
+ Assert.NotNull(macAddressPool.EndMacAddress);
+ }
+
+ [Fact]
+ public void TestListMacAddressPools() {
+ RunTest((client) => {
+ var macAddressPools = client.MacAddressPools.List(Location);
+ Common.MapOverIPage(macAddressPools, client.MacAddressPools.ListNext, ValidateMacAddressPool);
+ Common.WriteIPagesToFile(macAddressPools, client.MacAddressPools.ListNext, "ListMacAddressPools.txt", (macAddressPool) => macAddressPool.Name);
+ });
+ }
+
+ [Fact]
+ public void TestGetMacAddressPool() {
+ RunTest((client) => {
+ var macAddressPool = client.MacAddressPools.List(Location).GetFirst();
+ if (macAddressPool != null)
+ {
+ var retrieved = client.MacAddressPools.Get(Location, macAddressPool.Name);
+ AssertMacAddressPoolsAreSame(macAddressPool, retrieved);
+ }
+ });
+ }
+
+ [Fact]
+ public void TestGetAllMacAddressPools() {
+ RunTest((client) => {
+ var macAddressPools = client.MacAddressPools.List(Location);
+ Common.MapOverIPage(macAddressPools, client.MacAddressPools.ListNext, (macAddressPool) => {
+ var retrieved = client.MacAddressPools.Get(Location, macAddressPool.Name);
+ AssertMacAddressPoolsAreSame(macAddressPool, retrieved);
+ });
+ });
+ }
+
+ }
+}
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/OperationTests.cs b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/OperationTests.cs
new file mode 100644
index 000000000000..5bfb254bbd23
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/OperationTests.cs
@@ -0,0 +1,26 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+
+using Microsoft.AzureStack.Management.Fabric.Admin;
+using Xunit;
+
+namespace Fabric.Tests {
+ public class OperationTests : FabricTestBase {
+
+ [Fact(Skip ="Need operation first, we run this in another test.")]
+ public void TestGetComputeFabricOperations() {
+ RunTest((client) => {
+ client.ComputeFabricOperations.Get("storageFabricOperation", "Microsoft.Storage", Location);
+ });
+ }
+
+ [Fact(Skip = "Need operation first, we run this in another test.")]
+ public void TestGetNetworkFabricOperations() {
+ RunTest((client) => {
+ client.NetworkFabricOperations.Get("storageFabricOperation", "Microsoft.Storage", Location);
+ });
+ }
+ }
+}
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/ScaleUnitNodeTests.cs b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/ScaleUnitNodeTests.cs
new file mode 100644
index 000000000000..f663c306f5f0
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/ScaleUnitNodeTests.cs
@@ -0,0 +1,170 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+
+using Microsoft.AzureStack.Management.Fabric.Admin;
+using Microsoft.AzureStack.Management.Fabric.Admin.Models;
+using Microsoft.Rest.Azure;
+using Xunit;
+
+namespace Fabric.Tests
+{
+
+ public class ScaleUnitNodeTests : FabricTestBase
+ {
+ private void AssertScaleUnitNodesAreSame(ScaleUnitNode expected, ScaleUnitNode found) {
+ if (expected == null)
+ {
+ Assert.Null(found);
+ }
+ else
+ {
+ Assert.True(FabricCommon.ResourceAreSame(expected, found));
+
+ Assert.Equal(expected.BiosVersion, found.BiosVersion);
+ Assert.Equal(expected.BmcAddress, found.BmcAddress);
+ Assert.Equal(expected.CanPowerOff, found.CanPowerOff);
+ if (expected.Capacity == null)
+ {
+ Assert.Null(found.Capacity);
+ }
+ else
+ {
+ Assert.Equal(expected.Capacity.Cores, found.Capacity.Cores);
+ Assert.Equal(expected.Capacity.MemoryGB, found.Capacity.MemoryGB);
+ }
+ Assert.Equal(expected.Model, found.Model);
+ Assert.Equal(expected.PowerState, found.PowerState);
+ Assert.Equal(expected.ScaleUnitName, found.ScaleUnitName);
+ Assert.Equal(expected.ScaleUnitNodeStatus, found.ScaleUnitNodeStatus);
+ Assert.Equal(expected.ScaleUnitUri, found.ScaleUnitUri);
+ Assert.Equal(expected.SerialNumber, found.SerialNumber);
+ Assert.Equal(expected.Vendor, found.Vendor);
+
+ }
+ }
+
+ private void ValidateScaleUnitNode(ScaleUnitNode scaleUnitNode) {
+ FabricCommon.ValidateResource(scaleUnitNode);
+
+ Assert.NotNull(scaleUnitNode.CanPowerOff);
+ Assert.NotNull(scaleUnitNode.Capacity);
+ Assert.NotNull(scaleUnitNode.PowerState);
+ Assert.NotNull(scaleUnitNode.ScaleUnitName);
+ Assert.NotNull(scaleUnitNode.ScaleUnitNodeStatus);
+ Assert.NotNull(scaleUnitNode.ScaleUnitUri);
+ }
+
+
+ [Fact]
+ public void TestListScaleUnitNodes() {
+ RunTest((client) => {
+ var scaleUnitNodes = client.ScaleUnitNodes.List(Location);
+ Common.MapOverIPage(scaleUnitNodes, client.ScaleUnitNodes.ListNext, ValidateScaleUnitNode);
+ Common.WriteIPagesToFile(scaleUnitNodes, client.ScaleUnitNodes.ListNext, "ListScaleUnitNodes.txt", ResourceName);
+ });
+ }
+
+ [Fact]
+ public void TestGetScaleUnitNode() {
+ RunTest((client) => {
+ var scaleUnitNode = client.ScaleUnitNodes.List(Location).GetFirst();
+ var retrieved = client.ScaleUnitNodes.Get(Location, scaleUnitNode.Name);
+ AssertScaleUnitNodesAreSame(scaleUnitNode, retrieved);
+ });
+ }
+
+ [Fact]
+ public void TestGetAllScaleUnitNodes() {
+ RunTest((client) => {
+ var scaleUnitNodes = client.ScaleUnitNodes.List(Location);
+ Common.MapOverIPage(scaleUnitNodes, client.ScaleUnitNodes.ListNext, (scaleUnitNode) => {
+ var retrieved = client.ScaleUnitNodes.Get(Location, scaleUnitNode.Name);
+ AssertScaleUnitNodesAreSame(scaleUnitNode, retrieved);
+ });
+ });
+ }
+
+ [Fact]
+ public void TestPowerOnScaleUnitNode() {
+ RunTest((client) => {
+ var scaleUnitNode = client.ScaleUnitNodes.List(Location).GetFirst();
+
+ var provisioningState = client.ScaleUnitNodes.PowerOn(Location, scaleUnitNode.Name);
+ Assert.NotEqual(provisioningState.ProvisioningStateProperty, "Success");
+
+ var sun = client.ScaleUnitNodes.Get(Location, scaleUnitNode.Name);
+ Assert.Equal("Running", sun.PowerState);
+ });
+ }
+
+ [Fact]
+ public void TestStartStopMaintenanceModeUnitNode() {
+ RunTest((client) => {
+ var scaleUnitNode = client.ScaleUnitNodes.List(Location).GetFirst();
+ Assert.Throws(() => {
+ client.ScaleUnitNodes.StartMaintenanceMode(Location, scaleUnitNode.Name);
+ client.ScaleUnitNodes.StopMaintenanceMode(Location, scaleUnitNode.Name);
+ });
+ });
+ }
+
+
+ // Try on Tenant VMs
+
+ // This needs to be setup before the run.
+ private string TenantVMName = "502828aa-de3a-4ba9-a66c-5ae6d49589d7";
+
+
+ [Fact]
+ public void TestGetScaleUnitNodeOnTenantVM() {
+ RunTest((client) => {
+ Assert.Throws(() => client.ScaleUnitNodes.Get(Location, TenantVMName));
+ });
+ }
+
+ [Fact]
+ public void TestPowerOnOnTenantVM() {
+ RunTest((client) => {
+ Assert.Throws(() => {
+ var provisioningState = client.ScaleUnitNodes.PowerOn(Location, TenantVMName);
+ Assert.NotEqual(provisioningState.ProvisioningStateProperty, "Success");
+ });
+ });
+ }
+
+
+ [Fact]
+ public void TestPowerOffOnTenantVM() {
+ RunTest((client) => {
+ Assert.Throws(() => {
+ var provisioningState = client.ScaleUnitNodes.PowerOff(Location, TenantVMName);
+ Assert.NotEqual(provisioningState.ProvisioningStateProperty, "Success");
+ });
+ });
+ }
+
+ [Fact]
+ public void TestStartMaintenanceModeOnTenantVM() {
+ RunTest((client) => {
+ Assert.Throws(() => {
+ var provisioningState = client.ScaleUnitNodes.StartMaintenanceMode(Location, TenantVMName);
+ Assert.NotEqual(provisioningState.ProvisioningStateProperty, "Success");
+ });
+ });
+ }
+
+ // Disabled
+
+ [Fact(Skip = "No hardware")]
+ public void TestPowerOffScaleUnitNode() {
+ RunTest((client) => {
+ var scaleUnitNode = client.ScaleUnitNodes.List(Location).GetFirst();
+ var obj1 = client.ScaleUnitNodes.PowerOff(Location, scaleUnitNode.Name);
+ var obj2 = client.ScaleUnitNodes.PowerOn(Location, scaleUnitNode.Name);
+ });
+ }
+
+ }
+}
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/ScaleUnitTests.cs b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/ScaleUnitTests.cs
new file mode 100644
index 000000000000..b4c1342cea69
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/ScaleUnitTests.cs
@@ -0,0 +1,104 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+
+using Microsoft.AzureStack.Management.Fabric.Admin;
+using Microsoft.AzureStack.Management.Fabric.Admin.Models;
+using Xunit;
+
+namespace Fabric.Tests
+{
+
+ public class ScaleUnitTests : FabricTestBase
+ {
+ private void AssertScaleUnitsAreSame(ScaleUnit expected, ScaleUnit found) {
+ if (expected == null)
+ {
+ Assert.Null(found);
+ }
+ else
+ {
+ Assert.True(FabricCommon.ResourceAreSame(expected, found));
+
+ Assert.Equal(expected.LogicalFaultDomain, found.LogicalFaultDomain);
+ Assert.Equal(expected.Model, found.Model);
+
+ if (expected.Nodes == null)
+ {
+ Assert.Null(found.Nodes);
+ }
+ else
+ {
+ Assert.Equal(expected.Nodes.Count, found.Nodes.Count);
+ }
+
+ Assert.Equal(expected.ScaleUnitType, found.ScaleUnitType);
+ Assert.Equal(expected.State, found.State);
+
+ if (expected.TotalCapacity == null)
+ {
+ Assert.Null(found.TotalCapacity);
+ }
+ else
+ {
+ Assert.Equal(expected.TotalCapacity.Cores, found.TotalCapacity.Cores);
+ Assert.Equal(expected.TotalCapacity.MemoryGB, found.TotalCapacity.MemoryGB);
+ }
+
+ }
+ }
+
+ private void ValidateScaleUnit(ScaleUnit scaleUnit) {
+ FabricCommon.ValidateResource(scaleUnit);
+
+ Assert.NotNull(scaleUnit.LogicalFaultDomain);
+ Assert.NotNull(scaleUnit.ScaleUnitType);
+ Assert.NotNull(scaleUnit.State);
+ Assert.NotNull(scaleUnit.TotalCapacity);
+ }
+
+
+ [Fact]
+ public void TestListScaleUnits() {
+ RunTest((client) => {
+ var scaleUnits = client.ScaleUnits.List(Location);
+ Common.MapOverIPage(scaleUnits, client.ScaleUnits.ListNext, ValidateScaleUnit);
+ Common.WriteIPagesToFile(scaleUnits, client.ScaleUnits.ListNext, "ListScaleUnits.txt", ResourceName);
+ });
+ }
+
+ [Fact]
+ public void TestGetScaleUnit() {
+ RunTest((client) => {
+ var scaleUnit = client.ScaleUnits.List(Location).GetFirst();
+ var retrieved = client.ScaleUnits.Get(Location, scaleUnit.Name);
+ AssertScaleUnitsAreSame(scaleUnit, retrieved);
+ });
+ }
+
+ [Fact]
+ public void TestGetAllScaleUnits() {
+ RunTest((client) => {
+ var scaleUnits = client.ScaleUnits.List(Location);
+ Common.MapOverIPage(scaleUnits, client.ScaleUnits.ListNext, (scaleUnit) => {
+ var retrieved = client.ScaleUnits.Get(Location, scaleUnit.Name);
+ AssertScaleUnitsAreSame(scaleUnit, retrieved);
+ });
+ });
+ }
+
+ [Fact(Skip ="no hardware")]
+ public void TestScaleOutScaleUnit() {
+ RunTest((client) => {
+ var scaleUnit = client.ScaleUnits.List(Location).GetFirst();
+ var desc = new BareMetalNodeDescription()
+ {
+ // TODO
+ };
+ client.ScaleUnits.ScaleOut(Location, scaleUnit.Name, desc);
+ });
+ }
+
+ }
+}
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/SlbMuxInstanceTests.cs b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/SlbMuxInstanceTests.cs
new file mode 100644
index 000000000000..77df6ae23417
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/SlbMuxInstanceTests.cs
@@ -0,0 +1,69 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+
+using Microsoft.AzureStack.Management.Fabric.Admin;
+using Microsoft.AzureStack.Management.Fabric.Admin.Models;
+using Xunit;
+
+namespace Fabric.Tests {
+
+ public class SlbMuxInstanceTests : FabricTestBase {
+
+ private void AssertSlbMuxInstancesAreSame(SlbMuxInstance expected, SlbMuxInstance found) {
+ if (expected == null) {
+ Assert.Null(found);
+ } else {
+ Assert.True(FabricCommon.ResourceAreSame(expected, found));
+
+ if (expected.BgpPeers == null) {
+ Assert.Null(found.BgpPeers);
+ } else {
+ Assert.Equal(expected.BgpPeers.Count, found.BgpPeers.Count);
+ }
+ Assert.Equal(expected.ConfigurationState, found.ConfigurationState);
+ Assert.Equal(expected.VirtualServer, found.VirtualServer);
+ }
+ }
+
+ private void ValidateSlbMuxInstance(SlbMuxInstance instance) {
+ FabricCommon.ValidateResource(instance);
+
+ Assert.NotNull(instance.BgpPeers);
+ Assert.NotNull(instance.ConfigurationState);
+ Assert.NotNull(instance.VirtualServer);
+ }
+
+
+ [Fact]
+ public void TestListSlbMuxInstances() {
+ RunTest((client) => {
+ var slbMuxInstances = client.SlbMuxInstances.List(Location);
+ Common.MapOverIPage(slbMuxInstances, client.SlbMuxInstances.ListNext, ValidateSlbMuxInstance);
+ Common.WriteIPagesToFile(slbMuxInstances, client.SlbMuxInstances.ListNext, "ListSlbMuxInstances.txt", ResourceName);
+ });
+ }
+
+ [Fact]
+ public void TestGetSlbMuxInstance() {
+ RunTest((client) => {
+ var slbMuxInstance = client.SlbMuxInstances.List(Location).GetFirst();
+ var retrieved = client.SlbMuxInstances.Get(Location, slbMuxInstance.Name);
+ AssertSlbMuxInstancesAreSame(slbMuxInstance, retrieved);
+ });
+ }
+
+ [Fact]
+ public void TestGetAllSlbMuxInstances() {
+ RunTest((client) => {
+ var slbMuxInstances = client.SlbMuxInstances.List(Location);
+ Common.MapOverIPage(slbMuxInstances, client.SlbMuxInstances.ListNext, (slbMuxInstance) => {
+ var retrieved = client.SlbMuxInstances.Get(Location, slbMuxInstance.Name);
+ AssertSlbMuxInstancesAreSame(slbMuxInstance, retrieved);
+ });
+ });
+ }
+
+ }
+}
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/StoragePoolTests.cs b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/StoragePoolTests.cs
new file mode 100644
index 000000000000..79f17e026ed3
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/StoragePoolTests.cs
@@ -0,0 +1,67 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+
+using Microsoft.AzureStack.Management.Fabric.Admin;
+using Microsoft.AzureStack.Management.Fabric.Admin.Models;
+using Xunit;
+
+namespace Fabric.Tests {
+
+ public class StoragePoolTests : FabricTestBase {
+
+ private void AssertStoragePoolsAreSame(StoragePool expected, StoragePool found) {
+ if (expected == null) {
+ Assert.Null(found);
+ } else {
+ Assert.True(FabricCommon.ResourceAreSame(expected, found));
+ Assert.Equal(expected.SizeGB, found.SizeGB);
+ }
+ }
+
+ private void ValidateStoragePool(StoragePool instance) {
+ FabricCommon.ValidateResource(instance);
+
+ Assert.NotNull(instance.SizeGB);
+ }
+
+
+ [Fact]
+ public void TestListStoragePools() {
+ RunTest((client) => {
+ var subSystems = client.StorageSystems.List(Location);
+ Common.MapOverIPage(subSystems, client.StorageSystems.ListNext, (subSystem) => {
+ var storagePools = client.StoragePools.List(Location, subSystem.Name);
+ Common.MapOverIPage(storagePools, client.StoragePools.ListNext, ValidateStoragePool);
+ Common.WriteIPagesToFile(storagePools, client.StoragePools.ListNext, "ListStoragePools.txt", ResourceName);
+ });
+ });
+ }
+
+ [Fact]
+ public void TestGetStoragePool() {
+ RunTest((client) => {
+ var subSystem = client.StorageSystems.List(Location).GetFirst();
+ var storagePool = client.StoragePools.List(Location, subSystem.Name).GetFirst();
+ var retrieved = client.StoragePools.Get(Location, subSystem.Name, storagePool.Name);
+ AssertStoragePoolsAreSame(storagePool, retrieved);
+ });
+ }
+
+ [Fact]
+ public void TestGetAllStoragePools() {
+ RunTest((client) => {
+ var subSystems = client.StorageSystems.List(Location);
+ Common.MapOverIPage(subSystems, client.StorageSystems.ListNext, (subSystem) => {
+ var StoragePools = client.StoragePools.List(Location, subSystem.Name);
+ Common.MapOverIPage(StoragePools, client.StoragePools.ListNext, (StoragePool) => {
+ var retrieved = client.StoragePools.Get(Location, subSystem.Name, StoragePool.Name);
+ AssertStoragePoolsAreSame(StoragePool, retrieved);
+ });
+ });
+ });
+ }
+
+ }
+}
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/StorageSystemTests.cs b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/StorageSystemTests.cs
new file mode 100644
index 000000000000..05011a02c2fb
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/StorageSystemTests.cs
@@ -0,0 +1,65 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+
+using Microsoft.AzureStack.Management.Fabric.Admin;
+using Microsoft.AzureStack.Management.Fabric.Admin.Models;
+using Xunit;
+
+namespace Fabric.Tests
+{
+
+ public class StorageSystemTests : FabricTestBase
+ {
+
+ private void AssertStorageSystemsAreSame(StorageSystem expected, StorageSystem found) {
+ if (expected == null)
+ {
+ Assert.Null(found);
+ }
+ else
+ {
+ Assert.True(FabricCommon.ResourceAreSame(expected, found));
+ Assert.Equal(expected.TotalCapacityGB, found.TotalCapacityGB);
+ }
+ }
+
+ private void ValidateStorageSystem(StorageSystem instance) {
+ FabricCommon.ValidateResource(instance);
+
+ Assert.NotNull(instance.TotalCapacityGB);
+ }
+
+
+ [Fact]
+ public void TestListStorageSystems() {
+ RunTest((client) => {
+ var subSystems = client.StorageSystems.List(Location);
+ Common.MapOverIPage(subSystems, client.StorageSystems.ListNext, ValidateStorageSystem);
+ Common.WriteIPagesToFile(subSystems, client.StorageSystems.ListNext, "ListStorageSystems.txt", ResourceName);
+ });
+ }
+
+ [Fact]
+ public void TestGetStorageSystem() {
+ RunTest((client) => {
+ var subSystem = client.StorageSystems.List(Location).GetFirst();
+ var retrieved = client.StorageSystems.Get(Location, subSystem.Name);
+ AssertStorageSystemsAreSame(subSystem, retrieved);
+ });
+ }
+
+ [Fact]
+ public void TestGetAllStorageSystems() {
+ RunTest((client) => {
+ var subSystems = client.StorageSystems.List(Location);
+ Common.MapOverIPage(subSystems, client.StorageSystems.ListNext, (subSystem) => {
+ var retrieved = client.StorageSystems.Get(Location, subSystem.Name);
+ AssertStorageSystemsAreSame(subSystem, retrieved);
+ });
+ });
+ }
+
+ }
+}
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/VolumeTests.cs b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/VolumeTests.cs
new file mode 100644
index 000000000000..66f4ccd4f0e2
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin.Tests/src/VolumeTests.cs
@@ -0,0 +1,81 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+
+using Microsoft.AzureStack.Management.Fabric.Admin;
+using Microsoft.AzureStack.Management.Fabric.Admin.Models;
+using Xunit;
+
+namespace Fabric.Tests {
+
+ public class VolumeTests : FabricTestBase {
+
+ private void AssertVolumesAreSame(Volume expected, Volume found) {
+ if (expected == null) {
+ Assert.Null(found);
+ } else {
+ Assert.True(FabricCommon.ResourceAreSame(expected, found));
+
+ Assert.Equal(expected.FileSystem, found.FileSystem);
+ Assert.Equal(expected.RemainingSizeGB, found.RemainingSizeGB);
+ Assert.Equal(expected.SizeGB, found.SizeGB);
+ Assert.Equal(expected.VolumeLabel, found.VolumeLabel);
+ }
+ }
+
+ private void ValidateVolume(Volume instance) {
+ FabricCommon.ValidateResource(instance);
+
+
+ Assert.NotNull(instance.FileSystem);
+ Assert.NotNull(instance.RemainingSizeGB);
+ Assert.NotNull(instance.SizeGB);
+ Assert.NotNull(instance.VolumeLabel);
+ }
+
+
+ [Fact]
+ public void TestListVolumes() {
+ RunTest((client) => {
+ var subSystems = client.StorageSystems.List(Location);
+ Common.MapOverIPage(subSystems, client.StorageSystems.ListNext, (subSystem) => {
+ var storagePools = client.StoragePools.List(Location, subSystem.Name);
+ Common.MapOverIPage(storagePools, client.StoragePools.ListNext, (storagePool) => {
+ var volumes = client.Volumes.List(Location, subSystem.Name, storagePool.Name);
+ Common.MapOverIPage(volumes, client.Volumes.ListNext, ValidateVolume);
+ Common.WriteIPagesToFile(volumes, client.Volumes.ListNext, "ListVolumes.txt", ResourceName);
+ });
+ });
+ });
+ }
+
+ [Fact]
+ public void TestGetVolume() {
+ RunTest((client) => {
+ var subSystem = client.StorageSystems.List(Location).GetFirst();
+ var storagePool = client.StoragePools.List(Location, subSystem.Name).GetFirst();
+ var volume = client.Volumes.List(Location, subSystem.Name, storagePool.Name).GetFirst();
+ var retrieved = client.Volumes.Get(Location, subSystem.Name, storagePool.Name, volume.Name);
+ AssertVolumesAreSame(volume, retrieved);
+ });
+ }
+
+ [Fact]
+ public void TestGetAllVolumes() {
+ RunTest((client) => {
+ var subSystems = client.StorageSystems.List(Location);
+ Common.MapOverIPage(subSystems, client.StorageSystems.ListNext, (subSystem) => {
+ var storagePools = client.StoragePools.List(Location, subSystem.Name);
+ Common.MapOverIPage(storagePools, client.StoragePools.ListNext, (storagePool) => {
+ var volumes = client.Volumes.List(Location, subSystem.Name, storagePool.Name);
+ Common.MapOverIPage(volumes, client.Volumes.ListNext, (volume) => {
+ var retrieved = client.Volumes.Get(Location, subSystem.Name, storagePool.Name, volume.Name);
+ AssertVolumesAreSame(volume, retrieved);
+ });
+ });
+ });
+ });
+ }
+ }
+}
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin/Fabric/Fabric.Admin/Generated/ComputeFabricOperations.cs b/src/AzureStack/FabricAdmin/Fabric.Admin/Fabric/Fabric.Admin/Generated/ComputeFabricOperations.cs
new file mode 100644
index 000000000000..3184ea695e77
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin/Fabric/Fabric.Admin/Generated/ComputeFabricOperations.cs
@@ -0,0 +1,260 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+namespace Microsoft.AzureStack.Management.Fabric.Admin
+{
+ using Microsoft.AzureStack;
+ using Microsoft.AzureStack.Management;
+ using Microsoft.AzureStack.Management.Fabric;
+ using Microsoft.Rest;
+ using Microsoft.Rest.Azure;
+ using Models;
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+ using System.Net;
+ using System.Net.Http;
+ using System.Threading;
+ using System.Threading.Tasks;
+
+ ///
+ /// ComputeFabricOperations operations.
+ ///
+ internal partial class ComputeFabricOperations : IServiceOperations, IComputeFabricOperations
+ {
+ ///
+ /// Initializes a new instance of the ComputeFabricOperations class.
+ ///
+ ///
+ /// Reference to the service client.
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ internal ComputeFabricOperations(FabricAdminClient client)
+ {
+ if (client == null)
+ {
+ throw new System.ArgumentNullException("client");
+ }
+ Client = client;
+ }
+
+ ///
+ /// Gets a reference to the FabricAdminClient
+ ///
+ public FabricAdminClient Client { get; private set; }
+
+ ///
+ /// Get the status of a compute fabric operation.
+ ///
+ ///
+ /// Location of the resource.
+ ///
+ ///
+ /// Name of the provider.
+ ///
+ ///
+ /// Id of a compute fabric operation.
+ ///
+ ///
+ /// Headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// A response object containing the response body and response headers.
+ ///
+ public async Task> GetWithHttpMessagesAsync(string location, string provider, string computeOperationResult, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ if (Client.SubscriptionId == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
+ }
+ if (location == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "location");
+ }
+ if (provider == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "provider");
+ }
+ if (computeOperationResult == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "computeOperationResult");
+ }
+ if (Client.ApiVersion == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
+ }
+ // Tracing
+ bool _shouldTrace = ServiceClientTracing.IsEnabled;
+ string _invocationId = null;
+ if (_shouldTrace)
+ {
+ _invocationId = ServiceClientTracing.NextInvocationId.ToString();
+ Dictionary tracingParameters = new Dictionary();
+ tracingParameters.Add("location", location);
+ tracingParameters.Add("provider", provider);
+ tracingParameters.Add("computeOperationResult", computeOperationResult);
+ tracingParameters.Add("cancellationToken", cancellationToken);
+ ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters);
+ }
+ // Construct URL
+ var _baseUrl = Client.BaseUri.AbsoluteUri;
+ var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/{provider}/fabricLocations/{location}/computeOperationResults/{computeOperationResult}").ToString();
+ _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId));
+ _url = _url.Replace("{location}", System.Uri.EscapeDataString(location));
+ _url = _url.Replace("{provider}", System.Uri.EscapeDataString(provider));
+ _url = _url.Replace("{computeOperationResult}", System.Uri.EscapeDataString(computeOperationResult));
+ List _queryParameters = new List();
+ if (Client.ApiVersion != null)
+ {
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
+ }
+ if (_queryParameters.Count > 0)
+ {
+ _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
+ }
+ // Create HTTP transport objects
+ var _httpRequest = new HttpRequestMessage();
+ HttpResponseMessage _httpResponse = null;
+ _httpRequest.Method = new HttpMethod("GET");
+ _httpRequest.RequestUri = new System.Uri(_url);
+ // Set Headers
+ if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value)
+ {
+ _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
+ }
+ if (Client.AcceptLanguage != null)
+ {
+ if (_httpRequest.Headers.Contains("accept-language"))
+ {
+ _httpRequest.Headers.Remove("accept-language");
+ }
+ _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
+ }
+
+
+ if (customHeaders != null)
+ {
+ foreach(var _header in customHeaders)
+ {
+ if (_httpRequest.Headers.Contains(_header.Key))
+ {
+ _httpRequest.Headers.Remove(_header.Key);
+ }
+ _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
+ }
+ }
+
+ // Serialize Request
+ string _requestContent = null;
+ // Set Credentials
+ if (Client.Credentials != null)
+ {
+ cancellationToken.ThrowIfCancellationRequested();
+ await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ }
+ // Send Request
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
+ }
+ cancellationToken.ThrowIfCancellationRequested();
+ _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
+ }
+ HttpStatusCode _statusCode = _httpResponse.StatusCode;
+ cancellationToken.ThrowIfCancellationRequested();
+ string _responseContent = null;
+ if ((int)_statusCode != 202)
+ {
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ try
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ if (_errorBody != null)
+ {
+ ex = new CloudException(_errorBody.Message);
+ ex.Body = _errorBody;
+ }
+ }
+ catch (JsonException)
+ {
+ // Ignore the exception
+ }
+ ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
+ ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Error(_invocationId, ex);
+ }
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw ex;
+ }
+ // Create Result
+ var _result = new AzureOperationResponse();
+ _result.Request = _httpRequest;
+ _result.Response = _httpResponse;
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ // Deserialize Response
+ if ((int)_statusCode == 202)
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ try
+ {
+ _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ }
+ catch (JsonException ex)
+ {
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw new SerializationException("Unable to deserialize the response.", _responseContent, ex);
+ }
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Exit(_invocationId, _result);
+ }
+ return _result;
+ }
+
+ }
+}
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin/Fabric/Fabric.Admin/Generated/ComputeFabricOperationsExtensions.cs b/src/AzureStack/FabricAdmin/Fabric.Admin/Fabric/Fabric.Admin/Generated/ComputeFabricOperationsExtensions.cs
new file mode 100644
index 000000000000..3ddc2de88923
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin/Fabric/Fabric.Admin/Generated/ComputeFabricOperationsExtensions.cs
@@ -0,0 +1,72 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+namespace Microsoft.AzureStack.Management.Fabric.Admin
+{
+ using Microsoft.AzureStack;
+ using Microsoft.AzureStack.Management;
+ using Microsoft.AzureStack.Management.Fabric;
+ using Microsoft.Rest;
+ using Microsoft.Rest.Azure;
+ using Models;
+ using System.Threading;
+ using System.Threading.Tasks;
+
+ ///
+ /// Extension methods for ComputeFabricOperations.
+ ///
+ public static partial class ComputeFabricOperationsExtensions
+ {
+ ///
+ /// Get the status of a compute fabric operation.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// Location of the resource.
+ ///
+ ///
+ /// Name of the provider.
+ ///
+ ///
+ /// Id of a compute fabric operation.
+ ///
+ public static OperationStatus Get(this IComputeFabricOperations operations, string location, string provider, string computeOperationResult)
+ {
+ return operations.GetAsync(location, provider, computeOperationResult).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// Get the status of a compute fabric operation.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// Location of the resource.
+ ///
+ ///
+ /// Name of the provider.
+ ///
+ ///
+ /// Id of a compute fabric operation.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async Task GetAsync(this IComputeFabricOperations operations, string location, string provider, string computeOperationResult, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ using (var _result = await operations.GetWithHttpMessagesAsync(location, provider, computeOperationResult, null, cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+
+ }
+}
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin/Fabric/Fabric.Admin/Generated/EdgeGatewayPoolsOperations.cs b/src/AzureStack/FabricAdmin/Fabric.Admin/Fabric/Fabric.Admin/Generated/EdgeGatewayPoolsOperations.cs
new file mode 100644
index 000000000000..d2ac99631824
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin/Fabric/Fabric.Admin/Generated/EdgeGatewayPoolsOperations.cs
@@ -0,0 +1,624 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+namespace Microsoft.AzureStack.Management.Fabric.Admin
+{
+ using Microsoft.AzureStack;
+ using Microsoft.AzureStack.Management;
+ using Microsoft.AzureStack.Management.Fabric;
+ using Microsoft.Rest;
+ using Microsoft.Rest.Azure;
+ using Microsoft.Rest.Azure.OData;
+ using Models;
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+ using System.Net;
+ using System.Net.Http;
+ using System.Threading;
+ using System.Threading.Tasks;
+
+ ///
+ /// EdgeGatewayPoolsOperations operations.
+ ///
+ internal partial class EdgeGatewayPoolsOperations : IServiceOperations, IEdgeGatewayPoolsOperations
+ {
+ ///
+ /// Initializes a new instance of the EdgeGatewayPoolsOperations class.
+ ///
+ ///
+ /// Reference to the service client.
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ internal EdgeGatewayPoolsOperations(FabricAdminClient client)
+ {
+ if (client == null)
+ {
+ throw new System.ArgumentNullException("client");
+ }
+ Client = client;
+ }
+
+ ///
+ /// Gets a reference to the FabricAdminClient
+ ///
+ public FabricAdminClient Client { get; private set; }
+
+ ///
+ /// Get an EdgeGatewayPool.
+ ///
+ ///
+ /// Location of the resource.
+ ///
+ ///
+ /// Name of the edge gateway pool.
+ ///
+ ///
+ /// Headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// A response object containing the response body and response headers.
+ ///
+ public async Task> GetWithHttpMessagesAsync(string location, string edgeGatewayPool, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ if (Client.SubscriptionId == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
+ }
+ if (location == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "location");
+ }
+ if (edgeGatewayPool == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "edgeGatewayPool");
+ }
+ if (Client.ApiVersion == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
+ }
+ // Tracing
+ bool _shouldTrace = ServiceClientTracing.IsEnabled;
+ string _invocationId = null;
+ if (_shouldTrace)
+ {
+ _invocationId = ServiceClientTracing.NextInvocationId.ToString();
+ Dictionary tracingParameters = new Dictionary();
+ tracingParameters.Add("location", location);
+ tracingParameters.Add("edgeGatewayPool", edgeGatewayPool);
+ tracingParameters.Add("cancellationToken", cancellationToken);
+ ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters);
+ }
+ // Construct URL
+ var _baseUrl = Client.BaseUri.AbsoluteUri;
+ var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/edgeGatewayPools/{edgeGatewayPool}").ToString();
+ _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId));
+ _url = _url.Replace("{location}", System.Uri.EscapeDataString(location));
+ _url = _url.Replace("{edgeGatewayPool}", System.Uri.EscapeDataString(edgeGatewayPool));
+ List _queryParameters = new List();
+ if (Client.ApiVersion != null)
+ {
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
+ }
+ if (_queryParameters.Count > 0)
+ {
+ _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
+ }
+ // Create HTTP transport objects
+ var _httpRequest = new HttpRequestMessage();
+ HttpResponseMessage _httpResponse = null;
+ _httpRequest.Method = new HttpMethod("GET");
+ _httpRequest.RequestUri = new System.Uri(_url);
+ // Set Headers
+ if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value)
+ {
+ _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
+ }
+ if (Client.AcceptLanguage != null)
+ {
+ if (_httpRequest.Headers.Contains("accept-language"))
+ {
+ _httpRequest.Headers.Remove("accept-language");
+ }
+ _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
+ }
+
+
+ if (customHeaders != null)
+ {
+ foreach(var _header in customHeaders)
+ {
+ if (_httpRequest.Headers.Contains(_header.Key))
+ {
+ _httpRequest.Headers.Remove(_header.Key);
+ }
+ _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
+ }
+ }
+
+ // Serialize Request
+ string _requestContent = null;
+ // Set Credentials
+ if (Client.Credentials != null)
+ {
+ cancellationToken.ThrowIfCancellationRequested();
+ await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ }
+ // Send Request
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
+ }
+ cancellationToken.ThrowIfCancellationRequested();
+ _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
+ }
+ HttpStatusCode _statusCode = _httpResponse.StatusCode;
+ cancellationToken.ThrowIfCancellationRequested();
+ string _responseContent = null;
+ if ((int)_statusCode != 200)
+ {
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ try
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ if (_errorBody != null)
+ {
+ ex = new CloudException(_errorBody.Message);
+ ex.Body = _errorBody;
+ }
+ }
+ catch (JsonException)
+ {
+ // Ignore the exception
+ }
+ ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
+ ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Error(_invocationId, ex);
+ }
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw ex;
+ }
+ // Create Result
+ var _result = new AzureOperationResponse();
+ _result.Request = _httpRequest;
+ _result.Response = _httpResponse;
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ // Deserialize Response
+ if ((int)_statusCode == 200)
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ try
+ {
+ _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ }
+ catch (JsonException ex)
+ {
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw new SerializationException("Unable to deserialize the response.", _responseContent, ex);
+ }
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Exit(_invocationId, _result);
+ }
+ return _result;
+ }
+
+ ///
+ /// Get a list of all edge gateway pools at a location.
+ ///
+ ///
+ /// Location of the resource.
+ ///
+ ///
+ /// OData parameters to apply to the operation.
+ ///
+ ///
+ /// Headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// A response object containing the response body and response headers.
+ ///
+ public async Task>> ListWithHttpMessagesAsync(string location, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ if (Client.SubscriptionId == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
+ }
+ if (location == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "location");
+ }
+ if (Client.ApiVersion == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
+ }
+ // Tracing
+ bool _shouldTrace = ServiceClientTracing.IsEnabled;
+ string _invocationId = null;
+ if (_shouldTrace)
+ {
+ _invocationId = ServiceClientTracing.NextInvocationId.ToString();
+ Dictionary tracingParameters = new Dictionary();
+ tracingParameters.Add("odataQuery", odataQuery);
+ tracingParameters.Add("location", location);
+ tracingParameters.Add("cancellationToken", cancellationToken);
+ ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters);
+ }
+ // Construct URL
+ var _baseUrl = Client.BaseUri.AbsoluteUri;
+ var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/edgeGatewayPools").ToString();
+ _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId));
+ _url = _url.Replace("{location}", System.Uri.EscapeDataString(location));
+ List _queryParameters = new List();
+ if (odataQuery != null)
+ {
+ var _odataFilter = odataQuery.ToString();
+ if (!string.IsNullOrEmpty(_odataFilter))
+ {
+ _queryParameters.Add(_odataFilter);
+ }
+ }
+ if (Client.ApiVersion != null)
+ {
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
+ }
+ if (_queryParameters.Count > 0)
+ {
+ _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
+ }
+ // Create HTTP transport objects
+ var _httpRequest = new HttpRequestMessage();
+ HttpResponseMessage _httpResponse = null;
+ _httpRequest.Method = new HttpMethod("GET");
+ _httpRequest.RequestUri = new System.Uri(_url);
+ // Set Headers
+ if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value)
+ {
+ _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
+ }
+ if (Client.AcceptLanguage != null)
+ {
+ if (_httpRequest.Headers.Contains("accept-language"))
+ {
+ _httpRequest.Headers.Remove("accept-language");
+ }
+ _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
+ }
+
+
+ if (customHeaders != null)
+ {
+ foreach(var _header in customHeaders)
+ {
+ if (_httpRequest.Headers.Contains(_header.Key))
+ {
+ _httpRequest.Headers.Remove(_header.Key);
+ }
+ _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
+ }
+ }
+
+ // Serialize Request
+ string _requestContent = null;
+ // Set Credentials
+ if (Client.Credentials != null)
+ {
+ cancellationToken.ThrowIfCancellationRequested();
+ await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ }
+ // Send Request
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
+ }
+ cancellationToken.ThrowIfCancellationRequested();
+ _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
+ }
+ HttpStatusCode _statusCode = _httpResponse.StatusCode;
+ cancellationToken.ThrowIfCancellationRequested();
+ string _responseContent = null;
+ if ((int)_statusCode != 200)
+ {
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ try
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ if (_errorBody != null)
+ {
+ ex = new CloudException(_errorBody.Message);
+ ex.Body = _errorBody;
+ }
+ }
+ catch (JsonException)
+ {
+ // Ignore the exception
+ }
+ ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
+ ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Error(_invocationId, ex);
+ }
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw ex;
+ }
+ // Create Result
+ var _result = new AzureOperationResponse>();
+ _result.Request = _httpRequest;
+ _result.Response = _httpResponse;
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ // Deserialize Response
+ if ((int)_statusCode == 200)
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ try
+ {
+ _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings);
+ }
+ catch (JsonException ex)
+ {
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw new SerializationException("Unable to deserialize the response.", _responseContent, ex);
+ }
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Exit(_invocationId, _result);
+ }
+ return _result;
+ }
+
+ ///
+ /// Get a list of all edge gateway pools at a location.
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ ///
+ /// Headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// A response object containing the response body and response headers.
+ ///
+ public async Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ if (nextPageLink == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink");
+ }
+ // Tracing
+ bool _shouldTrace = ServiceClientTracing.IsEnabled;
+ string _invocationId = null;
+ if (_shouldTrace)
+ {
+ _invocationId = ServiceClientTracing.NextInvocationId.ToString();
+ Dictionary tracingParameters = new Dictionary();
+ tracingParameters.Add("nextPageLink", nextPageLink);
+ tracingParameters.Add("cancellationToken", cancellationToken);
+ ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters);
+ }
+ // Construct URL
+ string _url = "{nextLink}";
+ _url = _url.Replace("{nextLink}", nextPageLink);
+ List _queryParameters = new List();
+ if (_queryParameters.Count > 0)
+ {
+ _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
+ }
+ // Create HTTP transport objects
+ var _httpRequest = new HttpRequestMessage();
+ HttpResponseMessage _httpResponse = null;
+ _httpRequest.Method = new HttpMethod("GET");
+ _httpRequest.RequestUri = new System.Uri(_url);
+ // Set Headers
+ if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value)
+ {
+ _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
+ }
+ if (Client.AcceptLanguage != null)
+ {
+ if (_httpRequest.Headers.Contains("accept-language"))
+ {
+ _httpRequest.Headers.Remove("accept-language");
+ }
+ _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
+ }
+
+
+ if (customHeaders != null)
+ {
+ foreach(var _header in customHeaders)
+ {
+ if (_httpRequest.Headers.Contains(_header.Key))
+ {
+ _httpRequest.Headers.Remove(_header.Key);
+ }
+ _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
+ }
+ }
+
+ // Serialize Request
+ string _requestContent = null;
+ // Set Credentials
+ if (Client.Credentials != null)
+ {
+ cancellationToken.ThrowIfCancellationRequested();
+ await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ }
+ // Send Request
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
+ }
+ cancellationToken.ThrowIfCancellationRequested();
+ _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
+ }
+ HttpStatusCode _statusCode = _httpResponse.StatusCode;
+ cancellationToken.ThrowIfCancellationRequested();
+ string _responseContent = null;
+ if ((int)_statusCode != 200)
+ {
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ try
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ if (_errorBody != null)
+ {
+ ex = new CloudException(_errorBody.Message);
+ ex.Body = _errorBody;
+ }
+ }
+ catch (JsonException)
+ {
+ // Ignore the exception
+ }
+ ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
+ ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Error(_invocationId, ex);
+ }
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw ex;
+ }
+ // Create Result
+ var _result = new AzureOperationResponse>();
+ _result.Request = _httpRequest;
+ _result.Response = _httpResponse;
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ // Deserialize Response
+ if ((int)_statusCode == 200)
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ try
+ {
+ _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings);
+ }
+ catch (JsonException ex)
+ {
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw new SerializationException("Unable to deserialize the response.", _responseContent, ex);
+ }
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Exit(_invocationId, _result);
+ }
+ return _result;
+ }
+
+ }
+}
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin/Fabric/Fabric.Admin/Generated/EdgeGatewayPoolsOperationsExtensions.cs b/src/AzureStack/FabricAdmin/Fabric.Admin/Fabric/Fabric.Admin/Generated/EdgeGatewayPoolsOperationsExtensions.cs
new file mode 100644
index 000000000000..840d8a8845bd
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin/Fabric/Fabric.Admin/Generated/EdgeGatewayPoolsOperationsExtensions.cs
@@ -0,0 +1,141 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+namespace Microsoft.AzureStack.Management.Fabric.Admin
+{
+ using Microsoft.AzureStack;
+ using Microsoft.AzureStack.Management;
+ using Microsoft.AzureStack.Management.Fabric;
+ using Microsoft.Rest;
+ using Microsoft.Rest.Azure;
+ using Microsoft.Rest.Azure.OData;
+ using Models;
+ using System.Threading;
+ using System.Threading.Tasks;
+
+ ///
+ /// Extension methods for EdgeGatewayPoolsOperations.
+ ///
+ public static partial class EdgeGatewayPoolsOperationsExtensions
+ {
+ ///
+ /// Get an EdgeGatewayPool.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// Location of the resource.
+ ///
+ ///
+ /// Name of the edge gateway pool.
+ ///
+ public static EdgeGatewayPool Get(this IEdgeGatewayPoolsOperations operations, string location, string edgeGatewayPool)
+ {
+ return operations.GetAsync(location, edgeGatewayPool).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// Get an EdgeGatewayPool.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// Location of the resource.
+ ///
+ ///
+ /// Name of the edge gateway pool.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async Task GetAsync(this IEdgeGatewayPoolsOperations operations, string location, string edgeGatewayPool, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ using (var _result = await operations.GetWithHttpMessagesAsync(location, edgeGatewayPool, null, cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+
+ ///
+ /// Get a list of all edge gateway pools at a location.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// Location of the resource.
+ ///
+ ///
+ /// OData parameters to apply to the operation.
+ ///
+ public static IPage List(this IEdgeGatewayPoolsOperations operations, string location, ODataQuery odataQuery = default(ODataQuery))
+ {
+ return ((IEdgeGatewayPoolsOperations)operations).ListAsync(location, odataQuery).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// Get a list of all edge gateway pools at a location.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// Location of the resource.
+ ///
+ ///
+ /// OData parameters to apply to the operation.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async Task> ListAsync(this IEdgeGatewayPoolsOperations operations, string location, ODataQuery odataQuery = default(ODataQuery), CancellationToken cancellationToken = default(CancellationToken))
+ {
+ using (var _result = await operations.ListWithHttpMessagesAsync(location, odataQuery, null, cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+
+ ///
+ /// Get a list of all edge gateway pools at a location.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ public static IPage ListNext(this IEdgeGatewayPoolsOperations operations, string nextPageLink)
+ {
+ return operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// Get a list of all edge gateway pools at a location.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async Task> ListNextAsync(this IEdgeGatewayPoolsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+
+ }
+}
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin/Fabric/Fabric.Admin/Generated/EdgeGatewaysOperations.cs b/src/AzureStack/FabricAdmin/Fabric.Admin/Fabric/Fabric.Admin/Generated/EdgeGatewaysOperations.cs
new file mode 100644
index 000000000000..dea82210a3b2
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin/Fabric/Fabric.Admin/Generated/EdgeGatewaysOperations.cs
@@ -0,0 +1,624 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+namespace Microsoft.AzureStack.Management.Fabric.Admin
+{
+ using Microsoft.AzureStack;
+ using Microsoft.AzureStack.Management;
+ using Microsoft.AzureStack.Management.Fabric;
+ using Microsoft.Rest;
+ using Microsoft.Rest.Azure;
+ using Microsoft.Rest.Azure.OData;
+ using Models;
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+ using System.Net;
+ using System.Net.Http;
+ using System.Threading;
+ using System.Threading.Tasks;
+
+ ///
+ /// EdgeGatewaysOperations operations.
+ ///
+ internal partial class EdgeGatewaysOperations : IServiceOperations, IEdgeGatewaysOperations
+ {
+ ///
+ /// Initializes a new instance of the EdgeGatewaysOperations class.
+ ///
+ ///
+ /// Reference to the service client.
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ internal EdgeGatewaysOperations(FabricAdminClient client)
+ {
+ if (client == null)
+ {
+ throw new System.ArgumentNullException("client");
+ }
+ Client = client;
+ }
+
+ ///
+ /// Gets a reference to the FabricAdminClient
+ ///
+ public FabricAdminClient Client { get; private set; }
+
+ ///
+ /// Get an edge gateway by name.
+ ///
+ ///
+ /// Location of the resource.
+ ///
+ ///
+ /// name of the edge gateway.
+ ///
+ ///
+ /// Headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// A response object containing the response body and response headers.
+ ///
+ public async Task> GetWithHttpMessagesAsync(string location, string edgeGateway, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ if (Client.SubscriptionId == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
+ }
+ if (location == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "location");
+ }
+ if (edgeGateway == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "edgeGateway");
+ }
+ if (Client.ApiVersion == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
+ }
+ // Tracing
+ bool _shouldTrace = ServiceClientTracing.IsEnabled;
+ string _invocationId = null;
+ if (_shouldTrace)
+ {
+ _invocationId = ServiceClientTracing.NextInvocationId.ToString();
+ Dictionary tracingParameters = new Dictionary();
+ tracingParameters.Add("location", location);
+ tracingParameters.Add("edgeGateway", edgeGateway);
+ tracingParameters.Add("cancellationToken", cancellationToken);
+ ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters);
+ }
+ // Construct URL
+ var _baseUrl = Client.BaseUri.AbsoluteUri;
+ var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/edgeGateways/{edgeGateway}").ToString();
+ _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId));
+ _url = _url.Replace("{location}", System.Uri.EscapeDataString(location));
+ _url = _url.Replace("{edgeGateway}", System.Uri.EscapeDataString(edgeGateway));
+ List _queryParameters = new List();
+ if (Client.ApiVersion != null)
+ {
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
+ }
+ if (_queryParameters.Count > 0)
+ {
+ _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
+ }
+ // Create HTTP transport objects
+ var _httpRequest = new HttpRequestMessage();
+ HttpResponseMessage _httpResponse = null;
+ _httpRequest.Method = new HttpMethod("GET");
+ _httpRequest.RequestUri = new System.Uri(_url);
+ // Set Headers
+ if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value)
+ {
+ _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
+ }
+ if (Client.AcceptLanguage != null)
+ {
+ if (_httpRequest.Headers.Contains("accept-language"))
+ {
+ _httpRequest.Headers.Remove("accept-language");
+ }
+ _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
+ }
+
+
+ if (customHeaders != null)
+ {
+ foreach(var _header in customHeaders)
+ {
+ if (_httpRequest.Headers.Contains(_header.Key))
+ {
+ _httpRequest.Headers.Remove(_header.Key);
+ }
+ _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
+ }
+ }
+
+ // Serialize Request
+ string _requestContent = null;
+ // Set Credentials
+ if (Client.Credentials != null)
+ {
+ cancellationToken.ThrowIfCancellationRequested();
+ await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ }
+ // Send Request
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
+ }
+ cancellationToken.ThrowIfCancellationRequested();
+ _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
+ }
+ HttpStatusCode _statusCode = _httpResponse.StatusCode;
+ cancellationToken.ThrowIfCancellationRequested();
+ string _responseContent = null;
+ if ((int)_statusCode != 200)
+ {
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ try
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ if (_errorBody != null)
+ {
+ ex = new CloudException(_errorBody.Message);
+ ex.Body = _errorBody;
+ }
+ }
+ catch (JsonException)
+ {
+ // Ignore the exception
+ }
+ ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
+ ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Error(_invocationId, ex);
+ }
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw ex;
+ }
+ // Create Result
+ var _result = new AzureOperationResponse();
+ _result.Request = _httpRequest;
+ _result.Response = _httpResponse;
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ // Deserialize Response
+ if ((int)_statusCode == 200)
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ try
+ {
+ _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ }
+ catch (JsonException ex)
+ {
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw new SerializationException("Unable to deserialize the response.", _responseContent, ex);
+ }
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Exit(_invocationId, _result);
+ }
+ return _result;
+ }
+
+ ///
+ /// Get a list of all edge gateways at a certain location.
+ ///
+ ///
+ /// Location of the resource.
+ ///
+ ///
+ /// OData parameters to apply to the operation.
+ ///
+ ///
+ /// Headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// A response object containing the response body and response headers.
+ ///
+ public async Task>> ListWithHttpMessagesAsync(string location, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ if (Client.SubscriptionId == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
+ }
+ if (location == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "location");
+ }
+ if (Client.ApiVersion == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
+ }
+ // Tracing
+ bool _shouldTrace = ServiceClientTracing.IsEnabled;
+ string _invocationId = null;
+ if (_shouldTrace)
+ {
+ _invocationId = ServiceClientTracing.NextInvocationId.ToString();
+ Dictionary tracingParameters = new Dictionary();
+ tracingParameters.Add("odataQuery", odataQuery);
+ tracingParameters.Add("location", location);
+ tracingParameters.Add("cancellationToken", cancellationToken);
+ ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters);
+ }
+ // Construct URL
+ var _baseUrl = Client.BaseUri.AbsoluteUri;
+ var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/edgeGateways").ToString();
+ _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId));
+ _url = _url.Replace("{location}", System.Uri.EscapeDataString(location));
+ List _queryParameters = new List();
+ if (odataQuery != null)
+ {
+ var _odataFilter = odataQuery.ToString();
+ if (!string.IsNullOrEmpty(_odataFilter))
+ {
+ _queryParameters.Add(_odataFilter);
+ }
+ }
+ if (Client.ApiVersion != null)
+ {
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
+ }
+ if (_queryParameters.Count > 0)
+ {
+ _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
+ }
+ // Create HTTP transport objects
+ var _httpRequest = new HttpRequestMessage();
+ HttpResponseMessage _httpResponse = null;
+ _httpRequest.Method = new HttpMethod("GET");
+ _httpRequest.RequestUri = new System.Uri(_url);
+ // Set Headers
+ if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value)
+ {
+ _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
+ }
+ if (Client.AcceptLanguage != null)
+ {
+ if (_httpRequest.Headers.Contains("accept-language"))
+ {
+ _httpRequest.Headers.Remove("accept-language");
+ }
+ _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
+ }
+
+
+ if (customHeaders != null)
+ {
+ foreach(var _header in customHeaders)
+ {
+ if (_httpRequest.Headers.Contains(_header.Key))
+ {
+ _httpRequest.Headers.Remove(_header.Key);
+ }
+ _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
+ }
+ }
+
+ // Serialize Request
+ string _requestContent = null;
+ // Set Credentials
+ if (Client.Credentials != null)
+ {
+ cancellationToken.ThrowIfCancellationRequested();
+ await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ }
+ // Send Request
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
+ }
+ cancellationToken.ThrowIfCancellationRequested();
+ _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
+ }
+ HttpStatusCode _statusCode = _httpResponse.StatusCode;
+ cancellationToken.ThrowIfCancellationRequested();
+ string _responseContent = null;
+ if ((int)_statusCode != 200)
+ {
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ try
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ if (_errorBody != null)
+ {
+ ex = new CloudException(_errorBody.Message);
+ ex.Body = _errorBody;
+ }
+ }
+ catch (JsonException)
+ {
+ // Ignore the exception
+ }
+ ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
+ ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Error(_invocationId, ex);
+ }
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw ex;
+ }
+ // Create Result
+ var _result = new AzureOperationResponse>();
+ _result.Request = _httpRequest;
+ _result.Response = _httpResponse;
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ // Deserialize Response
+ if ((int)_statusCode == 200)
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ try
+ {
+ _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings);
+ }
+ catch (JsonException ex)
+ {
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw new SerializationException("Unable to deserialize the response.", _responseContent, ex);
+ }
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Exit(_invocationId, _result);
+ }
+ return _result;
+ }
+
+ ///
+ /// Get a list of all edge gateways at a certain location.
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ ///
+ /// Headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// A response object containing the response body and response headers.
+ ///
+ public async Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ if (nextPageLink == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink");
+ }
+ // Tracing
+ bool _shouldTrace = ServiceClientTracing.IsEnabled;
+ string _invocationId = null;
+ if (_shouldTrace)
+ {
+ _invocationId = ServiceClientTracing.NextInvocationId.ToString();
+ Dictionary tracingParameters = new Dictionary();
+ tracingParameters.Add("nextPageLink", nextPageLink);
+ tracingParameters.Add("cancellationToken", cancellationToken);
+ ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters);
+ }
+ // Construct URL
+ string _url = "{nextLink}";
+ _url = _url.Replace("{nextLink}", nextPageLink);
+ List _queryParameters = new List();
+ if (_queryParameters.Count > 0)
+ {
+ _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
+ }
+ // Create HTTP transport objects
+ var _httpRequest = new HttpRequestMessage();
+ HttpResponseMessage _httpResponse = null;
+ _httpRequest.Method = new HttpMethod("GET");
+ _httpRequest.RequestUri = new System.Uri(_url);
+ // Set Headers
+ if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value)
+ {
+ _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
+ }
+ if (Client.AcceptLanguage != null)
+ {
+ if (_httpRequest.Headers.Contains("accept-language"))
+ {
+ _httpRequest.Headers.Remove("accept-language");
+ }
+ _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
+ }
+
+
+ if (customHeaders != null)
+ {
+ foreach(var _header in customHeaders)
+ {
+ if (_httpRequest.Headers.Contains(_header.Key))
+ {
+ _httpRequest.Headers.Remove(_header.Key);
+ }
+ _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
+ }
+ }
+
+ // Serialize Request
+ string _requestContent = null;
+ // Set Credentials
+ if (Client.Credentials != null)
+ {
+ cancellationToken.ThrowIfCancellationRequested();
+ await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ }
+ // Send Request
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
+ }
+ cancellationToken.ThrowIfCancellationRequested();
+ _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
+ }
+ HttpStatusCode _statusCode = _httpResponse.StatusCode;
+ cancellationToken.ThrowIfCancellationRequested();
+ string _responseContent = null;
+ if ((int)_statusCode != 200)
+ {
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ try
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ if (_errorBody != null)
+ {
+ ex = new CloudException(_errorBody.Message);
+ ex.Body = _errorBody;
+ }
+ }
+ catch (JsonException)
+ {
+ // Ignore the exception
+ }
+ ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
+ ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Error(_invocationId, ex);
+ }
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw ex;
+ }
+ // Create Result
+ var _result = new AzureOperationResponse>();
+ _result.Request = _httpRequest;
+ _result.Response = _httpResponse;
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ // Deserialize Response
+ if ((int)_statusCode == 200)
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ try
+ {
+ _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings);
+ }
+ catch (JsonException ex)
+ {
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw new SerializationException("Unable to deserialize the response.", _responseContent, ex);
+ }
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Exit(_invocationId, _result);
+ }
+ return _result;
+ }
+
+ }
+}
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin/Fabric/Fabric.Admin/Generated/EdgeGatewaysOperationsExtensions.cs b/src/AzureStack/FabricAdmin/Fabric.Admin/Fabric/Fabric.Admin/Generated/EdgeGatewaysOperationsExtensions.cs
new file mode 100644
index 000000000000..a7c9ffa0c75a
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin/Fabric/Fabric.Admin/Generated/EdgeGatewaysOperationsExtensions.cs
@@ -0,0 +1,141 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+namespace Microsoft.AzureStack.Management.Fabric.Admin
+{
+ using Microsoft.AzureStack;
+ using Microsoft.AzureStack.Management;
+ using Microsoft.AzureStack.Management.Fabric;
+ using Microsoft.Rest;
+ using Microsoft.Rest.Azure;
+ using Microsoft.Rest.Azure.OData;
+ using Models;
+ using System.Threading;
+ using System.Threading.Tasks;
+
+ ///
+ /// Extension methods for EdgeGatewaysOperations.
+ ///
+ public static partial class EdgeGatewaysOperationsExtensions
+ {
+ ///
+ /// Get an edge gateway by name.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// Location of the resource.
+ ///
+ ///
+ /// name of the edge gateway.
+ ///
+ public static EdgeGateway Get(this IEdgeGatewaysOperations operations, string location, string edgeGateway)
+ {
+ return operations.GetAsync(location, edgeGateway).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// Get an edge gateway by name.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// Location of the resource.
+ ///
+ ///
+ /// name of the edge gateway.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async Task GetAsync(this IEdgeGatewaysOperations operations, string location, string edgeGateway, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ using (var _result = await operations.GetWithHttpMessagesAsync(location, edgeGateway, null, cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+
+ ///
+ /// Get a list of all edge gateways at a certain location.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// Location of the resource.
+ ///
+ ///
+ /// OData parameters to apply to the operation.
+ ///
+ public static IPage List(this IEdgeGatewaysOperations operations, string location, ODataQuery odataQuery = default(ODataQuery))
+ {
+ return ((IEdgeGatewaysOperations)operations).ListAsync(location, odataQuery).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// Get a list of all edge gateways at a certain location.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// Location of the resource.
+ ///
+ ///
+ /// OData parameters to apply to the operation.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async Task> ListAsync(this IEdgeGatewaysOperations operations, string location, ODataQuery odataQuery = default(ODataQuery), CancellationToken cancellationToken = default(CancellationToken))
+ {
+ using (var _result = await operations.ListWithHttpMessagesAsync(location, odataQuery, null, cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+
+ ///
+ /// Get a list of all edge gateways at a certain location.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ public static IPage ListNext(this IEdgeGatewaysOperations operations, string nextPageLink)
+ {
+ return operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// Get a list of all edge gateways at a certain location.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async Task> ListNextAsync(this IEdgeGatewaysOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+
+ }
+}
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin/Fabric/Fabric.Admin/Generated/FabricAdminClient.cs b/src/AzureStack/FabricAdmin/Fabric.Admin/Fabric/Fabric.Admin/Generated/FabricAdminClient.cs
new file mode 100644
index 000000000000..6de9bb04c4e5
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin/Fabric/Fabric.Admin/Generated/FabricAdminClient.cs
@@ -0,0 +1,424 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+namespace Microsoft.AzureStack.Management.Fabric.Admin
+{
+ using Microsoft.AzureStack;
+ using Microsoft.AzureStack.Management;
+ using Microsoft.AzureStack.Management.Fabric;
+ using Microsoft.Rest;
+ using Microsoft.Rest.Azure;
+ using Microsoft.Rest.Serialization;
+ using Models;
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+ using System.Net;
+ using System.Net.Http;
+
+ ///
+ /// Fabric Admin Client
+ ///
+ public partial class FabricAdminClient : ServiceClient, IFabricAdminClient, IAzureClient
+ {
+ ///
+ /// The base URI of the service.
+ ///
+ public System.Uri BaseUri { get; set; }
+
+ ///
+ /// Gets or sets json serialization settings.
+ ///
+ public JsonSerializerSettings SerializationSettings { get; private set; }
+
+ ///
+ /// Gets or sets json deserialization settings.
+ ///
+ public JsonSerializerSettings DeserializationSettings { get; private set; }
+
+ ///
+ /// Credentials needed for the client to connect to Azure.
+ ///
+ public ServiceClientCredentials Credentials { get; private set; }
+
+ ///
+ /// Subscription credentials which uniquely identify Microsoft Azure
+ /// subscription.The subscription ID forms part of the URI for every service
+ /// call.
+ ///
+ public string SubscriptionId { get; set; }
+
+ ///
+ /// Client Api Version.
+ ///
+ public string ApiVersion { get; private set; }
+
+ ///
+ /// Gets or sets the preferred language for the response.
+ ///
+ public string AcceptLanguage { get; set; }
+
+ ///
+ /// Gets or sets the retry timeout in seconds for Long Running Operations.
+ /// Default value is 30.
+ ///
+ public int? LongRunningOperationRetryTimeout { get; set; }
+
+ ///
+ /// When set to true a unique x-ms-client-request-id value is generated and
+ /// included in each request. Default is true.
+ ///
+ public bool? GenerateClientRequestId { get; set; }
+
+ ///
+ /// Gets the IEdgeGatewaysOperations.
+ ///
+ public virtual IEdgeGatewaysOperations EdgeGateways { get; private set; }
+
+ ///
+ /// Gets the IEdgeGatewayPoolsOperations.
+ ///
+ public virtual IEdgeGatewayPoolsOperations EdgeGatewayPools { get; private set; }
+
+ ///
+ /// Gets the IFabricLocationsOperations.
+ ///
+ public virtual IFabricLocationsOperations FabricLocations { get; private set; }
+
+ ///
+ /// Gets the IFileSharesOperations.
+ ///
+ public virtual IFileSharesOperations FileShares { get; private set; }
+
+ ///
+ /// Gets the IInfraRolesOperations.
+ ///
+ public virtual IInfraRolesOperations InfraRoles { get; private set; }
+
+ ///
+ /// Gets the IInfraRoleInstancesOperations.
+ ///
+ public virtual IInfraRoleInstancesOperations InfraRoleInstances { get; private set; }
+
+ ///
+ /// Gets the IIpPoolsOperations.
+ ///
+ public virtual IIpPoolsOperations IpPools { get; private set; }
+
+ ///
+ /// Gets the ILogicalNetworksOperations.
+ ///
+ public virtual ILogicalNetworksOperations LogicalNetworks { get; private set; }
+
+ ///
+ /// Gets the IStoragePoolsOperations.
+ ///
+ public virtual IStoragePoolsOperations StoragePools { get; private set; }
+
+ ///
+ /// Gets the IStorageSystemsOperations.
+ ///
+ public virtual IStorageSystemsOperations StorageSystems { get; private set; }
+
+ ///
+ /// Gets the IVolumesOperations.
+ ///
+ public virtual IVolumesOperations Volumes { get; private set; }
+
+ ///
+ /// Gets the ILogicalSubnetsOperations.
+ ///
+ public virtual ILogicalSubnetsOperations LogicalSubnets { get; private set; }
+
+ ///
+ /// Gets the IMacAddressPoolsOperations.
+ ///
+ public virtual IMacAddressPoolsOperations MacAddressPools { get; private set; }
+
+ ///
+ /// Gets the IComputeFabricOperations.
+ ///
+ public virtual IComputeFabricOperations ComputeFabricOperations { get; private set; }
+
+ ///
+ /// Gets the INetworkFabricOperations.
+ ///
+ public virtual INetworkFabricOperations NetworkFabricOperations { get; private set; }
+
+ ///
+ /// Gets the IScaleUnitsOperations.
+ ///
+ public virtual IScaleUnitsOperations ScaleUnits { get; private set; }
+
+ ///
+ /// Gets the IScaleUnitNodesOperations.
+ ///
+ public virtual IScaleUnitNodesOperations ScaleUnitNodes { get; private set; }
+
+ ///
+ /// Gets the ISlbMuxInstancesOperations.
+ ///
+ public virtual ISlbMuxInstancesOperations SlbMuxInstances { get; private set; }
+
+ ///
+ /// Initializes a new instance of the FabricAdminClient class.
+ ///
+ ///
+ /// Optional. The delegating handlers to add to the http client pipeline.
+ ///
+ protected FabricAdminClient(params DelegatingHandler[] handlers) : base(handlers)
+ {
+ Initialize();
+ }
+
+ ///
+ /// Initializes a new instance of the FabricAdminClient class.
+ ///
+ ///
+ /// Optional. The http client handler used to handle http transport.
+ ///
+ ///
+ /// Optional. The delegating handlers to add to the http client pipeline.
+ ///
+ protected FabricAdminClient(HttpClientHandler rootHandler, params DelegatingHandler[] handlers) : base(rootHandler, handlers)
+ {
+ Initialize();
+ }
+
+ ///
+ /// Initializes a new instance of the FabricAdminClient class.
+ ///
+ ///
+ /// Optional. The base URI of the service.
+ ///
+ ///
+ /// Optional. The delegating handlers to add to the http client pipeline.
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ protected FabricAdminClient(System.Uri baseUri, params DelegatingHandler[] handlers) : this(handlers)
+ {
+ if (baseUri == null)
+ {
+ throw new System.ArgumentNullException("baseUri");
+ }
+ BaseUri = baseUri;
+ }
+
+ ///
+ /// Initializes a new instance of the FabricAdminClient class.
+ ///
+ ///
+ /// Optional. The base URI of the service.
+ ///
+ ///
+ /// Optional. The http client handler used to handle http transport.
+ ///
+ ///
+ /// Optional. The delegating handlers to add to the http client pipeline.
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ protected FabricAdminClient(System.Uri baseUri, HttpClientHandler rootHandler, params DelegatingHandler[] handlers) : this(rootHandler, handlers)
+ {
+ if (baseUri == null)
+ {
+ throw new System.ArgumentNullException("baseUri");
+ }
+ BaseUri = baseUri;
+ }
+
+ ///
+ /// Initializes a new instance of the FabricAdminClient class.
+ ///
+ ///
+ /// Required. Credentials needed for the client to connect to Azure.
+ ///
+ ///
+ /// Optional. The delegating handlers to add to the http client pipeline.
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ public FabricAdminClient(ServiceClientCredentials credentials, params DelegatingHandler[] handlers) : this(handlers)
+ {
+ if (credentials == null)
+ {
+ throw new System.ArgumentNullException("credentials");
+ }
+ Credentials = credentials;
+ if (Credentials != null)
+ {
+ Credentials.InitializeServiceClient(this);
+ }
+ }
+
+ ///
+ /// Initializes a new instance of the FabricAdminClient class.
+ ///
+ ///
+ /// Required. Credentials needed for the client to connect to Azure.
+ ///
+ ///
+ /// Optional. The http client handler used to handle http transport.
+ ///
+ ///
+ /// Optional. The delegating handlers to add to the http client pipeline.
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ public FabricAdminClient(ServiceClientCredentials credentials, HttpClientHandler rootHandler, params DelegatingHandler[] handlers) : this(rootHandler, handlers)
+ {
+ if (credentials == null)
+ {
+ throw new System.ArgumentNullException("credentials");
+ }
+ Credentials = credentials;
+ if (Credentials != null)
+ {
+ Credentials.InitializeServiceClient(this);
+ }
+ }
+
+ ///
+ /// Initializes a new instance of the FabricAdminClient class.
+ ///
+ ///
+ /// Optional. The base URI of the service.
+ ///
+ ///
+ /// Required. Credentials needed for the client to connect to Azure.
+ ///
+ ///
+ /// Optional. The delegating handlers to add to the http client pipeline.
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ public FabricAdminClient(System.Uri baseUri, ServiceClientCredentials credentials, params DelegatingHandler[] handlers) : this(handlers)
+ {
+ if (baseUri == null)
+ {
+ throw new System.ArgumentNullException("baseUri");
+ }
+ if (credentials == null)
+ {
+ throw new System.ArgumentNullException("credentials");
+ }
+ BaseUri = baseUri;
+ Credentials = credentials;
+ if (Credentials != null)
+ {
+ Credentials.InitializeServiceClient(this);
+ }
+ }
+
+ ///
+ /// Initializes a new instance of the FabricAdminClient class.
+ ///
+ ///
+ /// Optional. The base URI of the service.
+ ///
+ ///
+ /// Required. Credentials needed for the client to connect to Azure.
+ ///
+ ///
+ /// Optional. The http client handler used to handle http transport.
+ ///
+ ///
+ /// Optional. The delegating handlers to add to the http client pipeline.
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ public FabricAdminClient(System.Uri baseUri, ServiceClientCredentials credentials, HttpClientHandler rootHandler, params DelegatingHandler[] handlers) : this(rootHandler, handlers)
+ {
+ if (baseUri == null)
+ {
+ throw new System.ArgumentNullException("baseUri");
+ }
+ if (credentials == null)
+ {
+ throw new System.ArgumentNullException("credentials");
+ }
+ BaseUri = baseUri;
+ Credentials = credentials;
+ if (Credentials != null)
+ {
+ Credentials.InitializeServiceClient(this);
+ }
+ }
+
+ ///
+ /// An optional partial-method to perform custom initialization.
+ ///
+ partial void CustomInitialize();
+ ///
+ /// Initializes client properties.
+ ///
+ private void Initialize()
+ {
+ EdgeGateways = new EdgeGatewaysOperations(this);
+ EdgeGatewayPools = new EdgeGatewayPoolsOperations(this);
+ FabricLocations = new FabricLocationsOperations(this);
+ FileShares = new FileSharesOperations(this);
+ InfraRoles = new InfraRolesOperations(this);
+ InfraRoleInstances = new InfraRoleInstancesOperations(this);
+ IpPools = new IpPoolsOperations(this);
+ LogicalNetworks = new LogicalNetworksOperations(this);
+ StoragePools = new StoragePoolsOperations(this);
+ StorageSystems = new StorageSystemsOperations(this);
+ Volumes = new VolumesOperations(this);
+ LogicalSubnets = new LogicalSubnetsOperations(this);
+ MacAddressPools = new MacAddressPoolsOperations(this);
+ ComputeFabricOperations = new ComputeFabricOperations(this);
+ NetworkFabricOperations = new NetworkFabricOperations(this);
+ ScaleUnits = new ScaleUnitsOperations(this);
+ ScaleUnitNodes = new ScaleUnitNodesOperations(this);
+ SlbMuxInstances = new SlbMuxInstancesOperations(this);
+ BaseUri = new System.Uri("https://adminmanagement.local.azurestack.external");
+ ApiVersion = "2016-05-01";
+ AcceptLanguage = "en-US";
+ LongRunningOperationRetryTimeout = 30;
+ GenerateClientRequestId = true;
+ SerializationSettings = new JsonSerializerSettings
+ {
+ Formatting = Newtonsoft.Json.Formatting.Indented,
+ DateFormatHandling = Newtonsoft.Json.DateFormatHandling.IsoDateFormat,
+ DateTimeZoneHandling = Newtonsoft.Json.DateTimeZoneHandling.Utc,
+ NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore,
+ ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Serialize,
+ ContractResolver = new ReadOnlyJsonContractResolver(),
+ Converters = new List
+ {
+ new Iso8601TimeSpanConverter()
+ }
+ };
+ SerializationSettings.Converters.Add(new TransformationJsonConverter());
+ DeserializationSettings = new JsonSerializerSettings
+ {
+ DateFormatHandling = Newtonsoft.Json.DateFormatHandling.IsoDateFormat,
+ DateTimeZoneHandling = Newtonsoft.Json.DateTimeZoneHandling.Utc,
+ NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore,
+ ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Serialize,
+ ContractResolver = new ReadOnlyJsonContractResolver(),
+ Converters = new List
+ {
+ new Iso8601TimeSpanConverter()
+ }
+ };
+ CustomInitialize();
+ DeserializationSettings.Converters.Add(new TransformationJsonConverter());
+ DeserializationSettings.Converters.Add(new CloudErrorJsonConverter());
+ }
+ }
+}
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin/Fabric/Fabric.Admin/Generated/FabricLocationsOperations.cs b/src/AzureStack/FabricAdmin/Fabric.Admin/Fabric/Fabric.Admin/Generated/FabricLocationsOperations.cs
new file mode 100644
index 000000000000..f7f16535f82d
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin/Fabric/Fabric.Admin/Generated/FabricLocationsOperations.cs
@@ -0,0 +1,624 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+namespace Microsoft.AzureStack.Management.Fabric.Admin
+{
+ using Microsoft.AzureStack;
+ using Microsoft.AzureStack.Management;
+ using Microsoft.AzureStack.Management.Fabric;
+ using Microsoft.Rest;
+ using Microsoft.Rest.Azure;
+ using Microsoft.Rest.Azure.OData;
+ using Models;
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+ using System.Net;
+ using System.Net.Http;
+ using System.Threading;
+ using System.Threading.Tasks;
+
+ ///
+ /// FabricLocationsOperations operations.
+ ///
+ internal partial class FabricLocationsOperations : IServiceOperations, IFabricLocationsOperations
+ {
+ ///
+ /// Initializes a new instance of the FabricLocationsOperations class.
+ ///
+ ///
+ /// Reference to the service client.
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ internal FabricLocationsOperations(FabricAdminClient client)
+ {
+ if (client == null)
+ {
+ throw new System.ArgumentNullException("client");
+ }
+ Client = client;
+ }
+
+ ///
+ /// Gets a reference to the FabricAdminClient
+ ///
+ public FabricAdminClient Client { get; private set; }
+
+ ///
+ /// Get a fabric location.
+ ///
+ ///
+ /// Location of the resource.
+ ///
+ ///
+ /// Fabric Location.
+ ///
+ ///
+ /// Headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// A response object containing the response body and response headers.
+ ///
+ public async Task> GetWithHttpMessagesAsync(string location, string fabricLocation, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ if (Client.SubscriptionId == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
+ }
+ if (location == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "location");
+ }
+ if (fabricLocation == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "fabricLocation");
+ }
+ if (Client.ApiVersion == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
+ }
+ // Tracing
+ bool _shouldTrace = ServiceClientTracing.IsEnabled;
+ string _invocationId = null;
+ if (_shouldTrace)
+ {
+ _invocationId = ServiceClientTracing.NextInvocationId.ToString();
+ Dictionary tracingParameters = new Dictionary();
+ tracingParameters.Add("location", location);
+ tracingParameters.Add("fabricLocation", fabricLocation);
+ tracingParameters.Add("cancellationToken", cancellationToken);
+ ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters);
+ }
+ // Construct URL
+ var _baseUrl = Client.BaseUri.AbsoluteUri;
+ var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{fabricLocation}").ToString();
+ _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId));
+ _url = _url.Replace("{location}", System.Uri.EscapeDataString(location));
+ _url = _url.Replace("{fabricLocation}", System.Uri.EscapeDataString(fabricLocation));
+ List _queryParameters = new List();
+ if (Client.ApiVersion != null)
+ {
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
+ }
+ if (_queryParameters.Count > 0)
+ {
+ _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
+ }
+ // Create HTTP transport objects
+ var _httpRequest = new HttpRequestMessage();
+ HttpResponseMessage _httpResponse = null;
+ _httpRequest.Method = new HttpMethod("GET");
+ _httpRequest.RequestUri = new System.Uri(_url);
+ // Set Headers
+ if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value)
+ {
+ _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
+ }
+ if (Client.AcceptLanguage != null)
+ {
+ if (_httpRequest.Headers.Contains("accept-language"))
+ {
+ _httpRequest.Headers.Remove("accept-language");
+ }
+ _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
+ }
+
+
+ if (customHeaders != null)
+ {
+ foreach(var _header in customHeaders)
+ {
+ if (_httpRequest.Headers.Contains(_header.Key))
+ {
+ _httpRequest.Headers.Remove(_header.Key);
+ }
+ _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
+ }
+ }
+
+ // Serialize Request
+ string _requestContent = null;
+ // Set Credentials
+ if (Client.Credentials != null)
+ {
+ cancellationToken.ThrowIfCancellationRequested();
+ await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ }
+ // Send Request
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
+ }
+ cancellationToken.ThrowIfCancellationRequested();
+ _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
+ }
+ HttpStatusCode _statusCode = _httpResponse.StatusCode;
+ cancellationToken.ThrowIfCancellationRequested();
+ string _responseContent = null;
+ if ((int)_statusCode != 200)
+ {
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ try
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ if (_errorBody != null)
+ {
+ ex = new CloudException(_errorBody.Message);
+ ex.Body = _errorBody;
+ }
+ }
+ catch (JsonException)
+ {
+ // Ignore the exception
+ }
+ ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
+ ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Error(_invocationId, ex);
+ }
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw ex;
+ }
+ // Create Result
+ var _result = new AzureOperationResponse();
+ _result.Request = _httpRequest;
+ _result.Response = _httpResponse;
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ // Deserialize Response
+ if ((int)_statusCode == 200)
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ try
+ {
+ _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ }
+ catch (JsonException ex)
+ {
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw new SerializationException("Unable to deserialize the response.", _responseContent, ex);
+ }
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Exit(_invocationId, _result);
+ }
+ return _result;
+ }
+
+ ///
+ /// Get a list of all fabric locations.
+ ///
+ ///
+ /// Location of the resource.
+ ///
+ ///
+ /// OData parameters to apply to the operation.
+ ///
+ ///
+ /// Headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// A response object containing the response body and response headers.
+ ///
+ public async Task>> ListWithHttpMessagesAsync(string location, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ if (Client.SubscriptionId == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
+ }
+ if (location == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "location");
+ }
+ if (Client.ApiVersion == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
+ }
+ // Tracing
+ bool _shouldTrace = ServiceClientTracing.IsEnabled;
+ string _invocationId = null;
+ if (_shouldTrace)
+ {
+ _invocationId = ServiceClientTracing.NextInvocationId.ToString();
+ Dictionary tracingParameters = new Dictionary();
+ tracingParameters.Add("odataQuery", odataQuery);
+ tracingParameters.Add("location", location);
+ tracingParameters.Add("cancellationToken", cancellationToken);
+ ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters);
+ }
+ // Construct URL
+ var _baseUrl = Client.BaseUri.AbsoluteUri;
+ var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations").ToString();
+ _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId));
+ _url = _url.Replace("{location}", System.Uri.EscapeDataString(location));
+ List _queryParameters = new List();
+ if (odataQuery != null)
+ {
+ var _odataFilter = odataQuery.ToString();
+ if (!string.IsNullOrEmpty(_odataFilter))
+ {
+ _queryParameters.Add(_odataFilter);
+ }
+ }
+ if (Client.ApiVersion != null)
+ {
+ _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion)));
+ }
+ if (_queryParameters.Count > 0)
+ {
+ _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
+ }
+ // Create HTTP transport objects
+ var _httpRequest = new HttpRequestMessage();
+ HttpResponseMessage _httpResponse = null;
+ _httpRequest.Method = new HttpMethod("GET");
+ _httpRequest.RequestUri = new System.Uri(_url);
+ // Set Headers
+ if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value)
+ {
+ _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
+ }
+ if (Client.AcceptLanguage != null)
+ {
+ if (_httpRequest.Headers.Contains("accept-language"))
+ {
+ _httpRequest.Headers.Remove("accept-language");
+ }
+ _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
+ }
+
+
+ if (customHeaders != null)
+ {
+ foreach(var _header in customHeaders)
+ {
+ if (_httpRequest.Headers.Contains(_header.Key))
+ {
+ _httpRequest.Headers.Remove(_header.Key);
+ }
+ _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
+ }
+ }
+
+ // Serialize Request
+ string _requestContent = null;
+ // Set Credentials
+ if (Client.Credentials != null)
+ {
+ cancellationToken.ThrowIfCancellationRequested();
+ await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ }
+ // Send Request
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
+ }
+ cancellationToken.ThrowIfCancellationRequested();
+ _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
+ }
+ HttpStatusCode _statusCode = _httpResponse.StatusCode;
+ cancellationToken.ThrowIfCancellationRequested();
+ string _responseContent = null;
+ if ((int)_statusCode != 200)
+ {
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ try
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ if (_errorBody != null)
+ {
+ ex = new CloudException(_errorBody.Message);
+ ex.Body = _errorBody;
+ }
+ }
+ catch (JsonException)
+ {
+ // Ignore the exception
+ }
+ ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
+ ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Error(_invocationId, ex);
+ }
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw ex;
+ }
+ // Create Result
+ var _result = new AzureOperationResponse>();
+ _result.Request = _httpRequest;
+ _result.Response = _httpResponse;
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ // Deserialize Response
+ if ((int)_statusCode == 200)
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ try
+ {
+ _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings);
+ }
+ catch (JsonException ex)
+ {
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw new SerializationException("Unable to deserialize the response.", _responseContent, ex);
+ }
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Exit(_invocationId, _result);
+ }
+ return _result;
+ }
+
+ ///
+ /// Get a list of all fabric locations.
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ ///
+ /// Headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// A response object containing the response body and response headers.
+ ///
+ public async Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ if (nextPageLink == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink");
+ }
+ // Tracing
+ bool _shouldTrace = ServiceClientTracing.IsEnabled;
+ string _invocationId = null;
+ if (_shouldTrace)
+ {
+ _invocationId = ServiceClientTracing.NextInvocationId.ToString();
+ Dictionary tracingParameters = new Dictionary();
+ tracingParameters.Add("nextPageLink", nextPageLink);
+ tracingParameters.Add("cancellationToken", cancellationToken);
+ ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters);
+ }
+ // Construct URL
+ string _url = "{nextLink}";
+ _url = _url.Replace("{nextLink}", nextPageLink);
+ List _queryParameters = new List();
+ if (_queryParameters.Count > 0)
+ {
+ _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters);
+ }
+ // Create HTTP transport objects
+ var _httpRequest = new HttpRequestMessage();
+ HttpResponseMessage _httpResponse = null;
+ _httpRequest.Method = new HttpMethod("GET");
+ _httpRequest.RequestUri = new System.Uri(_url);
+ // Set Headers
+ if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value)
+ {
+ _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString());
+ }
+ if (Client.AcceptLanguage != null)
+ {
+ if (_httpRequest.Headers.Contains("accept-language"))
+ {
+ _httpRequest.Headers.Remove("accept-language");
+ }
+ _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage);
+ }
+
+
+ if (customHeaders != null)
+ {
+ foreach(var _header in customHeaders)
+ {
+ if (_httpRequest.Headers.Contains(_header.Key))
+ {
+ _httpRequest.Headers.Remove(_header.Key);
+ }
+ _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value);
+ }
+ }
+
+ // Serialize Request
+ string _requestContent = null;
+ // Set Credentials
+ if (Client.Credentials != null)
+ {
+ cancellationToken.ThrowIfCancellationRequested();
+ await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ }
+ // Send Request
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.SendRequest(_invocationId, _httpRequest);
+ }
+ cancellationToken.ThrowIfCancellationRequested();
+ _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false);
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse);
+ }
+ HttpStatusCode _statusCode = _httpResponse.StatusCode;
+ cancellationToken.ThrowIfCancellationRequested();
+ string _responseContent = null;
+ if ((int)_statusCode != 200)
+ {
+ var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ try
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ if (_errorBody != null)
+ {
+ ex = new CloudException(_errorBody.Message);
+ ex.Body = _errorBody;
+ }
+ }
+ catch (JsonException)
+ {
+ // Ignore the exception
+ }
+ ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent);
+ ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent);
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Error(_invocationId, ex);
+ }
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw ex;
+ }
+ // Create Result
+ var _result = new AzureOperationResponse>();
+ _result.Request = _httpRequest;
+ _result.Response = _httpResponse;
+ if (_httpResponse.Headers.Contains("x-ms-request-id"))
+ {
+ _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault();
+ }
+ // Deserialize Response
+ if ((int)_statusCode == 200)
+ {
+ _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
+ try
+ {
+ _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings);
+ }
+ catch (JsonException ex)
+ {
+ _httpRequest.Dispose();
+ if (_httpResponse != null)
+ {
+ _httpResponse.Dispose();
+ }
+ throw new SerializationException("Unable to deserialize the response.", _responseContent, ex);
+ }
+ }
+ if (_shouldTrace)
+ {
+ ServiceClientTracing.Exit(_invocationId, _result);
+ }
+ return _result;
+ }
+
+ }
+}
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin/Fabric/Fabric.Admin/Generated/FabricLocationsOperationsExtensions.cs b/src/AzureStack/FabricAdmin/Fabric.Admin/Fabric/Fabric.Admin/Generated/FabricLocationsOperationsExtensions.cs
new file mode 100644
index 000000000000..463630c0f401
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin/Fabric/Fabric.Admin/Generated/FabricLocationsOperationsExtensions.cs
@@ -0,0 +1,141 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+namespace Microsoft.AzureStack.Management.Fabric.Admin
+{
+ using Microsoft.AzureStack;
+ using Microsoft.AzureStack.Management;
+ using Microsoft.AzureStack.Management.Fabric;
+ using Microsoft.Rest;
+ using Microsoft.Rest.Azure;
+ using Microsoft.Rest.Azure.OData;
+ using Models;
+ using System.Threading;
+ using System.Threading.Tasks;
+
+ ///
+ /// Extension methods for FabricLocationsOperations.
+ ///
+ public static partial class FabricLocationsOperationsExtensions
+ {
+ ///
+ /// Get a fabric location.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// Location of the resource.
+ ///
+ ///
+ /// Fabric Location.
+ ///
+ public static FabricLocation Get(this IFabricLocationsOperations operations, string location, string fabricLocation)
+ {
+ return operations.GetAsync(location, fabricLocation).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// Get a fabric location.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// Location of the resource.
+ ///
+ ///
+ /// Fabric Location.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async Task GetAsync(this IFabricLocationsOperations operations, string location, string fabricLocation, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ using (var _result = await operations.GetWithHttpMessagesAsync(location, fabricLocation, null, cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+
+ ///
+ /// Get a list of all fabric locations.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// Location of the resource.
+ ///
+ ///
+ /// OData parameters to apply to the operation.
+ ///
+ public static IPage List(this IFabricLocationsOperations operations, string location, ODataQuery odataQuery = default(ODataQuery))
+ {
+ return ((IFabricLocationsOperations)operations).ListAsync(location, odataQuery).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// Get a list of all fabric locations.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// Location of the resource.
+ ///
+ ///
+ /// OData parameters to apply to the operation.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async Task> ListAsync(this IFabricLocationsOperations operations, string location, ODataQuery odataQuery = default(ODataQuery), CancellationToken cancellationToken = default(CancellationToken))
+ {
+ using (var _result = await operations.ListWithHttpMessagesAsync(location, odataQuery, null, cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+
+ ///
+ /// Get a list of all fabric locations.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ public static IPage ListNext(this IFabricLocationsOperations operations, string nextPageLink)
+ {
+ return operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult();
+ }
+
+ ///
+ /// Get a list of all fabric locations.
+ ///
+ ///
+ /// The operations group for this extension method.
+ ///
+ ///
+ /// The NextLink from the previous successful call to List operation.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ public static async Task> ListNextAsync(this IFabricLocationsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false))
+ {
+ return _result.Body;
+ }
+ }
+
+ }
+}
diff --git a/src/AzureStack/FabricAdmin/Fabric.Admin/Fabric/Fabric.Admin/Generated/FileSharesOperations.cs b/src/AzureStack/FabricAdmin/Fabric.Admin/Fabric/Fabric.Admin/Generated/FileSharesOperations.cs
new file mode 100644
index 000000000000..bd969ac32dd6
--- /dev/null
+++ b/src/AzureStack/FabricAdmin/Fabric.Admin/Fabric/Fabric.Admin/Generated/FileSharesOperations.cs
@@ -0,0 +1,451 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+
+namespace Microsoft.AzureStack.Management.Fabric.Admin
+{
+ using Microsoft.AzureStack;
+ using Microsoft.AzureStack.Management;
+ using Microsoft.AzureStack.Management.Fabric;
+ using Microsoft.Rest;
+ using Microsoft.Rest.Azure;
+ using Microsoft.Rest.Azure.OData;
+ using Models;
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+ using System.Net;
+ using System.Net.Http;
+ using System.Threading;
+ using System.Threading.Tasks;
+
+ ///
+ /// FileSharesOperations operations.
+ ///
+ internal partial class FileSharesOperations : IServiceOperations, IFileSharesOperations
+ {
+ ///
+ /// Initializes a new instance of the FileSharesOperations class.
+ ///
+ ///
+ /// Reference to the service client.
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ internal FileSharesOperations(FabricAdminClient client)
+ {
+ if (client == null)
+ {
+ throw new System.ArgumentNullException("client");
+ }
+ Client = client;
+ }
+
+ ///
+ /// Gets a reference to the FabricAdminClient
+ ///
+ public FabricAdminClient Client { get; private set; }
+
+ ///
+ /// Get a fabric file share.
+ ///
+ ///
+ /// Location of the resource.
+ ///
+ ///
+ /// Fabric file share name.
+ ///
+ ///
+ /// Headers that will be added to request.
+ ///
+ ///
+ /// The cancellation token.
+ ///
+ ///
+ /// Thrown when the operation returned an invalid status code
+ ///
+ ///
+ /// Thrown when unable to deserialize the response
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// Thrown when a required parameter is null
+ ///
+ ///
+ /// A response object containing the response body and response headers.
+ ///
+ public async Task> GetWithHttpMessagesAsync(string location, string fileShare, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken))
+ {
+ if (Client.SubscriptionId == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId");
+ }
+ if (location == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "location");
+ }
+ if (fileShare == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "fileShare");
+ }
+ if (Client.ApiVersion == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion");
+ }
+ // Tracing
+ bool _shouldTrace = ServiceClientTracing.IsEnabled;
+ string _invocationId = null;
+ if (_shouldTrace)
+ {
+ _invocationId = ServiceClientTracing.NextInvocationId.ToString();
+ Dictionary tracingParameters = new Dictionary