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

IWithDiskSource<ParentT>.WithNewVhd(Int32) 方法

定义

指定需要创建具有给定大小的新 VHD 的非托管磁盘。

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSetUnmanagedDataDisk.UpdateDefinition.IWithNewVhdDiskSettings<ParentT> WithNewVhd (int sizeInGB);
abstract member WithNewVhd : int -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSetUnmanagedDataDisk.UpdateDefinition.IWithNewVhdDiskSettings<'ParentT>
Public Function WithNewVhd (sizeInGB As Integer) As IWithNewVhdDiskSettings(Of ParentT)

参数

sizeInGB
Int32

初始磁盘大小(以 GB 为单位)。

返回

适用于