ArmComputeFleetModelFactory.ComputeFleetVmSizeProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.
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.