Dela via


ArmHybridComputeModelFactory.HybridComputeHardwareProfile Method

Definition

Initializes a new instance of HybridComputeHardwareProfile.

public static Azure.ResourceManager.HybridCompute.Models.HybridComputeHardwareProfile HybridComputeHardwareProfile (long? totalPhysicalMemoryInBytes = default, int? numberOfCpuSockets = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HybridCompute.Models.HybridComputeProcessor> processors = default);
static member HybridComputeHardwareProfile : Nullable<int64> * Nullable<int> * seq<Azure.ResourceManager.HybridCompute.Models.HybridComputeProcessor> -> Azure.ResourceManager.HybridCompute.Models.HybridComputeHardwareProfile
Public Shared Function HybridComputeHardwareProfile (Optional totalPhysicalMemoryInBytes As Nullable(Of Long) = Nothing, Optional numberOfCpuSockets As Nullable(Of Integer) = Nothing, Optional processors As IEnumerable(Of HybridComputeProcessor) = Nothing) As HybridComputeHardwareProfile

Parameters

totalPhysicalMemoryInBytes
Nullable<Int64>

The total physical memory on the machine.

numberOfCpuSockets
Nullable<Int32>

The total number of CPU sockets available on the machine.

processors
IEnumerable<HybridComputeProcessor>

The physical processors of the machine.

Returns

A new HybridComputeHardwareProfile instance for mocking.

Applies to