共用方式為


IWithDiskSource<ParentT>.WithNewVhd(Int32) Method

Definition

Specifies that disk needs to be created with a new VHD of given size.

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

Parameters

sizeInGB
Int32

The initial disk size in GB.

Returns

Applies to