共用方式為


IWithOSDiskSettings.WithOSDiskSizeInGB(Int32) Method

Definition

Specifies the size of the OSDisk in GB.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithCreate WithOSDiskSizeInGB (int size);
abstract member WithOSDiskSizeInGB : int -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachine.Definition.IWithCreate
Public Function WithOSDiskSizeInGB (size As Integer) As IWithCreate

Parameters

size
Int32

The VHD size.

Returns

Applies to