ArmComputeFleetModelFactory.ComputeFleetVmSizeProperties Method

Definition

public static Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmSizeProperties ComputeFleetVmSizeProperties(int? vcpUsAvailable = default, int? vcpUsPerCore = default);
static member ComputeFleetVmSizeProperties : Nullable<int> * Nullable<int> -> Azure.ResourceManager.ComputeFleet.Models.ComputeFleetVmSizeProperties
Public Shared Function ComputeFleetVmSizeProperties (Optional vcpUsAvailable As Nullable(Of Integer) = Nothing, Optional vcpUsPerCore As Nullable(Of Integer) = Nothing) As ComputeFleetVmSizeProperties

Parameters

vcpUsAvailable
Nullable<Int32>

Specifies the number of vCPUs available for the VM. When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of List all available virtual machine sizes in a region.

vcpUsPerCore
Nullable<Int32>

Specifies the vCPU to physical core ratio. When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of List all available virtual machine sizes in a region. Setting this property to 1 also means that hyper-threading is disabled.

Returns

A new ComputeFleetVmSizeProperties instance for mocking.

Applies to