Hello @Liangping Cai ,
Not sure i fully understand your objective but if you are trying to correlate an Azure resource to a resource ID/GUID then check out the Get-AzResource PowerShell cmdlet.
There are a few examples in the above link for your reference.
Have a good weekend.