Share via


DevCenterModelFactory.DevBoxHardwareProfile Method

Definition

Initializes a new instance of DevBoxHardwareProfile.

public static Azure.Developer.DevCenter.Models.DevBoxHardwareProfile DevBoxHardwareProfile (Azure.Developer.DevCenter.Models.SkuName? skuName = default, int? vcpUs = default, int? memoryGB = default);
static member DevBoxHardwareProfile : Nullable<Azure.Developer.DevCenter.Models.SkuName> * Nullable<int> * Nullable<int> -> Azure.Developer.DevCenter.Models.DevBoxHardwareProfile
Public Shared Function DevBoxHardwareProfile (Optional skuName As Nullable(Of SkuName) = Nothing, Optional vcpUs As Nullable(Of Integer) = Nothing, Optional memoryGB As Nullable(Of Integer) = Nothing) As DevBoxHardwareProfile

Parameters

skuName
Nullable<SkuName>

The name of the SKU.

vcpUs
Nullable<Int32>

The number of vCPUs available for the Dev Box.

memoryGB
Nullable<Int32>

The amount of memory available for the Dev Box.

Returns

A new DevBoxHardwareProfile instance for mocking.

Applies to