ArmComputeModelFactory.VirtualMachineSizeProperties Method

Definition

public static Azure.ResourceManager.Compute.Models.VirtualMachineSizeProperties VirtualMachineSizeProperties(int? vCpusAvailable = default, int? vCpusPerCore = default, System.Collections.Generic.IDictionary<string,BinaryData> additionalProperties = default);
static member VirtualMachineSizeProperties : Nullable<int> * Nullable<int> * System.Collections.Generic.IDictionary<string, BinaryData> -> Azure.ResourceManager.Compute.Models.VirtualMachineSizeProperties
Public Shared Function VirtualMachineSizeProperties (Optional vCpusAvailable As Nullable(Of Integer) = Nothing, Optional vCpusPerCore As Nullable(Of Integer) = Nothing, Optional additionalProperties As IDictionary(Of String, BinaryData) = Nothing) As VirtualMachineSizeProperties

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..

additionalProperties
IDictionary<String,BinaryData>

Returns

A new VirtualMachineSizeProperties instance for mocking.

Applies to