你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
StorageProfile 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
StorageProfile() |
初始化 StorageProfile 类的新实例。 |
StorageProfile(ImageReferenceInner, OSDisk, IList<DataDisk>) |
初始化 StorageProfile 类的新实例。 |
StorageProfile()
初始化 StorageProfile 类的新实例。
public StorageProfile ();
Public Sub New ()
适用于
StorageProfile(ImageReferenceInner, OSDisk, IList<DataDisk>)
初始化 StorageProfile 类的新实例。
public StorageProfile (Microsoft.Azure.Management.Compute.Fluent.Models.ImageReferenceInner imageReference = default, Microsoft.Azure.Management.Compute.Fluent.Models.OSDisk osDisk = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.DataDisk> dataDisks = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.StorageProfile : Microsoft.Azure.Management.Compute.Fluent.Models.ImageReferenceInner * Microsoft.Azure.Management.Compute.Fluent.Models.OSDisk * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.DataDisk> -> Microsoft.Azure.Management.Compute.Fluent.Models.StorageProfile
Public Sub New (Optional imageReference As ImageReferenceInner = Nothing, Optional osDisk As OSDisk = Nothing, Optional dataDisks As IList(Of DataDisk) = Nothing)
参数
- imageReference
- ImageReferenceInner
指定有关要使用的映像的信息。 可以指定有关平台映像、市场映像或虚拟机映像的信息。 若要使用平台映像、市场映像或虚拟机映像,但未在其他创建操作中使用,则此元素是必需的。
- osDisk
- OSDisk
指定有关虚拟机使用的操作系统磁盘的信息。 <br><br> 有关磁盘的详细信息,请参阅 关于 Azure 虚拟机的磁盘和 VHD。
指定用于将数据磁盘添加到虚拟机的参数。 <br><br> 有关磁盘的详细信息,请参阅 关于 Azure 虚拟机的磁盘和 VHD。