ArmConnectedVMwarevSphereModelFactory.HardwareProfile 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.
Initializes a new instance of HardwareProfile.
public static Azure.ResourceManager.ConnectedVMwarevSphere.Models.HardwareProfile HardwareProfile (int? memorySizeMB = default, int? numCpus = default, int? numCoresPerSocket = default, bool? cpuHotAddEnabled = default, bool? cpuHotRemoveEnabled = default, bool? memoryHotAddEnabled = default);
static member HardwareProfile : Nullable<int> * Nullable<int> * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<bool> -> Azure.ResourceManager.ConnectedVMwarevSphere.Models.HardwareProfile
Public Shared Function HardwareProfile (Optional memorySizeMB As Nullable(Of Integer) = Nothing, Optional numCpus As Nullable(Of Integer) = Nothing, Optional numCoresPerSocket As Nullable(Of Integer) = Nothing, Optional cpuHotAddEnabled As Nullable(Of Boolean) = Nothing, Optional cpuHotRemoveEnabled As Nullable(Of Boolean) = Nothing, Optional memoryHotAddEnabled As Nullable(Of Boolean) = Nothing) As HardwareProfile
Parameters
Gets or sets the number of cores per socket for the vm. Defaults to 1 if unspecified.
Gets or sets a value indicating whether virtual processors can be added while this virtual machine is running.
Gets or sets a value indicating whether virtual processors can be removed while this virtual machine is running.
Gets or sets a value indicating whether memory can be added while this virtual machine is running.
Returns
A new HardwareProfile instance for mocking.
Applies to
Azure SDK for .NET