Get-AzConsumptionUsageDetail does not provide full cost of the resource
Description
Running "Get-AzConsumptionUsageDetail -StartDate <> -EndDate <> -InstanceId <>", with InstanceId set to the "Microsoft.Compute/virtualMachines" provider of the VM, produces a cost list that is not accurate. I have a B1ms, only OS Disk (30 GB premium SSD) that has been shut down for ages. The Pre-tax cost being reported for last weeks usage is 0, so it seems not be taking into account the storage cost.
Environment data
Name Value
---- -----
PSVersion 7.0.0-preview.3
PSEdition Core
GitCommitId 7.0.0-preview.3
OS Microsoft Windows 10.0.16299
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Module versions
ModuleType Version PreRelease Name PSEdition ExportedCommands
---------- ------- ---------- ---- --------- ----------------
Script 2.6.0 Az Core,Desk
Script 1.6.2 Az.Accounts Core,Desk {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContextAutosave…}
Script 1.0.1 Az.Advisor Core,Desk {Get-AzAdvisorRecommendation, Enable-AzAdvisorRecommendation, Disable-AzAdvisorRecommendation, Get-AzAdvisorConfig…
Script 1.0.2 Az.Aks Core,Desk {Get-AzAks, New-AzAks, Remove-AzAks, Import-AzAksCredential…}
Script 1.1.1 Az.AnalysisServices Core,Desk {Resume-AzAnalysisServicesServer, Suspend-AzAnalysisServicesServer, Get-AzAnalysisServicesServer, Remove-AzAnalysi…
Script 1.3.0 Az.ApiManagement Core,Desk {Add-AzApiManagementApiToProduct, Add-AzApiManagementProductToGroup, Add-AzApiManagementRegion, Add-AzApiManagemen…
Script 1.0.2 Az.ApplicationInsights Core,Desk {Get-AzApplicationInsights, New-AzApplicationInsights, Remove-AzApplicationInsights, Set-AzApplicationInsightsPric…
Script 1.3.2 Az.Automation Core,Desk {Get-AzAutomationHybridWorkerGroup, Remove-AzAutomationHybridWorkerGroup, Get-AzAutomationJobOutputRecord, Import-…
Script 1.1.1 Az.Batch Core,Desk {Remove-AzBatchAccount, Get-AzBatchAccount, Get-AzBatchAccountKey, New-AzBatchAccount…}
Script 1.0.1 Az.Billing Core,Desk {Get-AzBillingInvoice, Get-AzBillingPeriod, Get-AzEnrollmentAccount, Get-AzConsumptionBudget…}
Script 1.3.1 Az.Cdn Core,Desk {Get-AzCdnProfile, Get-AzCdnProfileSsoUrl, New-AzCdnProfile, Remove-AzCdnProfile…}
Script 1.2.1 Az.CognitiveServices Core,Desk {Get-AzCognitiveServicesAccount, Get-AzCognitiveServicesAccountKey, Get-AzCognitiveServicesAccountSku, Get-AzCogni…
Script 2.5.0 Az.Compute Core,Desk {Remove-AzAvailabilitySet, Get-AzAvailabilitySet, New-AzAvailabilitySet, Update-AzAvailabilitySet…}
Script 1.0.1 Az.ContainerInstance Core,Desk {New-AzContainerGroup, Get-AzContainerGroup, Remove-AzContainerGroup, Get-AzContainerInstanceLog}
Script 1.1.0 Az.ContainerRegistry Core,Desk {New-AzContainerRegistry, Get-AzContainerRegistry, Update-AzContainerRegistry, Remove-AzContainerRegistry…}
Script 1.2.0 Az.DataFactory Core,Desk {Set-AzDataFactoryV2, Update-AzDataFactoryV2, Get-AzDataFactoryV2, Remove-AzDataFactoryV2…}
Script 1.0.1 Az.DataLakeAnalytics Core,Desk {Get-AzDataLakeAnalyticsDataSource, New-AzDataLakeAnalyticsCatalogCredential, Remove-AzDataLakeAnalyticsCatalogCre…
Script 1.2.2 Az.DataLakeStore Core,Desk {Get-AzDataLakeStoreTrustedIdProvider, Remove-AzDataLakeStoreTrustedIdProvider, Remove-AzDataLakeStoreFirewallRule…
Script 1.0.1 Az.DeploymentManager Core,Desk {Get-AzDeploymentManagerArtifactSource, New-AzDeploymentManagerArtifactSource, Set-AzDeploymentManagerArtifactSour…
Script 1.0.0 Az.DevTestLabs Core,Desk {Get-AzDtlAllowedVMSizesPolicy, Get-AzDtlAutoShutdownPolicy, Get-AzDtlAutoStartPolicy, Get-AzDtlVMsPerLabPolicy…}
Script 1.1.1 Az.Dns Core,Desk {Get-AzDnsRecordSet, New-AzDnsRecordConfig, Remove-AzDnsRecordSet, Set-AzDnsRecordSet…}
Script 1.2.2 Az.EventGrid Core,Desk {New-AzEventGridTopic, Get-AzEventGridTopic, Set-AzEventGridTopic, New-AzEventGridTopicKey…}
Script 1.4.0 Az.EventHub Core,Desk {New-AzEventHubNamespace, Get-AzEventHubNamespace, Set-AzEventHubNamespace, Remove-AzEventHubNamespace…}
Script 1.1.1 Az.FrontDoor Core,Desk {New-AzFrontDoor, Get-AzFrontDoor, Set-AzFrontDoor, Remove-AzFrontDoor…}
Script 2.0.1 Az.HDInsight Core,Desk {Get-AzHDInsightJob, New-AzHDInsightSqoopJobDefinition, Wait-AzHDInsightJob, New-AzHDInsightStreamingMapReduceJobD…
Script 1.2.1 Az.IotHub Core,Desk {Add-AzIotHubKey, Get-AzIotHubEventHubConsumerGroup, Get-AzIotHubConnectionString, Get-AzIotHubJob…}
Script 1.3.1 Az.KeyVault Core,Desk {Add-AzKeyVaultCertificate, Update-AzKeyVaultCertificate, Stop-AzKeyVaultCertificateOperation, Get-AzKeyVaultCerti…
Script 1.3.1 Az.LogicApp Core,Desk {Get-AzIntegrationAccountAgreement, Get-AzIntegrationAccountAssembly, Get-AzIntegrationAccountBatchConfiguration, …
Script 1.1.1 Az.MachineLearning Core,Desk {Move-AzMlCommitmentAssociation, Get-AzMlCommitmentAssociation, Get-AzMlCommitmentPlanUsageHistory, Remove-AzMlCom…
Script 1.0.1 Az.ManagedServices Core,Desk {Get-AzManagedServicesAssignment, New-AzManagedServicesAssignment, Remove-AzManagedServicesAssignment, Get-AzManag…
Script 1.0.1 Az.MarketplaceOrdering Core,Desk {Get-AzMarketplaceTerms, Set-AzMarketplaceTerms}
Script 1.1.0 Az.Media Core,Desk {Sync-AzMediaServiceStorageKey, Set-AzMediaServiceKey, Get-AzMediaServiceKey, Get-AzMediaServiceNameAvailability…}
Script 1.2.2 Az.Monitor Core,Desk {Get-AzMetricDefinition, Get-AzMetric, Remove-AzLogProfile, Get-AzLogProfile…}
Script 1.13.0 Az.Network Core,Desk {Add-AzApplicationGatewayAuthenticationCertificate, Get-AzApplicationGatewayAuthenticationCertificate, New-AzAppli…
Script 1.1.0 Az.NotificationHubs Core,Desk {Get-AzNotificationHub, Get-AzNotificationHubAuthorizationRule, Get-AzNotificationHubListKey, Get-AzNotificationHu…
Script 1.3.3 Az.OperationalInsights Core,Desk {New-AzOperationalInsightsAzureActivityLogDataSource, New-AzOperationalInsightsCustomLogDataSource, Disable-AzOper…
Script 1.1.3 Az.PolicyInsights Core,Desk {Get-AzPolicyEvent, Get-AzPolicyState, Get-AzPolicyStateSummary, Get-AzPolicyRemediation…}
Script 1.1.0 Az.PowerBIEmbedded Core,Desk {Remove-AzPowerBIWorkspaceCollection, Get-AzPowerBIWorkspaceCollection, Get-AzPowerBIWorkspaceCollectionAccessKey,…
Script 1.4.4 Az.RecoveryServices Core,Desk {Get-AzRecoveryServicesBackupProperty, Get-AzRecoveryServicesVault, Get-AzRecoveryServicesVaultSettingsFile, New-A…
Script 1.1.0 Az.RedisCache Core,Desk {Remove-AzRedisCachePatchSchedule, New-AzRedisCacheScheduleEntry, Get-AzRedisCachePatchSchedule, New-AzRedisCacheP…
Script 1.0.2 Az.Relay Core,Desk {New-AzRelayNamespace, Get-AzRelayNamespace, Set-AzRelayNamespace, Remove-AzRelayNamespace…}
Script 1.6.2 Az.Resources Core,Desk {Get-AzProviderOperation, Remove-AzRoleAssignment, Get-AzRoleAssignment, New-AzRoleAssignment…}
Script 1.4.0 Az.ServiceBus Core,Desk {New-AzServiceBusNamespace, Get-AzServiceBusNamespace, Set-AzServiceBusNamespace, Remove-AzServiceBusNamespace…}
Script 1.1.2 Az.ServiceFabric Core,Desk {Add-AzServiceFabricApplicationCertificate, Add-AzServiceFabricClientCertificate, Add-AzServiceFabricClusterCertif…
Script 1.0.3 Az.SignalR Core,Desk {New-AzSignalR, Get-AzSignalR, Get-AzSignalRKey, New-AzSignalRKey…}
Script 1.14.1 Az.Sql Core,Desk {Get-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDatabaseTransparentDataEncryptionActivity, Set-AzSqlDatabase…
Script 1.6.0 Az.Storage Core,Desk {Get-AzStorageAccount, Get-AzStorageAccountKey, New-AzStorageAccount, New-AzStorageAccountKey…}
Script 1.2.0 Az.StorageSync Core,Desk {Invoke-AzStorageSyncCompatibilityCheck, New-AzStorageSyncService, Get-AzStorageSyncService, Remove-AzStorageSyncS…
Script 1.0.0 Az.StreamAnalytics Core,Desk {Get-AzStreamAnalyticsFunction, Get-AzStreamAnalyticsDefaultFunctionDefinition, New-AzStreamAnalyticsFunction, Rem…
Script 1.0.2 Az.TrafficManager Core,Desk {Add-AzTrafficManagerCustomHeaderToEndpoint, Remove-AzTrafficManagerCustomHeaderFromEndpoint, Add-AzTrafficManager…
Script 1.4.1 Az.Websites Core,Desk {Get-AzAppServicePlan, Set-AzAppServicePlan, New-AzAppServicePlan, Remove-AzAppServicePlan…}
Directory: C:\program files\powershell\7-preview\Modules
ModuleType Version PreRelease Name PSEdition ExportedCommands
---------- ------- ---------- ---- --------- ----------------
Manifest 6.1.0.0 CimCmdlets Core {Get-CimAssociatedInstance, Get-CimClass, Get-CimInstance, Get-CimSession…}
Manifest 1.2.3.0 Microsoft.PowerShell.Archive Desk {Compress-Archive, Expand-Archive}
Manifest 6.1.0.0 Microsoft.PowerShell.Diagnostics Core {Get-WinEvent, New-WinEvent}
Manifest 6.1.0.0 Microsoft.PowerShell.Host Core {Start-Transcript, Stop-Transcript}
Manifest 6.1.0.0 Microsoft.PowerShell.Management Core {Add-Content, Clear-Content, Clear-ItemProperty, Join-Path…}
Manifest 6.1.0.0 Microsoft.PowerShell.Security Core {Get-Acl, Set-Acl, Get-PfxCertificate, Get-Credential…}
Manifest 6.1.0.0 Microsoft.PowerShell.Utility Core {Export-Alias, Get-Alias, Import-Alias, New-Alias…}
Manifest 6.1.0.0 Microsoft.WSMan.Management Core {Disable-WSManCredSSP, Enable-WSManCredSSP, Get-WSManCredSSP, Set-WSManQuickConfig…}
Script 1.4.3 PackageManagement Desk {Find-Package, Get-Package, Get-PackageProvider, Get-PackageSource…}
Script 2.2 PowerShellGet Desk {Find-Command, Find-DSCResource, Find-Module, Find-RoleCapability…}
Script 2.0 PSDesiredStateConfiguration Core {Configuration, Get-DscResource}
Script 6.1.0.0 PSDiagnostics Core {Disable-PSTrace, Disable-PSWSManCombinedTrace, Disable-WSManTrace, Enable-PSTrace…}
Script 2.0.0 beta4 PSReadLine Desk {Get-PSReadLineKeyHandler, Set-PSReadLineKeyHandler, Remove-PSReadLineKeyHandler, Get-PSReadLineOption…}
Binary 2.0.1 ThreadJob Desk Start-ThreadJob
Debug information
DEBUG: 11:26:54 AM - GetAzureRmConsumptionUsageDetail begin processing with ParameterSet 'Subscription'.
DEBUG: 11:26:54 AM - using account id '<My ID>'...
DEBUG: [Common.Authentication]: Authenticating using Account: '<My ID>', environment: 'AzureCloud', tenant: '9a51edec-9145-4d4c-83cd-4fe36069acae'
DEBUG: [Common.Authentication]: Authenticating using configuration values: Domain: '9a51edec-9145-4d4c-83cd-4fe36069acae', Endpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirect: 'urn:ietf:wg:oauth:2.0:oob', ResourceClientUri: 'https://management.core.windows.net/', ValidateAuthority: 'True'
DEBUG: [Common.Authentication]: Acquiring token using context with Authority 'https://login.microsoftonline.com/9a51edec-9145-4d4c-83cd-4fe36069acae/', CorrelationId: '00000000-0000-0000-0000-000000000000', ValidateAuthority: 'True'
DEBUG: [Common.Authentication]: Acquiring token using AdalConfiguration with Domain: '9a51edec-9145-4d4c-83cd-4fe36069acae', AdEndpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirectUri: urn:ietf:wg:oauth:2.0:oob
DEBUG: [ADAL]: Information: 2019-10-25T09:26:54.2994736Z: b496c4b8-5885-4b80-b16a-fa406c055dd4 - LoggerBase.cs: ADAL PCL.CoreCLR with assembly version '3.19.2.6005', file version '3.19.50302.0130' and informational version '2a8bec6c4c76d0c1ef819b55bdc3cda2d2605056' is running...
DEBUG: [ADAL]: Information: 2019-10-25T09:26:54.3001806Z: b496c4b8-5885-4b80-b16a-fa406c055dd4 - LoggerBase.cs: ADAL PCL.CoreCLR with assembly version '3.19.2.6005', file version '3.19.50302.0130' and informational version '2a8bec6c4c76d0c1ef819b55bdc3cda2d2605056' is running...
DEBUG: [ADAL]: Information: 2019-10-25T09:26:54.3004716Z: b496c4b8-5885-4b80-b16a-fa406c055dd4 - LoggerBase.cs: === Token Acquisition started:
CacheType: null
Authentication Target: User
, Authority Host: login.microsoftonline.com
DEBUG: [ADAL]: Information: 2019-10-25T09:26:54.3005796Z: b496c4b8-5885-4b80-b16a-fa406c055dd4 - LoggerBase.cs: === Token Acquisition started:
Authority: https://login.microsoftonline.com/9a51edec-9145-4d4c-83cd-4fe36069acae/
Resource: https://management.core.windows.net/
ClientId: 1950a258-227b-4e31-a9cf-717495945fc2
CacheType: null
Authentication Target: User
DEBUG: [ADAL]: Verbose: 2019-10-25T09:26:54.3016263Z: b496c4b8-5885-4b80-b16a-fa406c055dd4 - LoggerBase.cs: Loading from cache.
DEBUG: [ADAL]: Verbose: 2019-10-25T09:26:54.3017538Z: b496c4b8-5885-4b80-b16a-fa406c055dd4 - LoggerBase.cs: Loading from cache.
DEBUG: [ADAL]: Information: 2019-10-25T09:26:54.3241246Z: 00000000-0000-0000-0000-000000000000 - LoggerBase.cs: Deserialized 2 items to token cache.
DEBUG: [ADAL]: Verbose: 2019-10-25T09:26:54.3244390Z: b496c4b8-5885-4b80-b16a-fa406c055dd4 - LoggerBase.cs: Looking up cache for a token...
DEBUG: [ADAL]: Verbose: 2019-10-25T09:26:54.3245605Z: b496c4b8-5885-4b80-b16a-fa406c055dd4 - LoggerBase.cs: Looking up cache for a token...
DEBUG: [ADAL]: Information: 2019-10-25T09:26:54.3249321Z: b496c4b8-5885-4b80-b16a-fa406c055dd4 - LoggerBase.cs: An item matching the requested resource was found in the cache
DEBUG: [ADAL]: Information: 2019-10-25T09:26:54.3250455Z: b496c4b8-5885-4b80-b16a-fa406c055dd4 - LoggerBase.cs: An item matching the requested resource was found in the cache
DEBUG: [ADAL]: Information: 2019-10-25T09:26:54.3252939Z: b496c4b8-5885-4b80-b16a-fa406c055dd4 - LoggerBase.cs: An expired or near expiry token was found in the cache
DEBUG: [ADAL]: Information: 2019-10-25T09:26:54.3254062Z: b496c4b8-5885-4b80-b16a-fa406c055dd4 - LoggerBase.cs: An expired or near expiry token was found in the cache
DEBUG: [ADAL]: Information: 2019-10-25T09:26:54.3255078Z: b496c4b8-5885-4b80-b16a-fa406c055dd4 - LoggerBase.cs: A matching item (access token or refresh token or both) was found in the cache
DEBUG: [ADAL]: Information: 2019-10-25T09:26:54.3256158Z: b496c4b8-5885-4b80-b16a-fa406c055dd4 - LoggerBase.cs: A matching item (access token or refresh token or both) was found in the cache
DEBUG: [ADAL]: Verbose: 2019-10-25T09:26:54.3278950Z: b496c4b8-5885-4b80-b16a-fa406c055dd4 - LoggerBase.cs: Refreshing access token...
DEBUG: [ADAL]: Verbose: 2019-10-25T09:26:54.3280813Z: b496c4b8-5885-4b80-b16a-fa406c055dd4 - LoggerBase.cs: Refreshing access token...
DEBUG: [ADAL]: Verbose: 2019-10-25T09:26:54.5858301Z: b496c4b8-5885-4b80-b16a-fa406c055dd4 - LoggerBase.cs: Storing token in the cache...
DEBUG: [ADAL]: Verbose: 2019-10-25T09:26:54.5859943Z: b496c4b8-5885-4b80-b16a-fa406c055dd4 - LoggerBase.cs: Storing token in the cache...
DEBUG: [ADAL]: Verbose: 2019-10-25T09:26:54.5861061Z: b496c4b8-5885-4b80-b16a-fa406c055dd4 - LoggerBase.cs: An item was stored in the cache
DEBUG: [ADAL]: Verbose: 2019-10-25T09:26:54.5862633Z: b496c4b8-5885-4b80-b16a-fa406c055dd4 - LoggerBase.cs: An item was stored in the cache
DEBUG: [ADAL]: Information: 2019-10-25T09:26:54.5868336Z: b496c4b8-5885-4b80-b16a-fa406c055dd4 - LoggerBase.cs: === Token Acquisition finished successfully. An access token was returned: Expiration Time: 10/25/2019 10:26:54 AM +00:00
DEBUG: [ADAL]: Information: 2019-10-25T09:26:54.5870329Z: b496c4b8-5885-4b80-b16a-fa406c055dd4 - LoggerBase.cs: === Token Acquisition finished successfully. An access token was returned: Expiration Time: 10/25/2019 10:26:54 AM +00:00Access Token Hash: y97NI9e7su2GsMym62O5HZ/Aw2/fqGy3t2N83xRrPXw=
User id: fc09f428-d042-44fe-9ef1-8ecfbf556b8f
DEBUG: [ADAL]: Information: 2019-10-25T09:26:54.5876286Z: 00000000-0000-0000-0000-000000000000 - LoggerBase.cs: Serializing token cache with 2 items.
DEBUG: [Common.Authentication]: Renewing Token with Type: 'Bearer', Expiry: '10/25/2019 10:26:54 +00:00', MultipleResource? 'True', Tenant: '9a51edec-9145-4d4c-83cd-4fe36069acae', UserId: '<My ID>'
DEBUG: [Common.Authentication]: User info for token DisplayId: '<My ID>', Name: <My Name>, IdProvider: 'https://sts.windows.net/db1e96a8-a3da-442a-930b-235cac24cd5c/', Uid: 'fc09f428-d042-44fe-9ef1-8ecfbf556b8f'
DEBUG: [Common.Authentication]: Checking token expiration, token expires '10/25/2019 10:26:54 +00:00' Comparing to '10/25/2019 09:26:54 +00:00' With threshold '00:05:00', calculated time until token expiry: '00:59:59.9644225'
DEBUG: ============================ HTTP REQUEST ============================
HTTP Method:
GET
Absolute Uri:
https://management.azure.com/subscriptions/1b19f5a9-980b-413a-ba68-f3bdee9c7e67/providers/Microsoft.Consumption/usageDetails?$filter=properties%2FusageStart ge %272019-10-14%27 and properties%2FusageEnd le %272019-10-20%27 and properties%2FinstanceId eq <URL to my VM>&$top=1000&api-version=2018-01-31
Headers:
x-ms-client-request-id : ae990aa3-1e3f-4aad-84f8-9a606669c193
Accept-Language : en-US
Body:
DEBUG: ============================ HTTP RESPONSE ============================
Status Code:
OK
Headers:
Cache-Control : no-cache
Pragma : no-cache
session-id : 580bbdd4-a594-4ca1-a593-01cebddb8384
x-ms-request-id : fd6ba32f-7de7-491f-bb15-a04d0148d242
x-ms-correlation-request-id : 140fc6e0-39a4-49c2-ae8d-9a240876a267
x-ms-client-request-id : 7cf1b25b-06d2-4086-aa15-1dbfd76c370d
OData-Version : 4.0
Access-Control-Allow-Origin : *
X-Content-Type-Options : nosniff
Strict-Transport-Security : max-age=31536000; includeSubDomains
x-ms-ratelimit-remaining-subscription-reads: 11995
x-ms-routing-request-id : CANADACENTRAL:20191025T092657Z:140fc6e0-39a4-49c2-ae8d-9a240876a267
Date : Fri, 25 Oct 2019 09:26:56 GMT
Body:
{
"value": []
}
DEBUG: AzureQoSEvent: CommandName - Get-AzConsumptionUsageDetail; IsSuccess - True; Duration - 00:00:08.6087940; Exception - ;
DEBUG: Finish sending metric.
DEBUG: 11:27:03 AM - GetAzureRmConsumptionUsageDetail end processing.
DEBUG: 11:27:03 AM - GetAzureRmConsumptionUsageDetail end processing.
@dingmeng-xue This is the first time I report a bug in this project, and I have a couple of questions: a) What "more info" is required? b) why am I assigned to the issue, if I am the one requesting help (so, I have no idea on how to fix it x_D)?
Hi @flixman,
"More info" means we need your further help to collect more information. For this case, could you provide debug output.
Set $DebugPreference='Continue' before running the repro and paste the resulting debug stream in the below code block
I guess this is no error in your case. If there is any, please share to us too.
Thanks, Dingmeng
Done.
@dingmeng-xue I forgot to say: there are no errors when doing the call.
I don't believe any of the billing APIs return recursive costing. If they did, if we pulled disks and vms, we would have inaccurate data due to "double-costing" once for the disk and once hidden in the cost for the VM. If you're looking for these disks that are attached to deallocated VMs and still incurring costs, you'd want to pull all disks using Get-AzDisk and use the managedby to link them to the VM objects which you can pull with Get-AzVM, specifying -Status parameter and filtering for a state of VM deallocated...
for a specific machine, similar to the one I reported the issue for, I am getting the following:
UsageStart UsageEnd BillingPeriodName InstanceName UsageQuantity BillableQuantity PretaxCost MeterId
10/21/2019 12:00:00 AM 10/21/2019 11:59:59 PM 20191001 Proxy 24 1000 Hours 0.194255314930141 EUR 13bb8ce7-f82e-4463-84f9-ab3ae7e3cdb2 10/21/2019 12:00:00 AM 10/21/2019 11:59:59 PM 20191001 Proxy 0.041882 10 GB 0 EUR 32c3ebec-1646-49e3-8127-2cafbd3a04d8 10/21/2019 12:00:00 AM 10/21/2019 11:59:59 PM 20191001 Proxy 0.00024 10 GB 0.00001388346298 EUR 9995d93a-7d35-4d3f-9c69-7a7fea447ef4
for one of the days, I always get these 3 lines for each day. I can not see what are the meterID refered to, because the -Expand MeterDetails does not seem work (?). I assume that one of the lines marked with 10 GB is for the disk reservation and the other is for the number of transfers from/to that disk... but how is possible that one of those is 0?
Not only that: for another VM that is actively used, I am getting again the following readings:
UsageStart UsageEnd BillingPeriodName InstanceName UsageQuantity BillableQuantity PretaxCost MeterId
10/21/2019 12:00:00 AM 10/21/2019 11:59:59 PM 20191001 win-nogpu 7.83337 10 Hours 1.26900558419094 EUR 484d8811-77bd-42da-8849-c5a8833269bf 10/21/2019 12:00:00 AM 10/21/2019 11:59:59 PM 20191001 win-nogpu 0.002374 10 GB 0.000137330587975 EUR 9995d93a-7d35-4d3f-9c69-7a7fea447ef4 10/21/2019 12:00:00 AM 10/21/2019 11:59:59 PM 20191001 win-nogpu 0.020125 10 GB 0 EUR 32c3ebec-1646-49e3-8127-2cafbd3a04d8
I understand I should get the extra data disk (if any) additionally, but can I trust the information for that existing OS disk is accurate?
Assigning to the team to investigate
@addesai please have a look.
Any update??? I get the same thing... Not Cost
This is an outdated issue & the service has been updated since then.