Skip to content

Commit bc79977

Browse files
authored
Merge pull request #116053 from Vaibhav-Agar/patch-1
Update vm-usage.md
2 parents ec45c88 + 59a6ae9 commit bc79977

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

articles/virtual-machines/windows/vm-usage.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,13 @@ Tags only flow to you the Usage CSV for Resource Manager VMs only. Classic resou
130130
In the Classic model, billing for resources is aggregated at the Cloud Service level. If you have more than one VM in a Cloud Service that uses the same billing meter, your usage is aggregated together. VMs deployed via Resource Manager are billed at the VM level, so this aggregation will not apply.
131131
### Why is pricing not available for DS/FS/GS/LS sizes on the pricing page?
132132
Premium storage capable VMs are billed at the same rate as non-premium storage capable VMs. Only your storage costs differ. Visit the [storage pricing page](https://azure.microsoft.com/pricing/details/storage/unmanaged-disks/) for more information.
133+
### How to know the operating system version running on the VM?
134+
135+
There are 3 possible places in the APIs which may return the operating system running on the VM:
136+
137+
1) Running VMs that include the guest agent (all Linux VMs and most Windows VMs) will show the OS Name and OS Version in the VM Instances view. This is accurate at all times, but due to the fact that the information comes from the guest agent it will not be available for all VMs. API documentation [here](https://docs.microsoft.com/rest/api/compute/virtualmachines/instanceview#virtualmachineagentinstanceview).
138+
2) VMs deployed from a platform image will contain the image details which may indicate the OS version in the publisher selected names for Offer or SKU. However, these are publisher selected so there is no guarantee the OS will be discoverable in the naming. API documentation [here](https://docs.microsoft.com/rest/api/compute/images/get#operatingsystemtypes).
139+
3) Each OS Disk will have a specified value of Windows or Linux. This value is inherited from the image when the OS Disk was created from an image. When an OS disk is uploaded to the platform directly, then the OS value is set when the OS disk is created. This value is always present, but the Azure platform does not ensure it is correct. API documentation [here](https://docs.microsoft.com/rest/api/compute/virtualmachineimages/get#operatingsystemtypes).
133140

134141
## Next steps
135142
To learn more about your usage details, see [Understand your bill for Microsoft Azure.](../../cost-management-billing/understand/review-individual-bill.md)

0 commit comments

Comments
 (0)