你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmNetworkCloudModelFactory.MachineSkuSlot 方法

定义

初始化 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

参数

rackSlot
Nullable<Int64>

机器机架中的位置。

bootstrapProtocol
Nullable<BootstrapProtocol>

使用的启动协议的类型。

cpuCores
Nullable<Int64>

此计算机的 CPU 核心计数。

cpuSockets
Nullable<Int64>

此计算机的 CPU 套接字计数。

disks
IEnumerable<MachineDisk>

磁盘列表。

generation
String

体系结构的生成。

hardwareVersion
String

计算机的硬件版本。

memoryCapacityGB
Nullable<Int64>

最大内存量(以 GB 为单位)。

model
String

计算机的型号。

networkInterfaces
IEnumerable<NetworkCloudNetworkInterface>

网络接口列表。

totalThreads
Nullable<Int64>

此计算机的 SMT 和物理核心线程计数。

vendor
String

计算机的制造。

返回

用于模拟的新 MachineSkuSlot 实例。

适用于