你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmNetworkCloudModelFactory.MachineSkuSlot 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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
参数
- bootstrapProtocol
- Nullable<BootstrapProtocol>
使用的启动协议的类型。
- disks
- IEnumerable<MachineDisk>
磁盘列表。
- generation
- String
体系结构的生成。
- hardwareVersion
- String
计算机的硬件版本。
- model
- String
计算机的型号。
- networkInterfaces
- IEnumerable<NetworkCloudNetworkInterface>
网络接口列表。
- vendor
- String
计算机的制造。
返回
用于模拟的新 MachineSkuSlot 实例。