Skip to content

Conversation

@YuanMSFT
Copy link
Contributor

@YuanMSFT YuanMSFT commented Oct 9, 2025

Add the PlatformDiskId which will be calculated from the virtual disk ID to VirtualHardDisk, 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 YuanMSFT changed the title Add virtualDiskId to VirtualHardDisk Add uniqueId to VirtualHardDisk Oct 10, 2025
Copy link
Contributor

@blairurish blairurish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we also check in the auto generated changes to the .pb.go files?

@YuanMSFT
Copy link
Contributor Author

Could we also check in the auto generated changes to the .pb.go files?

Done

@YuanMSFT YuanMSFT changed the title Add uniqueId to VirtualHardDisk Add PlatformDiskId to VirtualHardDisk Oct 14, 2025
@YuanMSFT YuanMSFT requested a review from madhanrm October 14, 2025 17:31
madhanrm
madhanrm previously approved these changes Oct 15, 2025
@YuanMSFT YuanMSFT requested a review from madhanrm October 17, 2025 00:59
@YuanMSFT
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@YuanMSFT
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@YuanMSFT YuanMSFT merged commit 1cb890e into microsoft:main Oct 22, 2025
7 checks passed
@YuanMSFT YuanMSFT deleted the user/yuanzh/1008 branch October 22, 2025 18:27
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