我有一个托管磁盘,它包含操作系统,但没有标记为具有操作系统(ostype属性为空)。如何更改该属性以便在门户中创建新的VM?
PS Azure:\> $disk
ResourceGroupName : KoreaCentralShared
ManagedBy :
Sku : Microsoft.Azure.Management.Compute.Models.DiskSku
Zones :
TimeCreated : 12/18/18 9:45:26 PM
OsType :
CreationData : Microsoft.Azure.Management.Compute.Models.CreationData
DiskSizeGB : 80
EncryptionSettings :
ProvisioningState : Succeeded
DiskIOPSReadWrite :
DiskMBpsReadWrite :
Id : /subscriptions/5171/resourceGroups/K/providers/Microsoft.Compute/disks/RHEL_DataDisk_0
Name : RHEL_DataDisk_0
Type : Microsoft.Compute/disks
Location : koreacentral
Tags : {}