Sprog

ArmNetworkCloudModelFactory.MachineSkuSlot Method

Definition

public static Azure.ResourceManager.NetworkCloud.Models.MachineSkuSlot MachineSkuSlot(Azure.ResourceManager.NetworkCloud.Models.BootstrapProtocol? bootstrapProtocol, long? cpuCores, long? cpuSockets, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetworkCloud.Models.MachineDisk> disks, string generation, string hardwareVersion, long? memoryCapacityGB, string model, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetworkCloud.Models.NetworkCloudNetworkInterface> networkInterfaces, long? totalThreads, string vendor, long? rackSlot);
public static Azure.ResourceManager.NetworkCloud.Models.MachineSkuSlot MachineSkuSlot(Azure.ResourceManager.NetworkCloud.Models.BootstrapProtocol? bootstrapProtocol = default, long? cpuCores = default, long? cpuSockets = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetworkCloud.Models.MachineDisk> disks = default, string generation = default, string hardwareVersion = default, long? memoryCapacityGB = default, string model = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NetworkCloud.Models.NetworkCloudNetworkInterface> networkInterfaces = default, long? totalThreads = default, string vendor = default, long? rackSlot = default);
static member MachineSkuSlot : Nullable<Azure.ResourceManager.NetworkCloud.Models.BootstrapProtocol> * Nullable<int64> * Nullable<int64> * seq<Azure.ResourceManager.NetworkCloud.Models.MachineDisk> * string * string * Nullable<int64> * string * seq<Azure.ResourceManager.NetworkCloud.Models.NetworkCloudNetworkInterface> * Nullable<int64> * string * Nullable<int64> -> Azure.ResourceManager.NetworkCloud.Models.MachineSkuSlot
Public Shared Function MachineSkuSlot (bootstrapProtocol As Nullable(Of BootstrapProtocol), cpuCores As Nullable(Of Long), cpuSockets As Nullable(Of Long), disks As IEnumerable(Of MachineDisk), generation As String, hardwareVersion As String, memoryCapacityGB As Nullable(Of Long), model As String, networkInterfaces As IEnumerable(Of NetworkCloudNetworkInterface), totalThreads As Nullable(Of Long), vendor As String, rackSlot As Nullable(Of Long)) As MachineSkuSlot
Public Shared Function MachineSkuSlot (Optional bootstrapProtocol As Nullable(Of BootstrapProtocol) = Nothing, Optional cpuCores As Nullable(Of Long) = Nothing, Optional cpuSockets As Nullable(Of Long) = Nothing, Optional disks As IEnumerable(Of MachineDisk) = Nothing, Optional generation As String = Nothing, Optional hardwareVersion As String = Nothing, Optional memoryCapacityGB As Nullable(Of Long) = Nothing, Optional model As String = Nothing, Optional networkInterfaces As IEnumerable(Of NetworkCloudNetworkInterface) = Nothing, Optional totalThreads As Nullable(Of Long) = Nothing, Optional vendor As String = Nothing, Optional rackSlot As Nullable(Of Long) = Nothing) As MachineSkuSlot

Parameters

bootstrapProtocol
Nullable<BootstrapProtocol>

The type of bootstrap protocol used.

cpuCores
Nullable<Int64>

The count of CPU cores for this machine.

cpuSockets
Nullable<Int64>

The count of CPU sockets for this machine.

disks
IEnumerable<MachineDisk>

The list of disks.

generation
String

The generation of the architecture.

hardwareVersion
String

The hardware version of the machine.

memoryCapacityGB
Nullable<Int64>

The maximum amount of memory. Measured in gibibytes.

model
String

The model of the machine.

networkInterfaces
IEnumerable<NetworkCloudNetworkInterface>

The list of network interfaces.

totalThreads
Nullable<Int64>

The count of SMT and physical core threads for this machine.

vendor
String

The make of the machine.

rackSlot
Nullable<Int64>

The position in the rack for the machine.

Returns

A new MachineSkuSlot instance for mocking.

Applies to