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

IWithDiskLun<ParentT>.WithLun(Int32) 方法

定义

指定要从磁盘映像创建的数据磁盘的 LUN。

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.CustomImageDataDisk.Definition.IWithImageSource<ParentT> WithLun (int lun);
abstract member WithLun : int -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineCustomImage.CustomImageDataDisk.Definition.IWithImageSource<'ParentT>
Public Function WithLun (lun As Integer) As IWithImageSource(Of ParentT)

参数

lun
Int32

数据磁盘的唯一 LUN。

返回

适用于