Compartilhar via


DevCenterModelFactory.OSDisk(Nullable<Int32>) Method

Definition

Initializes a new instance of OSDisk.

public static Azure.Developer.DevCenter.Models.OSDisk OSDisk (int? diskSizeGB = default);
static member OSDisk : Nullable<int> -> Azure.Developer.DevCenter.Models.OSDisk
Public Shared Function OSDisk (Optional diskSizeGB As Nullable(Of Integer) = Nothing) As OSDisk

Parameters

diskSizeGB
Nullable<Int32>

The size of the OS Disk in gigabytes.

Returns

A new OSDisk instance for mocking.

Applies to