共用方式為


IWithDiskSettings<ParentT>.WithDiskSizeInGB(Int32) Method

Definition

Specifies the size in GB for data disk.

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

Parameters

diskSizeGB
Int32

The disk size in GB.

Returns

Applies to