diff --git a/AzurePowershell.Test.targets b/AzurePowershell.Test.targets index 7a52401f742f..b3fcd9c1cebd 100644 --- a/AzurePowershell.Test.targets +++ b/AzurePowershell.Test.targets @@ -29,6 +29,7 @@ .\src\ServiceManagement\HDInsight\Commands.HDInsight.Test\bin\Debug\Microsoft.WindowsAzure.Commands.HDInsight.Test.dll .\src\ServiceManagement\Storage\Commands.Storage.Test\bin\Debug\Microsoft.WindowsAzure.Commands.Storage.Test.dll .\src\ResourceManager\KeyVault\Commands.KeyVault.Test\bin\Debug\Microsoft.Azure.Commands.KeyVault.Test.dll + .\src\ResourceManager\Commerce\Commands.UsageAggregates.Test\bin\Debug\Microsoft.Azure.Commands.UsageAggregates.Test.dll "!Functional&!Scenario&!AzureRTScenario&!Sequential&!PIRTest&!Preview&!ADDomain&!Network&!AzureRTUpload&!AzureRTCleanUp" All "OneSDK&CIT" @@ -55,13 +56,14 @@ + - + @@ -242,6 +244,13 @@ + + + + + + diff --git a/ChangeLog.txt b/ChangeLog.txt index c74100a1aa5b..719b7103a9b1 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -12,6 +12,8 @@ * Added Test-AzureResourceGroup and Test-AzureResource cmdlets * Refactored Resource Lock cmdlets * Removed unnecessary code when getting a resource +* Added UsageAggregates cmdlets + * Get-UsageAggregates 2015.06.05 version 0.9.3 * Fixed bug in Websites cmdlets related to slots #454 diff --git a/setup/azurecmdfiles.wxi b/setup/azurecmdfiles.wxi index 929b2e393cd2..005dadb6362c 100644 --- a/setup/azurecmdfiles.wxi +++ b/setup/azurecmdfiles.wxi @@ -1737,6 +1737,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -4207,6 +4236,15 @@ + + + + + + + + + diff --git a/setup/azurepowershell.sln b/setup/azurepowershell.sln index d6782b6e5edc..00d02770f5b4 100644 --- a/setup/azurepowershell.sln +++ b/setup/azurepowershell.sln @@ -1,8 +1,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 2013 -VisualStudioVersion = 12.0.30110.0 +VisualStudioVersion = 12.0.31101.0 MinimumVisualStudioVersion = 10.0.40219.1 - Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "azurepowershell", "azurepowershell.wixproj", "{36D6E303-E057-4963-A093-C7AAE0FD92B3}" ProjectSection(ProjectDependencies) = postProject {EA5BD11B-10B3-433D-A250-92AE76669D8D} = {EA5BD11B-10B3-433D-A250-92AE76669D8D} @@ -16,10 +15,8 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {36D6E303-E057-4963-A093-C7AAE0FD92B3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {36D6E303-E057-4963-A093-C7AAE0FD92B3}.Debug|Any CPU.Build.0 = Debug|Any CPU - {36D6E303-E057-4963-A093-C7AAE0FD92B3}.Release|Any CPU.ActiveCfg = Release|Any CPU - {36D6E303-E057-4963-A093-C7AAE0FD92B3}.Release|Any CPU.Build.0 = Release|Any CPU + {36D6E303-E057-4963-A093-C7AAE0FD92B3}.Debug|Any CPU.ActiveCfg = Debug|x86 + {36D6E303-E057-4963-A093-C7AAE0FD92B3}.Release|Any CPU.ActiveCfg = Release|x86 {EA5BD11B-10B3-433D-A250-92AE76669D8D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {EA5BD11B-10B3-433D-A250-92AE76669D8D}.Debug|Any CPU.Build.0 = Debug|Any CPU {EA5BD11B-10B3-433D-A250-92AE76669D8D}.Release|Any CPU.ActiveCfg = Release|Any CPU diff --git a/src/AzurePowershell.sln b/src/AzurePowershell.sln index 3d9784916d2f..ddb9724df823 100644 --- a/src/AzurePowershell.sln +++ b/src/AzurePowershell.sln @@ -218,6 +218,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.OperationalInsight EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.OperationalInsights.Test", "ResourceManager\OperationalInsights\Commands.OperationalInsights.Test\Commands.OperationalInsights.Test.csproj", "{11387E0A-4DB6-49B8-BDBC-EE020D85D10F}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.UsageAggregates", "ResourceManager\Commerce\Commands.UsageAggregates\Commands.UsageAggregates.csproj", "{1A131D3A-EAC4-420C-A1C0-5490ED68EF67}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.UsageAggregates.Test", "ResourceManager\Commerce\Commands.UsageAggregates.Test\Commands.UsageAggregates.Test.csproj", "{F220C306-29A3-4511-8518-A58A55C60D07}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -536,6 +540,14 @@ Global {11387E0A-4DB6-49B8-BDBC-EE020D85D10F}.Debug|Any CPU.Build.0 = Debug|Any CPU {11387E0A-4DB6-49B8-BDBC-EE020D85D10F}.Release|Any CPU.ActiveCfg = Release|Any CPU {11387E0A-4DB6-49B8-BDBC-EE020D85D10F}.Release|Any CPU.Build.0 = Release|Any CPU + {1A131D3A-EAC4-420C-A1C0-5490ED68EF67}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1A131D3A-EAC4-420C-A1C0-5490ED68EF67}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1A131D3A-EAC4-420C-A1C0-5490ED68EF67}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1A131D3A-EAC4-420C-A1C0-5490ED68EF67}.Release|Any CPU.Build.0 = Release|Any CPU + {F220C306-29A3-4511-8518-A58A55C60D07}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F220C306-29A3-4511-8518-A58A55C60D07}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F220C306-29A3-4511-8518-A58A55C60D07}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F220C306-29A3-4511-8518-A58A55C60D07}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -579,5 +591,6 @@ Global {BEC9ECE9-A3D6-4B24-A682-1FA890647D9D} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} {7D1D3B56-4EB4-4819-86FD-43330DED8EE7} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} {11387E0A-4DB6-49B8-BDBC-EE020D85D10F} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} + {F220C306-29A3-4511-8518-A58A55C60D07} = {95C16AED-FD57-42A0-86C3-2CF4300A4817} EndGlobalSection EndGlobal diff --git a/src/ResourceManager/Commerce/Commands.UsageAggregates.Test/Commands.UsageAggregates.Test.csproj b/src/ResourceManager/Commerce/Commands.UsageAggregates.Test/Commands.UsageAggregates.Test.csproj new file mode 100644 index 000000000000..3254f044b368 --- /dev/null +++ b/src/ResourceManager/Commerce/Commands.UsageAggregates.Test/Commands.UsageAggregates.Test.csproj @@ -0,0 +1,146 @@ + + + + + + + Debug + AnyCPU + {F220C306-29A3-4511-8518-A58A55C60D07} + Library + Properties + Commands.UsageAggregates.Test + Microsoft.Azure.Commands.UsageAggregates.Test + v4.5 + 512 + ..\..\..\ + true + df51711b + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + ..\..\..\packages\Hyak.Common.1.0.2\lib\net45\Hyak.Common.dll + True + + + ..\..\..\packages\Microsoft.Azure.Commerce.UsageAggregates.1.1.0-preview\lib\net40\Microsoft.Azure.Commerce.UsageAggregates.dll + True + + + ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.dll + True + + + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + True + + + ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll + True + + + ..\..\..\packages\Microsoft.Azure.Test.Framework.1.0.5571.32271-prerelease\lib\net45\Microsoft.Azure.Test.Framework.dll + True + + + ..\..\..\packages\Microsoft.Azure.Test.HttpRecorder.1.0.5513.27084-prerelease\lib\net45\Microsoft.Azure.Test.HttpRecorder.dll + True + + + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.14.201151115\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + True + + + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.14.201151115\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + True + + + ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll + True + + + + + ..\..\..\packages\System.Management.Automation_PowerShell_3.0.6.3.9600.17400\lib\net40\System.Management.Automation.dll + True + + + + + + + + + False + ..\..\..\packages\xunit.1.9.2\lib\net20\xunit.dll + + + False + ..\..\..\packages\xunit.extensions.1.9.2\lib\net20\xunit.extensions.dll + + + + + + + + + + {3b48a77b-5956-4a62-9081-92ba04b02b27} + Commands.Common.Test + + + {C1BDA476-A5CC-4394-914D-48B0EC31A710} + Commands.ScenarioTests.Common + + + {1a131d3a-eac4-420c-a1c0-5490ed68ef67} + Commands.UsageAggregates + + + + + + PreserveNewest + + + PreserveNewest + + + + + + + + + + + This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + + + + + + + \ No newline at end of file diff --git a/src/ResourceManager/Commerce/Commands.UsageAggregates.Test/Common/UsageAggregatesTestController.cs b/src/ResourceManager/Commerce/Commands.UsageAggregates.Test/Common/UsageAggregatesTestController.cs new file mode 100644 index 000000000000..5db3b5e4d830 --- /dev/null +++ b/src/ResourceManager/Commerce/Commands.UsageAggregates.Test/Common/UsageAggregatesTestController.cs @@ -0,0 +1,122 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Microsoft.Azure.Test; +using System; +using System.Linq; +using Microsoft.Azure.Commerce.UsageAggregates; +using Microsoft.Azure.Common.Authentication; + +namespace Microsoft.Azure.Commands.UsageAggregates.Test.ScenarioTests +{ + public sealed class UsageAggregatesTestController + { + private CSMTestEnvironmentFactory csmTestFactory; + private readonly EnvironmentSetupHelper helper; + + public static UsageAggregatesTestController NewInstance + { + get + { + return new UsageAggregatesTestController(); + } + } + + public UsageAggregatesTestController() + { + helper = new EnvironmentSetupHelper(); + } + + public void RunPsTest(params string[] scripts) + { + var callingClassType = TestUtilities.GetCallingClass(2); + var mockName = TestUtilities.GetCurrentMethodName(2); + + RunPsTestWorkflow( + () => scripts, + // no custom initializer + null, + // no custom cleanup + null, + callingClassType, + mockName); + } + + public void RunPsTestWorkflow( + Func scriptBuilder, + Action initialize, + Action cleanup, + string callingClassType, + string mockName) + { + using (UndoContext context = UndoContext.Current) + { + context.Start(callingClassType, mockName); + + csmTestFactory = new CSMTestEnvironmentFactory(); + + if(initialize != null) + { + initialize(csmTestFactory); + } + + SetupManagementClients(); + + helper.SetupEnvironment(AzureModule.AzureResourceManager); + + var callingClassName = callingClassType + .Split(new[] { "." }, StringSplitOptions.RemoveEmptyEntries) + .Last(); + helper.SetupModules( + AzureModule.AzureResourceManager, + "ScenarioTests\\" + callingClassName + ".ps1"); + + try + { + if (scriptBuilder != null) + { + var psScripts = scriptBuilder(); + + if (psScripts != null) + { + helper.RunPowerShellTest(psScripts); + } + } + } + finally + { + if(cleanup !=null) + { + cleanup(); + } + } + } + } + + private void SetupManagementClients() + { + var usageManagementClient = GetUsageAggregatesManagementClient(); + + helper.SetupManagementClients(usageManagementClient); + } + + private UsageAggregationManagementClient GetUsageAggregatesManagementClient() + { + return TestBase.GetServiceClient(new CSMTestEnvironmentFactory()); + } + + + } +} diff --git a/src/ResourceManager/Commerce/Commands.UsageAggregates.Test/Properties/AssemblyInfo.cs b/src/ResourceManager/Commerce/Commands.UsageAggregates.Test/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..0ca05ff08c1d --- /dev/null +++ b/src/ResourceManager/Commerce/Commands.UsageAggregates.Test/Properties/AssemblyInfo.cs @@ -0,0 +1,35 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System.Reflection; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Microsoft.Azure.Commands.UsageAggregates.Test")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Microsoft.Azure.Commands.UsageAggregates.Test")] +[assembly: AssemblyCopyright("Copyright © Microsoft")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +[assembly: ComVisible(false)] + +[assembly: Guid("e1252a92-e377-4295-ab57-7e06fb319d5e")] + +[assembly: AssemblyVersion("0.1.0")] +[assembly: AssemblyFileVersion("0.1.0")] \ No newline at end of file diff --git a/src/ResourceManager/Commerce/Commands.UsageAggregates.Test/ScenarioTests/UsageAggregatesTests.cs b/src/ResourceManager/Commerce/Commands.UsageAggregates.Test/ScenarioTests/UsageAggregatesTests.cs new file mode 100644 index 000000000000..eeab9bd60eeb --- /dev/null +++ b/src/ResourceManager/Commerce/Commands.UsageAggregates.Test/ScenarioTests/UsageAggregatesTests.cs @@ -0,0 +1,29 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.WindowsAzure.Commands.ScenarioTest; +using Xunit; + +namespace Microsoft.Azure.Commands.UsageAggregates.Test.ScenarioTests +{ + public class UsageAggregatesTests + { + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestGetUsageAggregatesWithDefaultParameters() + { + UsageAggregatesTestController.NewInstance.RunPsTest("Test-GetUsageAggregatesWithDefaultParameters"); + } + } +} diff --git a/src/ResourceManager/Commerce/Commands.UsageAggregates.Test/ScenarioTests/UsageAggregatesTests.ps1 b/src/ResourceManager/Commerce/Commands.UsageAggregates.Test/ScenarioTests/UsageAggregatesTests.ps1 new file mode 100644 index 000000000000..754f1c0a301c --- /dev/null +++ b/src/ResourceManager/Commerce/Commands.UsageAggregates.Test/ScenarioTests/UsageAggregatesTests.ps1 @@ -0,0 +1,23 @@ +# ---------------------------------------------------------------------------------- +# +# Copyright Microsoft Corporation +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ---------------------------------------------------------------------------------- + +<# +.SYNOPSIS +Tests retrieving some usage data +#> +function Test-GetUsageAggregatesWithDefaultParameters() +{ + $result = Get-UsageAggregates -ReportedStartTime "5/1/2015" -ReportedEndTime "5/2/2015" + Write-Debug $result +} \ No newline at end of file diff --git a/src/ResourceManager/Commerce/Commands.UsageAggregates.Test/SessionRecords/Microsoft.Azure.Commands.UsageAggregates.Test.ScenarioTests.UsageAggregatesTests/TestGetUsageAggregatesWithDefaultParameters.json b/src/ResourceManager/Commerce/Commands.UsageAggregates.Test/SessionRecords/Microsoft.Azure.Commands.UsageAggregates.Test.ScenarioTests.UsageAggregatesTests/TestGetUsageAggregatesWithDefaultParameters.json new file mode 100644 index 000000000000..f4ed30b24b83 --- /dev/null +++ b/src/ResourceManager/Commerce/Commands.UsageAggregates.Test/SessionRecords/Microsoft.Azure.Commands.UsageAggregates.Test.ScenarioTests.UsageAggregatesTests/TestGetUsageAggregatesWithDefaultParameters.json @@ -0,0 +1,65 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates?api-version=2015-06-01-preview&reportedstartTime=5%2F1%2F2015%2012:00:00%20AM&reportedEndTime=5%2F2%2F2015%2012:00:00%20AM,&showDetails=true&aggregationGranularity=Daily", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvM2FmMTgzMDktYThjOC00ODY1LTkwZDMtNTZiMTM1ZjFiMWQ2L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tbWVyY2UvVXNhZ2VBZ2dyZWdhdGVzP2FwaS12ZXJzaW9uPTIwMTUtMDYtMDEtcHJldmlldyZyZXBvcnRlZHN0YXJ0VGltZT01JTJGMSUyRjIwMTUlMjAxMiUzQTAwJTNBMDAlMjBBTSZyZXBvcnRlZEVuZFRpbWU9NSUyRjIlMkYyMDE1JTIwMTIlM0EwMCUzQTAwJTIwQU0sJnNob3dEZXRhaWxzPXRydWUmYWdncmVnYXRpb25HcmFudWxhcml0eT1EYWlseQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "Microsoft.Azure.Commerce.UsageAggregates.UsageAggregationManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-27T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-28T17:00:00-07:00\",\r\n \"meterName\": \"Premium P3 Database Days\",\r\n \"meterRegion\": \"\",\r\n \"meterCategory\": \"Data Services\",\r\n \"meterSubCategory\": \"SQL Database\",\r\n \"unit\": \"Days\",\r\n \"meterId\": \"2a8f5aeb-d518-4417-a262-f168e3204a84\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Database\",\r\n \"meteredServiceType\": \"P3\",\r\n \"project\": \"g099cb0nz7 - audittest\"\r\n },\r\n \"quantity\": 0.41667\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-28T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"meterName\": \"Premium P3 Database Days\",\r\n \"meterRegion\": \"\",\r\n \"meterCategory\": \"Data Services\",\r\n \"meterSubCategory\": \"SQL Database\",\r\n \"unit\": \"Days\",\r\n \"meterId\": \"2a8f5aeb-d518-4417-a262-f168e3204a84\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Database\",\r\n \"meteredServiceType\": \"P3\",\r\n \"project\": \"g099cb0nz7 - audittest\"\r\n },\r\n \"quantity\": 0.708339\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Block Blob (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"0f521674-5ebd-4679-bd97-8bc2ac4a9040\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"cpusagecosmos2eastus\"\r\n },\r\n \"quantity\": 28.32397\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"cpusagecosmos2eastus\"\r\n },\r\n \"quantity\": 292.390825\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Block Blob (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"0f521674-5ebd-4679-bd97-8bc2ac4a9040\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"North Europe\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"cpusagecosmos2neuro\"\r\n },\r\n \"quantity\": 0.172185\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"Y3B1c2FnZXJlcGxheXRzdGVhc3R1czAw\"\r\n },\r\n \"quantity\": 0.050755\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"North Europe\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"cpusagecosmos2neuro\"\r\n },\r\n \"quantity\": 45.74936\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Azure Endpoints\",\r\n \"meterCategory\": \"Networking\",\r\n \"meterSubCategory\": \"Traffic Manager\",\r\n \"unit\": \"Azure Endpoints\",\r\n \"meterId\": \"4e9518b1-3f80-4e8c-be0e-ff53c44a243b\",\r\n \"infoFields\": {\r\n \"project\": \"cpusagereplaytest.trafficmanager.net\"\r\n },\r\n \"quantity\": 0.000336\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Compute Hours\",\r\n \"meterRegion\": \"US East\",\r\n \"meterCategory\": \"Cloud Services\",\r\n \"meterSubCategory\": \"A1 Cloud Services\",\r\n \"unit\": \"Hours\",\r\n \"meterId\": \"5e415bc9-7936-445b-9215-306205de24d3\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Compute\",\r\n \"meteredServiceType\": \"ComputeMedium\",\r\n \"project\": \"cp-usage-legacy-replaytest-east-us(20150430.2304\"\r\n },\r\n \"quantity\": 1.766702\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Storage Transactions (in 10,000s)\",\r\n \"meterCategory\": \"Data Management\",\r\n \"unit\": \"10,000s\",\r\n \"meterId\": \"964c283a-83a3-4dd4-8baf-59511998fe8b\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"cpusagecosmos2eastus\"\r\n },\r\n \"quantity\": 0.0025\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos08\"\r\n },\r\n \"quantity\": 0.00173\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos09\"\r\n },\r\n \"quantity\": 0.001715\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos04\"\r\n },\r\n \"quantity\": 0.00174\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos05\"\r\n },\r\n \"quantity\": 0.001735\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos06\"\r\n },\r\n \"quantity\": 0.00175\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos07\"\r\n },\r\n \"quantity\": 0.001715\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos00\"\r\n },\r\n \"quantity\": 0.002265\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos01\"\r\n },\r\n \"quantity\": 0.001735\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Storage Transactions (in 10,000s)\",\r\n \"meterCategory\": \"Data Management\",\r\n \"unit\": \"10,000s\",\r\n \"meterId\": \"964c283a-83a3-4dd4-8baf-59511998fe8b\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"Y3B1c2FnZXJlcGxheXRzdGVhc3R1czAx\"\r\n },\r\n \"quantity\": 3106.0967\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos02\"\r\n },\r\n \"quantity\": 0.00173\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos03\"\r\n },\r\n \"quantity\": 0.001735\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Data Transfer Out (GB)\",\r\n \"meterRegion\": \"Zone 1\",\r\n \"meterCategory\": \"Networking\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"9995d93a-7d35-4d3f-9c69-7a7fea447ef4\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Compute\",\r\n \"meteredServiceType\": \"External\",\r\n \"project\": \"cp-usage-legacy-replaytest-east-us(20150429.0534\"\r\n },\r\n \"quantity\": 0.068672\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Data Transfer Out (GB)\",\r\n \"meterRegion\": \"Zone 1\",\r\n \"meterCategory\": \"Networking\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"9995d93a-7d35-4d3f-9c69-7a7fea447ef4\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Compute\",\r\n \"meteredServiceType\": \"External\",\r\n \"project\": \"cp-usage-legacy-replaytest-east-us(20150430.2304\"\r\n },\r\n \"quantity\": 0.009477\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Compute Hours\",\r\n \"meterRegion\": \"US East\",\r\n \"meterCategory\": \"Cloud Services\",\r\n \"meterSubCategory\": \"A1 Cloud Services\",\r\n \"unit\": \"Hours\",\r\n \"meterId\": \"5e415bc9-7936-445b-9215-306205de24d3\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Compute\",\r\n \"meteredServiceType\": \"ComputeXLarge\",\r\n \"project\": \"cp-usage-replaytest-east-us(20150430.230416)\"\r\n },\r\n \"quantity\": 21.067088\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Compute Hours\",\r\n \"meterRegion\": \"US East\",\r\n \"meterCategory\": \"Cloud Services\",\r\n \"meterSubCategory\": \"A1 Cloud Services\",\r\n \"unit\": \"Hours\",\r\n \"meterId\": \"5e415bc9-7936-445b-9215-306205de24d3\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Compute\",\r\n \"meteredServiceType\": \"ComputeMedium\",\r\n \"project\": \"cp-usage-replaytest-east-us(20150430.230416)\"\r\n },\r\n \"quantity\": 3.50007\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Azure Endpoints\",\r\n \"meterCategory\": \"Networking\",\r\n \"meterSubCategory\": \"Traffic Manager\",\r\n \"unit\": \"Azure Endpoints\",\r\n \"meterId\": \"4e9518b1-3f80-4e8c-be0e-ff53c44a243b\",\r\n \"infoFields\": {\r\n \"project\": \"cpusagelegacyreplaytest.trafficmanager.net\"\r\n },\r\n \"quantity\": 0.000336\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Data Transfer Out (GB)\",\r\n \"meterRegion\": \"Zone 1\",\r\n \"meterCategory\": \"Networking\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"9995d93a-7d35-4d3f-9c69-7a7fea447ef4\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Compute\",\r\n \"meteredServiceType\": \"External\",\r\n \"project\": \"cp-usage-replaytest-east-us(20150429.053425)\"\r\n },\r\n \"quantity\": 8.905201\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Data Transfer In (GB)\",\r\n \"meterRegion\": \"Zone 1\",\r\n \"meterCategory\": \"Networking\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"32c3ebec-1646-49e3-8127-2cafbd3a04d8\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Compute\",\r\n \"meteredServiceType\": \"External\",\r\n \"project\": \"cp-usage-replaytest-east-us(20150430.230416)\"\r\n },\r\n \"quantity\": 0.902218\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Data Transfer Out (GB)\",\r\n \"meterRegion\": \"Zone 1\",\r\n \"meterCategory\": \"Networking\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"9995d93a-7d35-4d3f-9c69-7a7fea447ef4\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"North Europe\",\r\n \"meteredService\": \"HDInsight\",\r\n \"meteredServiceType\": \"External\",\r\n \"project\": \"ibrahimdtest5\",\r\n \"serviceInfo1\": \"3.2.3.522.1453646\"\r\n },\r\n \"quantity\": 0.009832\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Data Transfer Out (GB)\",\r\n \"meterRegion\": \"Zone 1\",\r\n \"meterCategory\": \"Networking\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"9995d93a-7d35-4d3f-9c69-7a7fea447ef4\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Compute\",\r\n \"meteredServiceType\": \"External\",\r\n \"project\": \"cp-usage-replaytest-east-us(20150430.230416)\"\r\n },\r\n \"quantity\": 0.723732\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"usagesyncagentcosmoseus\"\r\n },\r\n \"quantity\": 0.00201\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Compute Hours\",\r\n \"meterCategory\": \"Business Analytics\",\r\n \"meterSubCategory\": \"A1 HDInsight\",\r\n \"unit\": \"Hours\",\r\n \"meterId\": \"b0b01749-c39b-4275-b283-6a92aabc3347\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"North Europe\",\r\n \"meteredServiceType\": \"A3 Cloud Services\",\r\n \"project\": \"ibrahimdtest5\",\r\n \"serviceInfo1\": \"3.2.3.522.1453646\"\r\n },\r\n \"quantity\": 180.0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"DNS Queries (1M)\",\r\n \"meterCategory\": \"Networking\",\r\n \"meterSubCategory\": \"Traffic Manager\",\r\n \"unit\": \"1M Queries\",\r\n \"meterId\": \"c7a0c9f2-b08a-4f54-955f-c2ba8c7b0837\",\r\n \"infoFields\": {\r\n \"project\": \"cpusagereplaytest.trafficmanager.net\"\r\n },\r\n \"quantity\": 1.5E-05\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Storage Transactions (in 10,000s)\",\r\n \"meterCategory\": \"Data Management\",\r\n \"unit\": \"10,000s\",\r\n \"meterId\": \"964c283a-83a3-4dd4-8baf-59511998fe8b\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"Y3B1c2FnZXJlcGxheXRzdGVhc3R1czAw\"\r\n },\r\n \"quantity\": 3050.4862\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Storage Transactions (in 10,000s)\",\r\n \"meterCategory\": \"Data Management\",\r\n \"unit\": \"10,000s\",\r\n \"meterId\": \"964c283a-83a3-4dd4-8baf-59511998fe8b\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"North Europe\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"cpusagecosmos2neuro\"\r\n },\r\n \"quantity\": 0.4028\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Compute Hours\",\r\n \"meterRegion\": \"US East\",\r\n \"meterCategory\": \"Cloud Services\",\r\n \"meterSubCategory\": \"A1 Cloud Services\",\r\n \"unit\": \"Hours\",\r\n \"meterId\": \"5e415bc9-7936-445b-9215-306205de24d3\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Compute\",\r\n \"meteredServiceType\": \"ComputeMedium\",\r\n \"project\": \"cp-usage-legacy-replaytest-east-us(20150429.0534\"\r\n },\r\n \"quantity\": 16.366674\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"Y3B1c2FnZXJlcGxheXRzdGVhc3R1czAx\"\r\n },\r\n \"quantity\": 0.05185\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"usagetestservicecosmos\"\r\n },\r\n \"quantity\": 8.863235\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Compute Hours\",\r\n \"meterRegion\": \"US East\",\r\n \"meterCategory\": \"Cloud Services\",\r\n \"meterSubCategory\": \"A1 Cloud Services\",\r\n \"unit\": \"Hours\",\r\n \"meterId\": \"5e415bc9-7936-445b-9215-306205de24d3\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Compute\",\r\n \"meteredServiceType\": \"ComputeXLarge\",\r\n \"project\": \"cp-usage-replaytest-east-us(20150429.053425)\"\r\n },\r\n \"quantity\": 173.866784\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Data Transfer In (GB)\",\r\n \"meterRegion\": \"Zone 1\",\r\n \"meterCategory\": \"Networking\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"32c3ebec-1646-49e3-8127-2cafbd3a04d8\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Compute\",\r\n \"meteredServiceType\": \"External\",\r\n \"project\": \"cp-usage-legacy-replaytest-east-us(20150429.0534\"\r\n },\r\n \"quantity\": 0.06547\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Block Blob (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"0f521674-5ebd-4679-bd97-8bc2ac4a9040\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"Y3B1c2FnZXJlcGxheXRzdGVhc3R1cw==\"\r\n },\r\n \"quantity\": 12.91053\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Premium P3 Database Days\",\r\n \"meterRegion\": \"\",\r\n \"meterCategory\": \"Data Services\",\r\n \"meterSubCategory\": \"SQL Database\",\r\n \"unit\": \"Days\",\r\n \"meterId\": \"2a8f5aeb-d518-4417-a262-f168e3204a84\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Database\",\r\n \"meteredServiceType\": \"P3\",\r\n \"project\": \"g099cb0nz7 - audittest\"\r\n },\r\n \"quantity\": 0.166668\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"Y3B1c2FnZXJlcGxheXRzdGVhc3R1cw==\"\r\n },\r\n \"quantity\": 0.02549\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Compute Hours\",\r\n \"meterRegion\": \"US East\",\r\n \"meterCategory\": \"Cloud Services\",\r\n \"meterSubCategory\": \"A1 Cloud Services\",\r\n \"unit\": \"Hours\",\r\n \"meterId\": \"5e415bc9-7936-445b-9215-306205de24d3\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Compute\",\r\n \"meteredServiceType\": \"ComputeMedium\",\r\n \"project\": \"cp-usage-replaytest-east-us(20150429.053425)\"\r\n },\r\n \"quantity\": 29.000019\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Data Transfer In (GB)\",\r\n \"meterRegion\": \"Zone 1\",\r\n \"meterCategory\": \"Networking\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"32c3ebec-1646-49e3-8127-2cafbd3a04d8\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Compute\",\r\n \"meteredServiceType\": \"External\",\r\n \"project\": \"cp-usage-legacy-replaytest-east-us(20150430.2304\"\r\n },\r\n \"quantity\": 0.00831\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Data Transfer In (GB)\",\r\n \"meterRegion\": \"Zone 1\",\r\n \"meterCategory\": \"Networking\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"32c3ebec-1646-49e3-8127-2cafbd3a04d8\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Compute\",\r\n \"meteredServiceType\": \"External\",\r\n \"project\": \"cp-usage-replaytest-east-us(20150429.053425)\"\r\n },\r\n \"quantity\": 11.427402\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Storage Transactions (in 10,000s)\",\r\n \"meterCategory\": \"Data Management\",\r\n \"unit\": \"10,000s\",\r\n \"meterId\": \"964c283a-83a3-4dd4-8baf-59511998fe8b\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"Y3B1c2FnZXJlcGxheXRzdGVhc3R1cw==\"\r\n },\r\n \"quantity\": 1394.7031\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos14\"\r\n },\r\n \"quantity\": 0.001735\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Block Blob (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"0f521674-5ebd-4679-bd97-8bc2ac4a9040\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos16\"\r\n },\r\n \"quantity\": 0.004385\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos15\"\r\n },\r\n \"quantity\": 0.001725\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Block Blob (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"0f521674-5ebd-4679-bd97-8bc2ac4a9040\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos17\"\r\n },\r\n \"quantity\": 0.0021\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos17\"\r\n },\r\n \"quantity\": 1E-05\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos10\"\r\n },\r\n \"quantity\": 0.00173\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos11\"\r\n },\r\n \"quantity\": 0.00175\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos12\"\r\n },\r\n \"quantity\": 0.001725\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos13\"\r\n },\r\n \"quantity\": 0.001725\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Data Transfer In (GB)\",\r\n \"meterRegion\": \"Zone 1\",\r\n \"meterCategory\": \"Networking\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"32c3ebec-1646-49e3-8127-2cafbd3a04d8\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"North Europe\",\r\n \"meteredService\": \"HDInsight\",\r\n \"meteredServiceType\": \"External\",\r\n \"project\": \"ibrahimdtest5\",\r\n \"serviceInfo1\": \"3.2.3.522.1453646\"\r\n },\r\n \"quantity\": 0.002332\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-29T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"meterName\": \"Compute Hours\",\r\n \"meterCategory\": \"Business Analytics\",\r\n \"meterSubCategory\": \"A1 HDInsight\",\r\n \"unit\": \"Hours\",\r\n \"meterId\": \"b0b01749-c39b-4275-b283-6a92aabc3347\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"North Europe\",\r\n \"meteredServiceType\": \"A1 Cloud Services\",\r\n \"project\": \"ibrahimdtest5\",\r\n \"serviceInfo1\": \"3.2.3.522.1453646\"\r\n },\r\n \"quantity\": 27.0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Block Blob (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"0f521674-5ebd-4679-bd97-8bc2ac4a9040\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"cpusagecosmos2eastus\"\r\n },\r\n \"quantity\": 107.631086\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"cpusagecosmos2eastus\"\r\n },\r\n \"quantity\": 1111.085135\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Block Blob (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"0f521674-5ebd-4679-bd97-8bc2ac4a9040\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"North Europe\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"cpusagecosmos2neuro\"\r\n },\r\n \"quantity\": 0.654303\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"Y3B1c2FnZXJlcGxheXRzdGVhc3R1czAw\"\r\n },\r\n \"quantity\": 0.192869\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"North Europe\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"cpusagecosmos2neuro\"\r\n },\r\n \"quantity\": 173.847568\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Azure Endpoints\",\r\n \"meterCategory\": \"Networking\",\r\n \"meterSubCategory\": \"Traffic Manager\",\r\n \"unit\": \"Azure Endpoints\",\r\n \"meterId\": \"4e9518b1-3f80-4e8c-be0e-ff53c44a243b\",\r\n \"infoFields\": {\r\n \"project\": \"cpusagereplaytest.trafficmanager.net\"\r\n },\r\n \"quantity\": 0.025872\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Compute Hours\",\r\n \"meterRegion\": \"US East\",\r\n \"meterCategory\": \"Cloud Services\",\r\n \"meterSubCategory\": \"A1 Cloud Services\",\r\n \"unit\": \"Hours\",\r\n \"meterId\": \"5e415bc9-7936-445b-9215-306205de24d3\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Compute\",\r\n \"meteredServiceType\": \"ComputeMedium\",\r\n \"project\": \"cp-usage-legacy-replaytest-east-us(20150430.2304\"\r\n },\r\n \"quantity\": 30.0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Storage Transactions (in 10,000s)\",\r\n \"meterCategory\": \"Data Management\",\r\n \"unit\": \"10,000s\",\r\n \"meterId\": \"964c283a-83a3-4dd4-8baf-59511998fe8b\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"cpusagecosmos2eastus\"\r\n },\r\n \"quantity\": 0.0097\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos08\"\r\n },\r\n \"quantity\": 0.006574\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos09\"\r\n },\r\n \"quantity\": 0.006517\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos04\"\r\n },\r\n \"quantity\": 0.006612\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos05\"\r\n },\r\n \"quantity\": 0.006593\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos06\"\r\n },\r\n \"quantity\": 0.00665\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos07\"\r\n },\r\n \"quantity\": 0.006517\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos00\"\r\n },\r\n \"quantity\": 0.008607\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos01\"\r\n },\r\n \"quantity\": 0.006593\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Storage Transactions (in 10,000s)\",\r\n \"meterCategory\": \"Data Management\",\r\n \"unit\": \"10,000s\",\r\n \"meterId\": \"964c283a-83a3-4dd4-8baf-59511998fe8b\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"Y3B1c2FnZXJlcGxheXRzdGVhc3R1czAx\"\r\n },\r\n \"quantity\": 11643.8089\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos02\"\r\n },\r\n \"quantity\": 0.006574\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos03\"\r\n },\r\n \"quantity\": 0.006593\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Compute Hours\",\r\n \"meterRegion\": \"US East\",\r\n \"meterCategory\": \"Cloud Services\",\r\n \"meterSubCategory\": \"A1 Cloud Services\",\r\n \"unit\": \"Hours\",\r\n \"meterId\": \"5e415bc9-7936-445b-9215-306205de24d3\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Compute\",\r\n \"meteredServiceType\": \"ComputeXLarge\",\r\n \"project\": \"cp-usage-replaytest-east-us(20150430.230416)\"\r\n },\r\n \"quantity\": 360.0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Data Transfer Out (GB)\",\r\n \"meterRegion\": \"Zone 1\",\r\n \"meterCategory\": \"Networking\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"9995d93a-7d35-4d3f-9c69-7a7fea447ef4\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Compute\",\r\n \"meteredServiceType\": \"External\",\r\n \"project\": \"cp-usage-legacy-replaytest-east-us(20150430.2304\"\r\n },\r\n \"quantity\": 0.180173\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Azure Endpoints\",\r\n \"meterCategory\": \"Networking\",\r\n \"meterSubCategory\": \"Traffic Manager\",\r\n \"unit\": \"Azure Endpoints\",\r\n \"meterId\": \"4e9518b1-3f80-4e8c-be0e-ff53c44a243b\",\r\n \"infoFields\": {\r\n \"project\": \"cpusagelegacyreplaytest.trafficmanager.net\"\r\n },\r\n \"quantity\": 0.025872\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Compute Hours\",\r\n \"meterRegion\": \"US East\",\r\n \"meterCategory\": \"Cloud Services\",\r\n \"meterSubCategory\": \"A1 Cloud Services\",\r\n \"unit\": \"Hours\",\r\n \"meterId\": \"5e415bc9-7936-445b-9215-306205de24d3\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Compute\",\r\n \"meteredServiceType\": \"ComputeMedium\",\r\n \"project\": \"cp-usage-replaytest-east-us(20150430.230416)\"\r\n },\r\n \"quantity\": 60.0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Data Transfer In (GB)\",\r\n \"meterRegion\": \"Zone 1\",\r\n \"meterCategory\": \"Networking\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"32c3ebec-1646-49e3-8127-2cafbd3a04d8\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Compute\",\r\n \"meteredServiceType\": \"External\",\r\n \"project\": \"cp-usage-replaytest-east-us(20150430.230416)\"\r\n },\r\n \"quantity\": 3.493697\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Data Transfer Out (GB)\",\r\n \"meterRegion\": \"Zone 1\",\r\n \"meterCategory\": \"Networking\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"9995d93a-7d35-4d3f-9c69-7a7fea447ef4\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"North Europe\",\r\n \"meteredService\": \"HDInsight\",\r\n \"meteredServiceType\": \"External\",\r\n \"project\": \"ibrahimdtest5\",\r\n \"serviceInfo1\": \"3.2.3.522.1453646\"\r\n },\r\n \"quantity\": 0.01965\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Data Transfer Out (GB)\",\r\n \"meterRegion\": \"Zone 1\",\r\n \"meterCategory\": \"Networking\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"9995d93a-7d35-4d3f-9c69-7a7fea447ef4\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Compute\",\r\n \"meteredServiceType\": \"External\",\r\n \"project\": \"cp-usage-replaytest-east-us(20150430.230416)\"\r\n },\r\n \"quantity\": 2.748611\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"usagesyncagentcosmoseus\"\r\n },\r\n \"quantity\": 0.007638\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Compute Hours\",\r\n \"meterCategory\": \"Business Analytics\",\r\n \"meterSubCategory\": \"A1 HDInsight\",\r\n \"unit\": \"Hours\",\r\n \"meterId\": \"b0b01749-c39b-4275-b283-6a92aabc3347\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"North Europe\",\r\n \"meteredServiceType\": \"A3 Cloud Services\",\r\n \"project\": \"ibrahimdtest5\",\r\n \"serviceInfo1\": \"3.2.3.522.1453646\"\r\n },\r\n \"quantity\": 300.0\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"DNS Queries (1M)\",\r\n \"meterCategory\": \"Networking\",\r\n \"meterSubCategory\": \"Traffic Manager\",\r\n \"unit\": \"1M Queries\",\r\n \"meterId\": \"c7a0c9f2-b08a-4f54-955f-c2ba8c7b0837\",\r\n \"infoFields\": {\r\n \"project\": \"cpusagereplaytest.trafficmanager.net\"\r\n },\r\n \"quantity\": 0.000504\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Storage Transactions (in 10,000s)\",\r\n \"meterCategory\": \"Data Management\",\r\n \"unit\": \"10,000s\",\r\n \"meterId\": \"964c283a-83a3-4dd4-8baf-59511998fe8b\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"Y3B1c2FnZXJlcGxheXRzdGVhc3R1czAw\"\r\n },\r\n \"quantity\": 11373.8102\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Storage Transactions (in 10,000s)\",\r\n \"meterCategory\": \"Data Management\",\r\n \"unit\": \"10,000s\",\r\n \"meterId\": \"964c283a-83a3-4dd4-8baf-59511998fe8b\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"North Europe\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"cpusagecosmos2neuro\"\r\n },\r\n \"quantity\": 1.5291\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Base Unit\",\r\n \"meterCategory\": \"Service Bus\",\r\n \"meterSubCategory\": \"Standard Messaging\",\r\n \"unit\": \"Units\",\r\n \"meterId\": \"d5034e45-00c1-48c6-8c00-c866f788e033\",\r\n \"infoFields\": {\r\n \"meteredService\": \"ServiceBus\"\r\n },\r\n \"quantity\": 0.032258064516129031\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"Y3B1c2FnZXJlcGxheXRzdGVhc3R1czAx\"\r\n },\r\n \"quantity\": 0.19703\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"usagetestservicecosmos\"\r\n },\r\n \"quantity\": 33.680293\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Block Blob (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"0f521674-5ebd-4679-bd97-8bc2ac4a9040\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"Y3B1c2FnZXJlcGxheXRzdGVhc3R1cw==\"\r\n },\r\n \"quantity\": 49.06319\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Premium P3 Database Days\",\r\n \"meterRegion\": \"\",\r\n \"meterCategory\": \"Data Services\",\r\n \"meterSubCategory\": \"SQL Database\",\r\n \"unit\": \"Days\",\r\n \"meterId\": \"2a8f5aeb-d518-4417-a262-f168e3204a84\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Database\",\r\n \"meteredServiceType\": \"P3\",\r\n \"project\": \"g099cb0nz7 - audittest\"\r\n },\r\n \"quantity\": 0.83334\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"Y3B1c2FnZXJlcGxheXRzdGVhc3R1cw==\"\r\n },\r\n \"quantity\": 0.097012\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Data Transfer In (GB)\",\r\n \"meterRegion\": \"Zone 1\",\r\n \"meterCategory\": \"Networking\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"32c3ebec-1646-49e3-8127-2cafbd3a04d8\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Compute\",\r\n \"meteredServiceType\": \"External\",\r\n \"project\": \"cp-usage-legacy-replaytest-east-us(20150430.2304\"\r\n },\r\n \"quantity\": 0.146518\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"DNS Queries (1M)\",\r\n \"meterCategory\": \"Networking\",\r\n \"meterSubCategory\": \"Traffic Manager\",\r\n \"unit\": \"1M Queries\",\r\n \"meterId\": \"c7a0c9f2-b08a-4f54-955f-c2ba8c7b0837\",\r\n \"infoFields\": {\r\n \"project\": \"cpusagelegacyreplaytest.trafficmanager.net\"\r\n },\r\n \"quantity\": 2E-06\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Storage Transactions (in 10,000s)\",\r\n \"meterCategory\": \"Data Management\",\r\n \"unit\": \"10,000s\",\r\n \"meterId\": \"964c283a-83a3-4dd4-8baf-59511998fe8b\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"Y3B1c2FnZXJlcGxheXRzdGVhc3R1cw==\"\r\n },\r\n \"quantity\": 4766.1839\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos14\"\r\n },\r\n \"quantity\": 0.006593\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Block Blob (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"0f521674-5ebd-4679-bd97-8bc2ac4a9040\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos16\"\r\n },\r\n \"quantity\": 0.016663\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos15\"\r\n },\r\n \"quantity\": 0.006555\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Block Blob (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"0f521674-5ebd-4679-bd97-8bc2ac4a9040\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos17\"\r\n },\r\n \"quantity\": 0.00798\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos17\"\r\n },\r\n \"quantity\": 3.8E-05\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos10\"\r\n },\r\n \"quantity\": 0.006574\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos11\"\r\n },\r\n \"quantity\": 0.00665\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos12\"\r\n },\r\n \"quantity\": 0.006555\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Standard IO - Table/ Queue (GB)\",\r\n \"meterCategory\": \"Storage\",\r\n \"meterSubCategory\": \"Geo Redundant\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"30ab1dae-8172-4b24-aa5b-3666d3f0fde1\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"East US\",\r\n \"meteredService\": \"Storage\",\r\n \"project\": \"ocpomshzusgcosmos13\"\r\n },\r\n \"quantity\": 0.006555\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Data Transfer In (GB)\",\r\n \"meterRegion\": \"Zone 1\",\r\n \"meterCategory\": \"Networking\",\r\n \"unit\": \"GB\",\r\n \"meterId\": \"32c3ebec-1646-49e3-8127-2cafbd3a04d8\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"North Europe\",\r\n \"meteredService\": \"HDInsight\",\r\n \"meteredServiceType\": \"External\",\r\n \"project\": \"ibrahimdtest5\",\r\n \"serviceInfo1\": \"3.2.3.522.1453646\"\r\n },\r\n \"quantity\": 0.004922\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/3af18309-a8c8-4865-90d3-56b135f1b1d6/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20150501_0000\",\r\n \"name\": \"Daily_BRSDT_20150501_0000\",\r\n \"type\": \"Microsoft.Commerce/UsageAggregate\",\r\n \"properties\": {\r\n \"subscriptionId\": \"3af18309-a8c8-4865-90d3-56b135f1b1d6\",\r\n \"usageStartTime\": \"2015-04-30T17:00:00-07:00\",\r\n \"usageEndTime\": \"2015-05-01T17:00:00-07:00\",\r\n \"meterName\": \"Compute Hours\",\r\n \"meterCategory\": \"Business Analytics\",\r\n \"meterSubCategory\": \"A1 HDInsight\",\r\n \"unit\": \"Hours\",\r\n \"meterId\": \"b0b01749-c39b-4275-b283-6a92aabc3347\",\r\n \"infoFields\": {\r\n \"meteredRegion\": \"North Europe\",\r\n \"meteredServiceType\": \"A1 Cloud Services\",\r\n \"project\": \"ibrahimdtest5\",\r\n \"serviceInfo1\": \"3.2.3.522.1453646\"\r\n },\r\n \"quantity\": 45.0\r\n }\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "73205" + ], + "Content-Type": [ + "application/json" + ], + "Expires": [ + "-1" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-request-id": [ + "a5d0f474-201c-4d42-bfed-26eb105e0164" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "1fea84b5-c0ae-44f9-ad1e-345ad448683c" + ], + "x-ms-routing-request-id": [ + "WESTUS:20150619T001515Z:1fea84b5-c0ae-44f9-ad1e-345ad448683c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 19 Jun 2015 00:15:14 GMT" + ], + "Server": [ + "Microsoft-IIS/8.0" + ], + "X-AspNet-Version": [ + "4.0.30319" + ], + "X-Powered-By": [ + "ASP.NET" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "3af18309-a8c8-4865-90d3-56b135f1b1d6" + } +} \ No newline at end of file diff --git a/src/ResourceManager/Commerce/Commands.UsageAggregates.Test/packages.config b/src/ResourceManager/Commerce/Commands.UsageAggregates.Test/packages.config new file mode 100644 index 000000000000..5995367896a6 --- /dev/null +++ b/src/ResourceManager/Commerce/Commands.UsageAggregates.Test/packages.config @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/ResourceManager/Commerce/Commands.UsageAggregates/Commands.UsageAggregates.csproj b/src/ResourceManager/Commerce/Commands.UsageAggregates/Commands.UsageAggregates.csproj new file mode 100644 index 000000000000..34e896bc9229 --- /dev/null +++ b/src/ResourceManager/Commerce/Commands.UsageAggregates/Commands.UsageAggregates.csproj @@ -0,0 +1,107 @@ + + + + + Debug + AnyCPU + {1A131D3A-EAC4-420C-A1C0-5490ED68EF67} + Library + Properties + Microsoft.Azure.Commands.UsageAggregates + Microsoft.Azure.Commands.UsageAggregates + v4.5 + 512 + ..\..\..\ + true + /assemblyCompareMode:StrongNameIgnoringVersion + + + true + full + false + ..\..\..\Package\Debug\ResourceManager\AzureResourceManager\UsageAggregates + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + ..\..\..\Package\Release\ResourceManager\AzureResourceManager\UsageAggregates + TRACE + prompt + 4 + + + + ..\..\..\packages\Hyak.Common.1.0.2\lib\net45\Hyak.Common.dll + True + + + ..\..\..\packages\Microsoft.Azure.Commerce.UsageAggregates.1.1.0-preview\lib\net40\Microsoft.Azure.Commerce.UsageAggregates.dll + True + + + ..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.dll + True + + + ..\..\..\packages\Microsoft.Azure.Common.Authentication.1.0.26-preview\lib\net45\Microsoft.Azure.Common.Authentication.dll + True + + + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.14.201151115\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll + True + + + ..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.14.201151115\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll + True + + + ..\..\..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll + True + + + + + + + + + + + + + + + + + + {5ee72c53-1720-4309-b54b-5fb79703195f} + Commands.Common + + + + + + + + + + PreserveNewest + + + + + + + This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + + + + + \ No newline at end of file diff --git a/src/ResourceManager/Commerce/Commands.UsageAggregates/GetUsageAggregatesCommand.cs b/src/ResourceManager/Commerce/Commands.UsageAggregates/GetUsageAggregatesCommand.cs new file mode 100644 index 000000000000..38023fe9eb55 --- /dev/null +++ b/src/ResourceManager/Commerce/Commands.UsageAggregates/GetUsageAggregatesCommand.cs @@ -0,0 +1,71 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + + +using Microsoft.Azure.Commerce.UsageAggregates; +using Microsoft.Azure.Common.Authentication; +using Microsoft.Azure.Common.Authentication.Models; + +namespace Microsoft.Azure.Commands.UsageAggregates +{ + using Commerce.UsageAggregates.Models; + using WindowsAzure.Commands.Utilities.Common; + using System; + using System.Management.Automation; + + [Cmdlet(VerbsCommon.Get, "UsageAggregates"), OutputType(typeof(UsageAggregationGetResponse))] + public class GetUsageAggregatesCommand : AzurePSCmdlet + { + private UsageAggregationManagementClient _theClient; + private AggregationGranularity _aggregationGranularity = AggregationGranularity.Daily; + private bool _showDetails = true; + + [Parameter(Mandatory = true, HelpMessage = "The start of the time range to retrieve data for.")] + public DateTime ReportedStartTime { get; set; } + + [Parameter(Mandatory = true, HelpMessage = "The end of the time range to retrieve data for.")] + public DateTime ReportedEndTime { get; set; } + + [Parameter(Mandatory = false, HelpMessage = "Value is either daily (default) or hourly to tell the API how to return the results grouped by day or hour.")] + public AggregationGranularity AggregationGranularity { + get { return _aggregationGranularity; } + set { _aggregationGranularity = value;} + } + + [Parameter(Mandatory = false, HelpMessage = "When set to true (default), the aggregates are broken down into the instance metadata which is more granular.")] + public bool ShowDetails { + get { return _showDetails; } + set { _showDetails = value; } + } + + [Parameter(Mandatory = false, HelpMessage = "Retrieved from previous calls, this is the bookmark used for progress when the responses are paged.")] + public string ContinuationToken { get; set; } + + public override void ExecuteCmdlet() + { + if (_theClient == null) + { + _theClient = AzureSession.ClientFactory.CreateClient(Profile, + Profile.Context.Subscription, AzureEnvironment.Endpoint.ResourceManager); + } + + UsageAggregationGetResponse aggregations = _theClient.UsageAggregates.Get(ReportedStartTime, + ReportedEndTime, AggregationGranularity, ShowDetails, + ContinuationToken); + + WriteObject(aggregations); + } + + } +} diff --git a/src/ResourceManager/Commerce/Commands.UsageAggregates/Microsoft.Azure.Commands.UsageAggregates.dll-help.psd1 b/src/ResourceManager/Commerce/Commands.UsageAggregates/Microsoft.Azure.Commands.UsageAggregates.dll-help.psd1 new file mode 100644 index 000000000000..e20f473f93f8 --- /dev/null +++ b/src/ResourceManager/Commerce/Commands.UsageAggregates/Microsoft.Azure.Commands.UsageAggregates.dll-help.psd1 @@ -0,0 +1,86 @@ +# +# Module manifest for module 'Azure' +# +# Generated by: Microsoft Corporation +# +# Generated on: 5/23/2012 +# + +@{ + +# Version number of this module. +ModuleVersion = '0.8.8' + +# ID used to uniquely identify this module +GUID = '6F8303B1-9298-4E15-AE38-C923C665237A' + +# Author of this module +Author = 'Microsoft Corporation' + +# Company or vendor of this module +CompanyName = 'Microsoft Corporation' + +# Copyright statement for this module +Copyright = '?Microsoft Corporation. All rights reserved.' + +# Description of the functionality provided by this module +Description = '' + +# Minimum version of the Windows PowerShell engine required by this module +PowerShellVersion = '3.0' + +# Name of the Windows PowerShell host required by this module +PowerShellHostName = '' + +# Minimum version of the Windows PowerShell host required by this module +PowerShellHostVersion = '' + +# Minimum version of the .NET Framework required by this module +DotNetFrameworkVersion = '4.0' + +# Minimum version of the common language runtime (CLR) required by this module +CLRVersion='4.0' + +# Processor architecture (None, X86, Amd64, IA64) required by this module +ProcessorArchitecture = 'None' + +# Modules that must be imported into the global environment prior to importing this module +RequiredModules = @() + +# Assemblies that must be loaded prior to importing this module +RequiredAssemblies = @() + +# Script files (.ps1) that are run in the caller's environment prior to importing this module +ScriptsToProcess = @() + +# Type files (.ps1xml) to be loaded when importing this module +TypesToProcess = @() + +# Format files (.ps1xml) to be loaded when importing this module +FormatsToProcess = @() + +# Modules to import as nested modules of the module specified in ModuleToProcess +NestedModules = '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\UsageAggregates\Microsoft.Azure.Commands.UsageAggregates.dll' + +# Functions to export from this module +FunctionsToExport = '*' + +# Cmdlets to export from this module +CmdletsToExport = '*' + +# Variables to export from this module +VariablesToExport = '*' + +# Aliases to export from this module +AliasesToExport = @() + +# List of all modules packaged with this module +ModuleList = @() + +# List of all files packaged with this module +FileList = @() + +# Private data to pass to the module specified in ModuleToProcess +PrivateData = '' + +} diff --git a/src/ResourceManager/Commerce/Commands.UsageAggregates/Microsoft.Azure.Commands.UsageAggregates.dll-help.xml b/src/ResourceManager/Commerce/Commands.UsageAggregates/Microsoft.Azure.Commands.UsageAggregates.dll-help.xml new file mode 100644 index 000000000000..d9ced1185768 --- /dev/null +++ b/src/ResourceManager/Commerce/Commands.UsageAggregates/Microsoft.Azure.Commands.UsageAggregates.dll-help.xml @@ -0,0 +1,203 @@ + + + + + Get-UsageAggregates + + Enables you to query aggregate Azure subscription consumption data. + + + + + Get + UsageAggregates + + + + +The Get-UsageAggregation cmdlet to query aggregate Azure subscription consumption data by: +• Start and end date/time +• Aggregation granularity (ie: daily, hourly) +• Instance level detail (ie: for multiple instances of the same resource) +For more information, see Azure Billing REST API Reference (https://msdn.microsoft.com/library/azure/1ea5b323-54bb-423d-916f-190de96c6a3c) at the Microsoft Developer Network. + + + + Get-UsageAggregates + + ReportedStartTime + + + + DateTime + + + ReportedEndTime + + + + DateTime + + + AggregationGranularity + + + + AggregationGranularity + + + ShowDetails + + + + Boolean + + + ContinuationToken + + + + String + + + Profile + + + + AzureProfile + + + + + + ReportedStartTime + + + + DateTime + + DateTime + + + + + + ReportedEndTime + + + + DateTime + + DateTime + + + + + + AggregationGranularity + + + + AggregationGranularity + + AggregationGranularity + + + + + + ShowDetails + + + + Boolean + + Boolean + + + + + + ContinuationToken + + + + String + + String + + + + + + Profile + + + + AzureProfile + + AzureProfile + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1: Retrieves data for subscription -------------------------- + + PS C:\> + + PS C:\>Set-AzureSubscription -SubscriptionId $subscription +PS C:\>Get-UsageAggregates -ReportedStartTime "5/2/2015" -ReportedEndTime "5/5/2015" + + The final command retrieves the usage data for the subscription for the specificed dates of 5/2/2015 and 5/5/2015. + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/ResourceManager/Commerce/Commands.UsageAggregates/Properties/AssemblyInfo.cs b/src/ResourceManager/Commerce/Commands.UsageAggregates/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..942b2b547188 --- /dev/null +++ b/src/ResourceManager/Commerce/Commands.UsageAggregates/Properties/AssemblyInfo.cs @@ -0,0 +1,42 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Microsoft Azure Powershell - UsageAggregates")] +[assembly: AssemblyCompany(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCompany)] +[assembly: AssemblyProduct(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyProduct)] +[assembly: AssemblyCopyright(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyCopyright)] + + +[assembly: ComVisible(false)] +[assembly: CLSCompliant(false)] + +[assembly: Guid("4fc77441-aa7b-4539-9e0c-e716797751a5")] + +[assembly: AssemblyVersion(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyVersion)] +[assembly: AssemblyFileVersion(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyFileVersion)] +#if SIGN +[assembly: InternalsVisibleTo("Microsoft.Azure.Commands.ResourceManager.Automation.Test, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")] +#else +[assembly: InternalsVisibleTo("Microsoft.Azure.Commands.ResourceManager.Automation.Test")] +#endif + + diff --git a/src/ResourceManager/Commerce/Commands.UsageAggregates/TestTheCmdLet.ps1 b/src/ResourceManager/Commerce/Commands.UsageAggregates/TestTheCmdLet.ps1 new file mode 100644 index 000000000000..5fea7b035480 --- /dev/null +++ b/src/ResourceManager/Commerce/Commands.UsageAggregates/TestTheCmdLet.ps1 @@ -0,0 +1,17 @@ +# sample script to help the developer verify changes using PowerShell and importing the dll. +$subscription = "" + +Import-Module ""Microsoft.Azure.Commands.UsageAggregates.dll + +Add-AzureAccount + +Set-AzureSubscription -SubscriptionId $subscription + +$agggregate = get-UsageAggregates -ReportedStartTime "5/2/2015" -ReportedEndTime "5/5/2015" + +Write-Host $agggregate.NextLink +Write-Host "Result count: " + $agggregate.UsageAggregations.Count + +$agggregate.UsageAggregations | ForEach-Object { + Write-Host $_.Name +} diff --git a/src/ResourceManager/Commerce/Commands.UsageAggregates/packages.config b/src/ResourceManager/Commerce/Commands.UsageAggregates/packages.config new file mode 100644 index 000000000000..0b172eac0bd1 --- /dev/null +++ b/src/ResourceManager/Commerce/Commands.UsageAggregates/packages.config @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1 b/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1 index 172170299444..c7a3c31aab83 100644 --- a/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1 +++ b/src/ResourceManager/Resources/Commands.Resources/AzureResourceManager.psd1 @@ -98,7 +98,8 @@ NestedModules = @( '.\ResourceManager\Microsoft.Azure.Commands.ResourceManager.Cmdlets.dll', '.\ApiManagement\Microsoft.Azure.Commands.ApiManagement.dll', '.\StorageManagement\Microsoft.Azure.Commands.Management.Storage.dll', - '.\OperationalInsights\Microsoft.Azure.Commands.OperationalInsights.dll' + '.\OperationalInsights\Microsoft.Azure.Commands.OperationalInsights.dll', + '.\UsageAggregates\Microsoft.Azure.Commands.UsageAggregates.dll' ) # Functions to export from this module