你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ImageStorageProfile 构造函数

定义

重载

ImageStorageProfile()

初始化 ImageStorageProfile 类的新实例。

ImageStorageProfile(ImageOSDisk, IList<ImageDataDisk>, Nullable<Boolean>)

初始化 ImageStorageProfile 类的新实例。

ImageStorageProfile()

初始化 ImageStorageProfile 类的新实例。

public ImageStorageProfile ();
Public Sub New ()

适用于

ImageStorageProfile(ImageOSDisk, IList<ImageDataDisk>, Nullable<Boolean>)

初始化 ImageStorageProfile 类的新实例。

public ImageStorageProfile (Microsoft.Azure.Management.Compute.Models.ImageOSDisk osDisk = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ImageDataDisk> dataDisks = default, bool? zoneResilient = default);
new Microsoft.Azure.Management.Compute.Models.ImageStorageProfile : Microsoft.Azure.Management.Compute.Models.ImageOSDisk * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ImageDataDisk> * Nullable<bool> -> Microsoft.Azure.Management.Compute.Models.ImageStorageProfile
Public Sub New (Optional osDisk As ImageOSDisk = Nothing, Optional dataDisks As IList(Of ImageDataDisk) = Nothing, Optional zoneResilient As Nullable(Of Boolean) = Nothing)

参数

osDisk
ImageOSDisk

指定有关虚拟机使用的操作系统磁盘的信息。 <br><br> 有关磁盘的详细信息,请参阅 关于 Azure 虚拟机的磁盘和 VHD

dataDisks
IList<ImageDataDisk>

指定用于将数据磁盘添加到虚拟机的参数。 <br><br> 有关磁盘的详细信息,请参阅 关于 Azure 虚拟机的磁盘和 VHD

zoneResilient
Nullable<Boolean>

指定映像是否具有区域复原能力。 默认值为 false。 只能在提供区域冗余存储 (ZRS) 的区域中创建区域可复原映像。

适用于