ArmNetworkCloudModelFactory.MachineSkuSlot Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- disks
- IEnumerable<MachineDisk>
The list of disks.
- generation
- String
The generation of the architecture.
- hardwareVersion
- String
The hardware version of the machine.
- model
- String
The model of the machine.
- networkInterfaces
- IEnumerable<NetworkCloudNetworkInterface>
The list of network interfaces.
- vendor
- String
The make of the machine.
Returns
A new MachineSkuSlot instance for mocking.