From a76073fe6cdd6e0f7d659e6744972fd95adc6131 Mon Sep 17 00:00:00 2001 From: Vivek Srinivasan Date: Wed, 27 Jan 2016 22:56:53 -0800 Subject: [PATCH 1/2] Support collection query in resource get --- .../Resource/GetAzureResourceCmdlet.cs | 15 +- .../Commands.Resources.Test.csproj | 3 + .../ScenarioTests/ResourceTests.cs | 7 + .../ScenarioTests/ResourceTests.ps1 | 22 + .../TestGetResourceWithCollection.json | 1152 +++++++++++++++++ 5 files changed, 1196 insertions(+), 3 deletions(-) create mode 100644 src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestGetResourceWithCollection.json diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Resource/GetAzureResourceCmdlet.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Resource/GetAzureResourceCmdlet.cs index cf666545d0a9..fb7ca6f44ff3 100644 --- a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Resource/GetAzureResourceCmdlet.cs +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Resource/GetAzureResourceCmdlet.cs @@ -67,11 +67,16 @@ public sealed class GetAzureResourceCmdlet : ResourceManagerCmdletBase /// internal const string GetResourceByNameGroupParameterSet = "Get resource by name and group"; - /// - /// The list resources by name and resource group set. + /// + /// The list resources by name, type and resource group set. /// internal const string GetResourceByNameGroupTypeParameterSet = "Get resource by name, group and type"; + /// + /// The list resources set. + /// + internal const string ListResourceCollection = "Get resource collection"; + /// /// Caches the current subscription ids to get all subscription ids in the pipeline. /// @@ -100,6 +105,7 @@ public sealed class GetAzureResourceCmdlet : ResourceManagerCmdletBase /// /// Gets or sets the resource type parameter. /// + [Parameter(ParameterSetName = GetAzureResourceCmdlet.ListResourceCollection, Mandatory = true, HelpMessage = "When specified, ensures that the query is run against a collection instead of a resource.")] [Parameter(ParameterSetName = GetAzureResourceCmdlet.GetTenantResourceParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource type. e.g. Microsoft.Sql/Servers/Databases.")] [Parameter(ParameterSetName = GetAzureResourceCmdlet.ListTenantResourcesParameterSet, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource type. e.g. Microsoft.Sql/Servers/Databases.")] [Parameter(ParameterSetName = GetAzureResourceCmdlet.GetResourceByNameTypeParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource type. e.g. Microsoft.Sql/Servers/Databases.")] @@ -121,6 +127,7 @@ public sealed class GetAzureResourceCmdlet : ResourceManagerCmdletBase /// /// Gets or sets the extension resource type. /// + [Parameter(ParameterSetName = GetAzureResourceCmdlet.ListResourceCollection, Mandatory = false, HelpMessage = "When specified, ensures that the query is run against a collection instead of a resource.")] [Parameter(ParameterSetName = GetAzureResourceCmdlet.GetTenantResourceParameterSet, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The extension resource type. e.g. Microsoft.Sql/Servers/Databases.")] [Parameter(ParameterSetName = GetAzureResourceCmdlet.ListTenantResourcesParameterSet, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The extension resource type. e.g. Microsoft.Sql/Servers/Databases.")] [Parameter(ParameterSetName = GetAzureResourceCmdlet.GetResourceByNameGroupParameterSet, Mandatory = false, ValueFromPipelineByPropertyName = true, HelpMessage = "The extension resource type. e.g. Microsoft.Sql/Servers/Databases.")] @@ -138,11 +145,12 @@ public sealed class GetAzureResourceCmdlet : ResourceManagerCmdletBase /// /// Gets or sets the is collection. /// + [Parameter(ParameterSetName = GetAzureResourceCmdlet.ListResourceCollection, Mandatory = true, HelpMessage = "When specified, ensures that the query is run against a collection instead of a resource.")] [Parameter(ParameterSetName = GetAzureResourceCmdlet.GetTenantResourceParameterSet, Mandatory = false, HelpMessage = "When specified, ensures that the query is run against a collection instead of a resource.")] [Parameter(ParameterSetName = GetAzureResourceCmdlet.ListTenantResourcesParameterSet, Mandatory = false, HelpMessage = "When specified, ensures that the query is run against a collection instead of a resource.")] [Parameter(ParameterSetName = GetAzureResourceCmdlet.GetResourceByNameTypeParameterSet, Mandatory = false, HelpMessage = "When specified, ensures that the query is run against a collection instead of a resource.")] [Parameter(ParameterSetName = GetAzureResourceCmdlet.GetResourceByNameGroupParameterSet, Mandatory = false, HelpMessage = "When specified, ensures that the query is run against a collection instead of a resource.")] - [Parameter(ParameterSetName = GetAzureResourceCmdlet.GetResourceByNameGroupTypeParameterSet, Mandatory = false, HelpMessage = "When specified, ensures that the query is run against a collection instead of a resource.")] + //[Parameter(ParameterSetName = GetAzureResourceCmdlet.GetResourceByNameGroupTypeParameterSet, Mandatory = false, HelpMessage = "When specified, ensures that the query is run against a collection instead of a resource.")] public SwitchParameter IsCollection { get; set; } /// @@ -162,6 +170,7 @@ public sealed class GetAzureResourceCmdlet : ResourceManagerCmdletBase /// /// Gets or sets the resource group name. /// + [Parameter(ParameterSetName = GetAzureResourceCmdlet.ListResourceCollection, Mandatory = true, HelpMessage = "When specified, ensures that the query is run against a collection instead of a resource.")] [Parameter(ParameterSetName = GetAzureResourceCmdlet.GetResourceByNameGroupParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource group name.")] [Parameter(ParameterSetName = GetAzureResourceCmdlet.GetResourceByNameGroupTypeParameterSet, Mandatory = true, ValueFromPipelineByPropertyName = true, HelpMessage = "The resource group name.")] [ValidateNotNullOrEmpty] diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/Commands.Resources.Test.csproj b/src/ResourceManager/Resources/Commands.Resources.Test/Commands.Resources.Test.csproj index 0014f31663e4..9956ad8d269c 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/Commands.Resources.Test.csproj +++ b/src/ResourceManager/Resources/Commands.Resources.Test/Commands.Resources.Test.csproj @@ -501,6 +501,9 @@ Always + + PreserveNewest + Always diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceTests.cs b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceTests.cs index 9872b966a350..f16412904232 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceTests.cs +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceTests.cs @@ -111,5 +111,12 @@ public void TestGetResourceWithExpandProperties() { ResourcesController.NewInstance.RunPsTest("Test-GetResourceExpandProperties"); } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetResourceWithCollection() + { + ResourcesController.NewInstance.RunPsTest("Test-GetResourceWithCollection"); + } } } diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceTests.ps1 b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceTests.ps1 index 60c69f89e80c..76125318aa6b 100644 --- a/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceTests.ps1 +++ b/src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceTests.ps1 @@ -347,4 +347,26 @@ function Test-GetResourceExpandProperties # Assert Assert-AreEqual $resourceGet.Properties.key "value" +} + +<# +.SYNOPSIS +Tests getting a resource with IsCollection +#> +function Test-GetResourceWithCollection +{ + # Setup + $rgname = Get-ResourceGroupName + $rname = Get-ResourceName + $rglocation = Get-ProviderLocation ResourceManagement + $apiversion = "2015-08-01" + $resourceType = "Providers.Test/statefulResources" + + # Test + New-AzureRmResourceGroup -Name $rgname -Location $rglocation + New-AzureRmResourceGroupDeployment -Name $rname -ResourceGroupName $rgname -TemplateFile sampleTemplate.json -TemplateParameterFile sampleTemplateParams.json + $resourceGet = Get-AzureRmResource -ResourceGroupName $rgname -ResourceType Microsoft.Web/serverFarms -IsCollection -ApiVersion 2015-08-01 + + # Assert + Assert-AreEqual $resourceGet.ResourceType "Microsoft.Web/serverFarms" } \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestGetResourceWithCollection.json b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestGetResourceWithCollection.json new file mode 100644 index 000000000000..1a6aab84fb89 --- /dev/null +++ b/src/ResourceManager/Resources/Commands.Resources.Test/SessionRecords/Microsoft.Azure.Commands.Resources.Test.ScenarioTests.ResourceTests/TestGetResourceWithCollection.json @@ -0,0 +1,1152 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourcegroups/onesdk2987?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDVjMGFkNDYtYWUzZi00OTNlLTkxY2UtOTI5N2UwOTUzZmMxL3Jlc291cmNlZ3JvdXBzL29uZXNkazI5ODc/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "102" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-request-id": [ + "993488f3-6640-451a-8c6b-5065d685a342" + ], + "x-ms-correlation-request-id": [ + "993488f3-6640-451a-8c6b-5065d685a342" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160128T065035Z:993488f3-6640-451a-8c6b-5065d685a342" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 28 Jan 2016 06:50:35 GMT" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourcegroups/onesdk2987?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDVjMGFkNDYtYWUzZi00OTNlLTkxY2UtOTI5N2UwOTUzZmMxL3Jlc291cmNlZ3JvdXBzL29uZXNkazI5ODc/YXBpLXZlcnNpb249MjAxNC0wNC0wMS1wcmV2aWV3", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"West US\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "29" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourceGroups/onesdk2987\",\r\n \"name\": \"onesdk2987\",\r\n \"location\": \"westus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "173" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "3de48d78-d1aa-4eb8-a24a-0bcf7c1a82a3" + ], + "x-ms-correlation-request-id": [ + "3de48d78-d1aa-4eb8-a24a-0bcf7c1a82a3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160128T065035Z:3de48d78-d1aa-4eb8-a24a-0bcf7c1a82a3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 28 Jan 2016 06:50:35 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourceGroups/onesdk2987/resources?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDVjMGFkNDYtYWUzZi00OTNlLTkxY2UtOTI5N2UwOTUzZmMxL3Jlc291cmNlR3JvdXBzL29uZXNkazI5ODcvcmVzb3VyY2VzP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-request-id": [ + "a2960648-2140-4d7d-882a-b650deb27b91" + ], + "x-ms-correlation-request-id": [ + "a2960648-2140-4d7d-882a-b650deb27b91" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160128T065035Z:a2960648-2140-4d7d-882a-b650deb27b91" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 28 Jan 2016 06:50:35 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourcegroups/onesdk2987/deployments/onesdk8026?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDVjMGFkNDYtYWUzZi00OTNlLTkxY2UtOTI5N2UwOTUzZmMxL3Jlc291cmNlZ3JvdXBzL29uZXNkazI5ODcvZGVwbG95bWVudHMvb25lc2RrODAyNj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"template\": {\r\n \"$schema\": \"http://schema.management.azure.com/schemas/2014-04-01-preview/deploymentTemplate.json#\",\r\n \"contentVersion\": \"1.0.0.0\",\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"string\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"string\"\r\n },\r\n \"sku\": {\r\n \"type\": \"string\",\r\n \"allowedValues\": [\r\n \"Free\",\r\n \"Shared\",\r\n \"Basic\",\r\n \"Standard\"\r\n ],\r\n \"defaultValue\": \"Free\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"int\",\r\n \"allowedValues\": [\r\n 0,\r\n 1,\r\n 2\r\n ],\r\n \"defaultValue\": 0\r\n }\r\n },\r\n \"resources\": [\r\n {\r\n \"apiVersion\": \"2014-04-01\",\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"[parameters('siteLocation')]\",\r\n \"properties\": {\r\n \"name\": \"[parameters('hostingPlanName')]\",\r\n \"sku\": \"[parameters('sku')]\",\r\n \"workerSize\": \"[parameters('workerSize')]\",\r\n \"numberOfWorkers\": 1\r\n }\r\n }\r\n ]\r\n },\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"value\": \"xDeploymentTestHost26668\"\r\n },\r\n \"sku\": {\r\n \"value\": \"Basic\"\r\n },\r\n \"workerSize\": {\r\n \"value\": 0\r\n },\r\n \"siteLocation\": {\r\n \"value\": \"West US\"\r\n }\r\n },\r\n \"mode\": \"Incremental\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1563" + ], + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourceGroups/onesdk2987/deployments/onesdk8026\",\r\n \"name\": \"onesdk8026\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"String\",\r\n \"value\": \"xDeploymentTestHost26668\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"sku\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"Int\",\r\n \"value\": 0\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2016-01-28T06:50:38.888279Z\",\r\n \"duration\": \"PT0.3003957S\",\r\n \"correlationId\": \"82daf614-501b-4b75-8fd8-d38c6924a746\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"serverfarms\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": []\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "668" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourcegroups/onesdk2987/providers/Microsoft.Resources/deployments/onesdk8026/operationStatuses/08587476430468897961?api-version=2014-04-01-preview" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-request-id": [ + "82daf614-501b-4b75-8fd8-d38c6924a746" + ], + "x-ms-correlation-request-id": [ + "82daf614-501b-4b75-8fd8-d38c6924a746" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160128T065038Z:82daf614-501b-4b75-8fd8-d38c6924a746" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 28 Jan 2016 06:50:38 GMT" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourcegroups/onesdk2987/deployments/onesdk8026/operations?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDVjMGFkNDYtYWUzZi00OTNlLTkxY2UtOTI5N2UwOTUzZmMxL3Jlc291cmNlZ3JvdXBzL29uZXNkazI5ODcvZGVwbG95bWVudHMvb25lc2RrODAyNi9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-request-id": [ + "34e63818-c484-4f6e-9459-91e971ddc7a3" + ], + "x-ms-correlation-request-id": [ + "34e63818-c484-4f6e-9459-91e971ddc7a3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160128T065039Z:34e63818-c484-4f6e-9459-91e971ddc7a3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 28 Jan 2016 06:50:38 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourcegroups/onesdk2987/deployments/onesdk8026/operations?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDVjMGFkNDYtYWUzZi00OTNlLTkxY2UtOTI5N2UwOTUzZmMxL3Jlc291cmNlZ3JvdXBzL29uZXNkazI5ODcvZGVwbG95bWVudHMvb25lc2RrODAyNi9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14994" + ], + "x-ms-request-id": [ + "8064c54c-9251-4ce1-a62f-85cd21f14263" + ], + "x-ms-correlation-request-id": [ + "8064c54c-9251-4ce1-a62f-85cd21f14263" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160128T065041Z:8064c54c-9251-4ce1-a62f-85cd21f14263" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 28 Jan 2016 06:50:40 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourcegroups/onesdk2987/deployments/onesdk8026/operations?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDVjMGFkNDYtYWUzZi00OTNlLTkxY2UtOTI5N2UwOTUzZmMxL3Jlc291cmNlZ3JvdXBzL29uZXNkazI5ODcvZGVwbG95bWVudHMvb25lc2RrODAyNi9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14992" + ], + "x-ms-request-id": [ + "9f6c5404-aaf7-46c9-a1a7-089d707dab95" + ], + "x-ms-correlation-request-id": [ + "9f6c5404-aaf7-46c9-a1a7-089d707dab95" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160128T065043Z:9f6c5404-aaf7-46c9-a1a7-089d707dab95" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 28 Jan 2016 06:50:43 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourcegroups/onesdk2987/deployments/onesdk8026/operations?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDVjMGFkNDYtYWUzZi00OTNlLTkxY2UtOTI5N2UwOTUzZmMxL3Jlc291cmNlZ3JvdXBzL29uZXNkazI5ODcvZGVwbG95bWVudHMvb25lc2RrODAyNi9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14990" + ], + "x-ms-request-id": [ + "59aeb747-5eef-464a-ac0d-01360ab60945" + ], + "x-ms-correlation-request-id": [ + "59aeb747-5eef-464a-ac0d-01360ab60945" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160128T065045Z:59aeb747-5eef-464a-ac0d-01360ab60945" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 28 Jan 2016 06:50:45 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourcegroups/onesdk2987/deployments/onesdk8026/operations?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDVjMGFkNDYtYWUzZi00OTNlLTkxY2UtOTI5N2UwOTUzZmMxL3Jlc291cmNlZ3JvdXBzL29uZXNkazI5ODcvZGVwbG95bWVudHMvb25lc2RrODAyNi9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14988" + ], + "x-ms-request-id": [ + "def7e54c-87d3-42c2-ae79-b4a05c94280c" + ], + "x-ms-correlation-request-id": [ + "def7e54c-87d3-42c2-ae79-b4a05c94280c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160128T065047Z:def7e54c-87d3-42c2-ae79-b4a05c94280c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 28 Jan 2016 06:50:47 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourcegroups/onesdk2987/deployments/onesdk8026/operations?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDVjMGFkNDYtYWUzZi00OTNlLTkxY2UtOTI5N2UwOTUzZmMxL3Jlc291cmNlZ3JvdXBzL29uZXNkazI5ODcvZGVwbG95bWVudHMvb25lc2RrODAyNi9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14986" + ], + "x-ms-request-id": [ + "07555562-25ff-4c25-8b5b-12611af849a2" + ], + "x-ms-correlation-request-id": [ + "07555562-25ff-4c25-8b5b-12611af849a2" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160128T065050Z:07555562-25ff-4c25-8b5b-12611af849a2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 28 Jan 2016 06:50:49 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourcegroups/onesdk2987/deployments/onesdk8026/operations?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDVjMGFkNDYtYWUzZi00OTNlLTkxY2UtOTI5N2UwOTUzZmMxL3Jlc291cmNlZ3JvdXBzL29uZXNkazI5ODcvZGVwbG95bWVudHMvb25lc2RrODAyNi9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14984" + ], + "x-ms-request-id": [ + "d0087eb3-d77c-40ab-b3fa-0ca6662c03e9" + ], + "x-ms-correlation-request-id": [ + "d0087eb3-d77c-40ab-b3fa-0ca6662c03e9" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160128T065052Z:d0087eb3-d77c-40ab-b3fa-0ca6662c03e9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 28 Jan 2016 06:50:51 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourcegroups/onesdk2987/deployments/onesdk8026/operations?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDVjMGFkNDYtYWUzZi00OTNlLTkxY2UtOTI5N2UwOTUzZmMxL3Jlc291cmNlZ3JvdXBzL29uZXNkazI5ODcvZGVwbG95bWVudHMvb25lc2RrODAyNi9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourceGroups/onesdk2987/deployments/onesdk8026/operations/8E0A6FE9670362C3\",\r\n \"operationId\": \"8E0A6FE9670362C3\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2016-01-28T06:50:54.0366664Z\",\r\n \"duration\": \"PT13.3772853S\",\r\n \"trackingId\": \"4509ea9c-0c8a-45cc-8b23-1204e7864bdb\",\r\n \"statusCode\": \"OK\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourceGroups/onesdk2987/providers/Microsoft.Web/serverfarms/xDeploymentTestHost26668\",\r\n \"resourceType\": \"Microsoft.Web/serverfarms\",\r\n \"resourceName\": \"xDeploymentTestHost26668\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "619" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14982" + ], + "x-ms-request-id": [ + "cdfd0743-54a2-4267-97e4-24f354a6244a" + ], + "x-ms-correlation-request-id": [ + "cdfd0743-54a2-4267-97e4-24f354a6244a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160128T065054Z:cdfd0743-54a2-4267-97e4-24f354a6244a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 28 Jan 2016 06:50:53 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourcegroups/onesdk2987/deployments/onesdk8026/operations?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDVjMGFkNDYtYWUzZi00OTNlLTkxY2UtOTI5N2UwOTUzZmMxL3Jlc291cmNlZ3JvdXBzL29uZXNkazI5ODcvZGVwbG95bWVudHMvb25lc2RrODAyNi9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTQtMDQtMDEtcHJldmlldw==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourceGroups/onesdk2987/deployments/onesdk8026/operations/8E0A6FE9670362C3\",\r\n \"operationId\": \"8E0A6FE9670362C3\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2016-01-28T06:50:54.0366664Z\",\r\n \"duration\": \"PT13.3772853S\",\r\n \"trackingId\": \"4509ea9c-0c8a-45cc-8b23-1204e7864bdb\",\r\n \"statusCode\": \"OK\",\r\n \"targetResource\": {\r\n \"id\": \"/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourceGroups/onesdk2987/providers/Microsoft.Web/serverfarms/xDeploymentTestHost26668\",\r\n \"resourceType\": \"Microsoft.Web/serverfarms\",\r\n \"resourceName\": \"xDeploymentTestHost26668\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "619" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14980" + ], + "x-ms-request-id": [ + "229f6f1f-0b65-4973-accb-e24fa282c414" + ], + "x-ms-correlation-request-id": [ + "229f6f1f-0b65-4973-accb-e24fa282c414" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160128T065056Z:229f6f1f-0b65-4973-accb-e24fa282c414" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 28 Jan 2016 06:50:56 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourcegroups/onesdk2987/deployments/onesdk8026?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDVjMGFkNDYtYWUzZi00OTNlLTkxY2UtOTI5N2UwOTUzZmMxL3Jlc291cmNlZ3JvdXBzL29uZXNkazI5ODcvZGVwbG95bWVudHMvb25lc2RrODAyNj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourceGroups/onesdk2987/deployments/onesdk8026\",\r\n \"name\": \"onesdk8026\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"String\",\r\n \"value\": \"xDeploymentTestHost26668\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"sku\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"Int\",\r\n \"value\": 0\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Accepted\",\r\n \"timestamp\": \"2016-01-28T06:50:38.888279Z\",\r\n \"duration\": \"PT0.3003957S\",\r\n \"correlationId\": \"82daf614-501b-4b75-8fd8-d38c6924a746\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"serverfarms\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": []\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "668" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14995" + ], + "x-ms-request-id": [ + "65028716-3ade-4c6a-87ab-5574bfb24dd3" + ], + "x-ms-correlation-request-id": [ + "65028716-3ade-4c6a-87ab-5574bfb24dd3" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160128T065039Z:65028716-3ade-4c6a-87ab-5574bfb24dd3" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 28 Jan 2016 06:50:38 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourcegroups/onesdk2987/deployments/onesdk8026?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDVjMGFkNDYtYWUzZi00OTNlLTkxY2UtOTI5N2UwOTUzZmMxL3Jlc291cmNlZ3JvdXBzL29uZXNkazI5ODcvZGVwbG95bWVudHMvb25lc2RrODAyNj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourceGroups/onesdk2987/deployments/onesdk8026\",\r\n \"name\": \"onesdk8026\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"String\",\r\n \"value\": \"xDeploymentTestHost26668\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"sku\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"Int\",\r\n \"value\": 0\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2016-01-28T06:50:40.1894179Z\",\r\n \"duration\": \"PT1.6015346S\",\r\n \"correlationId\": \"82daf614-501b-4b75-8fd8-d38c6924a746\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"serverfarms\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": []\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "668" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14993" + ], + "x-ms-request-id": [ + "08c5f812-f750-40f7-a5e7-2b4f5e246b65" + ], + "x-ms-correlation-request-id": [ + "08c5f812-f750-40f7-a5e7-2b4f5e246b65" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160128T065041Z:08c5f812-f750-40f7-a5e7-2b4f5e246b65" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 28 Jan 2016 06:50:41 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourcegroups/onesdk2987/deployments/onesdk8026?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDVjMGFkNDYtYWUzZi00OTNlLTkxY2UtOTI5N2UwOTUzZmMxL3Jlc291cmNlZ3JvdXBzL29uZXNkazI5ODcvZGVwbG95bWVudHMvb25lc2RrODAyNj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourceGroups/onesdk2987/deployments/onesdk8026\",\r\n \"name\": \"onesdk8026\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"String\",\r\n \"value\": \"xDeploymentTestHost26668\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"sku\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"Int\",\r\n \"value\": 0\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2016-01-28T06:50:40.1894179Z\",\r\n \"duration\": \"PT1.6015346S\",\r\n \"correlationId\": \"82daf614-501b-4b75-8fd8-d38c6924a746\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"serverfarms\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": []\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "668" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14991" + ], + "x-ms-request-id": [ + "7868ce1b-e694-4ec4-81f2-efffa79af85d" + ], + "x-ms-correlation-request-id": [ + "7868ce1b-e694-4ec4-81f2-efffa79af85d" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160128T065043Z:7868ce1b-e694-4ec4-81f2-efffa79af85d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 28 Jan 2016 06:50:43 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourcegroups/onesdk2987/deployments/onesdk8026?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDVjMGFkNDYtYWUzZi00OTNlLTkxY2UtOTI5N2UwOTUzZmMxL3Jlc291cmNlZ3JvdXBzL29uZXNkazI5ODcvZGVwbG95bWVudHMvb25lc2RrODAyNj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourceGroups/onesdk2987/deployments/onesdk8026\",\r\n \"name\": \"onesdk8026\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"String\",\r\n \"value\": \"xDeploymentTestHost26668\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"sku\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"Int\",\r\n \"value\": 0\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2016-01-28T06:50:40.1894179Z\",\r\n \"duration\": \"PT1.6015346S\",\r\n \"correlationId\": \"82daf614-501b-4b75-8fd8-d38c6924a746\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"serverfarms\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": []\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "668" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14989" + ], + "x-ms-request-id": [ + "39d3fc6e-e8e1-4753-b617-3d1fb40816f1" + ], + "x-ms-correlation-request-id": [ + "39d3fc6e-e8e1-4753-b617-3d1fb40816f1" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160128T065045Z:39d3fc6e-e8e1-4753-b617-3d1fb40816f1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 28 Jan 2016 06:50:45 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourcegroups/onesdk2987/deployments/onesdk8026?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDVjMGFkNDYtYWUzZi00OTNlLTkxY2UtOTI5N2UwOTUzZmMxL3Jlc291cmNlZ3JvdXBzL29uZXNkazI5ODcvZGVwbG95bWVudHMvb25lc2RrODAyNj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourceGroups/onesdk2987/deployments/onesdk8026\",\r\n \"name\": \"onesdk8026\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"String\",\r\n \"value\": \"xDeploymentTestHost26668\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"sku\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"Int\",\r\n \"value\": 0\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2016-01-28T06:50:40.1894179Z\",\r\n \"duration\": \"PT1.6015346S\",\r\n \"correlationId\": \"82daf614-501b-4b75-8fd8-d38c6924a746\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"serverfarms\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": []\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "668" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14987" + ], + "x-ms-request-id": [ + "0a86789c-0a3a-4913-90c7-1c6f8c51c7ce" + ], + "x-ms-correlation-request-id": [ + "0a86789c-0a3a-4913-90c7-1c6f8c51c7ce" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160128T065047Z:0a86789c-0a3a-4913-90c7-1c6f8c51c7ce" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 28 Jan 2016 06:50:47 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourcegroups/onesdk2987/deployments/onesdk8026?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDVjMGFkNDYtYWUzZi00OTNlLTkxY2UtOTI5N2UwOTUzZmMxL3Jlc291cmNlZ3JvdXBzL29uZXNkazI5ODcvZGVwbG95bWVudHMvb25lc2RrODAyNj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourceGroups/onesdk2987/deployments/onesdk8026\",\r\n \"name\": \"onesdk8026\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"String\",\r\n \"value\": \"xDeploymentTestHost26668\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"sku\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"Int\",\r\n \"value\": 0\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2016-01-28T06:50:40.1894179Z\",\r\n \"duration\": \"PT1.6015346S\",\r\n \"correlationId\": \"82daf614-501b-4b75-8fd8-d38c6924a746\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"serverfarms\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": []\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "668" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14985" + ], + "x-ms-request-id": [ + "ec11b311-45d0-4cbb-bed9-1d729a1697f9" + ], + "x-ms-correlation-request-id": [ + "ec11b311-45d0-4cbb-bed9-1d729a1697f9" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160128T065050Z:ec11b311-45d0-4cbb-bed9-1d729a1697f9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 28 Jan 2016 06:50:49 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourcegroups/onesdk2987/deployments/onesdk8026?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDVjMGFkNDYtYWUzZi00OTNlLTkxY2UtOTI5N2UwOTUzZmMxL3Jlc291cmNlZ3JvdXBzL29uZXNkazI5ODcvZGVwbG95bWVudHMvb25lc2RrODAyNj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourceGroups/onesdk2987/deployments/onesdk8026\",\r\n \"name\": \"onesdk8026\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"String\",\r\n \"value\": \"xDeploymentTestHost26668\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"sku\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"Int\",\r\n \"value\": 0\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2016-01-28T06:50:40.1894179Z\",\r\n \"duration\": \"PT1.6015346S\",\r\n \"correlationId\": \"82daf614-501b-4b75-8fd8-d38c6924a746\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"serverfarms\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": []\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "668" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14983" + ], + "x-ms-request-id": [ + "56ee2139-b604-449f-a3dd-93f64ab5eed8" + ], + "x-ms-correlation-request-id": [ + "56ee2139-b604-449f-a3dd-93f64ab5eed8" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160128T065052Z:56ee2139-b604-449f-a3dd-93f64ab5eed8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 28 Jan 2016 06:50:51 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourcegroups/onesdk2987/deployments/onesdk8026?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDVjMGFkNDYtYWUzZi00OTNlLTkxY2UtOTI5N2UwOTUzZmMxL3Jlc291cmNlZ3JvdXBzL29uZXNkazI5ODcvZGVwbG95bWVudHMvb25lc2RrODAyNj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourceGroups/onesdk2987/deployments/onesdk8026\",\r\n \"name\": \"onesdk8026\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"String\",\r\n \"value\": \"xDeploymentTestHost26668\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"sku\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"Int\",\r\n \"value\": 0\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Running\",\r\n \"timestamp\": \"2016-01-28T06:50:40.1894179Z\",\r\n \"duration\": \"PT1.6015346S\",\r\n \"correlationId\": \"82daf614-501b-4b75-8fd8-d38c6924a746\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"serverfarms\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": []\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "668" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14981" + ], + "x-ms-request-id": [ + "bcdae7d7-8667-4e71-9844-bf281825789a" + ], + "x-ms-correlation-request-id": [ + "bcdae7d7-8667-4e71-9844-bf281825789a" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160128T065054Z:bcdae7d7-8667-4e71-9844-bf281825789a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 28 Jan 2016 06:50:53 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourcegroups/onesdk2987/deployments/onesdk8026?api-version=2014-04-01-preview", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDVjMGFkNDYtYWUzZi00OTNlLTkxY2UtOTI5N2UwOTUzZmMxL3Jlc291cmNlZ3JvdXBzL29uZXNkazI5ODcvZGVwbG95bWVudHMvb25lc2RrODAyNj9hcGktdmVyc2lvbj0yMDE0LTA0LTAxLXByZXZpZXc=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Management.Resources.ResourceManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourceGroups/onesdk2987/deployments/onesdk8026\",\r\n \"name\": \"onesdk8026\",\r\n \"properties\": {\r\n \"parameters\": {\r\n \"hostingPlanName\": {\r\n \"type\": \"String\",\r\n \"value\": \"xDeploymentTestHost26668\"\r\n },\r\n \"siteLocation\": {\r\n \"type\": \"String\",\r\n \"value\": \"West US\"\r\n },\r\n \"sku\": {\r\n \"type\": \"String\",\r\n \"value\": \"Basic\"\r\n },\r\n \"workerSize\": {\r\n \"type\": \"Int\",\r\n \"value\": 0\r\n }\r\n },\r\n \"mode\": \"Incremental\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timestamp\": \"2016-01-28T06:50:55.416816Z\",\r\n \"duration\": \"PT16.8289327S\",\r\n \"correlationId\": \"82daf614-501b-4b75-8fd8-d38c6924a746\",\r\n \"providers\": [\r\n {\r\n \"namespace\": \"Microsoft.Web\",\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"serverfarms\",\r\n \"locations\": [\r\n \"westus\"\r\n ]\r\n }\r\n ]\r\n }\r\n ],\r\n \"dependencies\": [],\r\n \"outputResources\": [\r\n {\r\n \"id\": \"Microsoft.Web/serverfarms/xDeploymentTestHost26668\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "750" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14979" + ], + "x-ms-request-id": [ + "c3b6185a-9a55-451f-bc44-bc240f0790df" + ], + "x-ms-correlation-request-id": [ + "c3b6185a-9a55-451f-bc44-bc240f0790df" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160128T065056Z:c3b6185a-9a55-451f-bc44-bc240f0790df" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 28 Jan 2016 06:50:56 GMT" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourceGroups/onesdk2987/providers/Microsoft.Web/serverFarms?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvNDVjMGFkNDYtYWUzZi00OTNlLTkxY2UtOTI5N2UwOTUzZmMxL3Jlc291cmNlR3JvdXBzL29uZXNkazI5ODcvcHJvdmlkZXJzL01pY3Jvc29mdC5XZWIvc2VydmVyRmFybXM/YXBpLXZlcnNpb249MjAxNS0wOC0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "AzurePowershell/v1.0.0.0" + ], + "ParameterSetName": [ + "Get resource collection" + ], + "CommandName": [ + "Get-AzureRmResource" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/45c0ad46-ae3f-493e-91ce-9297e0953fc1/resourceGroups/onesdk2987/providers/Microsoft.Web/serverfarms/xDeploymentTestHost26668\",\r\n \"name\": \"xDeploymentTestHost26668\",\r\n \"type\": \"Microsoft.Web/serverfarms\",\r\n \"location\": \"West US\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"serverFarmId\": 0,\r\n \"name\": \"xDeploymentTestHost26668\",\r\n \"workerSize\": 0,\r\n \"workerSizeId\": 0,\r\n \"numberOfWorkers\": 1,\r\n \"currentWorkerSize\": 0,\r\n \"currentWorkerSizeId\": 0,\r\n \"currentNumberOfWorkers\": 1,\r\n \"status\": 0,\r\n \"webSpace\": \"onesdk2987-WestUSwebspace\",\r\n \"subscription\": \"45c0ad46-ae3f-493e-91ce-9297e0953fc1\",\r\n \"adminSiteName\": null,\r\n \"hostingEnvironment\": null,\r\n \"hostingEnvironmentProfile\": null,\r\n \"maximumNumberOfWorkers\": 3,\r\n \"planName\": \"VirtualDedicatedPlan\",\r\n \"adminRuntimeSiteName\": null,\r\n \"computeMode\": 0,\r\n \"siteMode\": null,\r\n \"geoRegion\": \"West US\",\r\n \"perSiteScaling\": false,\r\n \"numberOfSites\": 0,\r\n \"hostingEnvironmentId\": null,\r\n \"tags\": null,\r\n \"kind\": null,\r\n \"resourceGroup\": \"onesdk2987\"\r\n },\r\n \"sku\": {\r\n \"name\": \"B1\",\r\n \"tier\": \"Basic\",\r\n \"size\": \"B1\",\r\n \"family\": \"B\",\r\n \"capacity\": 1\r\n }\r\n }\r\n ],\r\n \"nextLink\": null\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "990" + ], + "Content-Type": [ + "application/json" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "a314ed9d-9235-45b5-b314-136069a6a45d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "7b71a218-1447-4c8a-8999-1be92d8f52be" + ], + "x-ms-routing-request-id": [ + "WESTUS:20160128T065100Z:7b71a218-1447-4c8a-8999-1be92d8f52be" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 28 Jan 2016 06:51:00 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "Test-GetResourceWithCollection": [ + "onesdk2987", + "onesdk8026" + ] + }, + "Variables": { + "SubscriptionId": "45c0ad46-ae3f-493e-91ce-9297e0953fc1", + "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "Domain": "microsoft.com" + } +} \ No newline at end of file From 4597b0f77982d499da102a079134b347a084ed67 Mon Sep 17 00:00:00 2001 From: Vivek Srinivasan Date: Wed, 27 Jan 2016 22:58:45 -0800 Subject: [PATCH 2/2] Remove the commented line --- .../Cmdlets/Implementation/Resource/GetAzureResourceCmdlet.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Resource/GetAzureResourceCmdlet.cs b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Resource/GetAzureResourceCmdlet.cs index fb7ca6f44ff3..245d7876d93c 100644 --- a/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Resource/GetAzureResourceCmdlet.cs +++ b/src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Resource/GetAzureResourceCmdlet.cs @@ -150,7 +150,6 @@ public sealed class GetAzureResourceCmdlet : ResourceManagerCmdletBase [Parameter(ParameterSetName = GetAzureResourceCmdlet.ListTenantResourcesParameterSet, Mandatory = false, HelpMessage = "When specified, ensures that the query is run against a collection instead of a resource.")] [Parameter(ParameterSetName = GetAzureResourceCmdlet.GetResourceByNameTypeParameterSet, Mandatory = false, HelpMessage = "When specified, ensures that the query is run against a collection instead of a resource.")] [Parameter(ParameterSetName = GetAzureResourceCmdlet.GetResourceByNameGroupParameterSet, Mandatory = false, HelpMessage = "When specified, ensures that the query is run against a collection instead of a resource.")] - //[Parameter(ParameterSetName = GetAzureResourceCmdlet.GetResourceByNameGroupTypeParameterSet, Mandatory = false, HelpMessage = "When specified, ensures that the query is run against a collection instead of a resource.")] public SwitchParameter IsCollection { get; set; } ///