ArmConnectedVMwarevSphereModelFactory.VmInstanceHardwareProfile 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 VmInstanceHardwareProfile.
public static Azure.ResourceManager.ConnectedVMwarevSphere.Models.VmInstanceHardwareProfile VmInstanceHardwareProfile (int? memorySizeMB = default, int? numCpus = default, int? numCoresPerSocket = default, bool? cpuHotAddEnabled = default, bool? cpuHotRemoveEnabled = default, bool? memoryHotAddEnabled = default);
static member VmInstanceHardwareProfile : Nullable<int> * Nullable<int> * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<bool> -> Azure.ResourceManager.ConnectedVMwarevSphere.Models.VmInstanceHardwareProfile
Public Shared Function VmInstanceHardwareProfile (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 VmInstanceHardwareProfile
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 VmInstanceHardwareProfile instance for mocking.
Applies to
Azure SDK for .NET