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

VirtualMachineScaleSetStorageProfile 构造函数

定义

重载

VirtualMachineScaleSetStorageProfile()

初始化 VirtualMachineScaleSetStorageProfile 类的新实例。

VirtualMachineScaleSetStorageProfile(ImageReference, VirtualMachineScaleSetOSDisk, IList<VirtualMachineScaleSetDataDisk>, String)

初始化 VirtualMachineScaleSetStorageProfile 类的新实例。

VirtualMachineScaleSetStorageProfile()

初始化 VirtualMachineScaleSetStorageProfile 类的新实例。

public VirtualMachineScaleSetStorageProfile ();
Public Sub New ()

适用于

VirtualMachineScaleSetStorageProfile(ImageReference, VirtualMachineScaleSetOSDisk, IList<VirtualMachineScaleSetDataDisk>, String)

初始化 VirtualMachineScaleSetStorageProfile 类的新实例。

public VirtualMachineScaleSetStorageProfile (Microsoft.Azure.Management.Compute.Models.ImageReference imageReference = default, Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetOSDisk osDisk = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetDataDisk> dataDisks = default, string diskControllerType = default);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetStorageProfile : Microsoft.Azure.Management.Compute.Models.ImageReference * Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetOSDisk * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetDataDisk> * string -> Microsoft.Azure.Management.Compute.Models.VirtualMachineScaleSetStorageProfile
Public Sub New (Optional imageReference As ImageReference = Nothing, Optional osDisk As VirtualMachineScaleSetOSDisk = Nothing, Optional dataDisks As IList(Of VirtualMachineScaleSetDataDisk) = Nothing, Optional diskControllerType As String = Nothing)

参数

imageReference
ImageReference

指定要使用的映像的相关信息。 可以指定有关平台映像、市场映像或虚拟机映像的信息。 若要使用平台映像、市场映像或虚拟机映像,但未在其他创建操作中使用,则此元素是必需的。

osDisk
VirtualMachineScaleSetOSDisk

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

dataDisks
IList<VirtualMachineScaleSetDataDisk>

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

diskControllerType
String

适用于