Skip to content

Add PlatformDiskId to VirtualHardDiskProperties - #355

Merged
YuanZh (YuanMSFT) merged 1 commit into
mainfrom
user/yuanzh/1024
Oct 25, 2025
Merged

Add PlatformDiskId to VirtualHardDiskProperties#355
YuanZh (YuanMSFT) merged 1 commit into
mainfrom
user/yuanzh/1024

Conversation

@YuanMSFT

@YuanMSFT YuanZh (YuanMSFT) commented Oct 24, 2025

Copy link
Copy Markdown
Contributor

wmi PR: microsoft/wmi#179
moc PR: microsoft/moc#400
moc-pkg PR: https://github.com/microsoft/moc-pkg/pull/683
wssdagent PR: https://github.com/microsoft/wssdagent/pull/1430
wssd-sdk-for-go PR: microsoft/wssd-sdk-for-go#335
wssdcloudagent PR: https://github.com/microsoft/wssdcloudagent/pull/1603

Add PlatformDiskId to VirtualHardDiskProperties, which will be used by azstackhci-operator and stored in the ARM resource later as UniqueID.

This will help customers use the UniqueID to map the ARM resource to an attached disk. Customers can use the Get-Disk or Get-PhysicalDisk PowerShell cmdlets to retrieve the unique ID of the attached disk inside a Windows guest VM and use it to identify the corresponding ARM resource. For Linux VMs, customers can use lsblk to retrieve the serial number of the attached disk and use it to identify the matching ARM resource by comparing it with the unique ID value in the ARM resource.

For example, a partner building a VM migration solution without a dependency on Active Directory will need to consume this.

@YuanMSFT

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@YuanMSFT
YuanZh (YuanMSFT) merged commit 061218e into main Oct 25, 2025
7 checks passed
@YuanMSFT
YuanZh (YuanMSFT) deleted the user/yuanzh/1024 branch October 25, 2025 03:29
@YuanMSFT YuanZh (YuanMSFT) changed the title Add PlatformDiskId to VirtualHardDiskPropertie Add PlatformDiskId to VirtualHardDiskProperties Oct 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants