次の方法で共有


ArmNetworkCloudModelFactory.MachineSkuSlot Method

Definition

Initializes a new instance of MachineSkuSlot.

public static Azure.ResourceManager.NetworkCloud.Models.MachineSkuSlot MachineSkuSlot (long? rackSlot = default, 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);
static member MachineSkuSlot : Nullable<int64> * 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 -> Azure.ResourceManager.NetworkCloud.Models.MachineSkuSlot
Public Shared Function MachineSkuSlot (Optional rackSlot As Nullable(Of Long) = Nothing, 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) As MachineSkuSlot

Parameters

rackSlot
Nullable<Int64>

The position in the rack for the machine.

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.

Returns

A new MachineSkuSlot instance for mocking.

Applies to